Amazon.APIGateway.AmazonAPIGatewayClient.GetDeploymentsAsync C# (CSharp) Method

GetDeploymentsAsync() public method

Initiates the asynchronous execution of the GetDeployments operation.
public GetDeploymentsAsync ( Amazon.APIGateway.Model.GetDeploymentsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.APIGateway.Model.GetDeploymentsRequest Container for the necessary parameters to execute the GetDeployments operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<GetDeploymentsResponse> GetDeploymentsAsync(GetDeploymentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new GetDeploymentsRequestMarshaller();
            var unmarshaller = GetDeploymentsResponseUnmarshaller.Instance;

            return InvokeAsync<GetDeploymentsRequest,GetDeploymentsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonAPIGatewayClient