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

GetUsagePlanKeyAsync() public method

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

            return InvokeAsync<GetUsagePlanKeyRequest,GetUsagePlanKeyResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonAPIGatewayClient