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

PutRestApiAsync() public method

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

            return InvokeAsync<PutRestApiRequest,PutRestApiResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonAPIGatewayClient