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

PutBucketMetricsConfigurationAsync() public method

Initiates the asynchronous execution of the PutBucketMetricsConfiguration operation.
public PutBucketMetricsConfigurationAsync ( PutBucketMetricsConfigurationRequest request, System cancellationToken = default(CancellationToken) ) : Task
request PutBucketMetricsConfigurationRequest Container for the necessary parameters to execute the PutBucketMetricsConfiguration operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<PutBucketMetricsConfigurationResponse> PutBucketMetricsConfigurationAsync(PutBucketMetricsConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new PutBucketMetricsConfigurationRequestMarshaller();
            var unmarshaller = PutBucketMetricsConfigurationResponseUnmarshaller.Instance;

            return InvokeAsync<PutBucketMetricsConfigurationRequest,PutBucketMetricsConfigurationResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonS3Client::PutBucketMetricsConfigurationAsync ( PutBucketMetricsConfigurationRequest request, PutBucketMetricsConfigurationResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonS3Client