Amazon.CodeDeploy.AmazonCodeDeployClient.BatchGetDeploymentsAsync C# (CSharp) Method

BatchGetDeploymentsAsync() public method

Initiates the asynchronous execution of the BatchGetDeployments operation.
public BatchGetDeploymentsAsync ( BatchGetDeploymentsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.CodeDeploy.Model.BatchGetDeploymentsRequest Container for the necessary parameters to execute the BatchGetDeployments operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<BatchGetDeploymentsResponse> BatchGetDeploymentsAsync(BatchGetDeploymentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new BatchGetDeploymentsRequestMarshaller();
            var unmarshaller = BatchGetDeploymentsResponseUnmarshaller.Instance;

            return InvokeAsync<BatchGetDeploymentsRequest,BatchGetDeploymentsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonCodeDeployClient