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

ListDeploymentsAsync() public method

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

            return InvokeAsync<ListDeploymentsRequest,ListDeploymentsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonCodeDeployClient