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

GetModelAsync() public method

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

            return InvokeAsync<GetModelRequest,GetModelResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonAPIGatewayClient