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

GetUsagePlanAsync() public method

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

            return InvokeAsync<GetUsagePlanRequest,GetUsagePlanResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonAPIGatewayClient