@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonOpenSearchAsyncClient extends AmazonOpenSearchClient implements AmazonOpenSearchAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
Use the Amazon OpenSearch configuration API to create, configure, and manage Amazon OpenSearch Service domains.
For sample code that uses the configuration API, see the Amazon OpenSearch Service Developer Guide. The guide also contains sample code for sending signed HTTP requests to the OpenSearch APIs.
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_PREFIXacceptInboundConnection, addTags, associatePackage, builder, cancelServiceSoftwareUpdate, createDomain, createOutboundConnection, createPackage, deleteDomain, deleteInboundConnection, deleteOutboundConnection, deletePackage, describeDomain, describeDomainAutoTunes, describeDomainConfig, describeDomains, describeInboundConnections, describeInstanceTypeLimits, describeOutboundConnections, describePackages, describeReservedInstanceOfferings, describeReservedInstances, dissociatePackage, getCachedResponseMetadata, getCompatibleVersions, getPackageVersionHistory, getUpgradeHistory, getUpgradeStatus, listDomainNames, listDomainsForPackage, listInstanceTypeDetails, listPackagesForDomain, listTags, listVersions, purchaseReservedInstanceOffering, rejectInboundConnection, removeTags, startServiceSoftwareUpdate, updateDomainConfig, updatePackage, upgradeDomainaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitacceptInboundConnection, addTags, associatePackage, cancelServiceSoftwareUpdate, createDomain, createOutboundConnection, createPackage, deleteDomain, deleteInboundConnection, deleteOutboundConnection, deletePackage, describeDomain, describeDomainAutoTunes, describeDomainConfig, describeDomains, describeInboundConnections, describeInstanceTypeLimits, describeOutboundConnections, describePackages, describeReservedInstanceOfferings, describeReservedInstances, dissociatePackage, getCachedResponseMetadata, getCompatibleVersions, getPackageVersionHistory, getUpgradeHistory, getUpgradeStatus, listDomainNames, listDomainsForPackage, listInstanceTypeDetails, listPackagesForDomain, listTags, listVersions, purchaseReservedInstanceOffering, rejectInboundConnection, removeTags, startServiceSoftwareUpdate, updateDomainConfig, updatePackage, upgradeDomainpublic static AmazonOpenSearchAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AcceptInboundConnectionResult> acceptInboundConnectionAsync(AcceptInboundConnectionRequest request)
AmazonOpenSearchAsyncAllows the remote domain owner to accept an inbound cross-cluster connection request.
acceptInboundConnectionAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the AcceptInboundConnection operation.public Future<AcceptInboundConnectionResult> acceptInboundConnectionAsync(AcceptInboundConnectionRequest request, AsyncHandler<AcceptInboundConnectionRequest,AcceptInboundConnectionResult> asyncHandler)
AmazonOpenSearchAsyncAllows the remote domain owner to accept an inbound cross-cluster connection request.
acceptInboundConnectionAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the AcceptInboundConnection 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<AddTagsResult> addTagsAsync(AddTagsRequest request)
AmazonOpenSearchAsyncAttaches tags to an existing domain. Tags are a set of case-sensitive key value pairs. An domain can have up to 10 tags. See Tagging Amazon OpenSearch Service domains for more information.
addTagsAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the AddTags operation. Specifies the tags to attach
to the domain.public Future<AddTagsResult> addTagsAsync(AddTagsRequest request, AsyncHandler<AddTagsRequest,AddTagsResult> asyncHandler)
AmazonOpenSearchAsyncAttaches tags to an existing domain. Tags are a set of case-sensitive key value pairs. An domain can have up to 10 tags. See Tagging Amazon OpenSearch Service domains for more information.
addTagsAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the AddTags operation. Specifies the tags to attach
to the 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<AssociatePackageResult> associatePackageAsync(AssociatePackageRequest request)
AmazonOpenSearchAsyncAssociates a package with an Amazon OpenSearch Service domain.
associatePackageAsync in interface AmazonOpenSearchAsyncrequest - Container for the request parameters to the AssociatePackage operation.public Future<AssociatePackageResult> associatePackageAsync(AssociatePackageRequest request, AsyncHandler<AssociatePackageRequest,AssociatePackageResult> asyncHandler)
AmazonOpenSearchAsyncAssociates a package with an Amazon OpenSearch Service domain.
associatePackageAsync in interface AmazonOpenSearchAsyncrequest - Container for the request parameters to the AssociatePackage 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<CancelServiceSoftwareUpdateResult> cancelServiceSoftwareUpdateAsync(CancelServiceSoftwareUpdateRequest request)
AmazonOpenSearchAsync
Cancels a scheduled service software update for an Amazon OpenSearch Service domain. You can only perform this
operation before the AutomatedUpdateDate and when the UpdateStatus is in the
PENDING_UPDATE state.
cancelServiceSoftwareUpdateAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the CancelServiceSoftwareUpdate operation. Specifies
the name of the domain that you wish to cancel a service software update on.public Future<CancelServiceSoftwareUpdateResult> cancelServiceSoftwareUpdateAsync(CancelServiceSoftwareUpdateRequest request, AsyncHandler<CancelServiceSoftwareUpdateRequest,CancelServiceSoftwareUpdateResult> asyncHandler)
AmazonOpenSearchAsync
Cancels a scheduled service software update for an Amazon OpenSearch Service domain. You can only perform this
operation before the AutomatedUpdateDate and when the UpdateStatus is in the
PENDING_UPDATE state.
cancelServiceSoftwareUpdateAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the CancelServiceSoftwareUpdate operation. Specifies
the name of the domain that you wish to cancel a service software update on.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<CreateDomainResult> createDomainAsync(CreateDomainRequest request)
AmazonOpenSearchAsyncCreates a new Amazon OpenSearch Service domain. For more information, see Creating and managing Amazon OpenSearch Service domains in the Amazon OpenSearch Service Developer Guide.
createDomainAsync in interface AmazonOpenSearchAsyncpublic Future<CreateDomainResult> createDomainAsync(CreateDomainRequest request, AsyncHandler<CreateDomainRequest,CreateDomainResult> asyncHandler)
AmazonOpenSearchAsyncCreates a new Amazon OpenSearch Service domain. For more information, see Creating and managing Amazon OpenSearch Service domains in the Amazon OpenSearch Service Developer Guide.
createDomainAsync in interface AmazonOpenSearchAsyncasyncHandler - 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<CreateOutboundConnectionResult> createOutboundConnectionAsync(CreateOutboundConnectionRequest request)
AmazonOpenSearchAsyncCreates a new cross-cluster connection from a local OpenSearch domain to a remote OpenSearch domain.
createOutboundConnectionAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the CreateOutboundConnection operation.public Future<CreateOutboundConnectionResult> createOutboundConnectionAsync(CreateOutboundConnectionRequest request, AsyncHandler<CreateOutboundConnectionRequest,CreateOutboundConnectionResult> asyncHandler)
AmazonOpenSearchAsyncCreates a new cross-cluster connection from a local OpenSearch domain to a remote OpenSearch domain.
createOutboundConnectionAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the CreateOutboundConnection 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<CreatePackageResult> createPackageAsync(CreatePackageRequest request)
AmazonOpenSearchAsyncCreate a package for use with Amazon OpenSearch Service domains.
createPackageAsync in interface AmazonOpenSearchAsyncrequest - Container for request parameters to the CreatePackage operation.public Future<CreatePackageResult> createPackageAsync(CreatePackageRequest request, AsyncHandler<CreatePackageRequest,CreatePackageResult> asyncHandler)
AmazonOpenSearchAsyncCreate a package for use with Amazon OpenSearch Service domains.
createPackageAsync in interface AmazonOpenSearchAsyncrequest - Container for request parameters to the CreatePackage 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<DeleteDomainResult> deleteDomainAsync(DeleteDomainRequest request)
AmazonOpenSearchAsyncPermanently deletes the specified domain and all of its data. Once a domain is deleted, it cannot be recovered.
deleteDomainAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the DeleteDomain operation. Specifies the name of
the domain you want to delete.public Future<DeleteDomainResult> deleteDomainAsync(DeleteDomainRequest request, AsyncHandler<DeleteDomainRequest,DeleteDomainResult> asyncHandler)
AmazonOpenSearchAsyncPermanently deletes the specified domain and all of its data. Once a domain is deleted, it cannot be recovered.
deleteDomainAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the DeleteDomain operation. Specifies the name of
the domain 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<DeleteInboundConnectionResult> deleteInboundConnectionAsync(DeleteInboundConnectionRequest request)
AmazonOpenSearchAsyncAllows the remote domain owner to delete an existing inbound cross-cluster connection.
deleteInboundConnectionAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the DeleteInboundConnection operation.public Future<DeleteInboundConnectionResult> deleteInboundConnectionAsync(DeleteInboundConnectionRequest request, AsyncHandler<DeleteInboundConnectionRequest,DeleteInboundConnectionResult> asyncHandler)
AmazonOpenSearchAsyncAllows the remote domain owner to delete an existing inbound cross-cluster connection.
deleteInboundConnectionAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the DeleteInboundConnection 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<DeleteOutboundConnectionResult> deleteOutboundConnectionAsync(DeleteOutboundConnectionRequest request)
AmazonOpenSearchAsyncAllows the local domain owner to delete an existing outbound cross-cluster connection.
deleteOutboundConnectionAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the DeleteOutboundConnection operation.public Future<DeleteOutboundConnectionResult> deleteOutboundConnectionAsync(DeleteOutboundConnectionRequest request, AsyncHandler<DeleteOutboundConnectionRequest,DeleteOutboundConnectionResult> asyncHandler)
AmazonOpenSearchAsyncAllows the local domain owner to delete an existing outbound cross-cluster connection.
deleteOutboundConnectionAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the DeleteOutboundConnection 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<DeletePackageResult> deletePackageAsync(DeletePackageRequest request)
AmazonOpenSearchAsyncDeletes the package.
deletePackageAsync in interface AmazonOpenSearchAsyncrequest - Container for the request parameters to the DeletePackage operation.public Future<DeletePackageResult> deletePackageAsync(DeletePackageRequest request, AsyncHandler<DeletePackageRequest,DeletePackageResult> asyncHandler)
AmazonOpenSearchAsyncDeletes the package.
deletePackageAsync in interface AmazonOpenSearchAsyncrequest - Container for the request parameters to the DeletePackage 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<DescribeDomainResult> describeDomainAsync(DescribeDomainRequest request)
AmazonOpenSearchAsyncReturns domain configuration information about the specified domain, including the domain ID, domain endpoint, and domain ARN.
describeDomainAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the DescribeDomain operation.public Future<DescribeDomainResult> describeDomainAsync(DescribeDomainRequest request, AsyncHandler<DescribeDomainRequest,DescribeDomainResult> asyncHandler)
AmazonOpenSearchAsyncReturns domain configuration information about the specified domain, including the domain ID, domain endpoint, and domain ARN.
describeDomainAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the DescribeDomain 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<DescribeDomainAutoTunesResult> describeDomainAutoTunesAsync(DescribeDomainAutoTunesRequest request)
AmazonOpenSearchAsyncProvides scheduled Auto-Tune action details for the domain, such as Auto-Tune action type, description, severity, and scheduled date.
describeDomainAutoTunesAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the DescribeDomainAutoTunes operation.public Future<DescribeDomainAutoTunesResult> describeDomainAutoTunesAsync(DescribeDomainAutoTunesRequest request, AsyncHandler<DescribeDomainAutoTunesRequest,DescribeDomainAutoTunesResult> asyncHandler)
AmazonOpenSearchAsyncProvides scheduled Auto-Tune action details for the domain, such as Auto-Tune action type, description, severity, and scheduled date.
describeDomainAutoTunesAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the DescribeDomainAutoTunes 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<DescribeDomainConfigResult> describeDomainConfigAsync(DescribeDomainConfigRequest request)
AmazonOpenSearchAsyncProvides cluster configuration information about the specified domain, such as the state, creation date, update version, and update date for cluster options.
describeDomainConfigAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the DescribeDomainConfig operation. Specifies the domain name
for which you want configuration information.public Future<DescribeDomainConfigResult> describeDomainConfigAsync(DescribeDomainConfigRequest request, AsyncHandler<DescribeDomainConfigRequest,DescribeDomainConfigResult> asyncHandler)
AmazonOpenSearchAsyncProvides cluster configuration information about the specified domain, such as the state, creation date, update version, and update date for cluster options.
describeDomainConfigAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the DescribeDomainConfig 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<DescribeDomainsResult> describeDomainsAsync(DescribeDomainsRequest request)
AmazonOpenSearchAsyncReturns domain configuration information about the specified domains, including the domain ID, domain endpoint, and domain ARN.
describeDomainsAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the DescribeDomains operation. By default, the API
returns the status of all domains.public Future<DescribeDomainsResult> describeDomainsAsync(DescribeDomainsRequest request, AsyncHandler<DescribeDomainsRequest,DescribeDomainsResult> asyncHandler)
AmazonOpenSearchAsyncReturns domain configuration information about the specified domains, including the domain ID, domain endpoint, and domain ARN.
describeDomainsAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the DescribeDomains operation. By default, the API
returns the status of all 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<DescribeInboundConnectionsResult> describeInboundConnectionsAsync(DescribeInboundConnectionsRequest request)
AmazonOpenSearchAsyncLists all the inbound cross-cluster connections for a remote domain.
describeInboundConnectionsAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the DescribeInboundConnections operation.public Future<DescribeInboundConnectionsResult> describeInboundConnectionsAsync(DescribeInboundConnectionsRequest request, AsyncHandler<DescribeInboundConnectionsRequest,DescribeInboundConnectionsResult> asyncHandler)
AmazonOpenSearchAsyncLists all the inbound cross-cluster connections for a remote domain.
describeInboundConnectionsAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the DescribeInboundConnections 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<DescribeInstanceTypeLimitsResult> describeInstanceTypeLimitsAsync(DescribeInstanceTypeLimitsRequest request)
AmazonOpenSearchAsync
Describe the limits for a given instance type and OpenSearch or Elasticsearch version. When modifying an existing
domain, specify the DomainName to see which limits you can modify.
describeInstanceTypeLimitsAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the DescribeInstanceTypeLimits operation.public Future<DescribeInstanceTypeLimitsResult> describeInstanceTypeLimitsAsync(DescribeInstanceTypeLimitsRequest request, AsyncHandler<DescribeInstanceTypeLimitsRequest,DescribeInstanceTypeLimitsResult> asyncHandler)
AmazonOpenSearchAsync
Describe the limits for a given instance type and OpenSearch or Elasticsearch version. When modifying an existing
domain, specify the DomainName to see which limits you can modify.
describeInstanceTypeLimitsAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the DescribeInstanceTypeLimits 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<DescribeOutboundConnectionsResult> describeOutboundConnectionsAsync(DescribeOutboundConnectionsRequest request)
AmazonOpenSearchAsyncLists all the outbound cross-cluster connections for a local domain.
describeOutboundConnectionsAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the DescribeOutboundConnections operation.public Future<DescribeOutboundConnectionsResult> describeOutboundConnectionsAsync(DescribeOutboundConnectionsRequest request, AsyncHandler<DescribeOutboundConnectionsRequest,DescribeOutboundConnectionsResult> asyncHandler)
AmazonOpenSearchAsyncLists all the outbound cross-cluster connections for a local domain.
describeOutboundConnectionsAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the DescribeOutboundConnections 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<DescribePackagesResult> describePackagesAsync(DescribePackagesRequest request)
AmazonOpenSearchAsyncDescribes all packages available to Amazon OpenSearch Service domains. Includes options for filtering, limiting the number of results, and pagination.
describePackagesAsync in interface AmazonOpenSearchAsyncrequest - Container for the request parameters to the DescribePackage operation.public Future<DescribePackagesResult> describePackagesAsync(DescribePackagesRequest request, AsyncHandler<DescribePackagesRequest,DescribePackagesResult> asyncHandler)
AmazonOpenSearchAsyncDescribes all packages available to Amazon OpenSearch Service domains. Includes options for filtering, limiting the number of results, and pagination.
describePackagesAsync in interface AmazonOpenSearchAsyncrequest - Container for the request parameters to the DescribePackage 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<DescribeReservedInstanceOfferingsResult> describeReservedInstanceOfferingsAsync(DescribeReservedInstanceOfferingsRequest request)
AmazonOpenSearchAsyncLists available reserved OpenSearch instance offerings.
describeReservedInstanceOfferingsAsync in interface AmazonOpenSearchAsyncrequest - Container for parameters to DescribeReservedInstanceOfferingspublic Future<DescribeReservedInstanceOfferingsResult> describeReservedInstanceOfferingsAsync(DescribeReservedInstanceOfferingsRequest request, AsyncHandler<DescribeReservedInstanceOfferingsRequest,DescribeReservedInstanceOfferingsResult> asyncHandler)
AmazonOpenSearchAsyncLists available reserved OpenSearch instance offerings.
describeReservedInstanceOfferingsAsync in interface AmazonOpenSearchAsyncrequest - Container for parameters to DescribeReservedInstanceOfferingsasyncHandler - 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<DescribeReservedInstancesResult> describeReservedInstancesAsync(DescribeReservedInstancesRequest request)
AmazonOpenSearchAsyncReturns information about reserved OpenSearch instances for this account.
describeReservedInstancesAsync in interface AmazonOpenSearchAsyncrequest - Container for parameters to DescribeReservedInstancespublic Future<DescribeReservedInstancesResult> describeReservedInstancesAsync(DescribeReservedInstancesRequest request, AsyncHandler<DescribeReservedInstancesRequest,DescribeReservedInstancesResult> asyncHandler)
AmazonOpenSearchAsyncReturns information about reserved OpenSearch instances for this account.
describeReservedInstancesAsync in interface AmazonOpenSearchAsyncrequest - Container for parameters to DescribeReservedInstancesasyncHandler - 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<DissociatePackageResult> dissociatePackageAsync(DissociatePackageRequest request)
AmazonOpenSearchAsyncDissociates a package from the Amazon OpenSearch Service domain.
dissociatePackageAsync in interface AmazonOpenSearchAsyncrequest - Container for the request parameters to the DissociatePackage operation.public Future<DissociatePackageResult> dissociatePackageAsync(DissociatePackageRequest request, AsyncHandler<DissociatePackageRequest,DissociatePackageResult> asyncHandler)
AmazonOpenSearchAsyncDissociates a package from the Amazon OpenSearch Service domain.
dissociatePackageAsync in interface AmazonOpenSearchAsyncrequest - Container for the request parameters to the DissociatePackage 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<GetCompatibleVersionsResult> getCompatibleVersionsAsync(GetCompatibleVersionsRequest request)
AmazonOpenSearchAsync
Returns a list of upgrade-compatible versions of OpenSearch/Elasticsearch. You can optionally pass a
DomainName to get all upgrade-compatible versions of OpenSearch/Elasticsearch for that
specific domain.
getCompatibleVersionsAsync in interface AmazonOpenSearchAsyncrequest - Container for the request parameters to GetCompatibleVersions operation.public Future<GetCompatibleVersionsResult> getCompatibleVersionsAsync(GetCompatibleVersionsRequest request, AsyncHandler<GetCompatibleVersionsRequest,GetCompatibleVersionsResult> asyncHandler)
AmazonOpenSearchAsync
Returns a list of upgrade-compatible versions of OpenSearch/Elasticsearch. You can optionally pass a
DomainName to get all upgrade-compatible versions of OpenSearch/Elasticsearch for that
specific domain.
getCompatibleVersionsAsync in interface AmazonOpenSearchAsyncrequest - Container for the request parameters to GetCompatibleVersions 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<GetPackageVersionHistoryResult> getPackageVersionHistoryAsync(GetPackageVersionHistoryRequest request)
AmazonOpenSearchAsyncReturns a list of package versions, along with their creation time and commit message.
getPackageVersionHistoryAsync in interface AmazonOpenSearchAsyncrequest - Container for the request parameters to the GetPackageVersionHistory operation.public Future<GetPackageVersionHistoryResult> getPackageVersionHistoryAsync(GetPackageVersionHistoryRequest request, AsyncHandler<GetPackageVersionHistoryRequest,GetPackageVersionHistoryResult> asyncHandler)
AmazonOpenSearchAsyncReturns a list of package versions, along with their creation time and commit message.
getPackageVersionHistoryAsync in interface AmazonOpenSearchAsyncrequest - Container for the request parameters to the GetPackageVersionHistory 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<GetUpgradeHistoryResult> getUpgradeHistoryAsync(GetUpgradeHistoryRequest request)
AmazonOpenSearchAsyncRetrieves the complete history of the last 10 upgrades performed on the domain.
getUpgradeHistoryAsync in interface AmazonOpenSearchAsyncrequest - Container for the request parameters to the GetUpgradeHistory operation.public Future<GetUpgradeHistoryResult> getUpgradeHistoryAsync(GetUpgradeHistoryRequest request, AsyncHandler<GetUpgradeHistoryRequest,GetUpgradeHistoryResult> asyncHandler)
AmazonOpenSearchAsyncRetrieves the complete history of the last 10 upgrades performed on the domain.
getUpgradeHistoryAsync in interface AmazonOpenSearchAsyncrequest - Container for the request parameters to the GetUpgradeHistory 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<GetUpgradeStatusResult> getUpgradeStatusAsync(GetUpgradeStatusRequest request)
AmazonOpenSearchAsyncRetrieves the latest status of the last upgrade or upgrade eligibility check performed on the domain.
getUpgradeStatusAsync in interface AmazonOpenSearchAsyncrequest - Container for the request parameters to the GetUpgradeStatus operation.public Future<GetUpgradeStatusResult> getUpgradeStatusAsync(GetUpgradeStatusRequest request, AsyncHandler<GetUpgradeStatusRequest,GetUpgradeStatusResult> asyncHandler)
AmazonOpenSearchAsyncRetrieves the latest status of the last upgrade or upgrade eligibility check performed on the domain.
getUpgradeStatusAsync in interface AmazonOpenSearchAsyncrequest - Container for the request parameters to the GetUpgradeStatus 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)
AmazonOpenSearchAsyncReturns the names of all domains owned by the current user's account.
listDomainNamesAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the ListDomainNames operation.public Future<ListDomainNamesResult> listDomainNamesAsync(ListDomainNamesRequest request, AsyncHandler<ListDomainNamesRequest,ListDomainNamesResult> asyncHandler)
AmazonOpenSearchAsyncReturns the names of all domains owned by the current user's account.
listDomainNamesAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the ListDomainNames 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<ListDomainsForPackageResult> listDomainsForPackageAsync(ListDomainsForPackageRequest request)
AmazonOpenSearchAsyncLists all Amazon OpenSearch Service domains associated with the package.
listDomainsForPackageAsync in interface AmazonOpenSearchAsyncrequest - Container for the request parameters to the ListDomainsForPackage operation.public Future<ListDomainsForPackageResult> listDomainsForPackageAsync(ListDomainsForPackageRequest request, AsyncHandler<ListDomainsForPackageRequest,ListDomainsForPackageResult> asyncHandler)
AmazonOpenSearchAsyncLists all Amazon OpenSearch Service domains associated with the package.
listDomainsForPackageAsync in interface AmazonOpenSearchAsyncrequest - Container for the request parameters to the ListDomainsForPackage 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<ListInstanceTypeDetailsResult> listInstanceTypeDetailsAsync(ListInstanceTypeDetailsRequest request)
listInstanceTypeDetailsAsync in interface AmazonOpenSearchAsyncpublic Future<ListInstanceTypeDetailsResult> listInstanceTypeDetailsAsync(ListInstanceTypeDetailsRequest request, AsyncHandler<ListInstanceTypeDetailsRequest,ListInstanceTypeDetailsResult> asyncHandler)
listInstanceTypeDetailsAsync in interface AmazonOpenSearchAsyncasyncHandler - 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<ListPackagesForDomainResult> listPackagesForDomainAsync(ListPackagesForDomainRequest request)
AmazonOpenSearchAsyncLists all packages associated with the Amazon OpenSearch Service domain.
listPackagesForDomainAsync in interface AmazonOpenSearchAsyncrequest - Container for the request parameters to the ListPackagesForDomain operation.public Future<ListPackagesForDomainResult> listPackagesForDomainAsync(ListPackagesForDomainRequest request, AsyncHandler<ListPackagesForDomainRequest,ListPackagesForDomainResult> asyncHandler)
AmazonOpenSearchAsyncLists all packages associated with the Amazon OpenSearch Service domain.
listPackagesForDomainAsync in interface AmazonOpenSearchAsyncrequest - Container for the request parameters to the ListPackagesForDomain 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<ListTagsResult> listTagsAsync(ListTagsRequest request)
AmazonOpenSearchAsyncReturns all tags for the given domain.
listTagsAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the ListTags operation. Specify the ARN
of the domain that the tags you want to view are attached to.public Future<ListTagsResult> listTagsAsync(ListTagsRequest request, AsyncHandler<ListTagsRequest,ListTagsResult> asyncHandler)
AmazonOpenSearchAsyncReturns all tags for the given domain.
listTagsAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the ListTags operation. Specify the ARN
of the domain that the tags you want to view are attached to.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<ListVersionsResult> listVersionsAsync(ListVersionsRequest request)
AmazonOpenSearchAsyncList all supported versions of OpenSearch and Elasticsearch.
listVersionsAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the ListVersions 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, there are no more results to retrieve.
public Future<ListVersionsResult> listVersionsAsync(ListVersionsRequest request, AsyncHandler<ListVersionsRequest,ListVersionsResult> asyncHandler)
AmazonOpenSearchAsyncList all supported versions of OpenSearch and Elasticsearch.
listVersionsAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the ListVersions 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, 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<PurchaseReservedInstanceOfferingResult> purchaseReservedInstanceOfferingAsync(PurchaseReservedInstanceOfferingRequest request)
AmazonOpenSearchAsyncAllows you to purchase reserved OpenSearch instances.
purchaseReservedInstanceOfferingAsync in interface AmazonOpenSearchAsyncrequest - Container for parameters to PurchaseReservedInstanceOfferingpublic Future<PurchaseReservedInstanceOfferingResult> purchaseReservedInstanceOfferingAsync(PurchaseReservedInstanceOfferingRequest request, AsyncHandler<PurchaseReservedInstanceOfferingRequest,PurchaseReservedInstanceOfferingResult> asyncHandler)
AmazonOpenSearchAsyncAllows you to purchase reserved OpenSearch instances.
purchaseReservedInstanceOfferingAsync in interface AmazonOpenSearchAsyncrequest - Container for parameters to PurchaseReservedInstanceOfferingasyncHandler - 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<RejectInboundConnectionResult> rejectInboundConnectionAsync(RejectInboundConnectionRequest request)
AmazonOpenSearchAsyncAllows the remote domain owner to reject an inbound cross-cluster connection request.
rejectInboundConnectionAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the RejectInboundConnection operation.public Future<RejectInboundConnectionResult> rejectInboundConnectionAsync(RejectInboundConnectionRequest request, AsyncHandler<RejectInboundConnectionRequest,RejectInboundConnectionResult> asyncHandler)
AmazonOpenSearchAsyncAllows the remote domain owner to reject an inbound cross-cluster connection request.
rejectInboundConnectionAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the RejectInboundConnection 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<RemoveTagsResult> removeTagsAsync(RemoveTagsRequest request)
AmazonOpenSearchAsyncRemoves the specified set of tags from the given domain.
removeTagsAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the RemoveTags operation. Specify the
ARN for the domain from which you want to remove the specified TagKey.public Future<RemoveTagsResult> removeTagsAsync(RemoveTagsRequest request, AsyncHandler<RemoveTagsRequest,RemoveTagsResult> asyncHandler)
AmazonOpenSearchAsyncRemoves the specified set of tags from the given domain.
removeTagsAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the RemoveTags operation. Specify the
ARN for the 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<StartServiceSoftwareUpdateResult> startServiceSoftwareUpdateAsync(StartServiceSoftwareUpdateRequest request)
AmazonOpenSearchAsyncSchedules a service software update for an Amazon OpenSearch Service domain.
startServiceSoftwareUpdateAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the StartServiceSoftwareUpdate operation. Specifies
the name of the domain to schedule a service software update for.public Future<StartServiceSoftwareUpdateResult> startServiceSoftwareUpdateAsync(StartServiceSoftwareUpdateRequest request, AsyncHandler<StartServiceSoftwareUpdateRequest,StartServiceSoftwareUpdateResult> asyncHandler)
AmazonOpenSearchAsyncSchedules a service software update for an Amazon OpenSearch Service domain.
startServiceSoftwareUpdateAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the StartServiceSoftwareUpdate operation. Specifies
the name of the domain to schedule a service software update for.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<UpdateDomainConfigResult> updateDomainConfigAsync(UpdateDomainConfigRequest request)
AmazonOpenSearchAsyncModifies the cluster configuration of the specified domain, such as setting the instance type and the number of instances.
updateDomainConfigAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the UpdateDomain operation. Specifies the type and
number of instances in the domain cluster.public Future<UpdateDomainConfigResult> updateDomainConfigAsync(UpdateDomainConfigRequest request, AsyncHandler<UpdateDomainConfigRequest,UpdateDomainConfigResult> asyncHandler)
AmazonOpenSearchAsyncModifies the cluster configuration of the specified domain, such as setting the instance type and the number of instances.
updateDomainConfigAsync in interface AmazonOpenSearchAsyncrequest - Container for the parameters to the UpdateDomain 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 Future<UpdatePackageResult> updatePackageAsync(UpdatePackageRequest request)
AmazonOpenSearchAsyncUpdates a package for use with Amazon OpenSearch Service domains.
updatePackageAsync in interface AmazonOpenSearchAsyncrequest - Container for request parameters to the UpdatePackage operation.public Future<UpdatePackageResult> updatePackageAsync(UpdatePackageRequest request, AsyncHandler<UpdatePackageRequest,UpdatePackageResult> asyncHandler)
AmazonOpenSearchAsyncUpdates a package for use with Amazon OpenSearch Service domains.
updatePackageAsync in interface AmazonOpenSearchAsyncrequest - Container for request parameters to the UpdatePackage 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<UpgradeDomainResult> upgradeDomainAsync(UpgradeDomainRequest request)
AmazonOpenSearchAsyncAllows you to either upgrade your domain or perform an upgrade eligibility check to a compatible version of OpenSearch or Elasticsearch.
upgradeDomainAsync in interface AmazonOpenSearchAsyncrequest - Container for the request parameters to UpgradeDomain operation.public Future<UpgradeDomainResult> upgradeDomainAsync(UpgradeDomainRequest request, AsyncHandler<UpgradeDomainRequest,UpgradeDomainResult> asyncHandler)
AmazonOpenSearchAsyncAllows you to either upgrade your domain or perform an upgrade eligibility check to a compatible version of OpenSearch or Elasticsearch.
upgradeDomainAsync in interface AmazonOpenSearchAsyncrequest - Container for the request parameters to UpgradeDomain 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 void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AmazonOpenSearchshutdown in class AmazonOpenSearchClient