Amazon.Elasticsearch.AmazonElasticsearchClient.ListDomainNamesAsync C# (CSharp) Method

ListDomainNamesAsync() public method

Initiates the asynchronous execution of the ListDomainNames operation.
public ListDomainNamesAsync ( ListDomainNamesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request ListDomainNamesRequest Container for the necessary parameters to execute the ListDomainNames operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<ListDomainNamesResponse> ListDomainNamesAsync(ListDomainNamesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new ListDomainNamesRequestMarshaller();
            var unmarshaller = ListDomainNamesResponseUnmarshaller.Instance;

            return InvokeAsync<ListDomainNamesRequest,ListDomainNamesResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }