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

GetResourcesAsync() public method

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

            return InvokeAsync<GetResourcesRequest,GetResourcesResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonAPIGatewayClient