@ThreadSafe public class AWSElasticsearchAsyncClient extends AWSElasticsearchClient implements AWSElasticsearchAsync
AsyncHandler can be
 used to receive notification when an asynchronous operation completes.
 
 
Use the Amazon Elasticsearch configuration API to create, configure, and manage Elasticsearch domains.
The endpoint for configuration service requests is region-specific: es.region.amazonaws.com. For example, es.us-east-1.amazonaws.com. For a current list of supported regions and endpoints, see Regions and Endpoints.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIX| Constructor and Description | 
|---|
| AWSElasticsearchAsyncClient()Constructs a new asynchronous client to invoke service methods on Amazon
 Elasticsearch Service. | 
| AWSElasticsearchAsyncClient(AWSCredentials awsCredentials)Constructs a new asynchronous client to invoke service methods on Amazon
 Elasticsearch Service using the specified AWS account credentials. | 
| AWSElasticsearchAsyncClient(AWSCredentials awsCredentials,
                           ClientConfiguration clientConfiguration,
                           ExecutorService executorService)Constructs a new asynchronous client to invoke service methods on Amazon
 Elasticsearch Service using the specified AWS account credentials,
 executor service, and client configuration options. | 
| AWSElasticsearchAsyncClient(AWSCredentials awsCredentials,
                           ExecutorService executorService)Constructs a new asynchronous client to invoke service methods on Amazon
 Elasticsearch Service using the specified AWS account credentials and
 executor service. | 
| AWSElasticsearchAsyncClient(AWSCredentialsProvider awsCredentialsProvider)Constructs a new asynchronous client to invoke service methods on Amazon
 Elasticsearch Service using the specified AWS account credentials
 provider. | 
| AWSElasticsearchAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
                           ClientConfiguration clientConfiguration)Constructs a new asynchronous client to invoke service methods on Amazon
 Elasticsearch Service using the provided AWS account credentials provider
 and client configuration options. | 
| AWSElasticsearchAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
                           ClientConfiguration clientConfiguration,
                           ExecutorService executorService)Constructs a new asynchronous client to invoke service methods on Amazon
 Elasticsearch Service using the specified AWS account credentials
 provider, executor service, and client configuration options. | 
| AWSElasticsearchAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
                           ExecutorService executorService)Constructs a new asynchronous client to invoke service methods on Amazon
 Elasticsearch Service using the specified AWS account credentials
 provider and executor service. | 
| AWSElasticsearchAsyncClient(ClientConfiguration clientConfiguration)Constructs a new asynchronous client to invoke service methods on Amazon
 Elasticsearch Service. | 
| Modifier and Type | Method and Description | 
|---|---|
| Future<AddTagsResult> | addTagsAsync(AddTagsRequest request)
 Attaches tags to an existing Elasticsearch domain. | 
| Future<AddTagsResult> | addTagsAsync(AddTagsRequest request,
            AsyncHandler<AddTagsRequest,AddTagsResult> asyncHandler)
 Attaches tags to an existing Elasticsearch domain. | 
| Future<CreateElasticsearchDomainResult> | createElasticsearchDomainAsync(CreateElasticsearchDomainRequest request)
 Creates a new Elasticsearch domain. | 
| Future<CreateElasticsearchDomainResult> | createElasticsearchDomainAsync(CreateElasticsearchDomainRequest request,
                              AsyncHandler<CreateElasticsearchDomainRequest,CreateElasticsearchDomainResult> asyncHandler)
 Creates a new Elasticsearch domain. | 
| Future<DeleteElasticsearchDomainResult> | deleteElasticsearchDomainAsync(DeleteElasticsearchDomainRequest request)
 Permanently deletes the specified Elasticsearch domain and all of its
 data. | 
| Future<DeleteElasticsearchDomainResult> | deleteElasticsearchDomainAsync(DeleteElasticsearchDomainRequest request,
                              AsyncHandler<DeleteElasticsearchDomainRequest,DeleteElasticsearchDomainResult> asyncHandler)
 Permanently deletes the specified Elasticsearch domain and all of its
 data. | 
| Future<DescribeElasticsearchDomainResult> | describeElasticsearchDomainAsync(DescribeElasticsearchDomainRequest request)
 Returns domain configuration information about the specified
 Elasticsearch domain, including the domain ID, domain endpoint, and
 domain ARN. | 
| Future<DescribeElasticsearchDomainResult> | describeElasticsearchDomainAsync(DescribeElasticsearchDomainRequest request,
                                AsyncHandler<DescribeElasticsearchDomainRequest,DescribeElasticsearchDomainResult> asyncHandler)
 Returns domain configuration information about the specified
 Elasticsearch domain, including the domain ID, domain endpoint, and
 domain ARN. | 
| Future<DescribeElasticsearchDomainConfigResult> | describeElasticsearchDomainConfigAsync(DescribeElasticsearchDomainConfigRequest request)
 Provides cluster configuration information about the specified
 Elasticsearch domain, such as the state, creation date, update version,
 and update date for cluster options. | 
| Future<DescribeElasticsearchDomainConfigResult> | describeElasticsearchDomainConfigAsync(DescribeElasticsearchDomainConfigRequest request,
                                      AsyncHandler<DescribeElasticsearchDomainConfigRequest,DescribeElasticsearchDomainConfigResult> asyncHandler)
 Provides cluster configuration information about the specified
 Elasticsearch domain, such as the state, creation date, update version,
 and update date for cluster options. | 
| Future<DescribeElasticsearchDomainsResult> | describeElasticsearchDomainsAsync(DescribeElasticsearchDomainsRequest request)
 Returns domain configuration information about the specified
 Elasticsearch domains, including the domain ID, domain endpoint, and
 domain ARN. | 
| Future<DescribeElasticsearchDomainsResult> | describeElasticsearchDomainsAsync(DescribeElasticsearchDomainsRequest request,
                                 AsyncHandler<DescribeElasticsearchDomainsRequest,DescribeElasticsearchDomainsResult> asyncHandler)
 Returns domain configuration information about the specified
 Elasticsearch domains, including the domain ID, domain endpoint, and
 domain ARN. | 
| ExecutorService | getExecutorService()Returns the executor service used by this client to execute async
 requests. | 
| Future<ListDomainNamesResult> | listDomainNamesAsync(ListDomainNamesRequest request)
 Returns the name of all Elasticsearch domains owned by the current user's
 account. | 
| Future<ListDomainNamesResult> | listDomainNamesAsync(ListDomainNamesRequest request,
                    AsyncHandler<ListDomainNamesRequest,ListDomainNamesResult> asyncHandler)
 Returns the name of all Elasticsearch domains owned by the current user's
 account. | 
| Future<ListTagsResult> | listTagsAsync(ListTagsRequest request)
 Returns all tags for the given Elasticsearch domain. | 
| Future<ListTagsResult> | listTagsAsync(ListTagsRequest request,
             AsyncHandler<ListTagsRequest,ListTagsResult> asyncHandler)
 Returns all tags for the given Elasticsearch domain. | 
| Future<RemoveTagsResult> | removeTagsAsync(RemoveTagsRequest request)
 Removes the specified set of tags from the specified Elasticsearch
 domain. | 
| Future<RemoveTagsResult> | removeTagsAsync(RemoveTagsRequest request,
               AsyncHandler<RemoveTagsRequest,RemoveTagsResult> asyncHandler)
 Removes the specified set of tags from the specified Elasticsearch
 domain. | 
| void | shutdown()Shuts down the client, releasing all managed resources. | 
| Future<UpdateElasticsearchDomainConfigResult> | updateElasticsearchDomainConfigAsync(UpdateElasticsearchDomainConfigRequest request)
 Modifies the cluster configuration of the specified Elasticsearch domain,
 setting as setting the instance type and the number of instances. | 
| Future<UpdateElasticsearchDomainConfigResult> | updateElasticsearchDomainConfigAsync(UpdateElasticsearchDomainConfigRequest request,
                                    AsyncHandler<UpdateElasticsearchDomainConfigRequest,UpdateElasticsearchDomainConfigResult> asyncHandler)
 Modifies the cluster configuration of the specified Elasticsearch domain,
 setting as setting the instance type and the number of instances. | 
addTags, createElasticsearchDomain, deleteElasticsearchDomain, describeElasticsearchDomain, describeElasticsearchDomainConfig, describeElasticsearchDomains, getCachedResponseMetadata, listDomainNames, listTags, removeTags, updateElasticsearchDomainConfigaddRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerRegionOverride, getTimeOffset, removeRequestHandler, removeRequestHandler, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddTags, createElasticsearchDomain, deleteElasticsearchDomain, describeElasticsearchDomain, describeElasticsearchDomainConfig, describeElasticsearchDomains, getCachedResponseMetadata, listDomainNames, listTags, removeTags, setEndpoint, setRegion, updateElasticsearchDomainConfigpublic AWSElasticsearchAsyncClient()
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
public AWSElasticsearchAsyncClient(ClientConfiguration clientConfiguration)
 Asynchronous methods are delegated to a fixed-size thread pool containing
 a number of threads equal to the maximum number of concurrent connections
 configured via ClientConfiguration.getMaxConnections().
clientConfiguration - The client configuration options controlling how this client
        connects to Amazon Elasticsearch Service (ex: proxy settings,
        retry counts, etc).DefaultAWSCredentialsProviderChain, 
Executors.newFixedThreadPool(int)public AWSElasticsearchAsyncClient(AWSCredentials awsCredentials)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentials - The AWS credentials (access key ID and secret key) to use when
        authenticating with AWS services.Executors.newFixedThreadPool(int)public AWSElasticsearchAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
awsCredentials - The AWS credentials (access key ID and secret key) to use when
        authenticating with AWS services.executorService - The executor service by which all asynchronous requests will be
        executed.public AWSElasticsearchAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
awsCredentials - The AWS credentials (access key ID and secret key) to use when
        authenticating with AWS services.clientConfiguration - Client configuration options (ex: max retry limit, proxy settings,
        etc).executorService - The executor service by which all asynchronous requests will be
        executed.public AWSElasticsearchAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentialsProvider - The AWS credentials provider which will provide credentials to
        authenticate requests with AWS services.Executors.newFixedThreadPool(int)public AWSElasticsearchAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
 Asynchronous methods are delegated to a fixed-size thread pool containing
 a number of threads equal to the maximum number of concurrent connections
 configured via ClientConfiguration.getMaxConnections().
awsCredentialsProvider - The AWS credentials provider which will provide credentials to
        authenticate requests with AWS services.clientConfiguration - Client configuration options (ex: max retry limit, proxy settings,
        etc).DefaultAWSCredentialsProviderChain, 
Executors.newFixedThreadPool(int)public AWSElasticsearchAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
awsCredentialsProvider - The AWS credentials provider which will provide credentials to
        authenticate requests with AWS services.executorService - The executor service by which all asynchronous requests will be
        executed.public AWSElasticsearchAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
awsCredentialsProvider - The AWS credentials provider which will provide credentials to
        authenticate requests with AWS services.clientConfiguration - Client configuration options (ex: max retry limit, proxy settings,
        etc).executorService - The executor service by which all asynchronous requests will be
        executed.public ExecutorService getExecutorService()
public Future<AddTagsResult> addTagsAsync(AddTagsRequest request)
AWSElasticsearchAsyncAttaches tags to an existing Elasticsearch domain. Tags are a set of case-sensitive key value pairs. An Elasticsearch domain may have up to 10 tags. See Tagging Amazon Elasticsearch Service Domains for more information.
addTagsAsync in interface AWSElasticsearchAsyncrequest - Container for the parameters to the AddTags
        operation. Specify the tags that you want to attach to the
        Elasticsearch domain.public Future<AddTagsResult> addTagsAsync(AddTagsRequest request, AsyncHandler<AddTagsRequest,AddTagsResult> asyncHandler)
AWSElasticsearchAsyncAttaches tags to an existing Elasticsearch domain. Tags are a set of case-sensitive key value pairs. An Elasticsearch domain may have up to 10 tags. See Tagging Amazon Elasticsearch Service Domains for more information.
addTagsAsync in interface AWSElasticsearchAsyncrequest - Container for the parameters to the AddTags
        operation. Specify the tags that you want to attach to the
        Elasticsearch domain.asyncHandler - Asynchronous callback handler for events in the lifecycle of the
        request. Users can provide an implementation of the callback
        methods in this interface to receive notification of successful or
        unsuccessful completion of the operation.public Future<CreateElasticsearchDomainResult> createElasticsearchDomainAsync(CreateElasticsearchDomainRequest request)
AWSElasticsearchAsyncCreates a new Elasticsearch domain. For more information, see Creating Elasticsearch Domains in the Amazon Elasticsearch Service Developer Guide.
createElasticsearchDomainAsync in interface AWSElasticsearchAsyncpublic Future<CreateElasticsearchDomainResult> createElasticsearchDomainAsync(CreateElasticsearchDomainRequest request, AsyncHandler<CreateElasticsearchDomainRequest,CreateElasticsearchDomainResult> asyncHandler)
AWSElasticsearchAsyncCreates a new Elasticsearch domain. For more information, see Creating Elasticsearch Domains in the Amazon Elasticsearch Service Developer Guide.
createElasticsearchDomainAsync in interface AWSElasticsearchAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the
        request. Users can provide an implementation of the callback
        methods in this interface to receive notification of successful or
        unsuccessful completion of the operation.public Future<DeleteElasticsearchDomainResult> deleteElasticsearchDomainAsync(DeleteElasticsearchDomainRequest request)
AWSElasticsearchAsyncPermanently deletes the specified Elasticsearch domain and all of its data. Once a domain is deleted, it cannot be recovered.
deleteElasticsearchDomainAsync in interface AWSElasticsearchAsyncrequest - Container for the parameters to the
        DeleteElasticsearchDomain operation. Specifies
        the name of the Elasticsearch domain that you want to delete.public Future<DeleteElasticsearchDomainResult> deleteElasticsearchDomainAsync(DeleteElasticsearchDomainRequest request, AsyncHandler<DeleteElasticsearchDomainRequest,DeleteElasticsearchDomainResult> asyncHandler)
AWSElasticsearchAsyncPermanently deletes the specified Elasticsearch domain and all of its data. Once a domain is deleted, it cannot be recovered.
deleteElasticsearchDomainAsync in interface AWSElasticsearchAsyncrequest - Container for the parameters to the
        DeleteElasticsearchDomain operation. Specifies
        the name of the Elasticsearch domain that you want to delete.asyncHandler - Asynchronous callback handler for events in the lifecycle of the
        request. Users can provide an implementation of the callback
        methods in this interface to receive notification of successful or
        unsuccessful completion of the operation.public Future<DescribeElasticsearchDomainResult> describeElasticsearchDomainAsync(DescribeElasticsearchDomainRequest request)
AWSElasticsearchAsyncReturns domain configuration information about the specified Elasticsearch domain, including the domain ID, domain endpoint, and domain ARN.
describeElasticsearchDomainAsync in interface AWSElasticsearchAsyncrequest - Container for the parameters to the
        DescribeElasticsearchDomain operation.public Future<DescribeElasticsearchDomainResult> describeElasticsearchDomainAsync(DescribeElasticsearchDomainRequest request, AsyncHandler<DescribeElasticsearchDomainRequest,DescribeElasticsearchDomainResult> asyncHandler)
AWSElasticsearchAsyncReturns domain configuration information about the specified Elasticsearch domain, including the domain ID, domain endpoint, and domain ARN.
describeElasticsearchDomainAsync in interface AWSElasticsearchAsyncrequest - Container for the parameters to the
        DescribeElasticsearchDomain operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the
        request. Users can provide an implementation of the callback
        methods in this interface to receive notification of successful or
        unsuccessful completion of the operation.public Future<DescribeElasticsearchDomainConfigResult> describeElasticsearchDomainConfigAsync(DescribeElasticsearchDomainConfigRequest request)
AWSElasticsearchAsyncProvides cluster configuration information about the specified Elasticsearch domain, such as the state, creation date, update version, and update date for cluster options.
describeElasticsearchDomainConfigAsync in interface AWSElasticsearchAsyncrequest - Container for the parameters to the
        DescribeElasticsearchDomainConfig operation.
        Specifies the domain name for which you want configuration
        information.public Future<DescribeElasticsearchDomainConfigResult> describeElasticsearchDomainConfigAsync(DescribeElasticsearchDomainConfigRequest request, AsyncHandler<DescribeElasticsearchDomainConfigRequest,DescribeElasticsearchDomainConfigResult> asyncHandler)
AWSElasticsearchAsyncProvides cluster configuration information about the specified Elasticsearch domain, such as the state, creation date, update version, and update date for cluster options.
describeElasticsearchDomainConfigAsync in interface AWSElasticsearchAsyncrequest - Container for the parameters to the
        DescribeElasticsearchDomainConfig operation.
        Specifies the domain name for which you want configuration
        information.asyncHandler - Asynchronous callback handler for events in the lifecycle of the
        request. Users can provide an implementation of the callback
        methods in this interface to receive notification of successful or
        unsuccessful completion of the operation.public Future<DescribeElasticsearchDomainsResult> describeElasticsearchDomainsAsync(DescribeElasticsearchDomainsRequest request)
AWSElasticsearchAsyncReturns domain configuration information about the specified Elasticsearch domains, including the domain ID, domain endpoint, and domain ARN.
describeElasticsearchDomainsAsync in interface AWSElasticsearchAsyncrequest - Container for the parameters to the
        DescribeElasticsearchDomains operation. By
        default, the API returns the status of all Elasticsearch domains.public Future<DescribeElasticsearchDomainsResult> describeElasticsearchDomainsAsync(DescribeElasticsearchDomainsRequest request, AsyncHandler<DescribeElasticsearchDomainsRequest,DescribeElasticsearchDomainsResult> asyncHandler)
AWSElasticsearchAsyncReturns domain configuration information about the specified Elasticsearch domains, including the domain ID, domain endpoint, and domain ARN.
describeElasticsearchDomainsAsync in interface AWSElasticsearchAsyncrequest - Container for the parameters to the
        DescribeElasticsearchDomains operation. By
        default, the API returns the status of all Elasticsearch domains.asyncHandler - Asynchronous callback handler for events in the lifecycle of the
        request. Users can provide an implementation of the callback
        methods in this interface to receive notification of successful or
        unsuccessful completion of the operation.public Future<ListDomainNamesResult> listDomainNamesAsync(ListDomainNamesRequest request)
AWSElasticsearchAsyncReturns the name of all Elasticsearch domains owned by the current user's account.
listDomainNamesAsync in interface AWSElasticsearchAsyncpublic Future<ListDomainNamesResult> listDomainNamesAsync(ListDomainNamesRequest request, AsyncHandler<ListDomainNamesRequest,ListDomainNamesResult> asyncHandler)
AWSElasticsearchAsyncReturns the name of all Elasticsearch domains owned by the current user's account.
listDomainNamesAsync in interface AWSElasticsearchAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the
        request. Users can provide an implementation of the callback
        methods in this interface to receive notification of successful or
        unsuccessful completion of the operation.public Future<ListTagsResult> listTagsAsync(ListTagsRequest request)
AWSElasticsearchAsyncReturns all tags for the given Elasticsearch domain.
listTagsAsync in interface AWSElasticsearchAsyncrequest - Container for the parameters to the ListTags
        operation. Specify the ARN for the Elasticsearch
        domain to which the tags are attached that you want to view are
        attached.public Future<ListTagsResult> listTagsAsync(ListTagsRequest request, AsyncHandler<ListTagsRequest,ListTagsResult> asyncHandler)
AWSElasticsearchAsyncReturns all tags for the given Elasticsearch domain.
listTagsAsync in interface AWSElasticsearchAsyncrequest - Container for the parameters to the ListTags
        operation. Specify the ARN for the Elasticsearch
        domain to which the tags are attached that you want to view are
        attached.asyncHandler - Asynchronous callback handler for events in the lifecycle of the
        request. Users can provide an implementation of the callback
        methods in this interface to receive notification of successful or
        unsuccessful completion of the operation.public Future<RemoveTagsResult> removeTagsAsync(RemoveTagsRequest request)
AWSElasticsearchAsyncRemoves the specified set of tags from the specified Elasticsearch domain.
removeTagsAsync in interface AWSElasticsearchAsyncrequest - Container for the parameters to the RemoveTags
        operation. Specify the ARN for the Elasticsearch
        domain from which you want to remove the specified
        TagKey.public Future<RemoveTagsResult> removeTagsAsync(RemoveTagsRequest request, AsyncHandler<RemoveTagsRequest,RemoveTagsResult> asyncHandler)
AWSElasticsearchAsyncRemoves the specified set of tags from the specified Elasticsearch domain.
removeTagsAsync in interface AWSElasticsearchAsyncrequest - Container for the parameters to the RemoveTags
        operation. Specify the ARN for the Elasticsearch
        domain from which you want to remove the specified
        TagKey.asyncHandler - Asynchronous callback handler for events in the lifecycle of the
        request. Users can provide an implementation of the callback
        methods in this interface to receive notification of successful or
        unsuccessful completion of the operation.public Future<UpdateElasticsearchDomainConfigResult> updateElasticsearchDomainConfigAsync(UpdateElasticsearchDomainConfigRequest request)
AWSElasticsearchAsyncModifies the cluster configuration of the specified Elasticsearch domain, setting as setting the instance type and the number of instances.
updateElasticsearchDomainConfigAsync in interface AWSElasticsearchAsyncrequest - Container for the parameters to the
        UpdateElasticsearchDomain operation. Specifies
        the type and number of instances in the domain cluster.public Future<UpdateElasticsearchDomainConfigResult> updateElasticsearchDomainConfigAsync(UpdateElasticsearchDomainConfigRequest request, AsyncHandler<UpdateElasticsearchDomainConfigRequest,UpdateElasticsearchDomainConfigResult> asyncHandler)
AWSElasticsearchAsyncModifies the cluster configuration of the specified Elasticsearch domain, setting as setting the instance type and the number of instances.
updateElasticsearchDomainConfigAsync in interface AWSElasticsearchAsyncrequest - Container for the parameters to the
        UpdateElasticsearchDomain operation. Specifies
        the type and number of instances in the domain cluster.asyncHandler - Asynchronous callback handler for events in the lifecycle of the
        request. Users can provide an implementation of the callback
        methods in this interface to receive notification of successful or
        unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown() followed by
 getExecutorService().awaitTermination() prior to calling this
 method.shutdown in interface AWSElasticsearchshutdown in class AmazonWebServiceClientCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.