@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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()
Deprecated.
|
AWSElasticsearchAsyncClient(AWSCredentials awsCredentials)
Deprecated.
|
AWSElasticsearchAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
|
AWSElasticsearchAsyncClient(AWSCredentials awsCredentials,
ExecutorService executorService)
|
AWSElasticsearchAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Deprecated.
|
AWSElasticsearchAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
|
AWSElasticsearchAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
|
AWSElasticsearchAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ExecutorService executorService)
|
AWSElasticsearchAsyncClient(ClientConfiguration clientConfiguration)
Deprecated.
|
addTags, builder, createElasticsearchDomain, deleteElasticsearchDomain, describeElasticsearchDomain, describeElasticsearchDomainConfig, describeElasticsearchDomains, describeElasticsearchInstanceTypeLimits, getCachedResponseMetadata, listDomainNames, listElasticsearchInstanceTypes, listElasticsearchVersions, listTags, removeTags, updateElasticsearchDomainConfigaddRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddTags, createElasticsearchDomain, deleteElasticsearchDomain, describeElasticsearchDomain, describeElasticsearchDomainConfig, describeElasticsearchDomains, describeElasticsearchInstanceTypeLimits, getCachedResponseMetadata, listDomainNames, listElasticsearchInstanceTypes, listElasticsearchVersions, listTags, removeTags, setEndpoint, setRegion, updateElasticsearchDomainConfig@Deprecated public AWSElasticsearchAsyncClient()
AWSElasticsearchAsyncClientBuilder.defaultClient()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).
@Deprecated public AWSElasticsearchAsyncClient(ClientConfiguration clientConfiguration)
AwsClientBuilder.withClientConfiguration(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)@Deprecated public AWSElasticsearchAsyncClient(AWSCredentials awsCredentials)
AwsClientBuilder.withCredentials(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).
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.Executors.newFixedThreadPool(int)@Deprecated public AWSElasticsearchAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)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.@Deprecated public AWSElasticsearchAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsClientBuilder.withClientConfiguration(ClientConfiguration) and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)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.@Deprecated public AWSElasticsearchAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
AwsClientBuilder.withCredentials(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)@Deprecated public AWSElasticsearchAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsClientBuilder.withClientConfiguration(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)@Deprecated public AWSElasticsearchAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)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.@Deprecated public AWSElasticsearchAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsClientBuilder.withClientConfiguration(ClientConfiguration) and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)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 static AWSElasticsearchAsyncClientBuilder asyncBuilder()
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<DescribeElasticsearchInstanceTypeLimitsResult> describeElasticsearchInstanceTypeLimitsAsync(DescribeElasticsearchInstanceTypeLimitsRequest request)
AWSElasticsearchAsync
Describe Elasticsearch Limits for a given InstanceType and ElasticsearchVersion. When modifying existing Domain,
specify the DomainName to know what Limits are supported for modifying.
describeElasticsearchInstanceTypeLimitsAsync in interface AWSElasticsearchAsyncrequest - Container for the parameters to DescribeElasticsearchInstanceTypeLimits operation.public Future<DescribeElasticsearchInstanceTypeLimitsResult> describeElasticsearchInstanceTypeLimitsAsync(DescribeElasticsearchInstanceTypeLimitsRequest request, AsyncHandler<DescribeElasticsearchInstanceTypeLimitsRequest,DescribeElasticsearchInstanceTypeLimitsResult> asyncHandler)
AWSElasticsearchAsync
Describe Elasticsearch Limits for a given InstanceType and ElasticsearchVersion. When modifying existing Domain,
specify the DomainName to know what Limits are supported for modifying.
describeElasticsearchInstanceTypeLimitsAsync in interface AWSElasticsearchAsyncrequest - Container for the parameters to DescribeElasticsearchInstanceTypeLimits 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<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<ListElasticsearchInstanceTypesResult> listElasticsearchInstanceTypesAsync(ListElasticsearchInstanceTypesRequest request)
AWSElasticsearchAsyncList all Elasticsearch instance types that are supported for given ElasticsearchVersion
listElasticsearchInstanceTypesAsync in interface AWSElasticsearchAsyncrequest - Container for the parameters to the ListElasticsearchInstanceTypes operation.public Future<ListElasticsearchInstanceTypesResult> listElasticsearchInstanceTypesAsync(ListElasticsearchInstanceTypesRequest request, AsyncHandler<ListElasticsearchInstanceTypesRequest,ListElasticsearchInstanceTypesResult> asyncHandler)
AWSElasticsearchAsyncList all Elasticsearch instance types that are supported for given ElasticsearchVersion
listElasticsearchInstanceTypesAsync in interface AWSElasticsearchAsyncrequest - Container for the parameters to the ListElasticsearchInstanceTypes 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<ListElasticsearchVersionsResult> listElasticsearchVersionsAsync(ListElasticsearchVersionsRequest request)
AWSElasticsearchAsyncList all supported Elasticsearch versions
listElasticsearchVersionsAsync in interface AWSElasticsearchAsyncrequest - Container for the parameters to the ListElasticsearchVersions operation.
Use MaxResults to control the maximum number of results to retrieve in a single
call.
Use NextToken in response to retrieve more results. If the received response does
not contain a NextToken, then there are no more results to retrieve.
public Future<ListElasticsearchVersionsResult> listElasticsearchVersionsAsync(ListElasticsearchVersionsRequest request, AsyncHandler<ListElasticsearchVersionsRequest,ListElasticsearchVersionsResult> asyncHandler)
AWSElasticsearchAsyncList all supported Elasticsearch versions
listElasticsearchVersionsAsync in interface AWSElasticsearchAsyncrequest - Container for the parameters to the ListElasticsearchVersions operation.
Use MaxResults to control the maximum number of results to retrieve in a single
call.
Use NextToken in response to retrieve more results. If the received response does
not contain a NextToken, then there are no more results to retrieve.
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<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.