/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once /* Generic header includes */ #include #include #include #include #include #include #include #include #include /* End of generic header includes */ /* Service model headers required in OpenSearchServerlessClient header */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include /* End of service model headers required in OpenSearchServerlessClient header */ namespace Aws { namespace Http { class HttpClient; class HttpClientFactory; } // namespace Http namespace Utils { template< typename R, typename E> class Outcome; namespace Threading { class Executor; } // namespace Threading } // namespace Utils namespace Auth { class AWSCredentials; class AWSCredentialsProvider; } // namespace Auth namespace Client { class RetryStrategy; } // namespace Client namespace OpenSearchServerless { using OpenSearchServerlessClientConfiguration = Aws::Client::GenericClientConfiguration; using OpenSearchServerlessEndpointProviderBase = Aws::OpenSearchServerless::Endpoint::OpenSearchServerlessEndpointProviderBase; using OpenSearchServerlessEndpointProvider = Aws::OpenSearchServerless::Endpoint::OpenSearchServerlessEndpointProvider; namespace Model { /* Service model forward declarations required in OpenSearchServerlessClient header */ class BatchGetCollectionRequest; class BatchGetVpcEndpointRequest; class CreateAccessPolicyRequest; class CreateCollectionRequest; class CreateSecurityConfigRequest; class CreateSecurityPolicyRequest; class CreateVpcEndpointRequest; class DeleteAccessPolicyRequest; class DeleteCollectionRequest; class DeleteSecurityConfigRequest; class DeleteSecurityPolicyRequest; class DeleteVpcEndpointRequest; class GetAccessPolicyRequest; class GetAccountSettingsRequest; class GetPoliciesStatsRequest; class GetSecurityConfigRequest; class GetSecurityPolicyRequest; class ListAccessPoliciesRequest; class ListCollectionsRequest; class ListSecurityConfigsRequest; class ListSecurityPoliciesRequest; class ListTagsForResourceRequest; class ListVpcEndpointsRequest; class TagResourceRequest; class UntagResourceRequest; class UpdateAccessPolicyRequest; class UpdateAccountSettingsRequest; class UpdateCollectionRequest; class UpdateSecurityConfigRequest; class UpdateSecurityPolicyRequest; class UpdateVpcEndpointRequest; /* End of service model forward declarations required in OpenSearchServerlessClient header */ /* Service model Outcome class definitions */ typedef Aws::Utils::Outcome BatchGetCollectionOutcome; typedef Aws::Utils::Outcome BatchGetVpcEndpointOutcome; typedef Aws::Utils::Outcome CreateAccessPolicyOutcome; typedef Aws::Utils::Outcome CreateCollectionOutcome; typedef Aws::Utils::Outcome CreateSecurityConfigOutcome; typedef Aws::Utils::Outcome CreateSecurityPolicyOutcome; typedef Aws::Utils::Outcome CreateVpcEndpointOutcome; typedef Aws::Utils::Outcome DeleteAccessPolicyOutcome; typedef Aws::Utils::Outcome DeleteCollectionOutcome; typedef Aws::Utils::Outcome DeleteSecurityConfigOutcome; typedef Aws::Utils::Outcome DeleteSecurityPolicyOutcome; typedef Aws::Utils::Outcome DeleteVpcEndpointOutcome; typedef Aws::Utils::Outcome GetAccessPolicyOutcome; typedef Aws::Utils::Outcome GetAccountSettingsOutcome; typedef Aws::Utils::Outcome GetPoliciesStatsOutcome; typedef Aws::Utils::Outcome GetSecurityConfigOutcome; typedef Aws::Utils::Outcome GetSecurityPolicyOutcome; typedef Aws::Utils::Outcome ListAccessPoliciesOutcome; typedef Aws::Utils::Outcome ListCollectionsOutcome; typedef Aws::Utils::Outcome ListSecurityConfigsOutcome; typedef Aws::Utils::Outcome ListSecurityPoliciesOutcome; typedef Aws::Utils::Outcome ListTagsForResourceOutcome; typedef Aws::Utils::Outcome ListVpcEndpointsOutcome; typedef Aws::Utils::Outcome TagResourceOutcome; typedef Aws::Utils::Outcome UntagResourceOutcome; typedef Aws::Utils::Outcome UpdateAccessPolicyOutcome; typedef Aws::Utils::Outcome UpdateAccountSettingsOutcome; typedef Aws::Utils::Outcome UpdateCollectionOutcome; typedef Aws::Utils::Outcome UpdateSecurityConfigOutcome; typedef Aws::Utils::Outcome UpdateSecurityPolicyOutcome; typedef Aws::Utils::Outcome UpdateVpcEndpointOutcome; /* End of service model Outcome class definitions */ /* Service model Outcome callable definitions */ typedef std::future BatchGetCollectionOutcomeCallable; typedef std::future BatchGetVpcEndpointOutcomeCallable; typedef std::future CreateAccessPolicyOutcomeCallable; typedef std::future CreateCollectionOutcomeCallable; typedef std::future CreateSecurityConfigOutcomeCallable; typedef std::future CreateSecurityPolicyOutcomeCallable; typedef std::future CreateVpcEndpointOutcomeCallable; typedef std::future DeleteAccessPolicyOutcomeCallable; typedef std::future DeleteCollectionOutcomeCallable; typedef std::future DeleteSecurityConfigOutcomeCallable; typedef std::future DeleteSecurityPolicyOutcomeCallable; typedef std::future DeleteVpcEndpointOutcomeCallable; typedef std::future GetAccessPolicyOutcomeCallable; typedef std::future GetAccountSettingsOutcomeCallable; typedef std::future GetPoliciesStatsOutcomeCallable; typedef std::future GetSecurityConfigOutcomeCallable; typedef std::future GetSecurityPolicyOutcomeCallable; typedef std::future ListAccessPoliciesOutcomeCallable; typedef std::future ListCollectionsOutcomeCallable; typedef std::future ListSecurityConfigsOutcomeCallable; typedef std::future ListSecurityPoliciesOutcomeCallable; typedef std::future ListTagsForResourceOutcomeCallable; typedef std::future ListVpcEndpointsOutcomeCallable; typedef std::future TagResourceOutcomeCallable; typedef std::future UntagResourceOutcomeCallable; typedef std::future UpdateAccessPolicyOutcomeCallable; typedef std::future UpdateAccountSettingsOutcomeCallable; typedef std::future UpdateCollectionOutcomeCallable; typedef std::future UpdateSecurityConfigOutcomeCallable; typedef std::future UpdateSecurityPolicyOutcomeCallable; typedef std::future UpdateVpcEndpointOutcomeCallable; /* End of service model Outcome callable definitions */ } // namespace Model class OpenSearchServerlessClient; /* Service model async handlers definitions */ typedef std::function&) > BatchGetCollectionResponseReceivedHandler; typedef std::function&) > BatchGetVpcEndpointResponseReceivedHandler; typedef std::function&) > CreateAccessPolicyResponseReceivedHandler; typedef std::function&) > CreateCollectionResponseReceivedHandler; typedef std::function&) > CreateSecurityConfigResponseReceivedHandler; typedef std::function&) > CreateSecurityPolicyResponseReceivedHandler; typedef std::function&) > CreateVpcEndpointResponseReceivedHandler; typedef std::function&) > DeleteAccessPolicyResponseReceivedHandler; typedef std::function&) > DeleteCollectionResponseReceivedHandler; typedef std::function&) > DeleteSecurityConfigResponseReceivedHandler; typedef std::function&) > DeleteSecurityPolicyResponseReceivedHandler; typedef std::function&) > DeleteVpcEndpointResponseReceivedHandler; typedef std::function&) > GetAccessPolicyResponseReceivedHandler; typedef std::function&) > GetAccountSettingsResponseReceivedHandler; typedef std::function&) > GetPoliciesStatsResponseReceivedHandler; typedef std::function&) > GetSecurityConfigResponseReceivedHandler; typedef std::function&) > GetSecurityPolicyResponseReceivedHandler; typedef std::function&) > ListAccessPoliciesResponseReceivedHandler; typedef std::function&) > ListCollectionsResponseReceivedHandler; typedef std::function&) > ListSecurityConfigsResponseReceivedHandler; typedef std::function&) > ListSecurityPoliciesResponseReceivedHandler; typedef std::function&) > ListTagsForResourceResponseReceivedHandler; typedef std::function&) > ListVpcEndpointsResponseReceivedHandler; typedef std::function&) > TagResourceResponseReceivedHandler; typedef std::function&) > UntagResourceResponseReceivedHandler; typedef std::function&) > UpdateAccessPolicyResponseReceivedHandler; typedef std::function&) > UpdateAccountSettingsResponseReceivedHandler; typedef std::function&) > UpdateCollectionResponseReceivedHandler; typedef std::function&) > UpdateSecurityConfigResponseReceivedHandler; typedef std::function&) > UpdateSecurityPolicyResponseReceivedHandler; typedef std::function&) > UpdateVpcEndpointResponseReceivedHandler; /* End of service model async handlers definitions */ } // namespace OpenSearchServerless } // namespace Aws