Amazon.S3.AmazonS3Client.CopyPartAsync C# (CSharp) Method

CopyPartAsync() public method

Uploads a part by copying data from an existing object as data source. This API is supported only when AWSConfigs.HttpClient is set to AWSConfigs.HttpClientOption.UnityWebRequest, the default value of this configuration option is AWSConfigs.HttpClientOption.UnityWWW
public CopyPartAsync ( string sourceBucket, string sourceKey, string destinationBucket, string destinationKey, string uploadId, CopyPartResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
sourceBucket string A property of CopyPartRequest used to execute the CopyPart service method.
sourceKey string A property of CopyPartRequest used to execute the CopyPart service method.
destinationBucket string A property of CopyPartRequest used to execute the CopyPart service method.
destinationKey string A property of CopyPartRequest used to execute the CopyPart service method.
uploadId string Upload ID identifying the multipart upload whose part is being copied.
callback CopyPartResponse>.AmazonServiceCallback An Action delegate that is invoked when the operation completes.
options Amazon.Runtime.AsyncOptions /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. ///
return void
        public void CopyPartAsync(string sourceBucket, string sourceKey, string destinationBucket, string destinationKey, string uploadId,  AmazonServiceCallback<CopyPartRequest, CopyPartResponse> callback, AsyncOptions options = null)
        {
            var request = new CopyPartRequest();
            request.SourceBucket = sourceBucket;
            request.SourceKey = sourceKey;
            request.DestinationBucket = destinationBucket;
            request.DestinationKey = destinationKey;
            request.UploadId = uploadId;
            CopyPartAsync(request, callback, options);
        }

Same methods

AmazonS3Client::CopyPartAsync ( CopyPartRequest request, System cancellationToken = default(CancellationToken) ) : Task
AmazonS3Client::CopyPartAsync ( string sourceBucket, string sourceKey, string destinationBucket, string destinationKey, string uploadId, System cancellationToken = default(CancellationToken) ) : Task
AmazonS3Client::CopyPartAsync ( string sourceBucket, string sourceKey, string sourceVersionId, string destinationBucket, string destinationKey, string uploadId, System cancellationToken = default(CancellationToken) ) : Task
AmazonS3Client::CopyPartAsync ( CopyPartRequest request, CopyPartResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonS3Client::CopyPartAsync ( string sourceBucket, string sourceKey, string sourceVersionId, string destinationBucket, string destinationKey, string uploadId, CopyPartResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonS3Client