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 an AsyncHandler 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 Details

    • 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 the AddTags 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 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.
      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

      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 the DeleteElasticsearchDomain 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

      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 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.
      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 the DescribeElasticsearchDomain operation.
      Returns:
      A Java Future containing the result of the DescribeElasticsearchDomain operation returned by the service.
    • describeElasticsearchDomainAsync

      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 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.
      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 the DescribeElasticsearchDomainConfig 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

      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 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.
      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 the DescribeElasticsearchDomains 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

      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 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.
      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

      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 the ListTags operation. Specify the ARN 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 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.
      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 the RemoveTags operation. Specify the ARN for the Elasticsearch domain from which you want to remove the specified TagKey.
      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 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.
      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 the UpdateElasticsearchDomain 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

      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 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.
      Returns:
      A Java Future containing the result of the UpdateElasticsearchDomainConfig operation returned by the service.