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

BatchGetDeploymentGroupsAsync() public method

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

            return InvokeAsync<BatchGetDeploymentGroupsRequest,BatchGetDeploymentGroupsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonCodeDeployClient