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

GetMethodAsync() public method

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

            return InvokeAsync<GetMethodRequest,GetMethodResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonAPIGatewayClient