Class AWSElasticsearchAsyncClient
- All Implemented Interfaces:
AWSElasticsearch
,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.
-
Field Summary
Fields inherited from class com.amazonaws.services.elasticsearch.AWSElasticsearchClient
configFactory
Fields inherited from class com.amazonaws.AmazonWebServiceClient
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs 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
(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
(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
(ClientConfiguration clientConfiguration) Constructs a new asynchronous client to invoke service methods on Amazon Elasticsearch Service. -
Method Summary
Modifier and TypeMethodDescriptionaddTagsAsync
(AddTagsRequest request) Attaches tags to an existing Elasticsearch domain.addTagsAsync
(AddTagsRequest request, AsyncHandler<AddTagsRequest, AddTagsResult> asyncHandler) Attaches tags to an existing Elasticsearch domain.Creates a new Elasticsearch domain.createElasticsearchDomainAsync
(CreateElasticsearchDomainRequest request, AsyncHandler<CreateElasticsearchDomainRequest, CreateElasticsearchDomainResult> asyncHandler) Creates a new Elasticsearch domain.Permanently deletes the specified Elasticsearch domain and all of its data.deleteElasticsearchDomainAsync
(DeleteElasticsearchDomainRequest request, AsyncHandler<DeleteElasticsearchDomainRequest, DeleteElasticsearchDomainResult> asyncHandler) Permanently deletes the specified Elasticsearch domain and all of its data.Returns domain configuration information about the specified Elasticsearch domain, including the domain ID, domain endpoint, and domain ARN.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.Provides cluster configuration information about the specified Elasticsearch domain, such as the state, creation date, update version, and update date for cluster options.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.Returns domain configuration information about the specified Elasticsearch domains, including the domain ID, domain endpoint, and domain ARN.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.Returns the executor service used by this client to execute async requests.Returns the name of all Elasticsearch domains owned by the current user's account.listDomainNamesAsync
(ListDomainNamesRequest request, AsyncHandler<ListDomainNamesRequest, ListDomainNamesResult> asyncHandler) Returns the name of all Elasticsearch domains owned by the current user's account.listTagsAsync
(ListTagsRequest request) Returns all tags for the given Elasticsearch domain.listTagsAsync
(ListTagsRequest request, AsyncHandler<ListTagsRequest, ListTagsResult> asyncHandler) Returns all tags for the given Elasticsearch domain.removeTagsAsync
(RemoveTagsRequest request) Removes the specified set of tags from the specified Elasticsearch domain.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.Modifies the cluster configuration of the specified Elasticsearch domain, setting as setting the instance type and the number of instances.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.Methods inherited from class com.amazonaws.services.elasticsearch.AWSElasticsearchClient
addTags, createElasticsearchDomain, deleteElasticsearchDomain, describeElasticsearchDomain, describeElasticsearchDomainConfig, describeElasticsearchDomains, getCachedResponseMetadata, listDomainNames, listTags, removeTags, updateElasticsearchDomainConfig
Methods inherited from class com.amazonaws.AmazonWebServiceClient
addRequestHandler, addRequestHandler, beforeMarshalling, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, endClientExecution, endClientExecution, findRequestMetricCollector, getEndpointPrefix, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.amazonaws.services.elasticsearch.AWSElasticsearch
addTags, createElasticsearchDomain, deleteElasticsearchDomain, describeElasticsearchDomain, describeElasticsearchDomainConfig, describeElasticsearchDomains, getCachedResponseMetadata, listDomainNames, listTags, removeTags, setEndpoint, setRegion, updateElasticsearchDomainConfig
-
Constructor Details
-
AWSElasticsearchAsyncClient
public AWSElasticsearchAsyncClient()Constructs a new asynchronous client to invoke service methods on Amazon Elasticsearch Service. A credentials provider chain will be used that searches for credentials in this order:- Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
- Java System Properties - aws.accessKeyId and aws.secretKey
- Credential profiles file at the default location (~/.aws/credentials) shared by all AWS SDKs and the AWS CLI
- Instance profile credentials delivered through the Amazon EC2 metadata service
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).
- See Also:
-
AWSElasticsearchAsyncClient
Constructs a new asynchronous client to invoke service methods on Amazon Elasticsearch Service. A credentials provider chain will be used that searches for credentials in this order:- Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
- Java System Properties - aws.accessKeyId and aws.secretKey
- Credential profiles file at the default location (~/.aws/credentials) shared by all AWS SDKs and the AWS CLI
- Instance profile credentials delivered through the Amazon EC2 metadata service
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()
.- Parameters:
clientConfiguration
- The client configuration options controlling how this client connects to Amazon Elasticsearch Service (ex: proxy settings, retry counts, etc).- See Also:
-
AWSElasticsearchAsyncClient
Constructs a new asynchronous client to invoke service methods on Amazon Elasticsearch Service using the specified AWS account credentials.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).
- Parameters:
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.- See Also:
-
AWSElasticsearchAsyncClient
Constructs a new asynchronous client to invoke service methods on Amazon Elasticsearch Service using the specified AWS account credentials and executor service. Default client settings will be used.- Parameters:
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.
-
AWSElasticsearchAsyncClient
public 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.- Parameters:
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.
-
AWSElasticsearchAsyncClient
Constructs a new asynchronous client to invoke service methods on Amazon Elasticsearch Service using the specified AWS account credentials provider. Default client settings will be used.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).
- Parameters:
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.- See Also:
-
AWSElasticsearchAsyncClient
public 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.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()
.- Parameters:
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).- See Also:
-
AWSElasticsearchAsyncClient
public 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. Default client settings will be used.- Parameters:
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.
-
AWSElasticsearchAsyncClient
public 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.- Parameters:
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.
-
-
Method Details
-
getExecutorService
Returns the executor service used by this client to execute async requests.- Returns:
- The executor service used by this client to execute async requests.
-
addTagsAsync
Description copied from interface:AWSElasticsearchAsync
Attaches 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.
- Specified by:
addTagsAsync
in interfaceAWSElasticsearchAsync
- Parameters:
request
- Container for the parameters to theAddTags
operation. Specify the tags that you want to attach to the Elasticsearch domain.- Returns:
- A Java Future containing the result of the AddTags operation returned by the service.
-
addTagsAsync
public Future<AddTagsResult> addTagsAsync(AddTagsRequest request, AsyncHandler<AddTagsRequest, AddTagsResult> asyncHandler) Description copied from interface:AWSElasticsearchAsync
Attaches 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.
- Specified by:
addTagsAsync
in interfaceAWSElasticsearchAsync
- Parameters:
request
- Container for the parameters to theAddTags
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.- Returns:
- A Java Future containing the result of the AddTags operation returned by the service.
-
createElasticsearchDomainAsync
public Future<CreateElasticsearchDomainResult> createElasticsearchDomainAsync(CreateElasticsearchDomainRequest request) Description copied from interface:AWSElasticsearchAsync
Creates a new Elasticsearch domain. For more information, see Creating Elasticsearch Domains in the Amazon Elasticsearch Service Developer Guide.
- Specified by:
createElasticsearchDomainAsync
in interfaceAWSElasticsearchAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the CreateElasticsearchDomain operation returned by the service.
-
createElasticsearchDomainAsync
public Future<CreateElasticsearchDomainResult> createElasticsearchDomainAsync(CreateElasticsearchDomainRequest request, AsyncHandler<CreateElasticsearchDomainRequest, CreateElasticsearchDomainResult> asyncHandler) Description copied from interface:AWSElasticsearchAsync
Creates a new Elasticsearch domain. For more information, see Creating Elasticsearch Domains in the Amazon Elasticsearch Service Developer Guide.
- Specified by:
createElasticsearchDomainAsync
in interfaceAWSElasticsearchAsync
- Parameters:
request
-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.- Returns:
- A Java Future containing the result of the CreateElasticsearchDomain operation returned by the service.
-
deleteElasticsearchDomainAsync
public Future<DeleteElasticsearchDomainResult> deleteElasticsearchDomainAsync(DeleteElasticsearchDomainRequest request) Description copied from interface:AWSElasticsearchAsync
Permanently deletes the specified Elasticsearch domain and all of its data. Once a domain is deleted, it cannot be recovered.
- Specified by:
deleteElasticsearchDomainAsync
in interfaceAWSElasticsearchAsync
- Parameters:
request
- Container for the parameters to theDeleteElasticsearchDomain
operation. Specifies the name of the Elasticsearch domain that you want to delete.- Returns:
- A Java Future containing the result of the DeleteElasticsearchDomain operation returned by the service.
-
deleteElasticsearchDomainAsync
public Future<DeleteElasticsearchDomainResult> deleteElasticsearchDomainAsync(DeleteElasticsearchDomainRequest request, AsyncHandler<DeleteElasticsearchDomainRequest, DeleteElasticsearchDomainResult> asyncHandler) Description copied from interface:AWSElasticsearchAsync
Permanently deletes the specified Elasticsearch domain and all of its data. Once a domain is deleted, it cannot be recovered.
- Specified by:
deleteElasticsearchDomainAsync
in interfaceAWSElasticsearchAsync
- Parameters:
request
- Container for the parameters to theDeleteElasticsearchDomain
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.- Returns:
- A Java Future containing the result of the DeleteElasticsearchDomain operation returned by the service.
-
describeElasticsearchDomainAsync
public Future<DescribeElasticsearchDomainResult> describeElasticsearchDomainAsync(DescribeElasticsearchDomainRequest request) Description copied from interface:AWSElasticsearchAsync
Returns domain configuration information about the specified Elasticsearch domain, including the domain ID, domain endpoint, and domain ARN.
- Specified by:
describeElasticsearchDomainAsync
in interfaceAWSElasticsearchAsync
- Parameters:
request
- Container for the parameters to theDescribeElasticsearchDomain
operation.- Returns:
- A Java Future containing the result of the DescribeElasticsearchDomain operation returned by the service.
-
describeElasticsearchDomainAsync
public Future<DescribeElasticsearchDomainResult> describeElasticsearchDomainAsync(DescribeElasticsearchDomainRequest request, AsyncHandler<DescribeElasticsearchDomainRequest, DescribeElasticsearchDomainResult> asyncHandler) Description copied from interface:AWSElasticsearchAsync
Returns domain configuration information about the specified Elasticsearch domain, including the domain ID, domain endpoint, and domain ARN.
- Specified by:
describeElasticsearchDomainAsync
in interfaceAWSElasticsearchAsync
- Parameters:
request
- Container for the parameters to theDescribeElasticsearchDomain
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.- Returns:
- A Java Future containing the result of the DescribeElasticsearchDomain operation returned by the service.
-
describeElasticsearchDomainConfigAsync
public Future<DescribeElasticsearchDomainConfigResult> describeElasticsearchDomainConfigAsync(DescribeElasticsearchDomainConfigRequest request) Description copied from interface:AWSElasticsearchAsync
Provides cluster configuration information about the specified Elasticsearch domain, such as the state, creation date, update version, and update date for cluster options.
- Specified by:
describeElasticsearchDomainConfigAsync
in interfaceAWSElasticsearchAsync
- Parameters:
request
- Container for the parameters to theDescribeElasticsearchDomainConfig
operation. Specifies the domain name for which you want configuration information.- Returns:
- A Java Future containing the result of the DescribeElasticsearchDomainConfig operation returned by the service.
-
describeElasticsearchDomainConfigAsync
public Future<DescribeElasticsearchDomainConfigResult> describeElasticsearchDomainConfigAsync(DescribeElasticsearchDomainConfigRequest request, AsyncHandler<DescribeElasticsearchDomainConfigRequest, DescribeElasticsearchDomainConfigResult> asyncHandler) Description copied from interface:AWSElasticsearchAsync
Provides cluster configuration information about the specified Elasticsearch domain, such as the state, creation date, update version, and update date for cluster options.
- Specified by:
describeElasticsearchDomainConfigAsync
in interfaceAWSElasticsearchAsync
- Parameters:
request
- Container for the parameters to theDescribeElasticsearchDomainConfig
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.- Returns:
- A Java Future containing the result of the DescribeElasticsearchDomainConfig operation returned by the service.
-
describeElasticsearchDomainsAsync
public Future<DescribeElasticsearchDomainsResult> describeElasticsearchDomainsAsync(DescribeElasticsearchDomainsRequest request) Description copied from interface:AWSElasticsearchAsync
Returns domain configuration information about the specified Elasticsearch domains, including the domain ID, domain endpoint, and domain ARN.
- Specified by:
describeElasticsearchDomainsAsync
in interfaceAWSElasticsearchAsync
- Parameters:
request
- Container for the parameters to theDescribeElasticsearchDomains
operation. By default, the API returns the status of all Elasticsearch domains.- Returns:
- A Java Future containing the result of the DescribeElasticsearchDomains operation returned by the service.
-
describeElasticsearchDomainsAsync
public Future<DescribeElasticsearchDomainsResult> describeElasticsearchDomainsAsync(DescribeElasticsearchDomainsRequest request, AsyncHandler<DescribeElasticsearchDomainsRequest, DescribeElasticsearchDomainsResult> asyncHandler) Description copied from interface:AWSElasticsearchAsync
Returns domain configuration information about the specified Elasticsearch domains, including the domain ID, domain endpoint, and domain ARN.
- Specified by:
describeElasticsearchDomainsAsync
in interfaceAWSElasticsearchAsync
- Parameters:
request
- Container for the parameters to theDescribeElasticsearchDomains
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.- Returns:
- A Java Future containing the result of the DescribeElasticsearchDomains operation returned by the service.
-
listDomainNamesAsync
Description copied from interface:AWSElasticsearchAsync
Returns the name of all Elasticsearch domains owned by the current user's account.
- Specified by:
listDomainNamesAsync
in interfaceAWSElasticsearchAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the ListDomainNames operation returned by the service.
-
listDomainNamesAsync
public Future<ListDomainNamesResult> listDomainNamesAsync(ListDomainNamesRequest request, AsyncHandler<ListDomainNamesRequest, ListDomainNamesResult> asyncHandler) Description copied from interface:AWSElasticsearchAsync
Returns the name of all Elasticsearch domains owned by the current user's account.
- Specified by:
listDomainNamesAsync
in interfaceAWSElasticsearchAsync
- Parameters:
request
-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.- Returns:
- A Java Future containing the result of the ListDomainNames operation returned by the service.
-
listTagsAsync
Description copied from interface:AWSElasticsearchAsync
Returns all tags for the given Elasticsearch domain.
- Specified by:
listTagsAsync
in interfaceAWSElasticsearchAsync
- Parameters:
request
- Container for the parameters to theListTags
operation. Specify theARN
for the Elasticsearch domain to which the tags are attached that you want to view are attached.- Returns:
- A Java Future containing the result of the ListTags operation returned by the service.
-
listTagsAsync
public Future<ListTagsResult> listTagsAsync(ListTagsRequest request, AsyncHandler<ListTagsRequest, ListTagsResult> asyncHandler) Description copied from interface:AWSElasticsearchAsync
Returns all tags for the given Elasticsearch domain.
- Specified by:
listTagsAsync
in interfaceAWSElasticsearchAsync
- Parameters:
request
- Container for the parameters to theListTags
operation. Specify theARN
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.- Returns:
- A Java Future containing the result of the ListTags operation returned by the service.
-
removeTagsAsync
Description copied from interface:AWSElasticsearchAsync
Removes the specified set of tags from the specified Elasticsearch domain.
- Specified by:
removeTagsAsync
in interfaceAWSElasticsearchAsync
- Parameters:
request
- Container for the parameters to theRemoveTags
operation. Specify theARN
for the Elasticsearch domain from which you want to remove the specifiedTagKey
.- Returns:
- A Java Future containing the result of the RemoveTags operation returned by the service.
-
removeTagsAsync
public Future<RemoveTagsResult> removeTagsAsync(RemoveTagsRequest request, AsyncHandler<RemoveTagsRequest, RemoveTagsResult> asyncHandler) Description copied from interface:AWSElasticsearchAsync
Removes the specified set of tags from the specified Elasticsearch domain.
- Specified by:
removeTagsAsync
in interfaceAWSElasticsearchAsync
- Parameters:
request
- Container for the parameters to theRemoveTags
operation. Specify theARN
for the Elasticsearch domain from which you want to remove the specifiedTagKey
.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.- Returns:
- A Java Future containing the result of the RemoveTags operation returned by the service.
-
updateElasticsearchDomainConfigAsync
public Future<UpdateElasticsearchDomainConfigResult> updateElasticsearchDomainConfigAsync(UpdateElasticsearchDomainConfigRequest request) Description copied from interface:AWSElasticsearchAsync
Modifies the cluster configuration of the specified Elasticsearch domain, setting as setting the instance type and the number of instances.
- Specified by:
updateElasticsearchDomainConfigAsync
in interfaceAWSElasticsearchAsync
- Parameters:
request
- Container for the parameters to theUpdateElasticsearchDomain
operation. Specifies the type and number of instances in the domain cluster.- Returns:
- A Java Future containing the result of the UpdateElasticsearchDomainConfig operation returned by the service.
-
updateElasticsearchDomainConfigAsync
public Future<UpdateElasticsearchDomainConfigResult> updateElasticsearchDomainConfigAsync(UpdateElasticsearchDomainConfigRequest request, AsyncHandler<UpdateElasticsearchDomainConfigRequest, UpdateElasticsearchDomainConfigResult> asyncHandler) Description copied from interface:AWSElasticsearchAsync
Modifies the cluster configuration of the specified Elasticsearch domain, setting as setting the instance type and the number of instances.
- Specified by:
updateElasticsearchDomainConfigAsync
in interfaceAWSElasticsearchAsync
- Parameters:
request
- Container for the parameters to theUpdateElasticsearchDomain
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.- Returns:
- A Java Future containing the result of the UpdateElasticsearchDomainConfig operation returned by the service.
-
shutdown
public void shutdown()Shuts down the client, releasing all managed resources. This includes forcibly terminating all pending asynchronous service calls. Clients who wish to give pending asynchronous service calls time to complete should callgetExecutorService().shutdown()
followed bygetExecutorService().awaitTermination()
prior to calling this method.- Specified by:
shutdown
in interfaceAWSElasticsearch
- Overrides:
shutdown
in classAmazonWebServiceClient
-