/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.opensearchserverless; import javax.annotation.Generated; import com.amazonaws.services.opensearchserverless.model.*; /** * Interface for accessing OpenSearch Service Serverless asynchronously. Each asynchronous method will return a Java * Future object representing the asynchronous operation; overloads which accept an {@code AsyncHandler} can be used to * receive notification when an asynchronous operation completes. *

* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from * {@link com.amazonaws.services.opensearchserverless.AbstractAWSOpenSearchServerlessAsync} instead. *

*

*

* 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? *

*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AWSOpenSearchServerlessAsync extends AWSOpenSearchServerless { /** *

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

* * @param batchGetCollectionRequest * @return A Java Future containing the result of the BatchGetCollection operation returned by the service. * @sample AWSOpenSearchServerlessAsync.BatchGetCollection * @see AWS API Documentation */ java.util.concurrent.Future batchGetCollectionAsync(BatchGetCollectionRequest batchGetCollectionRequest); /** *

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

* * @param batchGetCollectionRequest * @param 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. * @return A Java Future containing the result of the BatchGetCollection operation returned by the service. * @sample AWSOpenSearchServerlessAsyncHandler.BatchGetCollection * @see AWS API Documentation */ java.util.concurrent.Future batchGetCollectionAsync(BatchGetCollectionRequest batchGetCollectionRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Returns attributes for one or more VPC endpoints associated with the current account. For more information, see * Access Amazon * OpenSearch Serverless using an interface endpoint. *

* * @param batchGetVpcEndpointRequest * @return A Java Future containing the result of the BatchGetVpcEndpoint operation returned by the service. * @sample AWSOpenSearchServerlessAsync.BatchGetVpcEndpoint * @see AWS API Documentation */ java.util.concurrent.Future batchGetVpcEndpointAsync(BatchGetVpcEndpointRequest batchGetVpcEndpointRequest); /** *

* Returns attributes for one or more VPC endpoints associated with the current account. For more information, see * Access Amazon * OpenSearch Serverless using an interface endpoint. *

* * @param batchGetVpcEndpointRequest * @param 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. * @return A Java Future containing the result of the BatchGetVpcEndpoint operation returned by the service. * @sample AWSOpenSearchServerlessAsyncHandler.BatchGetVpcEndpoint * @see AWS API Documentation */ java.util.concurrent.Future batchGetVpcEndpointAsync(BatchGetVpcEndpointRequest batchGetVpcEndpointRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

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

* * @param createAccessPolicyRequest * @return A Java Future containing the result of the CreateAccessPolicy operation returned by the service. * @sample AWSOpenSearchServerlessAsync.CreateAccessPolicy * @see AWS API Documentation */ java.util.concurrent.Future createAccessPolicyAsync(CreateAccessPolicyRequest createAccessPolicyRequest); /** *

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

* * @param createAccessPolicyRequest * @param 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. * @return A Java Future containing the result of the CreateAccessPolicy operation returned by the service. * @sample AWSOpenSearchServerlessAsyncHandler.CreateAccessPolicy * @see AWS API Documentation */ java.util.concurrent.Future createAccessPolicyAsync(CreateAccessPolicyRequest createAccessPolicyRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Creates a new OpenSearch Serverless collection. For more information, see Creating and * managing Amazon OpenSearch Serverless collections. *

* * @param createCollectionRequest * @return A Java Future containing the result of the CreateCollection operation returned by the service. * @sample AWSOpenSearchServerlessAsync.CreateCollection * @see AWS API Documentation */ java.util.concurrent.Future createCollectionAsync(CreateCollectionRequest createCollectionRequest); /** *

* Creates a new OpenSearch Serverless collection. For more information, see Creating and * managing Amazon OpenSearch Serverless collections. *

* * @param createCollectionRequest * @param 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. * @return A Java Future containing the result of the CreateCollection operation returned by the service. * @sample AWSOpenSearchServerlessAsyncHandler.CreateCollection * @see AWS API Documentation */ java.util.concurrent.Future createCollectionAsync(CreateCollectionRequest createCollectionRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Specifies a security configuration for OpenSearch Serverless. For more information, see SAML * authentication for Amazon OpenSearch Serverless. *

* * @param createSecurityConfigRequest * @return A Java Future containing the result of the CreateSecurityConfig operation returned by the service. * @sample AWSOpenSearchServerlessAsync.CreateSecurityConfig * @see AWS API Documentation */ java.util.concurrent.Future createSecurityConfigAsync(CreateSecurityConfigRequest createSecurityConfigRequest); /** *

* Specifies a security configuration for OpenSearch Serverless. For more information, see SAML * authentication for Amazon OpenSearch Serverless. *

* * @param createSecurityConfigRequest * @param 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. * @return A Java Future containing the result of the CreateSecurityConfig operation returned by the service. * @sample AWSOpenSearchServerlessAsyncHandler.CreateSecurityConfig * @see AWS API Documentation */ java.util.concurrent.Future createSecurityConfigAsync(CreateSecurityConfigRequest createSecurityConfigRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

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

* * @param createSecurityPolicyRequest * @return A Java Future containing the result of the CreateSecurityPolicy operation returned by the service. * @sample AWSOpenSearchServerlessAsync.CreateSecurityPolicy * @see AWS API Documentation */ java.util.concurrent.Future createSecurityPolicyAsync(CreateSecurityPolicyRequest createSecurityPolicyRequest); /** *

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

* * @param createSecurityPolicyRequest * @param 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. * @return A Java Future containing the result of the CreateSecurityPolicy operation returned by the service. * @sample AWSOpenSearchServerlessAsyncHandler.CreateSecurityPolicy * @see AWS API Documentation */ java.util.concurrent.Future createSecurityPolicyAsync(CreateSecurityPolicyRequest createSecurityPolicyRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Creates an OpenSearch Serverless-managed interface VPC endpoint. For more information, see Access Amazon * OpenSearch Serverless using an interface endpoint. *

* * @param createVpcEndpointRequest * @return A Java Future containing the result of the CreateVpcEndpoint operation returned by the service. * @sample AWSOpenSearchServerlessAsync.CreateVpcEndpoint * @see AWS API Documentation */ java.util.concurrent.Future createVpcEndpointAsync(CreateVpcEndpointRequest createVpcEndpointRequest); /** *

* Creates an OpenSearch Serverless-managed interface VPC endpoint. For more information, see Access Amazon * OpenSearch Serverless using an interface endpoint. *

* * @param createVpcEndpointRequest * @param 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. * @return A Java Future containing the result of the CreateVpcEndpoint operation returned by the service. * @sample AWSOpenSearchServerlessAsyncHandler.CreateVpcEndpoint * @see AWS API Documentation */ java.util.concurrent.Future createVpcEndpointAsync(CreateVpcEndpointRequest createVpcEndpointRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Deletes an OpenSearch Serverless access policy. For more information, see Data * access control for Amazon OpenSearch Serverless. *

* * @param deleteAccessPolicyRequest * @return A Java Future containing the result of the DeleteAccessPolicy operation returned by the service. * @sample AWSOpenSearchServerlessAsync.DeleteAccessPolicy * @see AWS API Documentation */ java.util.concurrent.Future deleteAccessPolicyAsync(DeleteAccessPolicyRequest deleteAccessPolicyRequest); /** *

* Deletes an OpenSearch Serverless access policy. For more information, see Data * access control for Amazon OpenSearch Serverless. *

* * @param deleteAccessPolicyRequest * @param 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. * @return A Java Future containing the result of the DeleteAccessPolicy operation returned by the service. * @sample AWSOpenSearchServerlessAsyncHandler.DeleteAccessPolicy * @see AWS API Documentation */ java.util.concurrent.Future deleteAccessPolicyAsync(DeleteAccessPolicyRequest deleteAccessPolicyRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Deletes an OpenSearch Serverless collection. For more information, see Creating and * managing Amazon OpenSearch Serverless collections. *

* * @param deleteCollectionRequest * @return A Java Future containing the result of the DeleteCollection operation returned by the service. * @sample AWSOpenSearchServerlessAsync.DeleteCollection * @see AWS API Documentation */ java.util.concurrent.Future deleteCollectionAsync(DeleteCollectionRequest deleteCollectionRequest); /** *

* Deletes an OpenSearch Serverless collection. For more information, see Creating and * managing Amazon OpenSearch Serverless collections. *

* * @param deleteCollectionRequest * @param 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. * @return A Java Future containing the result of the DeleteCollection operation returned by the service. * @sample AWSOpenSearchServerlessAsyncHandler.DeleteCollection * @see AWS API Documentation */ java.util.concurrent.Future deleteCollectionAsync(DeleteCollectionRequest deleteCollectionRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Deletes a security configuration for OpenSearch Serverless. For more information, see SAML * authentication for Amazon OpenSearch Serverless. *

* * @param deleteSecurityConfigRequest * @return A Java Future containing the result of the DeleteSecurityConfig operation returned by the service. * @sample AWSOpenSearchServerlessAsync.DeleteSecurityConfig * @see AWS API Documentation */ java.util.concurrent.Future deleteSecurityConfigAsync(DeleteSecurityConfigRequest deleteSecurityConfigRequest); /** *

* Deletes a security configuration for OpenSearch Serverless. For more information, see SAML * authentication for Amazon OpenSearch Serverless. *

* * @param deleteSecurityConfigRequest * @param 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. * @return A Java Future containing the result of the DeleteSecurityConfig operation returned by the service. * @sample AWSOpenSearchServerlessAsyncHandler.DeleteSecurityConfig * @see AWS API Documentation */ java.util.concurrent.Future deleteSecurityConfigAsync(DeleteSecurityConfigRequest deleteSecurityConfigRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Deletes an OpenSearch Serverless security policy. *

* * @param deleteSecurityPolicyRequest * @return A Java Future containing the result of the DeleteSecurityPolicy operation returned by the service. * @sample AWSOpenSearchServerlessAsync.DeleteSecurityPolicy * @see AWS API Documentation */ java.util.concurrent.Future deleteSecurityPolicyAsync(DeleteSecurityPolicyRequest deleteSecurityPolicyRequest); /** *

* Deletes an OpenSearch Serverless security policy. *

* * @param deleteSecurityPolicyRequest * @param 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. * @return A Java Future containing the result of the DeleteSecurityPolicy operation returned by the service. * @sample AWSOpenSearchServerlessAsyncHandler.DeleteSecurityPolicy * @see AWS API Documentation */ java.util.concurrent.Future deleteSecurityPolicyAsync(DeleteSecurityPolicyRequest deleteSecurityPolicyRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Deletes an OpenSearch Serverless-managed interface endpoint. For more information, see Access Amazon * OpenSearch Serverless using an interface endpoint. *

* * @param deleteVpcEndpointRequest * @return A Java Future containing the result of the DeleteVpcEndpoint operation returned by the service. * @sample AWSOpenSearchServerlessAsync.DeleteVpcEndpoint * @see AWS API Documentation */ java.util.concurrent.Future deleteVpcEndpointAsync(DeleteVpcEndpointRequest deleteVpcEndpointRequest); /** *

* Deletes an OpenSearch Serverless-managed interface endpoint. For more information, see Access Amazon * OpenSearch Serverless using an interface endpoint. *

* * @param deleteVpcEndpointRequest * @param 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. * @return A Java Future containing the result of the DeleteVpcEndpoint operation returned by the service. * @sample AWSOpenSearchServerlessAsyncHandler.DeleteVpcEndpoint * @see AWS API Documentation */ java.util.concurrent.Future deleteVpcEndpointAsync(DeleteVpcEndpointRequest deleteVpcEndpointRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Returns an OpenSearch Serverless access policy. For more information, see Data * access control for Amazon OpenSearch Serverless. *

* * @param getAccessPolicyRequest * @return A Java Future containing the result of the GetAccessPolicy operation returned by the service. * @sample AWSOpenSearchServerlessAsync.GetAccessPolicy * @see AWS API Documentation */ java.util.concurrent.Future getAccessPolicyAsync(GetAccessPolicyRequest getAccessPolicyRequest); /** *

* Returns an OpenSearch Serverless access policy. For more information, see Data * access control for Amazon OpenSearch Serverless. *

* * @param getAccessPolicyRequest * @param 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. * @return A Java Future containing the result of the GetAccessPolicy operation returned by the service. * @sample AWSOpenSearchServerlessAsyncHandler.GetAccessPolicy * @see AWS API Documentation */ java.util.concurrent.Future getAccessPolicyAsync(GetAccessPolicyRequest getAccessPolicyRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Returns account-level settings related to OpenSearch Serverless. *

* * @param getAccountSettingsRequest * @return A Java Future containing the result of the GetAccountSettings operation returned by the service. * @sample AWSOpenSearchServerlessAsync.GetAccountSettings * @see AWS API Documentation */ java.util.concurrent.Future getAccountSettingsAsync(GetAccountSettingsRequest getAccountSettingsRequest); /** *

* Returns account-level settings related to OpenSearch Serverless. *

* * @param getAccountSettingsRequest * @param 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. * @return A Java Future containing the result of the GetAccountSettings operation returned by the service. * @sample AWSOpenSearchServerlessAsyncHandler.GetAccountSettings * @see AWS API Documentation */ java.util.concurrent.Future getAccountSettingsAsync(GetAccountSettingsRequest getAccountSettingsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Returns statistical information about your OpenSearch Serverless access policies, security configurations, and * security policies. *

* * @param getPoliciesStatsRequest * @return A Java Future containing the result of the GetPoliciesStats operation returned by the service. * @sample AWSOpenSearchServerlessAsync.GetPoliciesStats * @see AWS API Documentation */ java.util.concurrent.Future getPoliciesStatsAsync(GetPoliciesStatsRequest getPoliciesStatsRequest); /** *

* Returns statistical information about your OpenSearch Serverless access policies, security configurations, and * security policies. *

* * @param getPoliciesStatsRequest * @param 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. * @return A Java Future containing the result of the GetPoliciesStats operation returned by the service. * @sample AWSOpenSearchServerlessAsyncHandler.GetPoliciesStats * @see AWS API Documentation */ java.util.concurrent.Future getPoliciesStatsAsync(GetPoliciesStatsRequest getPoliciesStatsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Returns information about an OpenSearch Serverless security configuration. For more information, see SAML * authentication for Amazon OpenSearch Serverless. *

* * @param getSecurityConfigRequest * @return A Java Future containing the result of the GetSecurityConfig operation returned by the service. * @sample AWSOpenSearchServerlessAsync.GetSecurityConfig * @see AWS API Documentation */ java.util.concurrent.Future getSecurityConfigAsync(GetSecurityConfigRequest getSecurityConfigRequest); /** *

* Returns information about an OpenSearch Serverless security configuration. For more information, see SAML * authentication for Amazon OpenSearch Serverless. *

* * @param getSecurityConfigRequest * @param 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. * @return A Java Future containing the result of the GetSecurityConfig operation returned by the service. * @sample AWSOpenSearchServerlessAsyncHandler.GetSecurityConfig * @see AWS API Documentation */ java.util.concurrent.Future getSecurityConfigAsync(GetSecurityConfigRequest getSecurityConfigRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

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

* * @param getSecurityPolicyRequest * @return A Java Future containing the result of the GetSecurityPolicy operation returned by the service. * @sample AWSOpenSearchServerlessAsync.GetSecurityPolicy * @see AWS API Documentation */ java.util.concurrent.Future getSecurityPolicyAsync(GetSecurityPolicyRequest getSecurityPolicyRequest); /** *

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

* * @param getSecurityPolicyRequest * @param 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. * @return A Java Future containing the result of the GetSecurityPolicy operation returned by the service. * @sample AWSOpenSearchServerlessAsyncHandler.GetSecurityPolicy * @see AWS API Documentation */ java.util.concurrent.Future getSecurityPolicyAsync(GetSecurityPolicyRequest getSecurityPolicyRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Returns information about a list of OpenSearch Serverless access policies. *

* * @param listAccessPoliciesRequest * @return A Java Future containing the result of the ListAccessPolicies operation returned by the service. * @sample AWSOpenSearchServerlessAsync.ListAccessPolicies * @see AWS API Documentation */ java.util.concurrent.Future listAccessPoliciesAsync(ListAccessPoliciesRequest listAccessPoliciesRequest); /** *

* Returns information about a list of OpenSearch Serverless access policies. *

* * @param listAccessPoliciesRequest * @param 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. * @return A Java Future containing the result of the ListAccessPolicies operation returned by the service. * @sample AWSOpenSearchServerlessAsyncHandler.ListAccessPolicies * @see AWS API Documentation */ java.util.concurrent.Future listAccessPoliciesAsync(ListAccessPoliciesRequest listAccessPoliciesRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

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

*
* * @param listCollectionsRequest * @return A Java Future containing the result of the ListCollections operation returned by the service. * @sample AWSOpenSearchServerlessAsync.ListCollections * @see AWS API Documentation */ java.util.concurrent.Future listCollectionsAsync(ListCollectionsRequest listCollectionsRequest); /** *

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

*
* * @param listCollectionsRequest * @param 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. * @return A Java Future containing the result of the ListCollections operation returned by the service. * @sample AWSOpenSearchServerlessAsyncHandler.ListCollections * @see AWS API Documentation */ java.util.concurrent.Future listCollectionsAsync(ListCollectionsRequest listCollectionsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Returns information about configured OpenSearch Serverless security configurations. For more information, see SAML * authentication for Amazon OpenSearch Serverless. *

* * @param listSecurityConfigsRequest * @return A Java Future containing the result of the ListSecurityConfigs operation returned by the service. * @sample AWSOpenSearchServerlessAsync.ListSecurityConfigs * @see AWS API Documentation */ java.util.concurrent.Future listSecurityConfigsAsync(ListSecurityConfigsRequest listSecurityConfigsRequest); /** *

* Returns information about configured OpenSearch Serverless security configurations. For more information, see SAML * authentication for Amazon OpenSearch Serverless. *

* * @param listSecurityConfigsRequest * @param 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. * @return A Java Future containing the result of the ListSecurityConfigs operation returned by the service. * @sample AWSOpenSearchServerlessAsyncHandler.ListSecurityConfigs * @see AWS API Documentation */ java.util.concurrent.Future listSecurityConfigsAsync(ListSecurityConfigsRequest listSecurityConfigsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Returns information about configured OpenSearch Serverless security policies. *

* * @param listSecurityPoliciesRequest * @return A Java Future containing the result of the ListSecurityPolicies operation returned by the service. * @sample AWSOpenSearchServerlessAsync.ListSecurityPolicies * @see AWS API Documentation */ java.util.concurrent.Future listSecurityPoliciesAsync(ListSecurityPoliciesRequest listSecurityPoliciesRequest); /** *

* Returns information about configured OpenSearch Serverless security policies. *

* * @param listSecurityPoliciesRequest * @param 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. * @return A Java Future containing the result of the ListSecurityPolicies operation returned by the service. * @sample AWSOpenSearchServerlessAsyncHandler.ListSecurityPolicies * @see AWS API Documentation */ java.util.concurrent.Future listSecurityPoliciesAsync(ListSecurityPoliciesRequest listSecurityPoliciesRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Returns the tags for an OpenSearch Serverless resource. For more information, see Tagging Amazon * OpenSearch Serverless collections. *

* * @param listTagsForResourceRequest * @return A Java Future containing the result of the ListTagsForResource operation returned by the service. * @sample AWSOpenSearchServerlessAsync.ListTagsForResource * @see AWS API Documentation */ java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest); /** *

* Returns the tags for an OpenSearch Serverless resource. For more information, see Tagging Amazon * OpenSearch Serverless collections. *

* * @param listTagsForResourceRequest * @param 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. * @return A Java Future containing the result of the ListTagsForResource operation returned by the service. * @sample AWSOpenSearchServerlessAsyncHandler.ListTagsForResource * @see AWS API Documentation */ java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Returns the OpenSearch Serverless-managed interface VPC endpoints associated with the current account. For more * information, see Access Amazon * OpenSearch Serverless using an interface endpoint. *

* * @param listVpcEndpointsRequest * @return A Java Future containing the result of the ListVpcEndpoints operation returned by the service. * @sample AWSOpenSearchServerlessAsync.ListVpcEndpoints * @see AWS API Documentation */ java.util.concurrent.Future listVpcEndpointsAsync(ListVpcEndpointsRequest listVpcEndpointsRequest); /** *

* Returns the OpenSearch Serverless-managed interface VPC endpoints associated with the current account. For more * information, see Access Amazon * OpenSearch Serverless using an interface endpoint. *

* * @param listVpcEndpointsRequest * @param 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. * @return A Java Future containing the result of the ListVpcEndpoints operation returned by the service. * @sample AWSOpenSearchServerlessAsyncHandler.ListVpcEndpoints * @see AWS API Documentation */ java.util.concurrent.Future listVpcEndpointsAsync(ListVpcEndpointsRequest listVpcEndpointsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Associates tags with an OpenSearch Serverless resource. For more information, see Tagging Amazon * OpenSearch Serverless collections. *

* * @param tagResourceRequest * @return A Java Future containing the result of the TagResource operation returned by the service. * @sample AWSOpenSearchServerlessAsync.TagResource * @see AWS API Documentation */ java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest); /** *

* Associates tags with an OpenSearch Serverless resource. For more information, see Tagging Amazon * OpenSearch Serverless collections. *

* * @param tagResourceRequest * @param 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. * @return A Java Future containing the result of the TagResource operation returned by the service. * @sample AWSOpenSearchServerlessAsyncHandler.TagResource * @see AWS API Documentation */ java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Removes a tag or set of tags from an OpenSearch Serverless resource. For more information, see Tagging Amazon * OpenSearch Serverless collections. *

* * @param untagResourceRequest * @return A Java Future containing the result of the UntagResource operation returned by the service. * @sample AWSOpenSearchServerlessAsync.UntagResource * @see AWS API Documentation */ java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest); /** *

* Removes a tag or set of tags from an OpenSearch Serverless resource. For more information, see Tagging Amazon * OpenSearch Serverless collections. *

* * @param untagResourceRequest * @param 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. * @return A Java Future containing the result of the UntagResource operation returned by the service. * @sample AWSOpenSearchServerlessAsyncHandler.UntagResource * @see AWS API Documentation */ java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Updates an OpenSearch Serverless access policy. For more information, see Data * access control for Amazon OpenSearch Serverless. *

* * @param updateAccessPolicyRequest * @return A Java Future containing the result of the UpdateAccessPolicy operation returned by the service. * @sample AWSOpenSearchServerlessAsync.UpdateAccessPolicy * @see AWS API Documentation */ java.util.concurrent.Future updateAccessPolicyAsync(UpdateAccessPolicyRequest updateAccessPolicyRequest); /** *

* Updates an OpenSearch Serverless access policy. For more information, see Data * access control for Amazon OpenSearch Serverless. *

* * @param updateAccessPolicyRequest * @param 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. * @return A Java Future containing the result of the UpdateAccessPolicy operation returned by the service. * @sample AWSOpenSearchServerlessAsyncHandler.UpdateAccessPolicy * @see AWS API Documentation */ java.util.concurrent.Future updateAccessPolicyAsync(UpdateAccessPolicyRequest updateAccessPolicyRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Update the OpenSearch Serverless settings for the current Amazon Web Services account. For more information, see * Managing * capacity limits for Amazon OpenSearch Serverless. *

* * @param updateAccountSettingsRequest * @return A Java Future containing the result of the UpdateAccountSettings operation returned by the service. * @sample AWSOpenSearchServerlessAsync.UpdateAccountSettings * @see AWS API Documentation */ java.util.concurrent.Future updateAccountSettingsAsync(UpdateAccountSettingsRequest updateAccountSettingsRequest); /** *

* Update the OpenSearch Serverless settings for the current Amazon Web Services account. For more information, see * Managing * capacity limits for Amazon OpenSearch Serverless. *

* * @param updateAccountSettingsRequest * @param 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. * @return A Java Future containing the result of the UpdateAccountSettings operation returned by the service. * @sample AWSOpenSearchServerlessAsyncHandler.UpdateAccountSettings * @see AWS API Documentation */ java.util.concurrent.Future updateAccountSettingsAsync(UpdateAccountSettingsRequest updateAccountSettingsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Updates an OpenSearch Serverless collection. *

* * @param updateCollectionRequest * @return A Java Future containing the result of the UpdateCollection operation returned by the service. * @sample AWSOpenSearchServerlessAsync.UpdateCollection * @see AWS API Documentation */ java.util.concurrent.Future updateCollectionAsync(UpdateCollectionRequest updateCollectionRequest); /** *

* Updates an OpenSearch Serverless collection. *

* * @param updateCollectionRequest * @param 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. * @return A Java Future containing the result of the UpdateCollection operation returned by the service. * @sample AWSOpenSearchServerlessAsyncHandler.UpdateCollection * @see AWS API Documentation */ java.util.concurrent.Future updateCollectionAsync(UpdateCollectionRequest updateCollectionRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Updates a security configuration for OpenSearch Serverless. For more information, see SAML * authentication for Amazon OpenSearch Serverless. *

* * @param updateSecurityConfigRequest * @return A Java Future containing the result of the UpdateSecurityConfig operation returned by the service. * @sample AWSOpenSearchServerlessAsync.UpdateSecurityConfig * @see AWS API Documentation */ java.util.concurrent.Future updateSecurityConfigAsync(UpdateSecurityConfigRequest updateSecurityConfigRequest); /** *

* Updates a security configuration for OpenSearch Serverless. For more information, see SAML * authentication for Amazon OpenSearch Serverless. *

* * @param updateSecurityConfigRequest * @param 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. * @return A Java Future containing the result of the UpdateSecurityConfig operation returned by the service. * @sample AWSOpenSearchServerlessAsyncHandler.UpdateSecurityConfig * @see AWS API Documentation */ java.util.concurrent.Future updateSecurityConfigAsync(UpdateSecurityConfigRequest updateSecurityConfigRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Updates an OpenSearch Serverless security policy. For more information, see Network * access for Amazon OpenSearch Serverless and Encryption * at rest for Amazon OpenSearch Serverless. *

* * @param updateSecurityPolicyRequest * @return A Java Future containing the result of the UpdateSecurityPolicy operation returned by the service. * @sample AWSOpenSearchServerlessAsync.UpdateSecurityPolicy * @see AWS API Documentation */ java.util.concurrent.Future updateSecurityPolicyAsync(UpdateSecurityPolicyRequest updateSecurityPolicyRequest); /** *

* Updates an OpenSearch Serverless security policy. For more information, see Network * access for Amazon OpenSearch Serverless and Encryption * at rest for Amazon OpenSearch Serverless. *

* * @param updateSecurityPolicyRequest * @param 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. * @return A Java Future containing the result of the UpdateSecurityPolicy operation returned by the service. * @sample AWSOpenSearchServerlessAsyncHandler.UpdateSecurityPolicy * @see AWS API Documentation */ java.util.concurrent.Future updateSecurityPolicyAsync(UpdateSecurityPolicyRequest updateSecurityPolicyRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Updates an OpenSearch Serverless-managed interface endpoint. For more information, see Access Amazon * OpenSearch Serverless using an interface endpoint. *

* * @param updateVpcEndpointRequest * @return A Java Future containing the result of the UpdateVpcEndpoint operation returned by the service. * @sample AWSOpenSearchServerlessAsync.UpdateVpcEndpoint * @see AWS API Documentation */ java.util.concurrent.Future updateVpcEndpointAsync(UpdateVpcEndpointRequest updateVpcEndpointRequest); /** *

* Updates an OpenSearch Serverless-managed interface endpoint. For more information, see Access Amazon * OpenSearch Serverless using an interface endpoint. *

* * @param updateVpcEndpointRequest * @param 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. * @return A Java Future containing the result of the UpdateVpcEndpoint operation returned by the service. * @sample AWSOpenSearchServerlessAsyncHandler.UpdateVpcEndpoint * @see AWS API Documentation */ java.util.concurrent.Future updateVpcEndpointAsync(UpdateVpcEndpointRequest updateVpcEndpointRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); }