@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.
configFactory
client, clientConfiguration, endpoint, isEndpointOverridden, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset
ENDPOINT_PREFIX
acceptInboundConnection, addTags, associatePackage, builder, cancelServiceSoftwareUpdate, createDomain, createOutboundConnection, createPackage, deleteDomain, deleteInboundConnection, deleteOutboundConnection, deletePackage, describeDomain, describeDomainAutoTunes, describeDomainChangeProgress, 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, upgradeDomain
addRequestHandler, addRequestHandler, beforeClientExecution, beforeMarshalling, calculateCRC32FromCompressedData, checkMutability, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, createSignerProvider, endClientExecution, endClientExecution, getClientConfiguration, getClientId, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerOverride, getSignerProvider, getSignerRegionOverride, getSigningRegion, getTimeOffset, isCsmEnabled, isEndpointOverridden, isProfilingEnabled, isRequestMetricsEnabled, makeImmutable, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shouldGenerateClientSideMonitoringEvents, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
acceptInboundConnection, addTags, associatePackage, cancelServiceSoftwareUpdate, createDomain, createOutboundConnection, createPackage, deleteDomain, deleteInboundConnection, deleteOutboundConnection, deletePackage, describeDomain, describeDomainAutoTunes, describeDomainChangeProgress, 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, upgradeDomain
public static AmazonOpenSearchAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AcceptInboundConnectionResult> acceptInboundConnectionAsync(AcceptInboundConnectionRequest request)
AmazonOpenSearchAsync
Allows the remote domain owner to accept an inbound cross-cluster connection request.
acceptInboundConnectionAsync
in interface AmazonOpenSearchAsync
request
- Container for the parameters to the AcceptInboundConnection
operation.public Future<AcceptInboundConnectionResult> acceptInboundConnectionAsync(AcceptInboundConnectionRequest request, AsyncHandler<AcceptInboundConnectionRequest,AcceptInboundConnectionResult> asyncHandler)
AmazonOpenSearchAsync
Allows the remote domain owner to accept an inbound cross-cluster connection request.
acceptInboundConnectionAsync
in interface AmazonOpenSearchAsync
request
- 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)
AmazonOpenSearchAsync
Attaches 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 AmazonOpenSearchAsync
request
- 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)
AmazonOpenSearchAsync
Attaches 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 AmazonOpenSearchAsync
request
- 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)
AmazonOpenSearchAsync
Associates a package with an Amazon OpenSearch Service domain.
associatePackageAsync
in interface AmazonOpenSearchAsync
request
- Container for the request parameters to the AssociatePackage
operation.public Future<AssociatePackageResult> associatePackageAsync(AssociatePackageRequest request, AsyncHandler<AssociatePackageRequest,AssociatePackageResult> asyncHandler)
AmazonOpenSearchAsync
Associates a package with an Amazon OpenSearch Service domain.
associatePackageAsync
in interface AmazonOpenSearchAsync
request
- 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 AmazonOpenSearchAsync
request
- 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 AmazonOpenSearchAsync
request
- 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)
AmazonOpenSearchAsync
Creates 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 AmazonOpenSearchAsync
public Future<CreateDomainResult> createDomainAsync(CreateDomainRequest request, AsyncHandler<CreateDomainRequest,CreateDomainResult> asyncHandler)
AmazonOpenSearchAsync
Creates 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 AmazonOpenSearchAsync
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<CreateOutboundConnectionResult> createOutboundConnectionAsync(CreateOutboundConnectionRequest request)
AmazonOpenSearchAsync
Creates a new cross-cluster connection from a local OpenSearch domain to a remote OpenSearch domain.
createOutboundConnectionAsync
in interface AmazonOpenSearchAsync
request
- Container for the parameters to the CreateOutboundConnection
operation.public Future<CreateOutboundConnectionResult> createOutboundConnectionAsync(CreateOutboundConnectionRequest request, AsyncHandler<CreateOutboundConnectionRequest,CreateOutboundConnectionResult> asyncHandler)
AmazonOpenSearchAsync
Creates a new cross-cluster connection from a local OpenSearch domain to a remote OpenSearch domain.
createOutboundConnectionAsync
in interface AmazonOpenSearchAsync
request
- 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)
AmazonOpenSearchAsync
Create a package for use with Amazon OpenSearch Service domains.
createPackageAsync
in interface AmazonOpenSearchAsync
request
- Container for request parameters to the CreatePackage
operation.public Future<CreatePackageResult> createPackageAsync(CreatePackageRequest request, AsyncHandler<CreatePackageRequest,CreatePackageResult> asyncHandler)
AmazonOpenSearchAsync
Create a package for use with Amazon OpenSearch Service domains.
createPackageAsync
in interface AmazonOpenSearchAsync
request
- 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)
AmazonOpenSearchAsync
Permanently deletes the specified domain and all of its data. Once a domain is deleted, it cannot be recovered.
deleteDomainAsync
in interface AmazonOpenSearchAsync
request
- 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)
AmazonOpenSearchAsync
Permanently deletes the specified domain and all of its data. Once a domain is deleted, it cannot be recovered.
deleteDomainAsync
in interface AmazonOpenSearchAsync
request
- 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)
AmazonOpenSearchAsync
Allows the remote domain owner to delete an existing inbound cross-cluster connection.
deleteInboundConnectionAsync
in interface AmazonOpenSearchAsync
request
- Container for the parameters to the DeleteInboundConnection
operation.public Future<DeleteInboundConnectionResult> deleteInboundConnectionAsync(DeleteInboundConnectionRequest request, AsyncHandler<DeleteInboundConnectionRequest,DeleteInboundConnectionResult> asyncHandler)
AmazonOpenSearchAsync
Allows the remote domain owner to delete an existing inbound cross-cluster connection.
deleteInboundConnectionAsync
in interface AmazonOpenSearchAsync
request
- 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)
AmazonOpenSearchAsync
Allows the local domain owner to delete an existing outbound cross-cluster connection.
deleteOutboundConnectionAsync
in interface AmazonOpenSearchAsync
request
- Container for the parameters to the DeleteOutboundConnection
operation.public Future<DeleteOutboundConnectionResult> deleteOutboundConnectionAsync(DeleteOutboundConnectionRequest request, AsyncHandler<DeleteOutboundConnectionRequest,DeleteOutboundConnectionResult> asyncHandler)
AmazonOpenSearchAsync
Allows the local domain owner to delete an existing outbound cross-cluster connection.
deleteOutboundConnectionAsync
in interface AmazonOpenSearchAsync
request
- 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)
AmazonOpenSearchAsync
Deletes the package.
deletePackageAsync
in interface AmazonOpenSearchAsync
request
- Container for the request parameters to the DeletePackage
operation.public Future<DeletePackageResult> deletePackageAsync(DeletePackageRequest request, AsyncHandler<DeletePackageRequest,DeletePackageResult> asyncHandler)
AmazonOpenSearchAsync
Deletes the package.
deletePackageAsync
in interface AmazonOpenSearchAsync
request
- 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)
AmazonOpenSearchAsync
Returns domain configuration information about the specified domain, including the domain ID, domain endpoint, and domain ARN.
describeDomainAsync
in interface AmazonOpenSearchAsync
request
- Container for the parameters to the DescribeDomain
operation.public Future<DescribeDomainResult> describeDomainAsync(DescribeDomainRequest request, AsyncHandler<DescribeDomainRequest,DescribeDomainResult> asyncHandler)
AmazonOpenSearchAsync
Returns domain configuration information about the specified domain, including the domain ID, domain endpoint, and domain ARN.
describeDomainAsync
in interface AmazonOpenSearchAsync
request
- 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)
AmazonOpenSearchAsync
Provides scheduled Auto-Tune action details for the domain, such as Auto-Tune action type, description, severity, and scheduled date.
describeDomainAutoTunesAsync
in interface AmazonOpenSearchAsync
request
- Container for the parameters to the DescribeDomainAutoTunes
operation.public Future<DescribeDomainAutoTunesResult> describeDomainAutoTunesAsync(DescribeDomainAutoTunesRequest request, AsyncHandler<DescribeDomainAutoTunesRequest,DescribeDomainAutoTunesResult> asyncHandler)
AmazonOpenSearchAsync
Provides scheduled Auto-Tune action details for the domain, such as Auto-Tune action type, description, severity, and scheduled date.
describeDomainAutoTunesAsync
in interface AmazonOpenSearchAsync
request
- 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<DescribeDomainChangeProgressResult> describeDomainChangeProgressAsync(DescribeDomainChangeProgressRequest request)
AmazonOpenSearchAsync
Returns information about the current blue/green deployment happening on a domain, including a change ID, status, and progress stages.
describeDomainChangeProgressAsync
in interface AmazonOpenSearchAsync
request
- Container for the parameters to the DescribeDomainChangeProgress
operation. Specifies the
domain name and optional change specific identity for which you want progress information.public Future<DescribeDomainChangeProgressResult> describeDomainChangeProgressAsync(DescribeDomainChangeProgressRequest request, AsyncHandler<DescribeDomainChangeProgressRequest,DescribeDomainChangeProgressResult> asyncHandler)
AmazonOpenSearchAsync
Returns information about the current blue/green deployment happening on a domain, including a change ID, status, and progress stages.
describeDomainChangeProgressAsync
in interface AmazonOpenSearchAsync
request
- Container for the parameters to the DescribeDomainChangeProgress
operation. Specifies the
domain name and optional change specific identity for which you want progress 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<DescribeDomainConfigResult> describeDomainConfigAsync(DescribeDomainConfigRequest request)
AmazonOpenSearchAsync
Provides cluster configuration information about the specified domain, such as the state, creation date, update version, and update date for cluster options.
describeDomainConfigAsync
in interface AmazonOpenSearchAsync
request
- 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)
AmazonOpenSearchAsync
Provides cluster configuration information about the specified domain, such as the state, creation date, update version, and update date for cluster options.
describeDomainConfigAsync
in interface AmazonOpenSearchAsync
request
- 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)
AmazonOpenSearchAsync
Returns domain configuration information about the specified domains, including the domain ID, domain endpoint, and domain ARN.
describeDomainsAsync
in interface AmazonOpenSearchAsync
request
- 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)
AmazonOpenSearchAsync
Returns domain configuration information about the specified domains, including the domain ID, domain endpoint, and domain ARN.
describeDomainsAsync
in interface AmazonOpenSearchAsync
request
- 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)
AmazonOpenSearchAsync
Lists all the inbound cross-cluster connections for a remote domain.
describeInboundConnectionsAsync
in interface AmazonOpenSearchAsync
request
- Container for the parameters to the DescribeInboundConnections
operation.public Future<DescribeInboundConnectionsResult> describeInboundConnectionsAsync(DescribeInboundConnectionsRequest request, AsyncHandler<DescribeInboundConnectionsRequest,DescribeInboundConnectionsResult> asyncHandler)
AmazonOpenSearchAsync
Lists all the inbound cross-cluster connections for a remote domain.
describeInboundConnectionsAsync
in interface AmazonOpenSearchAsync
request
- 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 AmazonOpenSearchAsync
request
- 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 AmazonOpenSearchAsync
request
- 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)
AmazonOpenSearchAsync
Lists all the outbound cross-cluster connections for a local domain.
describeOutboundConnectionsAsync
in interface AmazonOpenSearchAsync
request
- Container for the parameters to the DescribeOutboundConnections
operation.public Future<DescribeOutboundConnectionsResult> describeOutboundConnectionsAsync(DescribeOutboundConnectionsRequest request, AsyncHandler<DescribeOutboundConnectionsRequest,DescribeOutboundConnectionsResult> asyncHandler)
AmazonOpenSearchAsync
Lists all the outbound cross-cluster connections for a local domain.
describeOutboundConnectionsAsync
in interface AmazonOpenSearchAsync
request
- 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)
AmazonOpenSearchAsync
Describes all packages available to Amazon OpenSearch Service domains. Includes options for filtering, limiting the number of results, and pagination.
describePackagesAsync
in interface AmazonOpenSearchAsync
request
- Container for the request parameters to the DescribePackage
operation.public Future<DescribePackagesResult> describePackagesAsync(DescribePackagesRequest request, AsyncHandler<DescribePackagesRequest,DescribePackagesResult> asyncHandler)
AmazonOpenSearchAsync
Describes all packages available to Amazon OpenSearch Service domains. Includes options for filtering, limiting the number of results, and pagination.
describePackagesAsync
in interface AmazonOpenSearchAsync
request
- 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)
AmazonOpenSearchAsync
Lists available reserved OpenSearch instance offerings.
describeReservedInstanceOfferingsAsync
in interface AmazonOpenSearchAsync
request
- Container for parameters to DescribeReservedInstanceOfferings
public Future<DescribeReservedInstanceOfferingsResult> describeReservedInstanceOfferingsAsync(DescribeReservedInstanceOfferingsRequest request, AsyncHandler<DescribeReservedInstanceOfferingsRequest,DescribeReservedInstanceOfferingsResult> asyncHandler)
AmazonOpenSearchAsync
Lists available reserved OpenSearch instance offerings.
describeReservedInstanceOfferingsAsync
in interface AmazonOpenSearchAsync
request
- Container for parameters to DescribeReservedInstanceOfferings
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<DescribeReservedInstancesResult> describeReservedInstancesAsync(DescribeReservedInstancesRequest request)
AmazonOpenSearchAsync
Returns information about reserved OpenSearch instances for this account.
describeReservedInstancesAsync
in interface AmazonOpenSearchAsync
request
- Container for parameters to DescribeReservedInstances
public Future<DescribeReservedInstancesResult> describeReservedInstancesAsync(DescribeReservedInstancesRequest request, AsyncHandler<DescribeReservedInstancesRequest,DescribeReservedInstancesResult> asyncHandler)
AmazonOpenSearchAsync
Returns information about reserved OpenSearch instances for this account.
describeReservedInstancesAsync
in interface AmazonOpenSearchAsync
request
- Container for parameters to DescribeReservedInstances
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<DissociatePackageResult> dissociatePackageAsync(DissociatePackageRequest request)
AmazonOpenSearchAsync
Dissociates a package from the Amazon OpenSearch Service domain.
dissociatePackageAsync
in interface AmazonOpenSearchAsync
request
- Container for the request parameters to the DissociatePackage
operation.public Future<DissociatePackageResult> dissociatePackageAsync(DissociatePackageRequest request, AsyncHandler<DissociatePackageRequest,DissociatePackageResult> asyncHandler)
AmazonOpenSearchAsync
Dissociates a package from the Amazon OpenSearch Service domain.
dissociatePackageAsync
in interface AmazonOpenSearchAsync
request
- 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 AmazonOpenSearchAsync
request
- 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 AmazonOpenSearchAsync
request
- 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)
AmazonOpenSearchAsync
Returns a list of package versions, along with their creation time and commit message.
getPackageVersionHistoryAsync
in interface AmazonOpenSearchAsync
request
- Container for the request parameters to the GetPackageVersionHistory
operation.public Future<GetPackageVersionHistoryResult> getPackageVersionHistoryAsync(GetPackageVersionHistoryRequest request, AsyncHandler<GetPackageVersionHistoryRequest,GetPackageVersionHistoryResult> asyncHandler)
AmazonOpenSearchAsync
Returns a list of package versions, along with their creation time and commit message.
getPackageVersionHistoryAsync
in interface AmazonOpenSearchAsync
request
- 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)
AmazonOpenSearchAsync
Retrieves the complete history of the last 10 upgrades performed on the domain.
getUpgradeHistoryAsync
in interface AmazonOpenSearchAsync
request
- Container for the request parameters to the GetUpgradeHistory
operation.public Future<GetUpgradeHistoryResult> getUpgradeHistoryAsync(GetUpgradeHistoryRequest request, AsyncHandler<GetUpgradeHistoryRequest,GetUpgradeHistoryResult> asyncHandler)
AmazonOpenSearchAsync
Retrieves the complete history of the last 10 upgrades performed on the domain.
getUpgradeHistoryAsync
in interface AmazonOpenSearchAsync
request
- 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)
AmazonOpenSearchAsync
Retrieves the latest status of the last upgrade or upgrade eligibility check performed on the domain.
getUpgradeStatusAsync
in interface AmazonOpenSearchAsync
request
- Container for the request parameters to the GetUpgradeStatus
operation.public Future<GetUpgradeStatusResult> getUpgradeStatusAsync(GetUpgradeStatusRequest request, AsyncHandler<GetUpgradeStatusRequest,GetUpgradeStatusResult> asyncHandler)
AmazonOpenSearchAsync
Retrieves the latest status of the last upgrade or upgrade eligibility check performed on the domain.
getUpgradeStatusAsync
in interface AmazonOpenSearchAsync
request
- 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)
AmazonOpenSearchAsync
Returns the names of all domains owned by the current user's account.
listDomainNamesAsync
in interface AmazonOpenSearchAsync
request
- Container for the parameters to the ListDomainNames
operation.public Future<ListDomainNamesResult> listDomainNamesAsync(ListDomainNamesRequest request, AsyncHandler<ListDomainNamesRequest,ListDomainNamesResult> asyncHandler)
AmazonOpenSearchAsync
Returns the names of all domains owned by the current user's account.
listDomainNamesAsync
in interface AmazonOpenSearchAsync
request
- 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)
AmazonOpenSearchAsync
Lists all Amazon OpenSearch Service domains associated with the package.
listDomainsForPackageAsync
in interface AmazonOpenSearchAsync
request
- Container for the request parameters to the ListDomainsForPackage
operation.public Future<ListDomainsForPackageResult> listDomainsForPackageAsync(ListDomainsForPackageRequest request, AsyncHandler<ListDomainsForPackageRequest,ListDomainsForPackageResult> asyncHandler)
AmazonOpenSearchAsync
Lists all Amazon OpenSearch Service domains associated with the package.
listDomainsForPackageAsync
in interface AmazonOpenSearchAsync
request
- 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 AmazonOpenSearchAsync
public Future<ListInstanceTypeDetailsResult> listInstanceTypeDetailsAsync(ListInstanceTypeDetailsRequest request, AsyncHandler<ListInstanceTypeDetailsRequest,ListInstanceTypeDetailsResult> asyncHandler)
listInstanceTypeDetailsAsync
in interface AmazonOpenSearchAsync
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<ListPackagesForDomainResult> listPackagesForDomainAsync(ListPackagesForDomainRequest request)
AmazonOpenSearchAsync
Lists all packages associated with the Amazon OpenSearch Service domain.
listPackagesForDomainAsync
in interface AmazonOpenSearchAsync
request
- Container for the request parameters to the ListPackagesForDomain
operation.public Future<ListPackagesForDomainResult> listPackagesForDomainAsync(ListPackagesForDomainRequest request, AsyncHandler<ListPackagesForDomainRequest,ListPackagesForDomainResult> asyncHandler)
AmazonOpenSearchAsync
Lists all packages associated with the Amazon OpenSearch Service domain.
listPackagesForDomainAsync
in interface AmazonOpenSearchAsync
request
- 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)
AmazonOpenSearchAsync
Returns all tags for the given domain.
listTagsAsync
in interface AmazonOpenSearchAsync
request
- 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)
AmazonOpenSearchAsync
Returns all tags for the given domain.
listTagsAsync
in interface AmazonOpenSearchAsync
request
- 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)
AmazonOpenSearchAsync
List all supported versions of OpenSearch and Elasticsearch.
listVersionsAsync
in interface AmazonOpenSearchAsync
request
- 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)
AmazonOpenSearchAsync
List all supported versions of OpenSearch and Elasticsearch.
listVersionsAsync
in interface AmazonOpenSearchAsync
request
- 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)
AmazonOpenSearchAsync
Allows you to purchase reserved OpenSearch instances.
purchaseReservedInstanceOfferingAsync
in interface AmazonOpenSearchAsync
request
- Container for parameters to PurchaseReservedInstanceOffering
public Future<PurchaseReservedInstanceOfferingResult> purchaseReservedInstanceOfferingAsync(PurchaseReservedInstanceOfferingRequest request, AsyncHandler<PurchaseReservedInstanceOfferingRequest,PurchaseReservedInstanceOfferingResult> asyncHandler)
AmazonOpenSearchAsync
Allows you to purchase reserved OpenSearch instances.
purchaseReservedInstanceOfferingAsync
in interface AmazonOpenSearchAsync
request
- Container for parameters to PurchaseReservedInstanceOffering
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<RejectInboundConnectionResult> rejectInboundConnectionAsync(RejectInboundConnectionRequest request)
AmazonOpenSearchAsync
Allows the remote domain owner to reject an inbound cross-cluster connection request.
rejectInboundConnectionAsync
in interface AmazonOpenSearchAsync
request
- Container for the parameters to the RejectInboundConnection
operation.public Future<RejectInboundConnectionResult> rejectInboundConnectionAsync(RejectInboundConnectionRequest request, AsyncHandler<RejectInboundConnectionRequest,RejectInboundConnectionResult> asyncHandler)
AmazonOpenSearchAsync
Allows the remote domain owner to reject an inbound cross-cluster connection request.
rejectInboundConnectionAsync
in interface AmazonOpenSearchAsync
request
- 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)
AmazonOpenSearchAsync
Removes the specified set of tags from the given domain.
removeTagsAsync
in interface AmazonOpenSearchAsync
request
- 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)
AmazonOpenSearchAsync
Removes the specified set of tags from the given domain.
removeTagsAsync
in interface AmazonOpenSearchAsync
request
- 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)
AmazonOpenSearchAsync
Schedules a service software update for an Amazon OpenSearch Service domain.
startServiceSoftwareUpdateAsync
in interface AmazonOpenSearchAsync
request
- 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)
AmazonOpenSearchAsync
Schedules a service software update for an Amazon OpenSearch Service domain.
startServiceSoftwareUpdateAsync
in interface AmazonOpenSearchAsync
request
- 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)
AmazonOpenSearchAsync
Modifies the cluster configuration of the specified domain, such as setting the instance type and the number of instances.
updateDomainConfigAsync
in interface AmazonOpenSearchAsync
request
- 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)
AmazonOpenSearchAsync
Modifies the cluster configuration of the specified domain, such as setting the instance type and the number of instances.
updateDomainConfigAsync
in interface AmazonOpenSearchAsync
request
- 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)
AmazonOpenSearchAsync
Updates a package for use with Amazon OpenSearch Service domains.
updatePackageAsync
in interface AmazonOpenSearchAsync
request
- Container for request parameters to the UpdatePackage
operation.public Future<UpdatePackageResult> updatePackageAsync(UpdatePackageRequest request, AsyncHandler<UpdatePackageRequest,UpdatePackageResult> asyncHandler)
AmazonOpenSearchAsync
Updates a package for use with Amazon OpenSearch Service domains.
updatePackageAsync
in interface AmazonOpenSearchAsync
request
- 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)
AmazonOpenSearchAsync
Allows you to either upgrade your domain or perform an upgrade eligibility check to a compatible version of OpenSearch or Elasticsearch.
upgradeDomainAsync
in interface AmazonOpenSearchAsync
request
- Container for the request parameters to UpgradeDomain
operation.public Future<UpgradeDomainResult> upgradeDomainAsync(UpgradeDomainRequest request, AsyncHandler<UpgradeDomainRequest,UpgradeDomainResult> asyncHandler)
AmazonOpenSearchAsync
Allows you to either upgrade your domain or perform an upgrade eligibility check to a compatible version of OpenSearch or Elasticsearch.
upgradeDomainAsync
in interface AmazonOpenSearchAsync
request
- 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 AmazonOpenSearch
shutdown
in class AmazonOpenSearchClient
Copyright © 2022. All rights reserved.