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

PutMethodResponseAsync() public method

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

            return InvokeAsync<PutMethodResponseRequest,PutMethodResponseResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonAPIGatewayClient