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

DescribeComputeEnvironmentsAsync() public method

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

            return InvokeAsync<DescribeComputeEnvironmentsRequest,DescribeComputeEnvironmentsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }