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

DeleteModelAsync() public method

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

            return InvokeAsync<DeleteModelRequest,DeleteModelResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonAPIGatewayClient