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

ListDeploymentGroupsAsync() public method

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

            return InvokeAsync<ListDeploymentGroupsRequest,ListDeploymentGroupsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonCodeDeployClient