@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSOpenSearchServerlessAsyncClient extends AWSOpenSearchServerlessClient implements AWSOpenSearchServerlessAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
Use the Amazon OpenSearch Serverless API to create, configure, and manage OpenSearch Serverless collections and security policies.
OpenSearch Serverless is an on-demand, pre-provisioned serverless configuration for Amazon OpenSearch Service. OpenSearch Serverless removes the operational complexities of provisioning, configuring, and tuning your OpenSearch clusters. It enables you to easily search and analyze petabytes of data without having to worry about the underlying infrastructure and data management.
To learn more about OpenSearch Serverless, see What is Amazon OpenSearch Serverless?
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXbatchGetCollection, batchGetEffectiveLifecyclePolicy, batchGetLifecyclePolicy, batchGetVpcEndpoint, builder, createAccessPolicy, createCollection, createLifecyclePolicy, createSecurityConfig, createSecurityPolicy, createVpcEndpoint, deleteAccessPolicy, deleteCollection, deleteLifecyclePolicy, deleteSecurityConfig, deleteSecurityPolicy, deleteVpcEndpoint, getAccessPolicy, getAccountSettings, getCachedResponseMetadata, getPoliciesStats, getSecurityConfig, getSecurityPolicy, listAccessPolicies, listCollections, listLifecyclePolicies, listSecurityConfigs, listSecurityPolicies, listTagsForResource, listVpcEndpoints, tagResource, untagResource, updateAccessPolicy, updateAccountSettings, updateCollection, updateLifecyclePolicy, updateSecurityConfig, updateSecurityPolicy, updateVpcEndpointaddRequestHandler, 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, waitbatchGetCollection, batchGetEffectiveLifecyclePolicy, batchGetLifecyclePolicy, batchGetVpcEndpoint, createAccessPolicy, createCollection, createLifecyclePolicy, createSecurityConfig, createSecurityPolicy, createVpcEndpoint, deleteAccessPolicy, deleteCollection, deleteLifecyclePolicy, deleteSecurityConfig, deleteSecurityPolicy, deleteVpcEndpoint, getAccessPolicy, getAccountSettings, getCachedResponseMetadata, getPoliciesStats, getSecurityConfig, getSecurityPolicy, listAccessPolicies, listCollections, listLifecyclePolicies, listSecurityConfigs, listSecurityPolicies, listTagsForResource, listVpcEndpoints, tagResource, untagResource, updateAccessPolicy, updateAccountSettings, updateCollection, updateLifecyclePolicy, updateSecurityConfig, updateSecurityPolicy, updateVpcEndpointpublic static AWSOpenSearchServerlessAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<BatchGetCollectionResult> batchGetCollectionAsync(BatchGetCollectionRequest request)
AWSOpenSearchServerlessAsyncReturns attributes for one or more collections, including the collection endpoint and the OpenSearch Dashboards endpoint. For more information, see Creating and managing Amazon OpenSearch Serverless collections.
batchGetCollectionAsync in interface AWSOpenSearchServerlessAsyncpublic Future<BatchGetCollectionResult> batchGetCollectionAsync(BatchGetCollectionRequest request, AsyncHandler<BatchGetCollectionRequest,BatchGetCollectionResult> asyncHandler)
AWSOpenSearchServerlessAsyncReturns attributes for one or more collections, including the collection endpoint and the OpenSearch Dashboards endpoint. For more information, see Creating and managing Amazon OpenSearch Serverless collections.
batchGetCollectionAsync in interface AWSOpenSearchServerlessAsyncasyncHandler - 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<BatchGetEffectiveLifecyclePolicyResult> batchGetEffectiveLifecyclePolicyAsync(BatchGetEffectiveLifecyclePolicyRequest request)
AWSOpenSearchServerlessAsyncReturns a list of successful and failed retrievals for the OpenSearch Serverless indexes. For more information, see Viewing data lifecycle policies.
batchGetEffectiveLifecyclePolicyAsync in interface AWSOpenSearchServerlessAsyncpublic Future<BatchGetEffectiveLifecyclePolicyResult> batchGetEffectiveLifecyclePolicyAsync(BatchGetEffectiveLifecyclePolicyRequest request, AsyncHandler<BatchGetEffectiveLifecyclePolicyRequest,BatchGetEffectiveLifecyclePolicyResult> asyncHandler)
AWSOpenSearchServerlessAsyncReturns a list of successful and failed retrievals for the OpenSearch Serverless indexes. For more information, see Viewing data lifecycle policies.
batchGetEffectiveLifecyclePolicyAsync in interface AWSOpenSearchServerlessAsyncasyncHandler - 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<BatchGetLifecyclePolicyResult> batchGetLifecyclePolicyAsync(BatchGetLifecyclePolicyRequest request)
AWSOpenSearchServerlessAsyncReturns one or more configured OpenSearch Serverless lifecycle policies. For more information, see Viewing data lifecycle policies.
batchGetLifecyclePolicyAsync in interface AWSOpenSearchServerlessAsyncpublic Future<BatchGetLifecyclePolicyResult> batchGetLifecyclePolicyAsync(BatchGetLifecyclePolicyRequest request, AsyncHandler<BatchGetLifecyclePolicyRequest,BatchGetLifecyclePolicyResult> asyncHandler)
AWSOpenSearchServerlessAsyncReturns one or more configured OpenSearch Serverless lifecycle policies. For more information, see Viewing data lifecycle policies.
batchGetLifecyclePolicyAsync in interface AWSOpenSearchServerlessAsyncasyncHandler - 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<BatchGetVpcEndpointResult> batchGetVpcEndpointAsync(BatchGetVpcEndpointRequest request)
AWSOpenSearchServerlessAsyncReturns attributes for one or more VPC endpoints associated with the current account. For more information, see Access Amazon OpenSearch Serverless using an interface endpoint.
batchGetVpcEndpointAsync in interface AWSOpenSearchServerlessAsyncpublic Future<BatchGetVpcEndpointResult> batchGetVpcEndpointAsync(BatchGetVpcEndpointRequest request, AsyncHandler<BatchGetVpcEndpointRequest,BatchGetVpcEndpointResult> asyncHandler)
AWSOpenSearchServerlessAsyncReturns attributes for one or more VPC endpoints associated with the current account. For more information, see Access Amazon OpenSearch Serverless using an interface endpoint.
batchGetVpcEndpointAsync in interface AWSOpenSearchServerlessAsyncasyncHandler - 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<CreateAccessPolicyResult> createAccessPolicyAsync(CreateAccessPolicyRequest request)
AWSOpenSearchServerlessAsyncCreates a data access policy for OpenSearch Serverless. Access policies limit access to collections and the resources within them, and allow a user to access that data irrespective of the access mechanism or network source. For more information, see Data access control for Amazon OpenSearch Serverless.
createAccessPolicyAsync in interface AWSOpenSearchServerlessAsyncpublic Future<CreateAccessPolicyResult> createAccessPolicyAsync(CreateAccessPolicyRequest request, AsyncHandler<CreateAccessPolicyRequest,CreateAccessPolicyResult> asyncHandler)
AWSOpenSearchServerlessAsyncCreates a data access policy for OpenSearch Serverless. Access policies limit access to collections and the resources within them, and allow a user to access that data irrespective of the access mechanism or network source. For more information, see Data access control for Amazon OpenSearch Serverless.
createAccessPolicyAsync in interface AWSOpenSearchServerlessAsyncasyncHandler - 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<CreateCollectionResult> createCollectionAsync(CreateCollectionRequest request)
AWSOpenSearchServerlessAsyncCreates a new OpenSearch Serverless collection. For more information, see Creating and managing Amazon OpenSearch Serverless collections.
createCollectionAsync in interface AWSOpenSearchServerlessAsyncpublic Future<CreateCollectionResult> createCollectionAsync(CreateCollectionRequest request, AsyncHandler<CreateCollectionRequest,CreateCollectionResult> asyncHandler)
AWSOpenSearchServerlessAsyncCreates a new OpenSearch Serverless collection. For more information, see Creating and managing Amazon OpenSearch Serverless collections.
createCollectionAsync in interface AWSOpenSearchServerlessAsyncasyncHandler - 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<CreateLifecyclePolicyResult> createLifecyclePolicyAsync(CreateLifecyclePolicyRequest request)
AWSOpenSearchServerlessAsyncCreates a lifecyle policy to be applied to OpenSearch Serverless indexes. Lifecycle policies define the number of days or hours to retain the data on an OpenSearch Serverless index. For more information, see Creating data lifecycle policies.
createLifecyclePolicyAsync in interface AWSOpenSearchServerlessAsyncpublic Future<CreateLifecyclePolicyResult> createLifecyclePolicyAsync(CreateLifecyclePolicyRequest request, AsyncHandler<CreateLifecyclePolicyRequest,CreateLifecyclePolicyResult> asyncHandler)
AWSOpenSearchServerlessAsyncCreates a lifecyle policy to be applied to OpenSearch Serverless indexes. Lifecycle policies define the number of days or hours to retain the data on an OpenSearch Serverless index. For more information, see Creating data lifecycle policies.
createLifecyclePolicyAsync in interface AWSOpenSearchServerlessAsyncasyncHandler - 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<CreateSecurityConfigResult> createSecurityConfigAsync(CreateSecurityConfigRequest request)
AWSOpenSearchServerlessAsyncSpecifies a security configuration for OpenSearch Serverless. For more information, see SAML authentication for Amazon OpenSearch Serverless.
createSecurityConfigAsync in interface AWSOpenSearchServerlessAsyncpublic Future<CreateSecurityConfigResult> createSecurityConfigAsync(CreateSecurityConfigRequest request, AsyncHandler<CreateSecurityConfigRequest,CreateSecurityConfigResult> asyncHandler)
AWSOpenSearchServerlessAsyncSpecifies a security configuration for OpenSearch Serverless. For more information, see SAML authentication for Amazon OpenSearch Serverless.
createSecurityConfigAsync in interface AWSOpenSearchServerlessAsyncasyncHandler - 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<CreateSecurityPolicyResult> createSecurityPolicyAsync(CreateSecurityPolicyRequest request)
AWSOpenSearchServerlessAsyncCreates a security policy to be used by one or more OpenSearch Serverless collections. Security policies provide access to a collection and its OpenSearch Dashboards endpoint from public networks or specific VPC endpoints. They also allow you to secure a collection with a KMS encryption key. For more information, see Network access for Amazon OpenSearch Serverless and Encryption at rest for Amazon OpenSearch Serverless.
createSecurityPolicyAsync in interface AWSOpenSearchServerlessAsyncpublic Future<CreateSecurityPolicyResult> createSecurityPolicyAsync(CreateSecurityPolicyRequest request, AsyncHandler<CreateSecurityPolicyRequest,CreateSecurityPolicyResult> asyncHandler)
AWSOpenSearchServerlessAsyncCreates a security policy to be used by one or more OpenSearch Serverless collections. Security policies provide access to a collection and its OpenSearch Dashboards endpoint from public networks or specific VPC endpoints. They also allow you to secure a collection with a KMS encryption key. For more information, see Network access for Amazon OpenSearch Serverless and Encryption at rest for Amazon OpenSearch Serverless.
createSecurityPolicyAsync in interface AWSOpenSearchServerlessAsyncasyncHandler - 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<CreateVpcEndpointResult> createVpcEndpointAsync(CreateVpcEndpointRequest request)
AWSOpenSearchServerlessAsyncCreates an OpenSearch Serverless-managed interface VPC endpoint. For more information, see Access Amazon OpenSearch Serverless using an interface endpoint.
createVpcEndpointAsync in interface AWSOpenSearchServerlessAsyncpublic Future<CreateVpcEndpointResult> createVpcEndpointAsync(CreateVpcEndpointRequest request, AsyncHandler<CreateVpcEndpointRequest,CreateVpcEndpointResult> asyncHandler)
AWSOpenSearchServerlessAsyncCreates an OpenSearch Serverless-managed interface VPC endpoint. For more information, see Access Amazon OpenSearch Serverless using an interface endpoint.
createVpcEndpointAsync in interface AWSOpenSearchServerlessAsyncasyncHandler - 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<DeleteAccessPolicyResult> deleteAccessPolicyAsync(DeleteAccessPolicyRequest request)
AWSOpenSearchServerlessAsyncDeletes an OpenSearch Serverless access policy. For more information, see Data access control for Amazon OpenSearch Serverless.
deleteAccessPolicyAsync in interface AWSOpenSearchServerlessAsyncpublic Future<DeleteAccessPolicyResult> deleteAccessPolicyAsync(DeleteAccessPolicyRequest request, AsyncHandler<DeleteAccessPolicyRequest,DeleteAccessPolicyResult> asyncHandler)
AWSOpenSearchServerlessAsyncDeletes an OpenSearch Serverless access policy. For more information, see Data access control for Amazon OpenSearch Serverless.
deleteAccessPolicyAsync in interface AWSOpenSearchServerlessAsyncasyncHandler - 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<DeleteCollectionResult> deleteCollectionAsync(DeleteCollectionRequest request)
AWSOpenSearchServerlessAsyncDeletes an OpenSearch Serverless collection. For more information, see Creating and managing Amazon OpenSearch Serverless collections.
deleteCollectionAsync in interface AWSOpenSearchServerlessAsyncpublic Future<DeleteCollectionResult> deleteCollectionAsync(DeleteCollectionRequest request, AsyncHandler<DeleteCollectionRequest,DeleteCollectionResult> asyncHandler)
AWSOpenSearchServerlessAsyncDeletes an OpenSearch Serverless collection. For more information, see Creating and managing Amazon OpenSearch Serverless collections.
deleteCollectionAsync in interface AWSOpenSearchServerlessAsyncasyncHandler - 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<DeleteLifecyclePolicyResult> deleteLifecyclePolicyAsync(DeleteLifecyclePolicyRequest request)
AWSOpenSearchServerlessAsyncDeletes an OpenSearch Serverless lifecycle policy. For more information, see Deleting data lifecycle policies.
deleteLifecyclePolicyAsync in interface AWSOpenSearchServerlessAsyncpublic Future<DeleteLifecyclePolicyResult> deleteLifecyclePolicyAsync(DeleteLifecyclePolicyRequest request, AsyncHandler<DeleteLifecyclePolicyRequest,DeleteLifecyclePolicyResult> asyncHandler)
AWSOpenSearchServerlessAsyncDeletes an OpenSearch Serverless lifecycle policy. For more information, see Deleting data lifecycle policies.
deleteLifecyclePolicyAsync in interface AWSOpenSearchServerlessAsyncasyncHandler - 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<DeleteSecurityConfigResult> deleteSecurityConfigAsync(DeleteSecurityConfigRequest request)
AWSOpenSearchServerlessAsyncDeletes a security configuration for OpenSearch Serverless. For more information, see SAML authentication for Amazon OpenSearch Serverless.
deleteSecurityConfigAsync in interface AWSOpenSearchServerlessAsyncpublic Future<DeleteSecurityConfigResult> deleteSecurityConfigAsync(DeleteSecurityConfigRequest request, AsyncHandler<DeleteSecurityConfigRequest,DeleteSecurityConfigResult> asyncHandler)
AWSOpenSearchServerlessAsyncDeletes a security configuration for OpenSearch Serverless. For more information, see SAML authentication for Amazon OpenSearch Serverless.
deleteSecurityConfigAsync in interface AWSOpenSearchServerlessAsyncasyncHandler - 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<DeleteSecurityPolicyResult> deleteSecurityPolicyAsync(DeleteSecurityPolicyRequest request)
AWSOpenSearchServerlessAsyncDeletes an OpenSearch Serverless security policy.
deleteSecurityPolicyAsync in interface AWSOpenSearchServerlessAsyncpublic Future<DeleteSecurityPolicyResult> deleteSecurityPolicyAsync(DeleteSecurityPolicyRequest request, AsyncHandler<DeleteSecurityPolicyRequest,DeleteSecurityPolicyResult> asyncHandler)
AWSOpenSearchServerlessAsyncDeletes an OpenSearch Serverless security policy.
deleteSecurityPolicyAsync in interface AWSOpenSearchServerlessAsyncasyncHandler - 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<DeleteVpcEndpointResult> deleteVpcEndpointAsync(DeleteVpcEndpointRequest request)
AWSOpenSearchServerlessAsyncDeletes an OpenSearch Serverless-managed interface endpoint. For more information, see Access Amazon OpenSearch Serverless using an interface endpoint.
deleteVpcEndpointAsync in interface AWSOpenSearchServerlessAsyncpublic Future<DeleteVpcEndpointResult> deleteVpcEndpointAsync(DeleteVpcEndpointRequest request, AsyncHandler<DeleteVpcEndpointRequest,DeleteVpcEndpointResult> asyncHandler)
AWSOpenSearchServerlessAsyncDeletes an OpenSearch Serverless-managed interface endpoint. For more information, see Access Amazon OpenSearch Serverless using an interface endpoint.
deleteVpcEndpointAsync in interface AWSOpenSearchServerlessAsyncasyncHandler - 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<GetAccessPolicyResult> getAccessPolicyAsync(GetAccessPolicyRequest request)
AWSOpenSearchServerlessAsyncReturns an OpenSearch Serverless access policy. For more information, see Data access control for Amazon OpenSearch Serverless.
getAccessPolicyAsync in interface AWSOpenSearchServerlessAsyncpublic Future<GetAccessPolicyResult> getAccessPolicyAsync(GetAccessPolicyRequest request, AsyncHandler<GetAccessPolicyRequest,GetAccessPolicyResult> asyncHandler)
AWSOpenSearchServerlessAsyncReturns an OpenSearch Serverless access policy. For more information, see Data access control for Amazon OpenSearch Serverless.
getAccessPolicyAsync in interface AWSOpenSearchServerlessAsyncasyncHandler - 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<GetAccountSettingsResult> getAccountSettingsAsync(GetAccountSettingsRequest request)
AWSOpenSearchServerlessAsyncReturns account-level settings related to OpenSearch Serverless.
getAccountSettingsAsync in interface AWSOpenSearchServerlessAsyncpublic Future<GetAccountSettingsResult> getAccountSettingsAsync(GetAccountSettingsRequest request, AsyncHandler<GetAccountSettingsRequest,GetAccountSettingsResult> asyncHandler)
AWSOpenSearchServerlessAsyncReturns account-level settings related to OpenSearch Serverless.
getAccountSettingsAsync in interface AWSOpenSearchServerlessAsyncasyncHandler - 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<GetPoliciesStatsResult> getPoliciesStatsAsync(GetPoliciesStatsRequest request)
AWSOpenSearchServerlessAsyncReturns statistical information about your OpenSearch Serverless access policies, security configurations, and security policies.
getPoliciesStatsAsync in interface AWSOpenSearchServerlessAsyncpublic Future<GetPoliciesStatsResult> getPoliciesStatsAsync(GetPoliciesStatsRequest request, AsyncHandler<GetPoliciesStatsRequest,GetPoliciesStatsResult> asyncHandler)
AWSOpenSearchServerlessAsyncReturns statistical information about your OpenSearch Serverless access policies, security configurations, and security policies.
getPoliciesStatsAsync in interface AWSOpenSearchServerlessAsyncasyncHandler - 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<GetSecurityConfigResult> getSecurityConfigAsync(GetSecurityConfigRequest request)
AWSOpenSearchServerlessAsyncReturns information about an OpenSearch Serverless security configuration. For more information, see SAML authentication for Amazon OpenSearch Serverless.
getSecurityConfigAsync in interface AWSOpenSearchServerlessAsyncpublic Future<GetSecurityConfigResult> getSecurityConfigAsync(GetSecurityConfigRequest request, AsyncHandler<GetSecurityConfigRequest,GetSecurityConfigResult> asyncHandler)
AWSOpenSearchServerlessAsyncReturns information about an OpenSearch Serverless security configuration. For more information, see SAML authentication for Amazon OpenSearch Serverless.
getSecurityConfigAsync in interface AWSOpenSearchServerlessAsyncasyncHandler - 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<GetSecurityPolicyResult> getSecurityPolicyAsync(GetSecurityPolicyRequest request)
AWSOpenSearchServerlessAsyncReturns information about a configured OpenSearch Serverless security policy. For more information, see Network access for Amazon OpenSearch Serverless and Encryption at rest for Amazon OpenSearch Serverless.
getSecurityPolicyAsync in interface AWSOpenSearchServerlessAsyncpublic Future<GetSecurityPolicyResult> getSecurityPolicyAsync(GetSecurityPolicyRequest request, AsyncHandler<GetSecurityPolicyRequest,GetSecurityPolicyResult> asyncHandler)
AWSOpenSearchServerlessAsyncReturns information about a configured OpenSearch Serverless security policy. For more information, see Network access for Amazon OpenSearch Serverless and Encryption at rest for Amazon OpenSearch Serverless.
getSecurityPolicyAsync in interface AWSOpenSearchServerlessAsyncasyncHandler - 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<ListAccessPoliciesResult> listAccessPoliciesAsync(ListAccessPoliciesRequest request)
AWSOpenSearchServerlessAsyncReturns information about a list of OpenSearch Serverless access policies.
listAccessPoliciesAsync in interface AWSOpenSearchServerlessAsyncpublic Future<ListAccessPoliciesResult> listAccessPoliciesAsync(ListAccessPoliciesRequest request, AsyncHandler<ListAccessPoliciesRequest,ListAccessPoliciesResult> asyncHandler)
AWSOpenSearchServerlessAsyncReturns information about a list of OpenSearch Serverless access policies.
listAccessPoliciesAsync in interface AWSOpenSearchServerlessAsyncasyncHandler - 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<ListCollectionsResult> listCollectionsAsync(ListCollectionsRequest request)
AWSOpenSearchServerlessAsyncLists all OpenSearch Serverless collections. For more information, see Creating and managing Amazon OpenSearch Serverless collections.
Make sure to include an empty request body {} if you don't include any collection filters in the request.
listCollectionsAsync in interface AWSOpenSearchServerlessAsyncpublic Future<ListCollectionsResult> listCollectionsAsync(ListCollectionsRequest request, AsyncHandler<ListCollectionsRequest,ListCollectionsResult> asyncHandler)
AWSOpenSearchServerlessAsyncLists all OpenSearch Serverless collections. For more information, see Creating and managing Amazon OpenSearch Serverless collections.
Make sure to include an empty request body {} if you don't include any collection filters in the request.
listCollectionsAsync in interface AWSOpenSearchServerlessAsyncasyncHandler - 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<ListLifecyclePoliciesResult> listLifecyclePoliciesAsync(ListLifecyclePoliciesRequest request)
AWSOpenSearchServerlessAsyncReturns a list of OpenSearch Serverless lifecycle policies. For more information, see Viewing data lifecycle policies.
listLifecyclePoliciesAsync in interface AWSOpenSearchServerlessAsyncpublic Future<ListLifecyclePoliciesResult> listLifecyclePoliciesAsync(ListLifecyclePoliciesRequest request, AsyncHandler<ListLifecyclePoliciesRequest,ListLifecyclePoliciesResult> asyncHandler)
AWSOpenSearchServerlessAsyncReturns a list of OpenSearch Serverless lifecycle policies. For more information, see Viewing data lifecycle policies.
listLifecyclePoliciesAsync in interface AWSOpenSearchServerlessAsyncasyncHandler - 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<ListSecurityConfigsResult> listSecurityConfigsAsync(ListSecurityConfigsRequest request)
AWSOpenSearchServerlessAsyncReturns information about configured OpenSearch Serverless security configurations. For more information, see SAML authentication for Amazon OpenSearch Serverless.
listSecurityConfigsAsync in interface AWSOpenSearchServerlessAsyncpublic Future<ListSecurityConfigsResult> listSecurityConfigsAsync(ListSecurityConfigsRequest request, AsyncHandler<ListSecurityConfigsRequest,ListSecurityConfigsResult> asyncHandler)
AWSOpenSearchServerlessAsyncReturns information about configured OpenSearch Serverless security configurations. For more information, see SAML authentication for Amazon OpenSearch Serverless.
listSecurityConfigsAsync in interface AWSOpenSearchServerlessAsyncasyncHandler - 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<ListSecurityPoliciesResult> listSecurityPoliciesAsync(ListSecurityPoliciesRequest request)
AWSOpenSearchServerlessAsyncReturns information about configured OpenSearch Serverless security policies.
listSecurityPoliciesAsync in interface AWSOpenSearchServerlessAsyncpublic Future<ListSecurityPoliciesResult> listSecurityPoliciesAsync(ListSecurityPoliciesRequest request, AsyncHandler<ListSecurityPoliciesRequest,ListSecurityPoliciesResult> asyncHandler)
AWSOpenSearchServerlessAsyncReturns information about configured OpenSearch Serverless security policies.
listSecurityPoliciesAsync in interface AWSOpenSearchServerlessAsyncasyncHandler - 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<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSOpenSearchServerlessAsyncReturns the tags for an OpenSearch Serverless resource. For more information, see Tagging Amazon OpenSearch Serverless collections.
listTagsForResourceAsync in interface AWSOpenSearchServerlessAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSOpenSearchServerlessAsyncReturns the tags for an OpenSearch Serverless resource. For more information, see Tagging Amazon OpenSearch Serverless collections.
listTagsForResourceAsync in interface AWSOpenSearchServerlessAsyncasyncHandler - 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<ListVpcEndpointsResult> listVpcEndpointsAsync(ListVpcEndpointsRequest request)
AWSOpenSearchServerlessAsyncReturns the OpenSearch Serverless-managed interface VPC endpoints associated with the current account. For more information, see Access Amazon OpenSearch Serverless using an interface endpoint.
listVpcEndpointsAsync in interface AWSOpenSearchServerlessAsyncpublic Future<ListVpcEndpointsResult> listVpcEndpointsAsync(ListVpcEndpointsRequest request, AsyncHandler<ListVpcEndpointsRequest,ListVpcEndpointsResult> asyncHandler)
AWSOpenSearchServerlessAsyncReturns the OpenSearch Serverless-managed interface VPC endpoints associated with the current account. For more information, see Access Amazon OpenSearch Serverless using an interface endpoint.
listVpcEndpointsAsync in interface AWSOpenSearchServerlessAsyncasyncHandler - 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<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSOpenSearchServerlessAsyncAssociates tags with an OpenSearch Serverless resource. For more information, see Tagging Amazon OpenSearch Serverless collections.
tagResourceAsync in interface AWSOpenSearchServerlessAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSOpenSearchServerlessAsyncAssociates tags with an OpenSearch Serverless resource. For more information, see Tagging Amazon OpenSearch Serverless collections.
tagResourceAsync in interface AWSOpenSearchServerlessAsyncasyncHandler - 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<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSOpenSearchServerlessAsyncRemoves a tag or set of tags from an OpenSearch Serverless resource. For more information, see Tagging Amazon OpenSearch Serverless collections.
untagResourceAsync in interface AWSOpenSearchServerlessAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSOpenSearchServerlessAsyncRemoves a tag or set of tags from an OpenSearch Serverless resource. For more information, see Tagging Amazon OpenSearch Serverless collections.
untagResourceAsync in interface AWSOpenSearchServerlessAsyncasyncHandler - 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<UpdateAccessPolicyResult> updateAccessPolicyAsync(UpdateAccessPolicyRequest request)
AWSOpenSearchServerlessAsyncUpdates an OpenSearch Serverless access policy. For more information, see Data access control for Amazon OpenSearch Serverless.
updateAccessPolicyAsync in interface AWSOpenSearchServerlessAsyncpublic Future<UpdateAccessPolicyResult> updateAccessPolicyAsync(UpdateAccessPolicyRequest request, AsyncHandler<UpdateAccessPolicyRequest,UpdateAccessPolicyResult> asyncHandler)
AWSOpenSearchServerlessAsyncUpdates an OpenSearch Serverless access policy. For more information, see Data access control for Amazon OpenSearch Serverless.
updateAccessPolicyAsync in interface AWSOpenSearchServerlessAsyncasyncHandler - 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<UpdateAccountSettingsResult> updateAccountSettingsAsync(UpdateAccountSettingsRequest request)
AWSOpenSearchServerlessAsyncUpdate the OpenSearch Serverless settings for the current Amazon Web Services account. For more information, see Managing capacity limits for Amazon OpenSearch Serverless.
updateAccountSettingsAsync in interface AWSOpenSearchServerlessAsyncpublic Future<UpdateAccountSettingsResult> updateAccountSettingsAsync(UpdateAccountSettingsRequest request, AsyncHandler<UpdateAccountSettingsRequest,UpdateAccountSettingsResult> asyncHandler)
AWSOpenSearchServerlessAsyncUpdate the OpenSearch Serverless settings for the current Amazon Web Services account. For more information, see Managing capacity limits for Amazon OpenSearch Serverless.
updateAccountSettingsAsync in interface AWSOpenSearchServerlessAsyncasyncHandler - 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<UpdateCollectionResult> updateCollectionAsync(UpdateCollectionRequest request)
AWSOpenSearchServerlessAsyncUpdates an OpenSearch Serverless collection.
updateCollectionAsync in interface AWSOpenSearchServerlessAsyncpublic Future<UpdateCollectionResult> updateCollectionAsync(UpdateCollectionRequest request, AsyncHandler<UpdateCollectionRequest,UpdateCollectionResult> asyncHandler)
AWSOpenSearchServerlessAsyncUpdates an OpenSearch Serverless collection.
updateCollectionAsync in interface AWSOpenSearchServerlessAsyncasyncHandler - 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<UpdateLifecyclePolicyResult> updateLifecyclePolicyAsync(UpdateLifecyclePolicyRequest request)
AWSOpenSearchServerlessAsyncUpdates an OpenSearch Serverless access policy. For more information, see Updating data lifecycle policies.
updateLifecyclePolicyAsync in interface AWSOpenSearchServerlessAsyncpublic Future<UpdateLifecyclePolicyResult> updateLifecyclePolicyAsync(UpdateLifecyclePolicyRequest request, AsyncHandler<UpdateLifecyclePolicyRequest,UpdateLifecyclePolicyResult> asyncHandler)
AWSOpenSearchServerlessAsyncUpdates an OpenSearch Serverless access policy. For more information, see Updating data lifecycle policies.
updateLifecyclePolicyAsync in interface AWSOpenSearchServerlessAsyncasyncHandler - 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<UpdateSecurityConfigResult> updateSecurityConfigAsync(UpdateSecurityConfigRequest request)
AWSOpenSearchServerlessAsyncUpdates a security configuration for OpenSearch Serverless. For more information, see SAML authentication for Amazon OpenSearch Serverless.
updateSecurityConfigAsync in interface AWSOpenSearchServerlessAsyncpublic Future<UpdateSecurityConfigResult> updateSecurityConfigAsync(UpdateSecurityConfigRequest request, AsyncHandler<UpdateSecurityConfigRequest,UpdateSecurityConfigResult> asyncHandler)
AWSOpenSearchServerlessAsyncUpdates a security configuration for OpenSearch Serverless. For more information, see SAML authentication for Amazon OpenSearch Serverless.
updateSecurityConfigAsync in interface AWSOpenSearchServerlessAsyncasyncHandler - 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<UpdateSecurityPolicyResult> updateSecurityPolicyAsync(UpdateSecurityPolicyRequest request)
AWSOpenSearchServerlessAsyncUpdates an OpenSearch Serverless security policy. For more information, see Network access for Amazon OpenSearch Serverless and Encryption at rest for Amazon OpenSearch Serverless.
updateSecurityPolicyAsync in interface AWSOpenSearchServerlessAsyncpublic Future<UpdateSecurityPolicyResult> updateSecurityPolicyAsync(UpdateSecurityPolicyRequest request, AsyncHandler<UpdateSecurityPolicyRequest,UpdateSecurityPolicyResult> asyncHandler)
AWSOpenSearchServerlessAsyncUpdates an OpenSearch Serverless security policy. For more information, see Network access for Amazon OpenSearch Serverless and Encryption at rest for Amazon OpenSearch Serverless.
updateSecurityPolicyAsync in interface AWSOpenSearchServerlessAsyncasyncHandler - 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<UpdateVpcEndpointResult> updateVpcEndpointAsync(UpdateVpcEndpointRequest request)
AWSOpenSearchServerlessAsyncUpdates an OpenSearch Serverless-managed interface endpoint. For more information, see Access Amazon OpenSearch Serverless using an interface endpoint.
updateVpcEndpointAsync in interface AWSOpenSearchServerlessAsyncpublic Future<UpdateVpcEndpointResult> updateVpcEndpointAsync(UpdateVpcEndpointRequest request, AsyncHandler<UpdateVpcEndpointRequest,UpdateVpcEndpointResult> asyncHandler)
AWSOpenSearchServerlessAsyncUpdates an OpenSearch Serverless-managed interface endpoint. For more information, see Access Amazon OpenSearch Serverless using an interface endpoint.
updateVpcEndpointAsync in interface AWSOpenSearchServerlessAsyncasyncHandler - 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 AWSOpenSearchServerlessshutdown in class AWSOpenSearchServerlessClient