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

GetApiKeyAsync() public method

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

            return InvokeAsync<GetApiKeyRequest,GetApiKeyResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonAPIGatewayClient