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

GetUsageAsync() public method

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

            return InvokeAsync<GetUsageRequest,GetUsageResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonAPIGatewayClient