Interface AWSElasticsearchAsync
-
- All Superinterfaces:
AWSElasticsearch
- All Known Implementing Classes:
AbstractAWSElasticsearchAsync
,AWSElasticsearchAsyncClient
public interface AWSElasticsearchAsync extends AWSElasticsearch
Interface for accessing Amazon Elasticsearch Service asynchronously. Each asynchronous method will return a Java Future object representing the asynchronous operation; overloads which accept anAsyncHandler
can be used to receive notification when an asynchronous operation completes.Amazon Elasticsearch Configuration Service 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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Future<AddTagsResult>
addTagsAsync(AddTagsRequest addTagsRequest)
Attaches tags to an existing Elasticsearch domain.Future<AddTagsResult>
addTagsAsync(AddTagsRequest addTagsRequest, AsyncHandler<AddTagsRequest,AddTagsResult> asyncHandler)
Attaches tags to an existing Elasticsearch domain.Future<CreateElasticsearchDomainResult>
createElasticsearchDomainAsync(CreateElasticsearchDomainRequest createElasticsearchDomainRequest)
Creates a new Elasticsearch domain.Future<CreateElasticsearchDomainResult>
createElasticsearchDomainAsync(CreateElasticsearchDomainRequest createElasticsearchDomainRequest, AsyncHandler<CreateElasticsearchDomainRequest,CreateElasticsearchDomainResult> asyncHandler)
Creates a new Elasticsearch domain.Future<DeleteElasticsearchDomainResult>
deleteElasticsearchDomainAsync(DeleteElasticsearchDomainRequest deleteElasticsearchDomainRequest)
Permanently deletes the specified Elasticsearch domain and all of its data.Future<DeleteElasticsearchDomainResult>
deleteElasticsearchDomainAsync(DeleteElasticsearchDomainRequest deleteElasticsearchDomainRequest, AsyncHandler<DeleteElasticsearchDomainRequest,DeleteElasticsearchDomainResult> asyncHandler)
Permanently deletes the specified Elasticsearch domain and all of its data.Future<DescribeElasticsearchDomainResult>
describeElasticsearchDomainAsync(DescribeElasticsearchDomainRequest describeElasticsearchDomainRequest)
Returns domain configuration information about the specified Elasticsearch domain, including the domain ID, domain endpoint, and domain ARN.Future<DescribeElasticsearchDomainResult>
describeElasticsearchDomainAsync(DescribeElasticsearchDomainRequest describeElasticsearchDomainRequest, 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 describeElasticsearchDomainConfigRequest)
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 describeElasticsearchDomainConfigRequest, 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 describeElasticsearchDomainsRequest)
Returns domain configuration information about the specified Elasticsearch domains, including the domain ID, domain endpoint, and domain ARN.Future<DescribeElasticsearchDomainsResult>
describeElasticsearchDomainsAsync(DescribeElasticsearchDomainsRequest describeElasticsearchDomainsRequest, AsyncHandler<DescribeElasticsearchDomainsRequest,DescribeElasticsearchDomainsResult> asyncHandler)
Returns domain configuration information about the specified Elasticsearch domains, including the domain ID, domain endpoint, and domain ARN.Future<ListDomainNamesResult>
listDomainNamesAsync(ListDomainNamesRequest listDomainNamesRequest)
Returns the name of all Elasticsearch domains owned by the current user's account.Future<ListDomainNamesResult>
listDomainNamesAsync(ListDomainNamesRequest listDomainNamesRequest, AsyncHandler<ListDomainNamesRequest,ListDomainNamesResult> asyncHandler)
Returns the name of all Elasticsearch domains owned by the current user's account.Future<ListTagsResult>
listTagsAsync(ListTagsRequest listTagsRequest)
Returns all tags for the given Elasticsearch domain.Future<ListTagsResult>
listTagsAsync(ListTagsRequest listTagsRequest, AsyncHandler<ListTagsRequest,ListTagsResult> asyncHandler)
Returns all tags for the given Elasticsearch domain.Future<RemoveTagsResult>
removeTagsAsync(RemoveTagsRequest removeTagsRequest)
Removes the specified set of tags from the specified Elasticsearch domain.Future<RemoveTagsResult>
removeTagsAsync(RemoveTagsRequest removeTagsRequest, AsyncHandler<RemoveTagsRequest,RemoveTagsResult> asyncHandler)
Removes the specified set of tags from the specified Elasticsearch domain.Future<UpdateElasticsearchDomainConfigResult>
updateElasticsearchDomainConfigAsync(UpdateElasticsearchDomainConfigRequest updateElasticsearchDomainConfigRequest)
Modifies the cluster configuration of the specified Elasticsearch domain, setting as setting the instance type and the number of instances.Future<UpdateElasticsearchDomainConfigResult>
updateElasticsearchDomainConfigAsync(UpdateElasticsearchDomainConfigRequest updateElasticsearchDomainConfigRequest, 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 interface com.amazonaws.services.elasticsearch.AWSElasticsearch
addTags, createElasticsearchDomain, deleteElasticsearchDomain, describeElasticsearchDomain, describeElasticsearchDomainConfig, describeElasticsearchDomains, getCachedResponseMetadata, listDomainNames, listTags, removeTags, setEndpoint, setRegion, shutdown, updateElasticsearchDomainConfig
-
-
-
-
Method Detail
-
addTagsAsync
Future<AddTagsResult> addTagsAsync(AddTagsRequest addTagsRequest)
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.
- Parameters:
addTagsRequest
- 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
Future<AddTagsResult> addTagsAsync(AddTagsRequest addTagsRequest, AsyncHandler<AddTagsRequest,AddTagsResult> asyncHandler)
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.
- Parameters:
addTagsRequest
- 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
Future<CreateElasticsearchDomainResult> createElasticsearchDomainAsync(CreateElasticsearchDomainRequest createElasticsearchDomainRequest)
Creates a new Elasticsearch domain. For more information, see Creating Elasticsearch Domains in the Amazon Elasticsearch Service Developer Guide.
- Parameters:
createElasticsearchDomainRequest
-- Returns:
- A Java Future containing the result of the CreateElasticsearchDomain operation returned by the service.
-
createElasticsearchDomainAsync
Future<CreateElasticsearchDomainResult> createElasticsearchDomainAsync(CreateElasticsearchDomainRequest createElasticsearchDomainRequest, AsyncHandler<CreateElasticsearchDomainRequest,CreateElasticsearchDomainResult> asyncHandler)
Creates a new Elasticsearch domain. For more information, see Creating Elasticsearch Domains in the Amazon Elasticsearch Service Developer Guide.
- Parameters:
createElasticsearchDomainRequest
-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
Future<DeleteElasticsearchDomainResult> deleteElasticsearchDomainAsync(DeleteElasticsearchDomainRequest deleteElasticsearchDomainRequest)
Permanently deletes the specified Elasticsearch domain and all of its data. Once a domain is deleted, it cannot be recovered.
- Parameters:
deleteElasticsearchDomainRequest
- 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
Future<DeleteElasticsearchDomainResult> deleteElasticsearchDomainAsync(DeleteElasticsearchDomainRequest deleteElasticsearchDomainRequest, AsyncHandler<DeleteElasticsearchDomainRequest,DeleteElasticsearchDomainResult> asyncHandler)
Permanently deletes the specified Elasticsearch domain and all of its data. Once a domain is deleted, it cannot be recovered.
- Parameters:
deleteElasticsearchDomainRequest
- 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
Future<DescribeElasticsearchDomainResult> describeElasticsearchDomainAsync(DescribeElasticsearchDomainRequest describeElasticsearchDomainRequest)
Returns domain configuration information about the specified Elasticsearch domain, including the domain ID, domain endpoint, and domain ARN.
- Parameters:
describeElasticsearchDomainRequest
- Container for the parameters to theDescribeElasticsearchDomain
operation.- Returns:
- A Java Future containing the result of the DescribeElasticsearchDomain operation returned by the service.
-
describeElasticsearchDomainAsync
Future<DescribeElasticsearchDomainResult> describeElasticsearchDomainAsync(DescribeElasticsearchDomainRequest describeElasticsearchDomainRequest, AsyncHandler<DescribeElasticsearchDomainRequest,DescribeElasticsearchDomainResult> asyncHandler)
Returns domain configuration information about the specified Elasticsearch domain, including the domain ID, domain endpoint, and domain ARN.
- Parameters:
describeElasticsearchDomainRequest
- 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
Future<DescribeElasticsearchDomainConfigResult> describeElasticsearchDomainConfigAsync(DescribeElasticsearchDomainConfigRequest describeElasticsearchDomainConfigRequest)
Provides cluster configuration information about the specified Elasticsearch domain, such as the state, creation date, update version, and update date for cluster options.
- Parameters:
describeElasticsearchDomainConfigRequest
- 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
Future<DescribeElasticsearchDomainConfigResult> describeElasticsearchDomainConfigAsync(DescribeElasticsearchDomainConfigRequest describeElasticsearchDomainConfigRequest, 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.
- Parameters:
describeElasticsearchDomainConfigRequest
- 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
Future<DescribeElasticsearchDomainsResult> describeElasticsearchDomainsAsync(DescribeElasticsearchDomainsRequest describeElasticsearchDomainsRequest)
Returns domain configuration information about the specified Elasticsearch domains, including the domain ID, domain endpoint, and domain ARN.
- Parameters:
describeElasticsearchDomainsRequest
- 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
Future<DescribeElasticsearchDomainsResult> describeElasticsearchDomainsAsync(DescribeElasticsearchDomainsRequest describeElasticsearchDomainsRequest, AsyncHandler<DescribeElasticsearchDomainsRequest,DescribeElasticsearchDomainsResult> asyncHandler)
Returns domain configuration information about the specified Elasticsearch domains, including the domain ID, domain endpoint, and domain ARN.
- Parameters:
describeElasticsearchDomainsRequest
- 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
Future<ListDomainNamesResult> listDomainNamesAsync(ListDomainNamesRequest listDomainNamesRequest)
Returns the name of all Elasticsearch domains owned by the current user's account.
- Parameters:
listDomainNamesRequest
-- Returns:
- A Java Future containing the result of the ListDomainNames operation returned by the service.
-
listDomainNamesAsync
Future<ListDomainNamesResult> listDomainNamesAsync(ListDomainNamesRequest listDomainNamesRequest, AsyncHandler<ListDomainNamesRequest,ListDomainNamesResult> asyncHandler)
Returns the name of all Elasticsearch domains owned by the current user's account.
- Parameters:
listDomainNamesRequest
-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
Future<ListTagsResult> listTagsAsync(ListTagsRequest listTagsRequest)
Returns all tags for the given Elasticsearch domain.
- Parameters:
listTagsRequest
- 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
Future<ListTagsResult> listTagsAsync(ListTagsRequest listTagsRequest, AsyncHandler<ListTagsRequest,ListTagsResult> asyncHandler)
Returns all tags for the given Elasticsearch domain.
- Parameters:
listTagsRequest
- 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
Future<RemoveTagsResult> removeTagsAsync(RemoveTagsRequest removeTagsRequest)
Removes the specified set of tags from the specified Elasticsearch domain.
- Parameters:
removeTagsRequest
- 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
Future<RemoveTagsResult> removeTagsAsync(RemoveTagsRequest removeTagsRequest, AsyncHandler<RemoveTagsRequest,RemoveTagsResult> asyncHandler)
Removes the specified set of tags from the specified Elasticsearch domain.
- Parameters:
removeTagsRequest
- 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
Future<UpdateElasticsearchDomainConfigResult> updateElasticsearchDomainConfigAsync(UpdateElasticsearchDomainConfigRequest updateElasticsearchDomainConfigRequest)
Modifies the cluster configuration of the specified Elasticsearch domain, setting as setting the instance type and the number of instances.
- Parameters:
updateElasticsearchDomainConfigRequest
- 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
Future<UpdateElasticsearchDomainConfigResult> updateElasticsearchDomainConfigAsync(UpdateElasticsearchDomainConfigRequest updateElasticsearchDomainConfigRequest, AsyncHandler<UpdateElasticsearchDomainConfigRequest,UpdateElasticsearchDomainConfigResult> asyncHandler)
Modifies the cluster configuration of the specified Elasticsearch domain, setting as setting the instance type and the number of instances.
- Parameters:
updateElasticsearchDomainConfigRequest
- 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.
-
-