메소드 | 설명 | |
---|---|---|
CreateBucket ( string bucketName ) : void |
Creates a S3 Bucket.
|
|
DeleteBucket ( string bucketName ) : void |
Delete a S3 Bucket.
|
|
DeleteObject ( string bucketName, string key ) : void |
Seletes an object from a S3 bucket.
|
|
Dispose ( ) : void | ||
Publish ( string files, string bucketName, string folder, bool publicRead ) : void |
Publish a file to a S3 bucket, in the folder specified, optionally making it publically readable.
|
|
PutFileObject ( string bucketName, string key, string file ) : void |
Puts a file into a S3 bucket.
|
|
PutTextObject ( string bucketName, string key, string text ) : void |
Creates a text object in the S3 bucket.
|
|
S3Helper ( AmazonS3 amazonS3Client ) : System | ||
S3Helper ( Snowcode.S3BuildPublisher.Client.AwsClientDetails clientDetails ) : System | ||
S3Helper ( string awsAccessKeyId, string awsSecretAccessKey ) : System | ||
SetAcl ( string bucketName, string cannedACL, string key ) : void |
Sets the ACL
|
메소드 | 설명 | |
---|---|---|
Dispose ( bool disposing ) : void |
메소드 | 설명 | |
---|---|---|
CreateBucketIfNeeded ( string bucketName ) : void | ||
GetDestinationFolder ( string folder ) : string | ||
StoreFile ( string file, string key, string bucketName, bool publicRead ) : void | ||
StoreFiles ( string files, string bucketName, string destinationFolder, bool publicRead ) : void |
public DeleteObject ( string bucketName, string key ) : void | ||
bucketName | string | |
key | string | |
리턴 | void |
public Publish ( string files, string bucketName, string folder, bool publicRead ) : void | ||
files | string | |
bucketName | string | |
folder | string | |
publicRead | bool | |
리턴 | void |
public PutFileObject ( string bucketName, string key, string file ) : void | ||
bucketName | string | |
key | string | |
file | string | |
리턴 | void |
public PutTextObject ( string bucketName, string key, string text ) : void | ||
bucketName | string | |
key | string | |
text | string | |
리턴 | void |
public S3Helper ( AmazonS3 amazonS3Client ) : System | ||
amazonS3Client | AmazonS3 | |
리턴 | System |
public S3Helper ( Snowcode.S3BuildPublisher.Client.AwsClientDetails clientDetails ) : System | ||
clientDetails | Snowcode.S3BuildPublisher.Client.AwsClientDetails | |
리턴 | System |
public S3Helper ( string awsAccessKeyId, string awsSecretAccessKey ) : System | ||
awsAccessKeyId | string | |
awsSecretAccessKey | string | |
리턴 | System |
public SetAcl ( string bucketName, string cannedACL, string key ) : void | ||
bucketName | string | |
cannedACL | string | ACL to use, AuthenticatedRead, BucketOwnerFullControl, BucketOwnerRead, NoACL, Private, PublicRead, PublicReadWrite |
key | string | |
리턴 | void |