C# 클래스 MessageGears.EventQueue.MessageGearsAwsClient

MessageGears C# SDK main entry point.
파일 보기 프로젝트 열기: messagegears/messagegears-csharp-sdk

공개 메소드들

메소드 설명
CompressFile ( String inputFileName ) : String

Used to compress a given file into a .gz file.

CopyStream ( Stream input, Stream output ) : void
CreateQueue ( String queueName ) : String

Creates a new queue in Amazon SQS and grants SendMessage only access to MessageGears.

DeleteS3File ( String bucketName, String key ) : void

Deletes a file from Amazon S3.

MessageGearsAwsClient ( MessageGearsAwsProperties props ) : System

Used to create a new instance of the MessageGears client.

PutS3File ( Stream stream, String bucketName, String key ) : void

Copies an InputStream to Amazon S3 and grants access to MessageGears.

PutS3File ( String fileName, String bucketName, String key ) : void

Copies a file to Amazon S3 and grants READ-ONLY access to MessageGears.

비공개 메소드들

메소드 설명
addQueuePermission ( String queueUrl ) : void
deleteWithRetry ( DeleteObjectRequest request ) : void
listFiles ( ListObjectsRequest request ) : Amazon.S3.Model.ListObjectsResponse
putWithRetry ( PutObjectRequest request ) : void
setMaximumMessageSize ( String queueUrl ) : void
setS3Permission ( String bucketName, String key ) : void
setS3PermissionsWithRetry ( String bucketName, String key ) : void

메소드 상세

CompressFile() 공개 메소드

Used to compress a given file into a .gz file.
public CompressFile ( String inputFileName ) : String
inputFileName String /// The path to and file name to be compressed. ///
리턴 String

CopyStream() 공개 정적인 메소드

public static CopyStream ( Stream input, Stream output ) : void
input Stream
output Stream
리턴 void

CreateQueue() 공개 메소드

Creates a new queue in Amazon SQS and grants SendMessage only access to MessageGears.
public CreateQueue ( String queueName ) : String
queueName String /// The name of the queue to be created. ///
리턴 String

DeleteS3File() 공개 메소드

Deletes a file from Amazon S3.
public DeleteS3File ( String bucketName, String key ) : void
bucketName String /// The name of the bucket where the file resides. ///
key String /// The key of the file to be deleted. ///
리턴 void

MessageGearsAwsClient() 공개 메소드

Used to create a new instance of the MessageGears client.
public MessageGearsAwsClient ( MessageGearsAwsProperties props ) : System
props MessageGearsAwsProperties /// Contains the credentials needed to access MessageGears, Amazon S3, and Amazon SQS. ///
리턴 System

PutS3File() 공개 메소드

Copies an InputStream to Amazon S3 and grants access to MessageGears.
public PutS3File ( Stream stream, String bucketName, String key ) : void
stream Stream /// An input stream for the data to be copied to S3. ///
bucketName String /// The name of the S3 bucket where the file will be copied. ///
key String /// The S3 key of the file to be created. ///
리턴 void

PutS3File() 공개 메소드

Copies a file to Amazon S3 and grants READ-ONLY access to MessageGears.
public PutS3File ( String fileName, String bucketName, String key ) : void
fileName String /// The fully qualified name of the file to be copied to S3. ///
bucketName String /// The name of the S3 bucket where the file will be copied. ///
key String /// The S3 key of the file to be created. ///
리턴 void