Amazon.Batch.AmazonBatchClient.UpdateComputeEnvironmentAsync C# (CSharp) Method

UpdateComputeEnvironmentAsync() public method

Initiates the asynchronous execution of the UpdateComputeEnvironment operation.
public UpdateComputeEnvironmentAsync ( UpdateComputeEnvironmentRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.Batch.Model.UpdateComputeEnvironmentRequest Container for the necessary parameters to execute the UpdateComputeEnvironment operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<UpdateComputeEnvironmentResponse> UpdateComputeEnvironmentAsync(UpdateComputeEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new UpdateComputeEnvironmentRequestMarshaller();
            var unmarshaller = UpdateComputeEnvironmentResponseUnmarshaller.Instance;

            return InvokeAsync<UpdateComputeEnvironmentRequest,UpdateComputeEnvironmentResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }