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

DeleteComputeEnvironmentAsync() public method

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

            return InvokeAsync<DeleteComputeEnvironmentRequest,DeleteComputeEnvironmentResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }