/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
#include
#include
#include
namespace Aws
{
namespace OpenSearchService
{
/**
* Use the Amazon OpenSearch Service configuration API to create, configure, and
* manage OpenSearch Service domains.
For sample code that uses the
* configuration API, see the
* Amazon OpenSearch Service Developer Guide . The guide also contains
* sample
* code for sending signed HTTP requests to the OpenSearch APIs. The endpoint
* for configuration service requests is Region specific:
* es.region.amazonaws.com. For example, es.us-east-1.amazonaws.com. For a
* current list of supported Regions and endpoints, see Amazon
* Web Services service endpoints.
*/
class AWS_OPENSEARCHSERVICE_API OpenSearchServiceClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods
{
public:
typedef Aws::Client::AWSJsonClient BASECLASS;
static const char* SERVICE_NAME;
static const char* ALLOCATION_TAG;
typedef OpenSearchServiceClientConfiguration ClientConfigurationType;
typedef OpenSearchServiceEndpointProvider EndpointProviderType;
/**
* Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config
* is not specified, it will be initialized to default values.
*/
OpenSearchServiceClient(const Aws::OpenSearchService::OpenSearchServiceClientConfiguration& clientConfiguration = Aws::OpenSearchService::OpenSearchServiceClientConfiguration(),
std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG));
/**
* Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config
* is not specified, it will be initialized to default values.
*/
OpenSearchServiceClient(const Aws::Auth::AWSCredentials& credentials,
std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG),
const Aws::OpenSearchService::OpenSearchServiceClientConfiguration& clientConfiguration = Aws::OpenSearchService::OpenSearchServiceClientConfiguration());
/**
* Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied,
* the default http client factory will be used
*/
OpenSearchServiceClient(const std::shared_ptr& credentialsProvider,
std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG),
const Aws::OpenSearchService::OpenSearchServiceClientConfiguration& clientConfiguration = Aws::OpenSearchService::OpenSearchServiceClientConfiguration());
/* Legacy constructors due deprecation */
/**
* Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config
* is not specified, it will be initialized to default values.
*/
OpenSearchServiceClient(const Aws::Client::ClientConfiguration& clientConfiguration);
/**
* Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config
* is not specified, it will be initialized to default values.
*/
OpenSearchServiceClient(const Aws::Auth::AWSCredentials& credentials,
const Aws::Client::ClientConfiguration& clientConfiguration);
/**
* Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied,
* the default http client factory will be used
*/
OpenSearchServiceClient(const std::shared_ptr& credentialsProvider,
const Aws::Client::ClientConfiguration& clientConfiguration);
/* End of legacy constructors due deprecation */
virtual ~OpenSearchServiceClient();
/**
* Allows the destination Amazon OpenSearch Service domain owner to accept an
* inbound cross-cluster search connection request. For more information, see Cross-cluster
* search for Amazon OpenSearch Service.
See Also:
AWS
* API Reference
*/
virtual Model::AcceptInboundConnectionOutcome AcceptInboundConnection(const Model::AcceptInboundConnectionRequest& request) const;
/**
* A Callable wrapper for AcceptInboundConnection that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::AcceptInboundConnectionOutcomeCallable AcceptInboundConnectionCallable(const AcceptInboundConnectionRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::AcceptInboundConnection, request);
}
/**
* An Async wrapper for AcceptInboundConnection that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void AcceptInboundConnectionAsync(const AcceptInboundConnectionRequestT& request, const AcceptInboundConnectionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::AcceptInboundConnection, request, handler, context);
}
/**
* Attaches tags to an existing Amazon OpenSearch Service domain. Tags are a set
* of case-sensitive key-value pairs. A domain can have up to 10 tags. For more
* information, see Tagging
* Amazon OpenSearch Service domains.
See Also:
AWS
* API Reference
*/
virtual Model::AddTagsOutcome AddTags(const Model::AddTagsRequest& request) const;
/**
* A Callable wrapper for AddTags that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::AddTagsOutcomeCallable AddTagsCallable(const AddTagsRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::AddTags, request);
}
/**
* An Async wrapper for AddTags that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void AddTagsAsync(const AddTagsRequestT& request, const AddTagsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::AddTags, request, handler, context);
}
/**
* Associates a package with an Amazon OpenSearch Service domain. For more
* information, see Custom
* packages for Amazon OpenSearch Service.
See Also:
AWS
* API Reference
*/
virtual Model::AssociatePackageOutcome AssociatePackage(const Model::AssociatePackageRequest& request) const;
/**
* A Callable wrapper for AssociatePackage that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::AssociatePackageOutcomeCallable AssociatePackageCallable(const AssociatePackageRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::AssociatePackage, request);
}
/**
* An Async wrapper for AssociatePackage that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void AssociatePackageAsync(const AssociatePackageRequestT& request, const AssociatePackageResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::AssociatePackage, request, handler, context);
}
/**
* Provides access to an Amazon OpenSearch Service domain through the use of an
* interface VPC endpoint.
See Also:
AWS
* API Reference
*/
virtual Model::AuthorizeVpcEndpointAccessOutcome AuthorizeVpcEndpointAccess(const Model::AuthorizeVpcEndpointAccessRequest& request) const;
/**
* A Callable wrapper for AuthorizeVpcEndpointAccess that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::AuthorizeVpcEndpointAccessOutcomeCallable AuthorizeVpcEndpointAccessCallable(const AuthorizeVpcEndpointAccessRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::AuthorizeVpcEndpointAccess, request);
}
/**
* An Async wrapper for AuthorizeVpcEndpointAccess that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void AuthorizeVpcEndpointAccessAsync(const AuthorizeVpcEndpointAccessRequestT& request, const AuthorizeVpcEndpointAccessResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::AuthorizeVpcEndpointAccess, request, handler, context);
}
/**
* Cancels a scheduled service software update for an Amazon OpenSearch Service
* domain. You can only perform this operation before the
* AutomatedUpdateDate
and when the domain's UpdateStatus
* is PENDING_UPDATE
. For more information, see Service
* software updates in Amazon OpenSearch Service.
See Also:
AWS
* API Reference
*/
virtual Model::CancelServiceSoftwareUpdateOutcome CancelServiceSoftwareUpdate(const Model::CancelServiceSoftwareUpdateRequest& request) const;
/**
* A Callable wrapper for CancelServiceSoftwareUpdate that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CancelServiceSoftwareUpdateOutcomeCallable CancelServiceSoftwareUpdateCallable(const CancelServiceSoftwareUpdateRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::CancelServiceSoftwareUpdate, request);
}
/**
* An Async wrapper for CancelServiceSoftwareUpdate that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CancelServiceSoftwareUpdateAsync(const CancelServiceSoftwareUpdateRequestT& request, const CancelServiceSoftwareUpdateResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::CancelServiceSoftwareUpdate, request, handler, context);
}
/**
* Creates an Amazon OpenSearch Service domain. For more information, see Creating
* and managing Amazon OpenSearch Service domains.
See Also:
* AWS
* API Reference
*/
virtual Model::CreateDomainOutcome CreateDomain(const Model::CreateDomainRequest& request) const;
/**
* A Callable wrapper for CreateDomain that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CreateDomainOutcomeCallable CreateDomainCallable(const CreateDomainRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::CreateDomain, request);
}
/**
* An Async wrapper for CreateDomain that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CreateDomainAsync(const CreateDomainRequestT& request, const CreateDomainResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::CreateDomain, request, handler, context);
}
/**
* Creates a new cross-cluster search connection from a source Amazon OpenSearch
* Service domain to a destination domain. For more information, see Cross-cluster
* search for Amazon OpenSearch Service.
See Also:
AWS
* API Reference
*/
virtual Model::CreateOutboundConnectionOutcome CreateOutboundConnection(const Model::CreateOutboundConnectionRequest& request) const;
/**
* A Callable wrapper for CreateOutboundConnection that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CreateOutboundConnectionOutcomeCallable CreateOutboundConnectionCallable(const CreateOutboundConnectionRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::CreateOutboundConnection, request);
}
/**
* An Async wrapper for CreateOutboundConnection that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CreateOutboundConnectionAsync(const CreateOutboundConnectionRequestT& request, const CreateOutboundConnectionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::CreateOutboundConnection, request, handler, context);
}
/**
* Creates a package for use with Amazon OpenSearch Service domains. For more
* information, see Custom
* packages for Amazon OpenSearch Service.
See Also:
AWS
* API Reference
*/
virtual Model::CreatePackageOutcome CreatePackage(const Model::CreatePackageRequest& request) const;
/**
* A Callable wrapper for CreatePackage that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CreatePackageOutcomeCallable CreatePackageCallable(const CreatePackageRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::CreatePackage, request);
}
/**
* An Async wrapper for CreatePackage that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CreatePackageAsync(const CreatePackageRequestT& request, const CreatePackageResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::CreatePackage, request, handler, context);
}
/**
* Creates an Amazon OpenSearch Service-managed VPC endpoint.
See
* Also:
AWS
* API Reference
*/
virtual Model::CreateVpcEndpointOutcome CreateVpcEndpoint(const Model::CreateVpcEndpointRequest& request) const;
/**
* A Callable wrapper for CreateVpcEndpoint that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CreateVpcEndpointOutcomeCallable CreateVpcEndpointCallable(const CreateVpcEndpointRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::CreateVpcEndpoint, request);
}
/**
* An Async wrapper for CreateVpcEndpoint that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CreateVpcEndpointAsync(const CreateVpcEndpointRequestT& request, const CreateVpcEndpointResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::CreateVpcEndpoint, request, handler, context);
}
/**
* Deletes an Amazon OpenSearch Service domain and all of its data. You can't
* recover a domain after you delete it.
See Also:
AWS
* API Reference
*/
virtual Model::DeleteDomainOutcome DeleteDomain(const Model::DeleteDomainRequest& request) const;
/**
* A Callable wrapper for DeleteDomain that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeleteDomainOutcomeCallable DeleteDomainCallable(const DeleteDomainRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::DeleteDomain, request);
}
/**
* An Async wrapper for DeleteDomain that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeleteDomainAsync(const DeleteDomainRequestT& request, const DeleteDomainResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::DeleteDomain, request, handler, context);
}
/**
* Allows the destination Amazon OpenSearch Service domain owner to delete an
* existing inbound cross-cluster search connection. For more information, see Cross-cluster
* search for Amazon OpenSearch Service.
See Also:
AWS
* API Reference
*/
virtual Model::DeleteInboundConnectionOutcome DeleteInboundConnection(const Model::DeleteInboundConnectionRequest& request) const;
/**
* A Callable wrapper for DeleteInboundConnection that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeleteInboundConnectionOutcomeCallable DeleteInboundConnectionCallable(const DeleteInboundConnectionRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::DeleteInboundConnection, request);
}
/**
* An Async wrapper for DeleteInboundConnection that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeleteInboundConnectionAsync(const DeleteInboundConnectionRequestT& request, const DeleteInboundConnectionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::DeleteInboundConnection, request, handler, context);
}
/**
* Allows the source Amazon OpenSearch Service domain owner to delete an
* existing outbound cross-cluster search connection. For more information, see Cross-cluster
* search for Amazon OpenSearch Service.
See Also:
AWS
* API Reference
*/
virtual Model::DeleteOutboundConnectionOutcome DeleteOutboundConnection(const Model::DeleteOutboundConnectionRequest& request) const;
/**
* A Callable wrapper for DeleteOutboundConnection that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeleteOutboundConnectionOutcomeCallable DeleteOutboundConnectionCallable(const DeleteOutboundConnectionRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::DeleteOutboundConnection, request);
}
/**
* An Async wrapper for DeleteOutboundConnection that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeleteOutboundConnectionAsync(const DeleteOutboundConnectionRequestT& request, const DeleteOutboundConnectionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::DeleteOutboundConnection, request, handler, context);
}
/**
* Deletes an Amazon OpenSearch Service package. For more information, see Custom
* packages for Amazon OpenSearch Service.
See Also:
AWS
* API Reference
*/
virtual Model::DeletePackageOutcome DeletePackage(const Model::DeletePackageRequest& request) const;
/**
* A Callable wrapper for DeletePackage that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeletePackageOutcomeCallable DeletePackageCallable(const DeletePackageRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::DeletePackage, request);
}
/**
* An Async wrapper for DeletePackage that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeletePackageAsync(const DeletePackageRequestT& request, const DeletePackageResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::DeletePackage, request, handler, context);
}
/**
* Deletes an Amazon OpenSearch Service-managed interface VPC
* endpoint.
See Also:
AWS
* API Reference
*/
virtual Model::DeleteVpcEndpointOutcome DeleteVpcEndpoint(const Model::DeleteVpcEndpointRequest& request) const;
/**
* A Callable wrapper for DeleteVpcEndpoint that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeleteVpcEndpointOutcomeCallable DeleteVpcEndpointCallable(const DeleteVpcEndpointRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::DeleteVpcEndpoint, request);
}
/**
* An Async wrapper for DeleteVpcEndpoint that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeleteVpcEndpointAsync(const DeleteVpcEndpointRequestT& request, const DeleteVpcEndpointResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::DeleteVpcEndpoint, request, handler, context);
}
/**
* Describes the domain configuration for the specified Amazon OpenSearch
* Service domain, including the domain ID, domain service endpoint, and domain
* ARN.
See Also:
AWS
* API Reference
*/
virtual Model::DescribeDomainOutcome DescribeDomain(const Model::DescribeDomainRequest& request) const;
/**
* A Callable wrapper for DescribeDomain that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DescribeDomainOutcomeCallable DescribeDomainCallable(const DescribeDomainRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::DescribeDomain, request);
}
/**
* An Async wrapper for DescribeDomain that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DescribeDomainAsync(const DescribeDomainRequestT& request, const DescribeDomainResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::DescribeDomain, request, handler, context);
}
/**
* Returns the list of optimizations that Auto-Tune has made to an Amazon
* OpenSearch Service domain. For more information, see Auto-Tune
* for Amazon OpenSearch Service.
See Also:
AWS
* API Reference
*/
virtual Model::DescribeDomainAutoTunesOutcome DescribeDomainAutoTunes(const Model::DescribeDomainAutoTunesRequest& request) const;
/**
* A Callable wrapper for DescribeDomainAutoTunes that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DescribeDomainAutoTunesOutcomeCallable DescribeDomainAutoTunesCallable(const DescribeDomainAutoTunesRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::DescribeDomainAutoTunes, request);
}
/**
* An Async wrapper for DescribeDomainAutoTunes that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DescribeDomainAutoTunesAsync(const DescribeDomainAutoTunesRequestT& request, const DescribeDomainAutoTunesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::DescribeDomainAutoTunes, request, handler, context);
}
/**
* Returns information about the current blue/green deployment happening on an
* Amazon OpenSearch Service domain. For more information, see Making
* configuration changes in Amazon OpenSearch Service.
See Also:
* AWS
* API Reference
*/
virtual Model::DescribeDomainChangeProgressOutcome DescribeDomainChangeProgress(const Model::DescribeDomainChangeProgressRequest& request) const;
/**
* A Callable wrapper for DescribeDomainChangeProgress that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DescribeDomainChangeProgressOutcomeCallable DescribeDomainChangeProgressCallable(const DescribeDomainChangeProgressRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::DescribeDomainChangeProgress, request);
}
/**
* An Async wrapper for DescribeDomainChangeProgress that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DescribeDomainChangeProgressAsync(const DescribeDomainChangeProgressRequestT& request, const DescribeDomainChangeProgressResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::DescribeDomainChangeProgress, request, handler, context);
}
/**
* Returns the configuration of an Amazon OpenSearch Service
* domain.
See Also:
AWS
* API Reference
*/
virtual Model::DescribeDomainConfigOutcome DescribeDomainConfig(const Model::DescribeDomainConfigRequest& request) const;
/**
* A Callable wrapper for DescribeDomainConfig that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DescribeDomainConfigOutcomeCallable DescribeDomainConfigCallable(const DescribeDomainConfigRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::DescribeDomainConfig, request);
}
/**
* An Async wrapper for DescribeDomainConfig that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DescribeDomainConfigAsync(const DescribeDomainConfigRequestT& request, const DescribeDomainConfigResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::DescribeDomainConfig, request, handler, context);
}
/**
* Returns information about domain and node health, the standby Availability
* Zone, number of nodes per Availability Zone, and shard count per
* node.
See Also:
AWS
* API Reference
*/
virtual Model::DescribeDomainHealthOutcome DescribeDomainHealth(const Model::DescribeDomainHealthRequest& request) const;
/**
* A Callable wrapper for DescribeDomainHealth that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DescribeDomainHealthOutcomeCallable DescribeDomainHealthCallable(const DescribeDomainHealthRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::DescribeDomainHealth, request);
}
/**
* An Async wrapper for DescribeDomainHealth that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DescribeDomainHealthAsync(const DescribeDomainHealthRequestT& request, const DescribeDomainHealthResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::DescribeDomainHealth, request, handler, context);
}
/**
* Returns information about domain and nodes, including data nodes, master
* nodes, ultrawarm nodes, Availability Zone(s), standby nodes, node
* configurations, and node states.
See Also:
AWS
* API Reference
*/
virtual Model::DescribeDomainNodesOutcome DescribeDomainNodes(const Model::DescribeDomainNodesRequest& request) const;
/**
* A Callable wrapper for DescribeDomainNodes that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DescribeDomainNodesOutcomeCallable DescribeDomainNodesCallable(const DescribeDomainNodesRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::DescribeDomainNodes, request);
}
/**
* An Async wrapper for DescribeDomainNodes that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DescribeDomainNodesAsync(const DescribeDomainNodesRequestT& request, const DescribeDomainNodesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::DescribeDomainNodes, request, handler, context);
}
/**
* Returns domain configuration information about the specified Amazon
* OpenSearch Service domains.
See Also:
AWS
* API Reference
*/
virtual Model::DescribeDomainsOutcome DescribeDomains(const Model::DescribeDomainsRequest& request) const;
/**
* A Callable wrapper for DescribeDomains that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DescribeDomainsOutcomeCallable DescribeDomainsCallable(const DescribeDomainsRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::DescribeDomains, request);
}
/**
* An Async wrapper for DescribeDomains that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DescribeDomainsAsync(const DescribeDomainsRequestT& request, const DescribeDomainsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::DescribeDomains, request, handler, context);
}
/**
* Describes the progress of a pre-update dry run analysis on an Amazon
* OpenSearch Service domain. For more information, see Determining
* whether a change will cause a blue/green deployment.
See
* Also:
AWS
* API Reference
*/
virtual Model::DescribeDryRunProgressOutcome DescribeDryRunProgress(const Model::DescribeDryRunProgressRequest& request) const;
/**
* A Callable wrapper for DescribeDryRunProgress that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DescribeDryRunProgressOutcomeCallable DescribeDryRunProgressCallable(const DescribeDryRunProgressRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::DescribeDryRunProgress, request);
}
/**
* An Async wrapper for DescribeDryRunProgress that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DescribeDryRunProgressAsync(const DescribeDryRunProgressRequestT& request, const DescribeDryRunProgressResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::DescribeDryRunProgress, request, handler, context);
}
/**
* Lists all the inbound cross-cluster search connections for a destination
* (remote) Amazon OpenSearch Service domain. For more information, see Cross-cluster
* search for Amazon OpenSearch Service.
See Also:
AWS
* API Reference
*/
virtual Model::DescribeInboundConnectionsOutcome DescribeInboundConnections(const Model::DescribeInboundConnectionsRequest& request) const;
/**
* A Callable wrapper for DescribeInboundConnections that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DescribeInboundConnectionsOutcomeCallable DescribeInboundConnectionsCallable(const DescribeInboundConnectionsRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::DescribeInboundConnections, request);
}
/**
* An Async wrapper for DescribeInboundConnections that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DescribeInboundConnectionsAsync(const DescribeInboundConnectionsRequestT& request, const DescribeInboundConnectionsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::DescribeInboundConnections, request, handler, context);
}
/**
* Describes the instance count, storage, and master node limits for a given
* OpenSearch or Elasticsearch version and instance type.
See Also:
* AWS
* API Reference
*/
virtual Model::DescribeInstanceTypeLimitsOutcome DescribeInstanceTypeLimits(const Model::DescribeInstanceTypeLimitsRequest& request) const;
/**
* A Callable wrapper for DescribeInstanceTypeLimits that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DescribeInstanceTypeLimitsOutcomeCallable DescribeInstanceTypeLimitsCallable(const DescribeInstanceTypeLimitsRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::DescribeInstanceTypeLimits, request);
}
/**
* An Async wrapper for DescribeInstanceTypeLimits that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DescribeInstanceTypeLimitsAsync(const DescribeInstanceTypeLimitsRequestT& request, const DescribeInstanceTypeLimitsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::DescribeInstanceTypeLimits, request, handler, context);
}
/**
* Lists all the outbound cross-cluster connections for a local (source) Amazon
* OpenSearch Service domain. For more information, see Cross-cluster
* search for Amazon OpenSearch Service.
See Also:
AWS
* API Reference
*/
virtual Model::DescribeOutboundConnectionsOutcome DescribeOutboundConnections(const Model::DescribeOutboundConnectionsRequest& request) const;
/**
* A Callable wrapper for DescribeOutboundConnections that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DescribeOutboundConnectionsOutcomeCallable DescribeOutboundConnectionsCallable(const DescribeOutboundConnectionsRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::DescribeOutboundConnections, request);
}
/**
* An Async wrapper for DescribeOutboundConnections that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DescribeOutboundConnectionsAsync(const DescribeOutboundConnectionsRequestT& request, const DescribeOutboundConnectionsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::DescribeOutboundConnections, request, handler, context);
}
/**
* Describes all packages available to OpenSearch Service. For more information,
* see Custom
* packages for Amazon OpenSearch Service.
See Also:
AWS
* API Reference
*/
virtual Model::DescribePackagesOutcome DescribePackages(const Model::DescribePackagesRequest& request) const;
/**
* A Callable wrapper for DescribePackages that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DescribePackagesOutcomeCallable DescribePackagesCallable(const DescribePackagesRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::DescribePackages, request);
}
/**
* An Async wrapper for DescribePackages that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DescribePackagesAsync(const DescribePackagesRequestT& request, const DescribePackagesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::DescribePackages, request, handler, context);
}
/**
* Describes the available Amazon OpenSearch Service Reserved Instance offerings
* for a given Region. For more information, see Reserved
* Instances in Amazon OpenSearch Service.
See Also:
AWS
* API Reference
*/
virtual Model::DescribeReservedInstanceOfferingsOutcome DescribeReservedInstanceOfferings(const Model::DescribeReservedInstanceOfferingsRequest& request) const;
/**
* A Callable wrapper for DescribeReservedInstanceOfferings that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DescribeReservedInstanceOfferingsOutcomeCallable DescribeReservedInstanceOfferingsCallable(const DescribeReservedInstanceOfferingsRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::DescribeReservedInstanceOfferings, request);
}
/**
* An Async wrapper for DescribeReservedInstanceOfferings that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DescribeReservedInstanceOfferingsAsync(const DescribeReservedInstanceOfferingsRequestT& request, const DescribeReservedInstanceOfferingsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::DescribeReservedInstanceOfferings, request, handler, context);
}
/**
* Describes the Amazon OpenSearch Service instances that you have reserved in a
* given Region. For more information, see Reserved
* Instances in Amazon OpenSearch Service.
See Also:
AWS
* API Reference
*/
virtual Model::DescribeReservedInstancesOutcome DescribeReservedInstances(const Model::DescribeReservedInstancesRequest& request) const;
/**
* A Callable wrapper for DescribeReservedInstances that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DescribeReservedInstancesOutcomeCallable DescribeReservedInstancesCallable(const DescribeReservedInstancesRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::DescribeReservedInstances, request);
}
/**
* An Async wrapper for DescribeReservedInstances that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DescribeReservedInstancesAsync(const DescribeReservedInstancesRequestT& request, const DescribeReservedInstancesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::DescribeReservedInstances, request, handler, context);
}
/**
* Describes one or more Amazon OpenSearch Service-managed VPC
* endpoints.
See Also:
AWS
* API Reference
*/
virtual Model::DescribeVpcEndpointsOutcome DescribeVpcEndpoints(const Model::DescribeVpcEndpointsRequest& request) const;
/**
* A Callable wrapper for DescribeVpcEndpoints that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DescribeVpcEndpointsOutcomeCallable DescribeVpcEndpointsCallable(const DescribeVpcEndpointsRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::DescribeVpcEndpoints, request);
}
/**
* An Async wrapper for DescribeVpcEndpoints that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DescribeVpcEndpointsAsync(const DescribeVpcEndpointsRequestT& request, const DescribeVpcEndpointsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::DescribeVpcEndpoints, request, handler, context);
}
/**
* Removes a package from the specified Amazon OpenSearch Service domain. The
* package can't be in use with any OpenSearch index for the dissociation to
* succeed. The package is still available in OpenSearch Service for association
* later. For more information, see Custom
* packages for Amazon OpenSearch Service.
See Also:
AWS
* API Reference
*/
virtual Model::DissociatePackageOutcome DissociatePackage(const Model::DissociatePackageRequest& request) const;
/**
* A Callable wrapper for DissociatePackage that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DissociatePackageOutcomeCallable DissociatePackageCallable(const DissociatePackageRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::DissociatePackage, request);
}
/**
* An Async wrapper for DissociatePackage that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DissociatePackageAsync(const DissociatePackageRequestT& request, const DissociatePackageResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::DissociatePackage, request, handler, context);
}
/**
* Returns a map of OpenSearch or Elasticsearch versions and the versions you
* can upgrade them to.
See Also:
AWS
* API Reference
*/
virtual Model::GetCompatibleVersionsOutcome GetCompatibleVersions(const Model::GetCompatibleVersionsRequest& request) const;
/**
* A Callable wrapper for GetCompatibleVersions that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetCompatibleVersionsOutcomeCallable GetCompatibleVersionsCallable(const GetCompatibleVersionsRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::GetCompatibleVersions, request);
}
/**
* An Async wrapper for GetCompatibleVersions that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetCompatibleVersionsAsync(const GetCompatibleVersionsRequestT& request, const GetCompatibleVersionsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::GetCompatibleVersions, request, handler, context);
}
/**
* Returns a list of Amazon OpenSearch Service package versions, along with
* their creation time, commit message, and plugin properties (if the package is a
* zip plugin package). For more information, see Custom
* packages for Amazon OpenSearch Service.
See Also:
AWS
* API Reference
*/
virtual Model::GetPackageVersionHistoryOutcome GetPackageVersionHistory(const Model::GetPackageVersionHistoryRequest& request) const;
/**
* A Callable wrapper for GetPackageVersionHistory that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetPackageVersionHistoryOutcomeCallable GetPackageVersionHistoryCallable(const GetPackageVersionHistoryRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::GetPackageVersionHistory, request);
}
/**
* An Async wrapper for GetPackageVersionHistory that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetPackageVersionHistoryAsync(const GetPackageVersionHistoryRequestT& request, const GetPackageVersionHistoryResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::GetPackageVersionHistory, request, handler, context);
}
/**
* Retrieves the complete history of the last 10 upgrades performed on an Amazon
* OpenSearch Service domain.
See Also:
AWS
* API Reference
*/
virtual Model::GetUpgradeHistoryOutcome GetUpgradeHistory(const Model::GetUpgradeHistoryRequest& request) const;
/**
* A Callable wrapper for GetUpgradeHistory that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetUpgradeHistoryOutcomeCallable GetUpgradeHistoryCallable(const GetUpgradeHistoryRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::GetUpgradeHistory, request);
}
/**
* An Async wrapper for GetUpgradeHistory that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetUpgradeHistoryAsync(const GetUpgradeHistoryRequestT& request, const GetUpgradeHistoryResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::GetUpgradeHistory, request, handler, context);
}
/**
* Returns the most recent status of the last upgrade or upgrade eligibility
* check performed on an Amazon OpenSearch Service domain.
See Also:
* AWS
* API Reference
*/
virtual Model::GetUpgradeStatusOutcome GetUpgradeStatus(const Model::GetUpgradeStatusRequest& request) const;
/**
* A Callable wrapper for GetUpgradeStatus that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetUpgradeStatusOutcomeCallable GetUpgradeStatusCallable(const GetUpgradeStatusRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::GetUpgradeStatus, request);
}
/**
* An Async wrapper for GetUpgradeStatus that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetUpgradeStatusAsync(const GetUpgradeStatusRequestT& request, const GetUpgradeStatusResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::GetUpgradeStatus, request, handler, context);
}
/**
* Returns the names of all Amazon OpenSearch Service domains owned by the
* current user in the active Region.
See Also:
AWS
* API Reference
*/
virtual Model::ListDomainNamesOutcome ListDomainNames(const Model::ListDomainNamesRequest& request) const;
/**
* A Callable wrapper for ListDomainNames that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListDomainNamesOutcomeCallable ListDomainNamesCallable(const ListDomainNamesRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::ListDomainNames, request);
}
/**
* An Async wrapper for ListDomainNames that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListDomainNamesAsync(const ListDomainNamesRequestT& request, const ListDomainNamesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::ListDomainNames, request, handler, context);
}
/**
* Lists all Amazon OpenSearch Service domains associated with a given package.
* For more information, see Custom
* packages for Amazon OpenSearch Service.
See Also:
AWS
* API Reference
*/
virtual Model::ListDomainsForPackageOutcome ListDomainsForPackage(const Model::ListDomainsForPackageRequest& request) const;
/**
* A Callable wrapper for ListDomainsForPackage that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListDomainsForPackageOutcomeCallable ListDomainsForPackageCallable(const ListDomainsForPackageRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::ListDomainsForPackage, request);
}
/**
* An Async wrapper for ListDomainsForPackage that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListDomainsForPackageAsync(const ListDomainsForPackageRequestT& request, const ListDomainsForPackageResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::ListDomainsForPackage, request, handler, context);
}
/**
* Lists all instance types and available features for a given OpenSearch or
* Elasticsearch version.
See Also:
AWS
* API Reference
*/
virtual Model::ListInstanceTypeDetailsOutcome ListInstanceTypeDetails(const Model::ListInstanceTypeDetailsRequest& request) const;
/**
* A Callable wrapper for ListInstanceTypeDetails that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListInstanceTypeDetailsOutcomeCallable ListInstanceTypeDetailsCallable(const ListInstanceTypeDetailsRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::ListInstanceTypeDetails, request);
}
/**
* An Async wrapper for ListInstanceTypeDetails that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListInstanceTypeDetailsAsync(const ListInstanceTypeDetailsRequestT& request, const ListInstanceTypeDetailsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::ListInstanceTypeDetails, request, handler, context);
}
/**
* Lists all packages associated with an Amazon OpenSearch Service domain. For
* more information, see Custom
* packages for Amazon OpenSearch Service.
See Also:
AWS
* API Reference
*/
virtual Model::ListPackagesForDomainOutcome ListPackagesForDomain(const Model::ListPackagesForDomainRequest& request) const;
/**
* A Callable wrapper for ListPackagesForDomain that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListPackagesForDomainOutcomeCallable ListPackagesForDomainCallable(const ListPackagesForDomainRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::ListPackagesForDomain, request);
}
/**
* An Async wrapper for ListPackagesForDomain that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListPackagesForDomainAsync(const ListPackagesForDomainRequestT& request, const ListPackagesForDomainResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::ListPackagesForDomain, request, handler, context);
}
/**
* Retrieves a list of configuration changes that are scheduled for a domain.
* These changes can be service
* software updates or blue/green
* Auto-Tune enhancements.
See Also:
AWS
* API Reference
*/
virtual Model::ListScheduledActionsOutcome ListScheduledActions(const Model::ListScheduledActionsRequest& request) const;
/**
* A Callable wrapper for ListScheduledActions that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListScheduledActionsOutcomeCallable ListScheduledActionsCallable(const ListScheduledActionsRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::ListScheduledActions, request);
}
/**
* An Async wrapper for ListScheduledActions that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListScheduledActionsAsync(const ListScheduledActionsRequestT& request, const ListScheduledActionsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::ListScheduledActions, request, handler, context);
}
/**
* Returns all resource tags for an Amazon OpenSearch Service domain. For more
* information, see Tagging
* Amazon OpenSearch Service domains.
See Also:
AWS
* API Reference
*/
virtual Model::ListTagsOutcome ListTags(const Model::ListTagsRequest& request) const;
/**
* A Callable wrapper for ListTags that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListTagsOutcomeCallable ListTagsCallable(const ListTagsRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::ListTags, request);
}
/**
* An Async wrapper for ListTags that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListTagsAsync(const ListTagsRequestT& request, const ListTagsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::ListTags, request, handler, context);
}
/**
* Lists all versions of OpenSearch and Elasticsearch that Amazon OpenSearch
* Service supports.
See Also:
AWS
* API Reference
*/
virtual Model::ListVersionsOutcome ListVersions(const Model::ListVersionsRequest& request) const;
/**
* A Callable wrapper for ListVersions that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListVersionsOutcomeCallable ListVersionsCallable(const ListVersionsRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::ListVersions, request);
}
/**
* An Async wrapper for ListVersions that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListVersionsAsync(const ListVersionsRequestT& request, const ListVersionsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::ListVersions, request, handler, context);
}
/**
* Retrieves information about each Amazon Web Services principal that is
* allowed to access a given Amazon OpenSearch Service domain through the use of an
* interface VPC endpoint.
See Also:
AWS
* API Reference
*/
virtual Model::ListVpcEndpointAccessOutcome ListVpcEndpointAccess(const Model::ListVpcEndpointAccessRequest& request) const;
/**
* A Callable wrapper for ListVpcEndpointAccess that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListVpcEndpointAccessOutcomeCallable ListVpcEndpointAccessCallable(const ListVpcEndpointAccessRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::ListVpcEndpointAccess, request);
}
/**
* An Async wrapper for ListVpcEndpointAccess that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListVpcEndpointAccessAsync(const ListVpcEndpointAccessRequestT& request, const ListVpcEndpointAccessResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::ListVpcEndpointAccess, request, handler, context);
}
/**
* Retrieves all Amazon OpenSearch Service-managed VPC endpoints in the current
* Amazon Web Services account and Region.
See Also:
AWS
* API Reference
*/
virtual Model::ListVpcEndpointsOutcome ListVpcEndpoints(const Model::ListVpcEndpointsRequest& request) const;
/**
* A Callable wrapper for ListVpcEndpoints that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListVpcEndpointsOutcomeCallable ListVpcEndpointsCallable(const ListVpcEndpointsRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::ListVpcEndpoints, request);
}
/**
* An Async wrapper for ListVpcEndpoints that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListVpcEndpointsAsync(const ListVpcEndpointsRequestT& request, const ListVpcEndpointsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::ListVpcEndpoints, request, handler, context);
}
/**
* Retrieves all Amazon OpenSearch Service-managed VPC endpoints associated with
* a particular domain.
See Also:
AWS
* API Reference
*/
virtual Model::ListVpcEndpointsForDomainOutcome ListVpcEndpointsForDomain(const Model::ListVpcEndpointsForDomainRequest& request) const;
/**
* A Callable wrapper for ListVpcEndpointsForDomain that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListVpcEndpointsForDomainOutcomeCallable ListVpcEndpointsForDomainCallable(const ListVpcEndpointsForDomainRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::ListVpcEndpointsForDomain, request);
}
/**
* An Async wrapper for ListVpcEndpointsForDomain that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListVpcEndpointsForDomainAsync(const ListVpcEndpointsForDomainRequestT& request, const ListVpcEndpointsForDomainResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::ListVpcEndpointsForDomain, request, handler, context);
}
/**
* Allows you to purchase Amazon OpenSearch Service Reserved
* Instances.
See Also:
AWS
* API Reference
*/
virtual Model::PurchaseReservedInstanceOfferingOutcome PurchaseReservedInstanceOffering(const Model::PurchaseReservedInstanceOfferingRequest& request) const;
/**
* A Callable wrapper for PurchaseReservedInstanceOffering that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::PurchaseReservedInstanceOfferingOutcomeCallable PurchaseReservedInstanceOfferingCallable(const PurchaseReservedInstanceOfferingRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::PurchaseReservedInstanceOffering, request);
}
/**
* An Async wrapper for PurchaseReservedInstanceOffering that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void PurchaseReservedInstanceOfferingAsync(const PurchaseReservedInstanceOfferingRequestT& request, const PurchaseReservedInstanceOfferingResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::PurchaseReservedInstanceOffering, request, handler, context);
}
/**
* Allows the remote Amazon OpenSearch Service domain owner to reject an inbound
* cross-cluster connection request.
See Also:
AWS
* API Reference
*/
virtual Model::RejectInboundConnectionOutcome RejectInboundConnection(const Model::RejectInboundConnectionRequest& request) const;
/**
* A Callable wrapper for RejectInboundConnection that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::RejectInboundConnectionOutcomeCallable RejectInboundConnectionCallable(const RejectInboundConnectionRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::RejectInboundConnection, request);
}
/**
* An Async wrapper for RejectInboundConnection that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void RejectInboundConnectionAsync(const RejectInboundConnectionRequestT& request, const RejectInboundConnectionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::RejectInboundConnection, request, handler, context);
}
/**
* Removes the specified set of tags from an Amazon OpenSearch Service domain.
* For more information, see
* Tagging Amazon OpenSearch Service domains.
See Also:
AWS
* API Reference
*/
virtual Model::RemoveTagsOutcome RemoveTags(const Model::RemoveTagsRequest& request) const;
/**
* A Callable wrapper for RemoveTags that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::RemoveTagsOutcomeCallable RemoveTagsCallable(const RemoveTagsRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::RemoveTags, request);
}
/**
* An Async wrapper for RemoveTags that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void RemoveTagsAsync(const RemoveTagsRequestT& request, const RemoveTagsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::RemoveTags, request, handler, context);
}
/**
* Revokes access to an Amazon OpenSearch Service domain that was provided
* through an interface VPC endpoint.
See Also:
AWS
* API Reference
*/
virtual Model::RevokeVpcEndpointAccessOutcome RevokeVpcEndpointAccess(const Model::RevokeVpcEndpointAccessRequest& request) const;
/**
* A Callable wrapper for RevokeVpcEndpointAccess that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::RevokeVpcEndpointAccessOutcomeCallable RevokeVpcEndpointAccessCallable(const RevokeVpcEndpointAccessRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::RevokeVpcEndpointAccess, request);
}
/**
* An Async wrapper for RevokeVpcEndpointAccess that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void RevokeVpcEndpointAccessAsync(const RevokeVpcEndpointAccessRequestT& request, const RevokeVpcEndpointAccessResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::RevokeVpcEndpointAccess, request, handler, context);
}
/**
* Schedules a service software update for an Amazon OpenSearch Service domain.
* For more information, see Service
* software updates in Amazon OpenSearch Service.
See Also:
AWS
* API Reference
*/
virtual Model::StartServiceSoftwareUpdateOutcome StartServiceSoftwareUpdate(const Model::StartServiceSoftwareUpdateRequest& request) const;
/**
* A Callable wrapper for StartServiceSoftwareUpdate that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::StartServiceSoftwareUpdateOutcomeCallable StartServiceSoftwareUpdateCallable(const StartServiceSoftwareUpdateRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::StartServiceSoftwareUpdate, request);
}
/**
* An Async wrapper for StartServiceSoftwareUpdate that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void StartServiceSoftwareUpdateAsync(const StartServiceSoftwareUpdateRequestT& request, const StartServiceSoftwareUpdateResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::StartServiceSoftwareUpdate, request, handler, context);
}
/**
* Modifies the cluster configuration of the specified Amazon OpenSearch Service
* domain.sl
See Also:
AWS
* API Reference
*/
virtual Model::UpdateDomainConfigOutcome UpdateDomainConfig(const Model::UpdateDomainConfigRequest& request) const;
/**
* A Callable wrapper for UpdateDomainConfig that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UpdateDomainConfigOutcomeCallable UpdateDomainConfigCallable(const UpdateDomainConfigRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::UpdateDomainConfig, request);
}
/**
* An Async wrapper for UpdateDomainConfig that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UpdateDomainConfigAsync(const UpdateDomainConfigRequestT& request, const UpdateDomainConfigResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::UpdateDomainConfig, request, handler, context);
}
/**
* Updates a package for use with Amazon OpenSearch Service domains. For more
* information, see Custom
* packages for Amazon OpenSearch Service.
See Also:
AWS
* API Reference
*/
virtual Model::UpdatePackageOutcome UpdatePackage(const Model::UpdatePackageRequest& request) const;
/**
* A Callable wrapper for UpdatePackage that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UpdatePackageOutcomeCallable UpdatePackageCallable(const UpdatePackageRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::UpdatePackage, request);
}
/**
* An Async wrapper for UpdatePackage that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UpdatePackageAsync(const UpdatePackageRequestT& request, const UpdatePackageResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::UpdatePackage, request, handler, context);
}
/**
* Reschedules a planned domain configuration change for a later time. This
* change can be a scheduled service
* software update or a blue/green
* Auto-Tune enhancement.
See Also:
AWS
* API Reference
*/
virtual Model::UpdateScheduledActionOutcome UpdateScheduledAction(const Model::UpdateScheduledActionRequest& request) const;
/**
* A Callable wrapper for UpdateScheduledAction that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UpdateScheduledActionOutcomeCallable UpdateScheduledActionCallable(const UpdateScheduledActionRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::UpdateScheduledAction, request);
}
/**
* An Async wrapper for UpdateScheduledAction that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UpdateScheduledActionAsync(const UpdateScheduledActionRequestT& request, const UpdateScheduledActionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::UpdateScheduledAction, request, handler, context);
}
/**
* Modifies an Amazon OpenSearch Service-managed interface VPC
* endpoint.
See Also:
AWS
* API Reference
*/
virtual Model::UpdateVpcEndpointOutcome UpdateVpcEndpoint(const Model::UpdateVpcEndpointRequest& request) const;
/**
* A Callable wrapper for UpdateVpcEndpoint that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UpdateVpcEndpointOutcomeCallable UpdateVpcEndpointCallable(const UpdateVpcEndpointRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::UpdateVpcEndpoint, request);
}
/**
* An Async wrapper for UpdateVpcEndpoint that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UpdateVpcEndpointAsync(const UpdateVpcEndpointRequestT& request, const UpdateVpcEndpointResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::UpdateVpcEndpoint, request, handler, context);
}
/**
* Allows you to either upgrade your Amazon OpenSearch Service domain or perform
* an upgrade eligibility check to a compatible version of OpenSearch or
* Elasticsearch.
See Also:
AWS
* API Reference
*/
virtual Model::UpgradeDomainOutcome UpgradeDomain(const Model::UpgradeDomainRequest& request) const;
/**
* A Callable wrapper for UpgradeDomain that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UpgradeDomainOutcomeCallable UpgradeDomainCallable(const UpgradeDomainRequestT& request) const
{
return SubmitCallable(&OpenSearchServiceClient::UpgradeDomain, request);
}
/**
* An Async wrapper for UpgradeDomain that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UpgradeDomainAsync(const UpgradeDomainRequestT& request, const UpgradeDomainResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&OpenSearchServiceClient::UpgradeDomain, request, handler, context);
}
void OverrideEndpoint(const Aws::String& endpoint);
std::shared_ptr& accessEndpointProvider();
private:
friend class Aws::Client::ClientWithAsyncTemplateMethods;
void init(const OpenSearchServiceClientConfiguration& clientConfiguration);
OpenSearchServiceClientConfiguration m_clientConfiguration;
std::shared_ptr m_executor;
std::shared_ptr m_endpointProvider;
};
} // namespace OpenSearchService
} // namespace Aws