C# Class AWSSDK.IntegrationTests.S3.S3TestUtils

Afficher le fichier Open project: aws/aws-sdk-net Class Usage Examples

Méthodes publiques

Свойство Type Description
TestContent string

Méthodes publiques

Méthode Description
CleanBucket ( AmazonS3Client client, string bucketName ) : void
CreateBucket ( IAmazonS3 s3Client ) : string
DeleteBucketWithObjects ( IAmazonS3 s3Client, string bucketName ) : void
DeleteObjectHelper ( AmazonS3Client client, string bucketName, string key, string versionId = null ) : void
GetACLHelper ( AmazonS3Client client, string bucketName, string key ) : Amazon.S3.Model.GetACLResponse
GetFileHelper ( string fileName ) : string
GetObjectHelper ( AmazonS3Client client, string bucketName, string key ) : GetObjectResponse
ListObjectsHelper ( AmazonS3Client client, string bucketName ) : List
ListVersionsHelper ( AmazonS3Client client, string bucketName ) : List
PostObjectHelper ( AmazonS3Client client, string bucketName, string key, PostObjectRequestManipulator manipulator = null ) : PostObjectResponse

Method Details

CleanBucket() public static méthode

public static CleanBucket ( AmazonS3Client client, string bucketName ) : void
client Amazon.S3.AmazonS3Client
bucketName string
Résultat void

CreateBucket() public static méthode

public static CreateBucket ( IAmazonS3 s3Client ) : string
s3Client IAmazonS3
Résultat string

DeleteBucketWithObjects() public static méthode

public static DeleteBucketWithObjects ( IAmazonS3 s3Client, string bucketName ) : void
s3Client IAmazonS3
bucketName string
Résultat void

DeleteObjectHelper() public static méthode

public static DeleteObjectHelper ( AmazonS3Client client, string bucketName, string key, string versionId = null ) : void
client Amazon.S3.AmazonS3Client
bucketName string
key string
versionId string
Résultat void

GetACLHelper() public static méthode

public static GetACLHelper ( AmazonS3Client client, string bucketName, string key ) : Amazon.S3.Model.GetACLResponse
client Amazon.S3.AmazonS3Client
bucketName string
key string
Résultat Amazon.S3.Model.GetACLResponse

GetFileHelper() public static méthode

public static GetFileHelper ( string fileName ) : string
fileName string
Résultat string

GetObjectHelper() public static méthode

public static GetObjectHelper ( AmazonS3Client client, string bucketName, string key ) : GetObjectResponse
client Amazon.S3.AmazonS3Client
bucketName string
key string
Résultat Amazon.S3.Model.GetObjectResponse

ListObjectsHelper() public static méthode

public static ListObjectsHelper ( AmazonS3Client client, string bucketName ) : List
client Amazon.S3.AmazonS3Client
bucketName string
Résultat List

ListVersionsHelper() public static méthode

public static ListVersionsHelper ( AmazonS3Client client, string bucketName ) : List
client Amazon.S3.AmazonS3Client
bucketName string
Résultat List

PostObjectHelper() public static méthode

public static PostObjectHelper ( AmazonS3Client client, string bucketName, string key, PostObjectRequestManipulator manipulator = null ) : PostObjectResponse
client Amazon.S3.AmazonS3Client
bucketName string
key string
manipulator PostObjectRequestManipulator
Résultat Amazon.S3.Model.PostObjectResponse

Property Details

TestContent public_oe static_oe property

public static string TestContent
Résultat string