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

PutMethodAsync() public method

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

            return InvokeAsync<PutMethodRequest,PutMethodResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonAPIGatewayClient