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

DeleteDomainNameAsync() public method

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

            return InvokeAsync<DeleteDomainNameRequest,DeleteDomainNameResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonAPIGatewayClient