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

CreateBasePathMappingAsync() public method

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

            return InvokeAsync<CreateBasePathMappingRequest,CreateBasePathMappingResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonAPIGatewayClient