/*
* Copyright 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.
*/
/*
* Do not modify this file. This file is generated from the es-2015-01-01.normal.json service model.
*/
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.Elasticsearch.Model;
namespace Amazon.Elasticsearch
{
///
/// Interface for accessing Elasticsearch
///
/// Amazon Elasticsearch Configuration Service
///
/// Use the Amazon Elasticsearch Configuration API to create, configure, and manage Elasticsearch
/// domains.
///
///
///
/// For sample code that uses the Configuration API, see the Amazon
/// Elasticsearch Service Developer Guide. The guide also contains sample
/// code for sending signed HTTP requests to the Elasticsearch APIs.
///
///
///
/// The endpoint for configuration service requests is region-specific: es.region.amazonaws.com.
/// For example, es.us-east-1.amazonaws.com. For a current list of supported regions and
/// endpoints, see Regions and Endpoints.
///
///
public partial interface IAmazonElasticsearch : IAmazonService, IDisposable
{
///
/// Paginators for the service
///
IElasticsearchPaginatorFactory Paginators { get; }
#region AcceptInboundCrossClusterSearchConnection
///
/// Allows the destination domain owner to accept an inbound cross-cluster search connection
/// request.
///
/// Container for the necessary parameters to execute the AcceptInboundCrossClusterSearchConnection service method.
///
/// The response from the AcceptInboundCrossClusterSearchConnection service method, as returned by Elasticsearch.
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// An exception for trying to create more than allowed resources or sub-resources. Gives
/// http status code of 409.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
/// REST API Reference for AcceptInboundCrossClusterSearchConnection Operation
AcceptInboundCrossClusterSearchConnectionResponse AcceptInboundCrossClusterSearchConnection(AcceptInboundCrossClusterSearchConnectionRequest request);
///
/// Allows the destination domain owner to accept an inbound cross-cluster search connection
/// request.
///
/// Container for the necessary parameters to execute the AcceptInboundCrossClusterSearchConnection service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AcceptInboundCrossClusterSearchConnection service method, as returned by Elasticsearch.
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// An exception for trying to create more than allowed resources or sub-resources. Gives
/// http status code of 409.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
/// REST API Reference for AcceptInboundCrossClusterSearchConnection Operation
Task AcceptInboundCrossClusterSearchConnectionAsync(AcceptInboundCrossClusterSearchConnectionRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AddTags
///
/// Attaches tags to an existing Elasticsearch domain. Tags are a set of case-sensitive
/// key value pairs. An Elasticsearch domain may have up to 10 tags. See Tagging Amazon Elasticsearch Service Domains for more information.
///
/// Container for the necessary parameters to execute the AddTags service method.
///
/// The response from the AddTags service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for trying to create more than allowed resources or sub-resources. Gives
/// http status code of 409.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for AddTags Operation
AddTagsResponse AddTags(AddTagsRequest request);
///
/// Attaches tags to an existing Elasticsearch domain. Tags are a set of case-sensitive
/// key value pairs. An Elasticsearch domain may have up to 10 tags. See Tagging Amazon Elasticsearch Service Domains for more information.
///
/// Container for the necessary parameters to execute the AddTags service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AddTags service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for trying to create more than allowed resources or sub-resources. Gives
/// http status code of 409.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for AddTags Operation
Task AddTagsAsync(AddTagsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AssociatePackage
///
/// Associates a package with an Amazon ES domain.
///
/// Container for the necessary parameters to execute the AssociatePackage service method.
///
/// The response from the AssociatePackage service method, as returned by Elasticsearch.
///
/// An error occurred because user does not have permissions to access the resource. Returns
/// HTTP status code 403.
///
///
/// An error occurred while processing the request.
///
///
/// An error occurred because the client attempts to remove a resource that is currently
/// in use. Returns HTTP status code 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for AssociatePackage Operation
AssociatePackageResponse AssociatePackage(AssociatePackageRequest request);
///
/// Associates a package with an Amazon ES domain.
///
/// Container for the necessary parameters to execute the AssociatePackage service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AssociatePackage service method, as returned by Elasticsearch.
///
/// An error occurred because user does not have permissions to access the resource. Returns
/// HTTP status code 403.
///
///
/// An error occurred while processing the request.
///
///
/// An error occurred because the client attempts to remove a resource that is currently
/// in use. Returns HTTP status code 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for AssociatePackage Operation
Task AssociatePackageAsync(AssociatePackageRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AuthorizeVpcEndpointAccess
///
/// Provides access to an Amazon OpenSearch Service domain through the use of an interface
/// VPC endpoint.
///
/// Container for the necessary parameters to execute the AuthorizeVpcEndpointAccess service method.
///
/// The response from the AuthorizeVpcEndpointAccess service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for trying to create more than allowed resources or sub-resources. Gives
/// http status code of 409.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for AuthorizeVpcEndpointAccess Operation
AuthorizeVpcEndpointAccessResponse AuthorizeVpcEndpointAccess(AuthorizeVpcEndpointAccessRequest request);
///
/// Provides access to an Amazon OpenSearch Service domain through the use of an interface
/// VPC endpoint.
///
/// Container for the necessary parameters to execute the AuthorizeVpcEndpointAccess service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AuthorizeVpcEndpointAccess service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for trying to create more than allowed resources or sub-resources. Gives
/// http status code of 409.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for AuthorizeVpcEndpointAccess Operation
Task AuthorizeVpcEndpointAccessAsync(AuthorizeVpcEndpointAccessRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CancelElasticsearchServiceSoftwareUpdate
///
/// Cancels a scheduled service software update for an Amazon ES domain. You can only
/// perform this operation before the AutomatedUpdateDate
and when the UpdateStatus
/// is in the PENDING_UPDATE
state.
///
/// Container for the necessary parameters to execute the CancelElasticsearchServiceSoftwareUpdate service method.
///
/// The response from the CancelElasticsearchServiceSoftwareUpdate service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for CancelElasticsearchServiceSoftwareUpdate Operation
CancelElasticsearchServiceSoftwareUpdateResponse CancelElasticsearchServiceSoftwareUpdate(CancelElasticsearchServiceSoftwareUpdateRequest request);
///
/// Cancels a scheduled service software update for an Amazon ES domain. You can only
/// perform this operation before the AutomatedUpdateDate
and when the UpdateStatus
/// is in the PENDING_UPDATE
state.
///
/// Container for the necessary parameters to execute the CancelElasticsearchServiceSoftwareUpdate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CancelElasticsearchServiceSoftwareUpdate service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for CancelElasticsearchServiceSoftwareUpdate Operation
Task CancelElasticsearchServiceSoftwareUpdateAsync(CancelElasticsearchServiceSoftwareUpdateRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateElasticsearchDomain
///
/// Creates a new Elasticsearch domain. For more information, see Creating Elasticsearch Domains in the Amazon Elasticsearch
/// Service Developer Guide.
///
/// Container for the necessary parameters to execute the CreateElasticsearchDomain service method.
///
/// The response from the CreateElasticsearchDomain service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for trying to create or access sub-resource that is either invalid or
/// not supported. Gives http status code of 409.
///
///
/// An exception for trying to create more than allowed resources or sub-resources. Gives
/// http status code of 409.
///
///
/// An exception for creating a resource that already exists. Gives http status code of
/// 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for CreateElasticsearchDomain Operation
CreateElasticsearchDomainResponse CreateElasticsearchDomain(CreateElasticsearchDomainRequest request);
///
/// Creates a new Elasticsearch domain. For more information, see Creating Elasticsearch Domains in the Amazon Elasticsearch
/// Service Developer Guide.
///
/// Container for the necessary parameters to execute the CreateElasticsearchDomain service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateElasticsearchDomain service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for trying to create or access sub-resource that is either invalid or
/// not supported. Gives http status code of 409.
///
///
/// An exception for trying to create more than allowed resources or sub-resources. Gives
/// http status code of 409.
///
///
/// An exception for creating a resource that already exists. Gives http status code of
/// 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for CreateElasticsearchDomain Operation
Task CreateElasticsearchDomainAsync(CreateElasticsearchDomainRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateOutboundCrossClusterSearchConnection
///
/// Creates a new cross-cluster search connection from a source domain to a destination
/// domain.
///
/// Container for the necessary parameters to execute the CreateOutboundCrossClusterSearchConnection service method.
///
/// The response from the CreateOutboundCrossClusterSearchConnection service method, as returned by Elasticsearch.
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for trying to create more than allowed resources or sub-resources. Gives
/// http status code of 409.
///
///
/// An exception for creating a resource that already exists. Gives http status code of
/// 400.
///
/// REST API Reference for CreateOutboundCrossClusterSearchConnection Operation
CreateOutboundCrossClusterSearchConnectionResponse CreateOutboundCrossClusterSearchConnection(CreateOutboundCrossClusterSearchConnectionRequest request);
///
/// Creates a new cross-cluster search connection from a source domain to a destination
/// domain.
///
/// Container for the necessary parameters to execute the CreateOutboundCrossClusterSearchConnection service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateOutboundCrossClusterSearchConnection service method, as returned by Elasticsearch.
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for trying to create more than allowed resources or sub-resources. Gives
/// http status code of 409.
///
///
/// An exception for creating a resource that already exists. Gives http status code of
/// 400.
///
/// REST API Reference for CreateOutboundCrossClusterSearchConnection Operation
Task CreateOutboundCrossClusterSearchConnectionAsync(CreateOutboundCrossClusterSearchConnectionRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreatePackage
///
/// Create a package for use with Amazon ES domains.
///
/// Container for the necessary parameters to execute the CreatePackage service method.
///
/// The response from the CreatePackage service method, as returned by Elasticsearch.
///
/// An error occurred because user does not have permissions to access the resource. Returns
/// HTTP status code 403.
///
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for trying to create or access sub-resource that is either invalid or
/// not supported. Gives http status code of 409.
///
///
/// An exception for trying to create more than allowed resources or sub-resources. Gives
/// http status code of 409.
///
///
/// An exception for creating a resource that already exists. Gives http status code of
/// 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for CreatePackage Operation
CreatePackageResponse CreatePackage(CreatePackageRequest request);
///
/// Create a package for use with Amazon ES domains.
///
/// Container for the necessary parameters to execute the CreatePackage service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreatePackage service method, as returned by Elasticsearch.
///
/// An error occurred because user does not have permissions to access the resource. Returns
/// HTTP status code 403.
///
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for trying to create or access sub-resource that is either invalid or
/// not supported. Gives http status code of 409.
///
///
/// An exception for trying to create more than allowed resources or sub-resources. Gives
/// http status code of 409.
///
///
/// An exception for creating a resource that already exists. Gives http status code of
/// 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for CreatePackage Operation
Task CreatePackageAsync(CreatePackageRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateVpcEndpoint
///
/// Creates an Amazon OpenSearch Service-managed VPC endpoint.
///
/// Container for the necessary parameters to execute the CreateVpcEndpoint service method.
///
/// The response from the CreateVpcEndpoint service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// An error occurred because the client attempts to remove a resource that is currently
/// in use. Returns HTTP status code 409.
///
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for trying to create more than allowed resources or sub-resources. Gives
/// http status code of 409.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for CreateVpcEndpoint Operation
CreateVpcEndpointResponse CreateVpcEndpoint(CreateVpcEndpointRequest request);
///
/// Creates an Amazon OpenSearch Service-managed VPC endpoint.
///
/// Container for the necessary parameters to execute the CreateVpcEndpoint service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateVpcEndpoint service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// An error occurred because the client attempts to remove a resource that is currently
/// in use. Returns HTTP status code 409.
///
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for trying to create more than allowed resources or sub-resources. Gives
/// http status code of 409.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for CreateVpcEndpoint Operation
Task CreateVpcEndpointAsync(CreateVpcEndpointRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteElasticsearchDomain
///
/// Permanently deletes the specified Elasticsearch domain and all of its data. Once a
/// domain is deleted, it cannot be recovered.
///
/// Container for the necessary parameters to execute the DeleteElasticsearchDomain service method.
///
/// The response from the DeleteElasticsearchDomain service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for DeleteElasticsearchDomain Operation
DeleteElasticsearchDomainResponse DeleteElasticsearchDomain(DeleteElasticsearchDomainRequest request);
///
/// Permanently deletes the specified Elasticsearch domain and all of its data. Once a
/// domain is deleted, it cannot be recovered.
///
/// Container for the necessary parameters to execute the DeleteElasticsearchDomain service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteElasticsearchDomain service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for DeleteElasticsearchDomain Operation
Task DeleteElasticsearchDomainAsync(DeleteElasticsearchDomainRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteElasticsearchServiceRole
///
/// Deletes the service-linked role that Elasticsearch Service uses to manage and maintain
/// VPC domains. Role deletion will fail if any existing VPC domains use the role. You
/// must delete any such Elasticsearch domains before deleting the role. See Deleting Elasticsearch Service Role in VPC Endpoints for Amazon
/// Elasticsearch Service Domains.
///
/// Container for the necessary parameters to execute the DeleteElasticsearchServiceRole service method.
///
/// The response from the DeleteElasticsearchServiceRole service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for DeleteElasticsearchServiceRole Operation
DeleteElasticsearchServiceRoleResponse DeleteElasticsearchServiceRole(DeleteElasticsearchServiceRoleRequest request);
///
/// Deletes the service-linked role that Elasticsearch Service uses to manage and maintain
/// VPC domains. Role deletion will fail if any existing VPC domains use the role. You
/// must delete any such Elasticsearch domains before deleting the role. See Deleting Elasticsearch Service Role in VPC Endpoints for Amazon
/// Elasticsearch Service Domains.
///
/// Container for the necessary parameters to execute the DeleteElasticsearchServiceRole service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteElasticsearchServiceRole service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for DeleteElasticsearchServiceRole Operation
Task DeleteElasticsearchServiceRoleAsync(DeleteElasticsearchServiceRoleRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteInboundCrossClusterSearchConnection
///
/// Allows the destination domain owner to delete an existing inbound cross-cluster search
/// connection.
///
/// Container for the necessary parameters to execute the DeleteInboundCrossClusterSearchConnection service method.
///
/// The response from the DeleteInboundCrossClusterSearchConnection service method, as returned by Elasticsearch.
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
/// REST API Reference for DeleteInboundCrossClusterSearchConnection Operation
DeleteInboundCrossClusterSearchConnectionResponse DeleteInboundCrossClusterSearchConnection(DeleteInboundCrossClusterSearchConnectionRequest request);
///
/// Allows the destination domain owner to delete an existing inbound cross-cluster search
/// connection.
///
/// Container for the necessary parameters to execute the DeleteInboundCrossClusterSearchConnection service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteInboundCrossClusterSearchConnection service method, as returned by Elasticsearch.
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
/// REST API Reference for DeleteInboundCrossClusterSearchConnection Operation
Task DeleteInboundCrossClusterSearchConnectionAsync(DeleteInboundCrossClusterSearchConnectionRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteOutboundCrossClusterSearchConnection
///
/// Allows the source domain owner to delete an existing outbound cross-cluster search
/// connection.
///
/// Container for the necessary parameters to execute the DeleteOutboundCrossClusterSearchConnection service method.
///
/// The response from the DeleteOutboundCrossClusterSearchConnection service method, as returned by Elasticsearch.
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
/// REST API Reference for DeleteOutboundCrossClusterSearchConnection Operation
DeleteOutboundCrossClusterSearchConnectionResponse DeleteOutboundCrossClusterSearchConnection(DeleteOutboundCrossClusterSearchConnectionRequest request);
///
/// Allows the source domain owner to delete an existing outbound cross-cluster search
/// connection.
///
/// Container for the necessary parameters to execute the DeleteOutboundCrossClusterSearchConnection service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteOutboundCrossClusterSearchConnection service method, as returned by Elasticsearch.
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
/// REST API Reference for DeleteOutboundCrossClusterSearchConnection Operation
Task DeleteOutboundCrossClusterSearchConnectionAsync(DeleteOutboundCrossClusterSearchConnectionRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeletePackage
///
/// Delete the package.
///
/// Container for the necessary parameters to execute the DeletePackage service method.
///
/// The response from the DeletePackage service method, as returned by Elasticsearch.
///
/// An error occurred because user does not have permissions to access the resource. Returns
/// HTTP status code 403.
///
///
/// An error occurred while processing the request.
///
///
/// An error occurred because the client attempts to remove a resource that is currently
/// in use. Returns HTTP status code 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for DeletePackage Operation
DeletePackageResponse DeletePackage(DeletePackageRequest request);
///
/// Delete the package.
///
/// Container for the necessary parameters to execute the DeletePackage service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeletePackage service method, as returned by Elasticsearch.
///
/// An error occurred because user does not have permissions to access the resource. Returns
/// HTTP status code 403.
///
///
/// An error occurred while processing the request.
///
///
/// An error occurred because the client attempts to remove a resource that is currently
/// in use. Returns HTTP status code 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for DeletePackage Operation
Task DeletePackageAsync(DeletePackageRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteVpcEndpoint
///
/// Deletes an Amazon OpenSearch Service-managed interface VPC endpoint.
///
/// Container for the necessary parameters to execute the DeleteVpcEndpoint service method.
///
/// The response from the DeleteVpcEndpoint service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
/// REST API Reference for DeleteVpcEndpoint Operation
DeleteVpcEndpointResponse DeleteVpcEndpoint(DeleteVpcEndpointRequest request);
///
/// Deletes an Amazon OpenSearch Service-managed interface VPC endpoint.
///
/// Container for the necessary parameters to execute the DeleteVpcEndpoint service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteVpcEndpoint service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
/// REST API Reference for DeleteVpcEndpoint Operation
Task DeleteVpcEndpointAsync(DeleteVpcEndpointRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeDomainAutoTunes
///
/// Provides scheduled Auto-Tune action details for the Elasticsearch domain, such as
/// Auto-Tune action type, description, severity, and scheduled date.
///
/// Container for the necessary parameters to execute the DescribeDomainAutoTunes service method.
///
/// The response from the DescribeDomainAutoTunes service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for DescribeDomainAutoTunes Operation
DescribeDomainAutoTunesResponse DescribeDomainAutoTunes(DescribeDomainAutoTunesRequest request);
///
/// Provides scheduled Auto-Tune action details for the Elasticsearch domain, such as
/// Auto-Tune action type, description, severity, and scheduled date.
///
/// Container for the necessary parameters to execute the DescribeDomainAutoTunes service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeDomainAutoTunes service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for DescribeDomainAutoTunes Operation
Task DescribeDomainAutoTunesAsync(DescribeDomainAutoTunesRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeDomainChangeProgress
///
/// Returns information about the current blue/green deployment happening on a domain,
/// including a change ID, status, and progress stages.
///
/// Container for the necessary parameters to execute the DescribeDomainChangeProgress service method.
///
/// The response from the DescribeDomainChangeProgress service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for DescribeDomainChangeProgress Operation
DescribeDomainChangeProgressResponse DescribeDomainChangeProgress(DescribeDomainChangeProgressRequest request);
///
/// Returns information about the current blue/green deployment happening on a domain,
/// including a change ID, status, and progress stages.
///
/// Container for the necessary parameters to execute the DescribeDomainChangeProgress service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeDomainChangeProgress service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for DescribeDomainChangeProgress Operation
Task DescribeDomainChangeProgressAsync(DescribeDomainChangeProgressRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeElasticsearchDomain
///
/// Returns domain configuration information about the specified Elasticsearch domain,
/// including the domain ID, domain endpoint, and domain ARN.
///
/// Container for the necessary parameters to execute the DescribeElasticsearchDomain service method.
///
/// The response from the DescribeElasticsearchDomain service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for DescribeElasticsearchDomain Operation
DescribeElasticsearchDomainResponse DescribeElasticsearchDomain(DescribeElasticsearchDomainRequest request);
///
/// Returns domain configuration information about the specified Elasticsearch domain,
/// including the domain ID, domain endpoint, and domain ARN.
///
/// Container for the necessary parameters to execute the DescribeElasticsearchDomain service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeElasticsearchDomain service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for DescribeElasticsearchDomain Operation
Task DescribeElasticsearchDomainAsync(DescribeElasticsearchDomainRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeElasticsearchDomainConfig
///
/// Provides cluster configuration information about the specified Elasticsearch domain,
/// such as the state, creation date, update version, and update date for cluster options.
///
/// Container for the necessary parameters to execute the DescribeElasticsearchDomainConfig service method.
///
/// The response from the DescribeElasticsearchDomainConfig service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for DescribeElasticsearchDomainConfig Operation
DescribeElasticsearchDomainConfigResponse DescribeElasticsearchDomainConfig(DescribeElasticsearchDomainConfigRequest request);
///
/// Provides cluster configuration information about the specified Elasticsearch domain,
/// such as the state, creation date, update version, and update date for cluster options.
///
/// Container for the necessary parameters to execute the DescribeElasticsearchDomainConfig service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeElasticsearchDomainConfig service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for DescribeElasticsearchDomainConfig Operation
Task DescribeElasticsearchDomainConfigAsync(DescribeElasticsearchDomainConfigRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeElasticsearchDomains
///
/// Returns domain configuration information about the specified Elasticsearch domains,
/// including the domain ID, domain endpoint, and domain ARN.
///
/// Container for the necessary parameters to execute the DescribeElasticsearchDomains service method.
///
/// The response from the DescribeElasticsearchDomains service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for DescribeElasticsearchDomains Operation
DescribeElasticsearchDomainsResponse DescribeElasticsearchDomains(DescribeElasticsearchDomainsRequest request);
///
/// Returns domain configuration information about the specified Elasticsearch domains,
/// including the domain ID, domain endpoint, and domain ARN.
///
/// Container for the necessary parameters to execute the DescribeElasticsearchDomains service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeElasticsearchDomains service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for DescribeElasticsearchDomains Operation
Task DescribeElasticsearchDomainsAsync(DescribeElasticsearchDomainsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeElasticsearchInstanceTypeLimits
///
/// Describe Elasticsearch Limits for a given InstanceType and ElasticsearchVersion.
/// When modifying existing Domain, specify the DomainName
to know
/// what Limits are supported for modifying.
///
/// Container for the necessary parameters to execute the DescribeElasticsearchInstanceTypeLimits service method.
///
/// The response from the DescribeElasticsearchInstanceTypeLimits service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for trying to create or access sub-resource that is either invalid or
/// not supported. Gives http status code of 409.
///
///
/// An exception for trying to create more than allowed resources or sub-resources. Gives
/// http status code of 409.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for DescribeElasticsearchInstanceTypeLimits Operation
DescribeElasticsearchInstanceTypeLimitsResponse DescribeElasticsearchInstanceTypeLimits(DescribeElasticsearchInstanceTypeLimitsRequest request);
///
/// Describe Elasticsearch Limits for a given InstanceType and ElasticsearchVersion.
/// When modifying existing Domain, specify the DomainName
to know
/// what Limits are supported for modifying.
///
/// Container for the necessary parameters to execute the DescribeElasticsearchInstanceTypeLimits service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeElasticsearchInstanceTypeLimits service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for trying to create or access sub-resource that is either invalid or
/// not supported. Gives http status code of 409.
///
///
/// An exception for trying to create more than allowed resources or sub-resources. Gives
/// http status code of 409.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for DescribeElasticsearchInstanceTypeLimits Operation
Task DescribeElasticsearchInstanceTypeLimitsAsync(DescribeElasticsearchInstanceTypeLimitsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeInboundCrossClusterSearchConnections
///
/// Lists all the inbound cross-cluster search connections for a destination domain.
///
/// Container for the necessary parameters to execute the DescribeInboundCrossClusterSearchConnections service method.
///
/// The response from the DescribeInboundCrossClusterSearchConnections service method, as returned by Elasticsearch.
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of invalid pagination token provided by
/// customer. Returns an HTTP status code of 400.
///
/// REST API Reference for DescribeInboundCrossClusterSearchConnections Operation
DescribeInboundCrossClusterSearchConnectionsResponse DescribeInboundCrossClusterSearchConnections(DescribeInboundCrossClusterSearchConnectionsRequest request);
///
/// Lists all the inbound cross-cluster search connections for a destination domain.
///
/// Container for the necessary parameters to execute the DescribeInboundCrossClusterSearchConnections service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeInboundCrossClusterSearchConnections service method, as returned by Elasticsearch.
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of invalid pagination token provided by
/// customer. Returns an HTTP status code of 400.
///
/// REST API Reference for DescribeInboundCrossClusterSearchConnections Operation
Task DescribeInboundCrossClusterSearchConnectionsAsync(DescribeInboundCrossClusterSearchConnectionsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeOutboundCrossClusterSearchConnections
///
/// Lists all the outbound cross-cluster search connections for a source domain.
///
/// Container for the necessary parameters to execute the DescribeOutboundCrossClusterSearchConnections service method.
///
/// The response from the DescribeOutboundCrossClusterSearchConnections service method, as returned by Elasticsearch.
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of invalid pagination token provided by
/// customer. Returns an HTTP status code of 400.
///
/// REST API Reference for DescribeOutboundCrossClusterSearchConnections Operation
DescribeOutboundCrossClusterSearchConnectionsResponse DescribeOutboundCrossClusterSearchConnections(DescribeOutboundCrossClusterSearchConnectionsRequest request);
///
/// Lists all the outbound cross-cluster search connections for a source domain.
///
/// Container for the necessary parameters to execute the DescribeOutboundCrossClusterSearchConnections service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeOutboundCrossClusterSearchConnections service method, as returned by Elasticsearch.
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of invalid pagination token provided by
/// customer. Returns an HTTP status code of 400.
///
/// REST API Reference for DescribeOutboundCrossClusterSearchConnections Operation
Task DescribeOutboundCrossClusterSearchConnectionsAsync(DescribeOutboundCrossClusterSearchConnectionsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribePackages
///
/// Describes all packages available to Amazon ES. Includes options for filtering, limiting
/// the number of results, and pagination.
///
/// Container for the necessary parameters to execute the DescribePackages service method.
///
/// The response from the DescribePackages service method, as returned by Elasticsearch.
///
/// An error occurred because user does not have permissions to access the resource. Returns
/// HTTP status code 403.
///
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for DescribePackages Operation
DescribePackagesResponse DescribePackages(DescribePackagesRequest request);
///
/// Describes all packages available to Amazon ES. Includes options for filtering, limiting
/// the number of results, and pagination.
///
/// Container for the necessary parameters to execute the DescribePackages service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribePackages service method, as returned by Elasticsearch.
///
/// An error occurred because user does not have permissions to access the resource. Returns
/// HTTP status code 403.
///
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for DescribePackages Operation
Task DescribePackagesAsync(DescribePackagesRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeReservedElasticsearchInstanceOfferings
///
/// Lists available reserved Elasticsearch instance offerings.
///
/// Container for the necessary parameters to execute the DescribeReservedElasticsearchInstanceOfferings service method.
///
/// The response from the DescribeReservedElasticsearchInstanceOfferings service method, as returned by Elasticsearch.
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for DescribeReservedElasticsearchInstanceOfferings Operation
DescribeReservedElasticsearchInstanceOfferingsResponse DescribeReservedElasticsearchInstanceOfferings(DescribeReservedElasticsearchInstanceOfferingsRequest request);
///
/// Lists available reserved Elasticsearch instance offerings.
///
/// Container for the necessary parameters to execute the DescribeReservedElasticsearchInstanceOfferings service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeReservedElasticsearchInstanceOfferings service method, as returned by Elasticsearch.
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for DescribeReservedElasticsearchInstanceOfferings Operation
Task DescribeReservedElasticsearchInstanceOfferingsAsync(DescribeReservedElasticsearchInstanceOfferingsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeReservedElasticsearchInstances
///
/// Returns information about reserved Elasticsearch instances for this account.
///
/// Container for the necessary parameters to execute the DescribeReservedElasticsearchInstances service method.
///
/// The response from the DescribeReservedElasticsearchInstances service method, as returned by Elasticsearch.
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for DescribeReservedElasticsearchInstances Operation
DescribeReservedElasticsearchInstancesResponse DescribeReservedElasticsearchInstances(DescribeReservedElasticsearchInstancesRequest request);
///
/// Returns information about reserved Elasticsearch instances for this account.
///
/// Container for the necessary parameters to execute the DescribeReservedElasticsearchInstances service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeReservedElasticsearchInstances service method, as returned by Elasticsearch.
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for DescribeReservedElasticsearchInstances Operation
Task DescribeReservedElasticsearchInstancesAsync(DescribeReservedElasticsearchInstancesRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeVpcEndpoints
///
/// Describes one or more Amazon OpenSearch Service-managed VPC endpoints.
///
/// Container for the necessary parameters to execute the DescribeVpcEndpoints service method.
///
/// The response from the DescribeVpcEndpoints service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for DescribeVpcEndpoints Operation
DescribeVpcEndpointsResponse DescribeVpcEndpoints(DescribeVpcEndpointsRequest request);
///
/// Describes one or more Amazon OpenSearch Service-managed VPC endpoints.
///
/// Container for the necessary parameters to execute the DescribeVpcEndpoints service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeVpcEndpoints service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for DescribeVpcEndpoints Operation
Task DescribeVpcEndpointsAsync(DescribeVpcEndpointsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DissociatePackage
///
/// Dissociates a package from the Amazon ES domain.
///
/// Container for the necessary parameters to execute the DissociatePackage service method.
///
/// The response from the DissociatePackage service method, as returned by Elasticsearch.
///
/// An error occurred because user does not have permissions to access the resource. Returns
/// HTTP status code 403.
///
///
/// An error occurred while processing the request.
///
///
/// An error occurred because the client attempts to remove a resource that is currently
/// in use. Returns HTTP status code 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for DissociatePackage Operation
DissociatePackageResponse DissociatePackage(DissociatePackageRequest request);
///
/// Dissociates a package from the Amazon ES domain.
///
/// Container for the necessary parameters to execute the DissociatePackage service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DissociatePackage service method, as returned by Elasticsearch.
///
/// An error occurred because user does not have permissions to access the resource. Returns
/// HTTP status code 403.
///
///
/// An error occurred while processing the request.
///
///
/// An error occurred because the client attempts to remove a resource that is currently
/// in use. Returns HTTP status code 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for DissociatePackage Operation
Task DissociatePackageAsync(DissociatePackageRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetCompatibleElasticsearchVersions
///
/// Returns a list of upgrade compatible Elastisearch versions. You can optionally pass
/// a DomainName
to get all upgrade compatible Elasticsearch versions
/// for that specific domain.
///
/// Container for the necessary parameters to execute the GetCompatibleElasticsearchVersions service method.
///
/// The response from the GetCompatibleElasticsearchVersions service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for GetCompatibleElasticsearchVersions Operation
GetCompatibleElasticsearchVersionsResponse GetCompatibleElasticsearchVersions(GetCompatibleElasticsearchVersionsRequest request);
///
/// Returns a list of upgrade compatible Elastisearch versions. You can optionally pass
/// a DomainName
to get all upgrade compatible Elasticsearch versions
/// for that specific domain.
///
/// Container for the necessary parameters to execute the GetCompatibleElasticsearchVersions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetCompatibleElasticsearchVersions service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for GetCompatibleElasticsearchVersions Operation
Task GetCompatibleElasticsearchVersionsAsync(GetCompatibleElasticsearchVersionsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetPackageVersionHistory
///
/// Returns a list of versions of the package, along with their creation time and commit
/// message.
///
/// Container for the necessary parameters to execute the GetPackageVersionHistory service method.
///
/// The response from the GetPackageVersionHistory service method, as returned by Elasticsearch.
///
/// An error occurred because user does not have permissions to access the resource. Returns
/// HTTP status code 403.
///
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for GetPackageVersionHistory Operation
GetPackageVersionHistoryResponse GetPackageVersionHistory(GetPackageVersionHistoryRequest request);
///
/// Returns a list of versions of the package, along with their creation time and commit
/// message.
///
/// Container for the necessary parameters to execute the GetPackageVersionHistory service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetPackageVersionHistory service method, as returned by Elasticsearch.
///
/// An error occurred because user does not have permissions to access the resource. Returns
/// HTTP status code 403.
///
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for GetPackageVersionHistory Operation
Task GetPackageVersionHistoryAsync(GetPackageVersionHistoryRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetUpgradeHistory
///
/// Retrieves the complete history of the last 10 upgrades that were performed on the
/// domain.
///
/// Container for the necessary parameters to execute the GetUpgradeHistory service method.
///
/// The response from the GetUpgradeHistory service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for GetUpgradeHistory Operation
GetUpgradeHistoryResponse GetUpgradeHistory(GetUpgradeHistoryRequest request);
///
/// Retrieves the complete history of the last 10 upgrades that were performed on the
/// domain.
///
/// Container for the necessary parameters to execute the GetUpgradeHistory service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetUpgradeHistory service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for GetUpgradeHistory Operation
Task GetUpgradeHistoryAsync(GetUpgradeHistoryRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetUpgradeStatus
///
/// Retrieves the latest status of the last upgrade or upgrade eligibility check that
/// was performed on the domain.
///
/// Container for the necessary parameters to execute the GetUpgradeStatus service method.
///
/// The response from the GetUpgradeStatus service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for GetUpgradeStatus Operation
GetUpgradeStatusResponse GetUpgradeStatus(GetUpgradeStatusRequest request);
///
/// Retrieves the latest status of the last upgrade or upgrade eligibility check that
/// was performed on the domain.
///
/// Container for the necessary parameters to execute the GetUpgradeStatus service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetUpgradeStatus service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for GetUpgradeStatus Operation
Task GetUpgradeStatusAsync(GetUpgradeStatusRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListDomainNames
///
/// Returns the name of all Elasticsearch domains owned by the current user's account.
///
/// Container for the necessary parameters to execute the ListDomainNames service method.
///
/// The response from the ListDomainNames service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for ListDomainNames Operation
ListDomainNamesResponse ListDomainNames(ListDomainNamesRequest request);
///
/// Returns the name of all Elasticsearch domains owned by the current user's account.
///
/// Container for the necessary parameters to execute the ListDomainNames service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListDomainNames service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for ListDomainNames Operation
Task ListDomainNamesAsync(ListDomainNamesRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListDomainsForPackage
///
/// Lists all Amazon ES domains associated with the package.
///
/// Container for the necessary parameters to execute the ListDomainsForPackage service method.
///
/// The response from the ListDomainsForPackage service method, as returned by Elasticsearch.
///
/// An error occurred because user does not have permissions to access the resource. Returns
/// HTTP status code 403.
///
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for ListDomainsForPackage Operation
ListDomainsForPackageResponse ListDomainsForPackage(ListDomainsForPackageRequest request);
///
/// Lists all Amazon ES domains associated with the package.
///
/// Container for the necessary parameters to execute the ListDomainsForPackage service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListDomainsForPackage service method, as returned by Elasticsearch.
///
/// An error occurred because user does not have permissions to access the resource. Returns
/// HTTP status code 403.
///
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for ListDomainsForPackage Operation
Task ListDomainsForPackageAsync(ListDomainsForPackageRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListElasticsearchInstanceTypes
///
/// List all Elasticsearch instance types that are supported for given ElasticsearchVersion
///
/// Container for the necessary parameters to execute the ListElasticsearchInstanceTypes service method.
///
/// The response from the ListElasticsearchInstanceTypes service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for ListElasticsearchInstanceTypes Operation
ListElasticsearchInstanceTypesResponse ListElasticsearchInstanceTypes(ListElasticsearchInstanceTypesRequest request);
///
/// List all Elasticsearch instance types that are supported for given ElasticsearchVersion
///
/// Container for the necessary parameters to execute the ListElasticsearchInstanceTypes service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListElasticsearchInstanceTypes service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for ListElasticsearchInstanceTypes Operation
Task ListElasticsearchInstanceTypesAsync(ListElasticsearchInstanceTypesRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListElasticsearchVersions
///
/// List all supported Elasticsearch versions
///
/// Container for the necessary parameters to execute the ListElasticsearchVersions service method.
///
/// The response from the ListElasticsearchVersions service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for ListElasticsearchVersions Operation
ListElasticsearchVersionsResponse ListElasticsearchVersions(ListElasticsearchVersionsRequest request);
///
/// List all supported Elasticsearch versions
///
/// Container for the necessary parameters to execute the ListElasticsearchVersions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListElasticsearchVersions service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for ListElasticsearchVersions Operation
Task ListElasticsearchVersionsAsync(ListElasticsearchVersionsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListPackagesForDomain
///
/// Lists all packages associated with the Amazon ES domain.
///
/// Container for the necessary parameters to execute the ListPackagesForDomain service method.
///
/// The response from the ListPackagesForDomain service method, as returned by Elasticsearch.
///
/// An error occurred because user does not have permissions to access the resource. Returns
/// HTTP status code 403.
///
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for ListPackagesForDomain Operation
ListPackagesForDomainResponse ListPackagesForDomain(ListPackagesForDomainRequest request);
///
/// Lists all packages associated with the Amazon ES domain.
///
/// Container for the necessary parameters to execute the ListPackagesForDomain service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListPackagesForDomain service method, as returned by Elasticsearch.
///
/// An error occurred because user does not have permissions to access the resource. Returns
/// HTTP status code 403.
///
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for ListPackagesForDomain Operation
Task ListPackagesForDomainAsync(ListPackagesForDomainRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTags
///
/// Returns all tags for the given Elasticsearch domain.
///
/// Container for the necessary parameters to execute the ListTags service method.
///
/// The response from the ListTags service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for ListTags Operation
ListTagsResponse ListTags(ListTagsRequest request);
///
/// Returns all tags for the given Elasticsearch domain.
///
/// Container for the necessary parameters to execute the ListTags service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTags service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for ListTags Operation
Task ListTagsAsync(ListTagsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListVpcEndpointAccess
///
/// Retrieves information about each principal that is allowed to access a given Amazon
/// OpenSearch Service domain through the use of an interface VPC endpoint.
///
/// Container for the necessary parameters to execute the ListVpcEndpointAccess service method.
///
/// The response from the ListVpcEndpointAccess service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
/// REST API Reference for ListVpcEndpointAccess Operation
ListVpcEndpointAccessResponse ListVpcEndpointAccess(ListVpcEndpointAccessRequest request);
///
/// Retrieves information about each principal that is allowed to access a given Amazon
/// OpenSearch Service domain through the use of an interface VPC endpoint.
///
/// Container for the necessary parameters to execute the ListVpcEndpointAccess service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListVpcEndpointAccess service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
/// REST API Reference for ListVpcEndpointAccess Operation
Task ListVpcEndpointAccessAsync(ListVpcEndpointAccessRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListVpcEndpoints
///
/// Retrieves all Amazon OpenSearch Service-managed VPC endpoints in the current account
/// and Region.
///
/// Container for the necessary parameters to execute the ListVpcEndpoints service method.
///
/// The response from the ListVpcEndpoints service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
/// REST API Reference for ListVpcEndpoints Operation
ListVpcEndpointsResponse ListVpcEndpoints(ListVpcEndpointsRequest request);
///
/// Retrieves all Amazon OpenSearch Service-managed VPC endpoints in the current account
/// and Region.
///
/// Container for the necessary parameters to execute the ListVpcEndpoints service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListVpcEndpoints service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
/// REST API Reference for ListVpcEndpoints Operation
Task ListVpcEndpointsAsync(ListVpcEndpointsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListVpcEndpointsForDomain
///
/// Retrieves all Amazon OpenSearch Service-managed VPC endpoints associated with a particular
/// domain.
///
/// Container for the necessary parameters to execute the ListVpcEndpointsForDomain service method.
///
/// The response from the ListVpcEndpointsForDomain service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
/// REST API Reference for ListVpcEndpointsForDomain Operation
ListVpcEndpointsForDomainResponse ListVpcEndpointsForDomain(ListVpcEndpointsForDomainRequest request);
///
/// Retrieves all Amazon OpenSearch Service-managed VPC endpoints associated with a particular
/// domain.
///
/// Container for the necessary parameters to execute the ListVpcEndpointsForDomain service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListVpcEndpointsForDomain service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
/// REST API Reference for ListVpcEndpointsForDomain Operation
Task ListVpcEndpointsForDomainAsync(ListVpcEndpointsForDomainRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region PurchaseReservedElasticsearchInstanceOffering
///
/// Allows you to purchase reserved Elasticsearch instances.
///
/// Container for the necessary parameters to execute the PurchaseReservedElasticsearchInstanceOffering service method.
///
/// The response from the PurchaseReservedElasticsearchInstanceOffering service method, as returned by Elasticsearch.
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for trying to create more than allowed resources or sub-resources. Gives
/// http status code of 409.
///
///
/// An exception for creating a resource that already exists. Gives http status code of
/// 400.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for PurchaseReservedElasticsearchInstanceOffering Operation
PurchaseReservedElasticsearchInstanceOfferingResponse PurchaseReservedElasticsearchInstanceOffering(PurchaseReservedElasticsearchInstanceOfferingRequest request);
///
/// Allows you to purchase reserved Elasticsearch instances.
///
/// Container for the necessary parameters to execute the PurchaseReservedElasticsearchInstanceOffering service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the PurchaseReservedElasticsearchInstanceOffering service method, as returned by Elasticsearch.
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for trying to create more than allowed resources or sub-resources. Gives
/// http status code of 409.
///
///
/// An exception for creating a resource that already exists. Gives http status code of
/// 400.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for PurchaseReservedElasticsearchInstanceOffering Operation
Task PurchaseReservedElasticsearchInstanceOfferingAsync(PurchaseReservedElasticsearchInstanceOfferingRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region RejectInboundCrossClusterSearchConnection
///
/// Allows the destination domain owner to reject an inbound cross-cluster search connection
/// request.
///
/// Container for the necessary parameters to execute the RejectInboundCrossClusterSearchConnection service method.
///
/// The response from the RejectInboundCrossClusterSearchConnection service method, as returned by Elasticsearch.
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
/// REST API Reference for RejectInboundCrossClusterSearchConnection Operation
RejectInboundCrossClusterSearchConnectionResponse RejectInboundCrossClusterSearchConnection(RejectInboundCrossClusterSearchConnectionRequest request);
///
/// Allows the destination domain owner to reject an inbound cross-cluster search connection
/// request.
///
/// Container for the necessary parameters to execute the RejectInboundCrossClusterSearchConnection service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RejectInboundCrossClusterSearchConnection service method, as returned by Elasticsearch.
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
/// REST API Reference for RejectInboundCrossClusterSearchConnection Operation
Task RejectInboundCrossClusterSearchConnectionAsync(RejectInboundCrossClusterSearchConnectionRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region RemoveTags
///
/// Removes the specified set of tags from the specified Elasticsearch domain.
///
/// Container for the necessary parameters to execute the RemoveTags service method.
///
/// The response from the RemoveTags service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for RemoveTags Operation
RemoveTagsResponse RemoveTags(RemoveTagsRequest request);
///
/// Removes the specified set of tags from the specified Elasticsearch domain.
///
/// Container for the necessary parameters to execute the RemoveTags service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RemoveTags service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for RemoveTags Operation
Task RemoveTagsAsync(RemoveTagsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region RevokeVpcEndpointAccess
///
/// Revokes access to an Amazon OpenSearch Service domain that was provided through an
/// interface VPC endpoint.
///
/// Container for the necessary parameters to execute the RevokeVpcEndpointAccess service method.
///
/// The response from the RevokeVpcEndpointAccess service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for RevokeVpcEndpointAccess Operation
RevokeVpcEndpointAccessResponse RevokeVpcEndpointAccess(RevokeVpcEndpointAccessRequest request);
///
/// Revokes access to an Amazon OpenSearch Service domain that was provided through an
/// interface VPC endpoint.
///
/// Container for the necessary parameters to execute the RevokeVpcEndpointAccess service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RevokeVpcEndpointAccess service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for RevokeVpcEndpointAccess Operation
Task RevokeVpcEndpointAccessAsync(RevokeVpcEndpointAccessRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartElasticsearchServiceSoftwareUpdate
///
/// Schedules a service software update for an Amazon ES domain.
///
/// Container for the necessary parameters to execute the StartElasticsearchServiceSoftwareUpdate service method.
///
/// The response from the StartElasticsearchServiceSoftwareUpdate service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for StartElasticsearchServiceSoftwareUpdate Operation
StartElasticsearchServiceSoftwareUpdateResponse StartElasticsearchServiceSoftwareUpdate(StartElasticsearchServiceSoftwareUpdateRequest request);
///
/// Schedules a service software update for an Amazon ES domain.
///
/// Container for the necessary parameters to execute the StartElasticsearchServiceSoftwareUpdate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartElasticsearchServiceSoftwareUpdate service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for StartElasticsearchServiceSoftwareUpdate Operation
Task StartElasticsearchServiceSoftwareUpdateAsync(StartElasticsearchServiceSoftwareUpdateRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateElasticsearchDomainConfig
///
/// Modifies the cluster configuration of the specified Elasticsearch domain, setting
/// as setting the instance type and the number of instances.
///
/// Container for the necessary parameters to execute the UpdateElasticsearchDomainConfig service method.
///
/// The response from the UpdateElasticsearchDomainConfig service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for trying to create or access sub-resource that is either invalid or
/// not supported. Gives http status code of 409.
///
///
/// An exception for trying to create more than allowed resources or sub-resources. Gives
/// http status code of 409.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for UpdateElasticsearchDomainConfig Operation
UpdateElasticsearchDomainConfigResponse UpdateElasticsearchDomainConfig(UpdateElasticsearchDomainConfigRequest request);
///
/// Modifies the cluster configuration of the specified Elasticsearch domain, setting
/// as setting the instance type and the number of instances.
///
/// Container for the necessary parameters to execute the UpdateElasticsearchDomainConfig service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateElasticsearchDomainConfig service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for trying to create or access sub-resource that is either invalid or
/// not supported. Gives http status code of 409.
///
///
/// An exception for trying to create more than allowed resources or sub-resources. Gives
/// http status code of 409.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for UpdateElasticsearchDomainConfig Operation
Task UpdateElasticsearchDomainConfigAsync(UpdateElasticsearchDomainConfigRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdatePackage
///
/// Updates a package for use with Amazon ES domains.
///
/// Container for the necessary parameters to execute the UpdatePackage service method.
///
/// The response from the UpdatePackage service method, as returned by Elasticsearch.
///
/// An error occurred because user does not have permissions to access the resource. Returns
/// HTTP status code 403.
///
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for trying to create more than allowed resources or sub-resources. Gives
/// http status code of 409.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for UpdatePackage Operation
UpdatePackageResponse UpdatePackage(UpdatePackageRequest request);
///
/// Updates a package for use with Amazon ES domains.
///
/// Container for the necessary parameters to execute the UpdatePackage service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdatePackage service method, as returned by Elasticsearch.
///
/// An error occurred because user does not have permissions to access the resource. Returns
/// HTTP status code 403.
///
///
/// An error occurred while processing the request.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for trying to create more than allowed resources or sub-resources. Gives
/// http status code of 409.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for UpdatePackage Operation
Task UpdatePackageAsync(UpdatePackageRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateVpcEndpoint
///
/// Modifies an Amazon OpenSearch Service-managed interface VPC endpoint.
///
/// Container for the necessary parameters to execute the UpdateVpcEndpoint service method.
///
/// The response from the UpdateVpcEndpoint service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// An error occurred because the client attempts to remove a resource that is currently
/// in use. Returns HTTP status code 409.
///
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for UpdateVpcEndpoint Operation
UpdateVpcEndpointResponse UpdateVpcEndpoint(UpdateVpcEndpointRequest request);
///
/// Modifies an Amazon OpenSearch Service-managed interface VPC endpoint.
///
/// Container for the necessary parameters to execute the UpdateVpcEndpoint service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateVpcEndpoint service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// An error occurred because the client attempts to remove a resource that is currently
/// in use. Returns HTTP status code 409.
///
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for UpdateVpcEndpoint Operation
Task UpdateVpcEndpointAsync(UpdateVpcEndpointRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpgradeElasticsearchDomain
///
/// Allows you to either upgrade your domain or perform an Upgrade eligibility check to
/// a compatible Elasticsearch version.
///
/// Container for the necessary parameters to execute the UpgradeElasticsearchDomain service method.
///
/// The response from the UpgradeElasticsearchDomain service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for creating a resource that already exists. Gives http status code of
/// 400.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for UpgradeElasticsearchDomain Operation
UpgradeElasticsearchDomainResponse UpgradeElasticsearchDomain(UpgradeElasticsearchDomainRequest request);
///
/// Allows you to either upgrade your domain or perform an Upgrade eligibility check to
/// a compatible Elasticsearch version.
///
/// Container for the necessary parameters to execute the UpgradeElasticsearchDomain service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpgradeElasticsearchDomain service method, as returned by Elasticsearch.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access a not supported operation. Gives
/// http status code of 409.
///
///
/// The request processing has failed because of an unknown error, exception or failure
/// (the failure is internal to the service) . Gives http status code of 500.
///
///
/// An exception for creating a resource that already exists. Gives http status code of
/// 400.
///
///
/// An exception for accessing or deleting a resource that does not exist. Gives http
/// status code of 400.
///
///
/// An exception for missing / invalid input fields. Gives http status code of 400.
///
/// REST API Reference for UpgradeElasticsearchDomain Operation
Task UpgradeElasticsearchDomainAsync(UpgradeElasticsearchDomainRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
}