/* * 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.Runtime.ExceptionServices; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using System.Net; using Amazon.Elasticsearch.Model; using Amazon.Elasticsearch.Model.Internal.MarshallTransformations; using Amazon.Elasticsearch.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.Elasticsearch { /// /// Implementation 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 class AmazonElasticsearchClient : AmazonServiceClient, IAmazonElasticsearch { private static IServiceMetadata serviceMetadata = new AmazonElasticsearchMetadata(); private IElasticsearchPaginatorFactory _paginators; /// /// Paginators for the service /// public IElasticsearchPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new ElasticsearchPaginatorFactory(this); } return this._paginators; } } #region Constructors /// /// Constructs AmazonElasticsearchClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// public AmazonElasticsearchClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonElasticsearchConfig()) { } /// /// Constructs AmazonElasticsearchClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// /// The region to connect. public AmazonElasticsearchClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonElasticsearchConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonElasticsearchClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// /// The AmazonElasticsearchClient Configuration Object public AmazonElasticsearchClient(AmazonElasticsearchConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonElasticsearchClient with AWS Credentials /// /// AWS Credentials public AmazonElasticsearchClient(AWSCredentials credentials) : this(credentials, new AmazonElasticsearchConfig()) { } /// /// Constructs AmazonElasticsearchClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonElasticsearchClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonElasticsearchConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonElasticsearchClient with AWS Credentials and an /// AmazonElasticsearchClient Configuration object. /// /// AWS Credentials /// The AmazonElasticsearchClient Configuration Object public AmazonElasticsearchClient(AWSCredentials credentials, AmazonElasticsearchConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonElasticsearchClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonElasticsearchClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonElasticsearchConfig()) { } /// /// Constructs AmazonElasticsearchClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonElasticsearchClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonElasticsearchConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonElasticsearchClient with AWS Access Key ID, AWS Secret Key and an /// AmazonElasticsearchClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonElasticsearchClient Configuration Object public AmazonElasticsearchClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonElasticsearchConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonElasticsearchClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonElasticsearchClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonElasticsearchConfig()) { } /// /// Constructs AmazonElasticsearchClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The region to connect. public AmazonElasticsearchClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonElasticsearchConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonElasticsearchClient with AWS Access Key ID, AWS Secret Key and an /// AmazonElasticsearchClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonElasticsearchClient Configuration Object public AmazonElasticsearchClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonElasticsearchConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #region Overrides /// /// Creates the signer for the service. /// protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// /// Customize the pipeline /// /// protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler(); pipeline.AddHandlerAfter(new AmazonElasticsearchEndpointResolver()); } /// /// Capture metadata for the service. /// protected override IServiceMetadata ServiceMetadata { get { return serviceMetadata; } } #endregion #region Dispose /// /// Disposes the service client. /// protected override void Dispose(bool disposing) { base.Dispose(disposing); } #endregion #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 public virtual AcceptInboundCrossClusterSearchConnectionResponse AcceptInboundCrossClusterSearchConnection(AcceptInboundCrossClusterSearchConnectionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AcceptInboundCrossClusterSearchConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = AcceptInboundCrossClusterSearchConnectionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task AcceptInboundCrossClusterSearchConnectionAsync(AcceptInboundCrossClusterSearchConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AcceptInboundCrossClusterSearchConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = AcceptInboundCrossClusterSearchConnectionResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual AddTagsResponse AddTags(AddTagsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AddTagsRequestMarshaller.Instance; options.ResponseUnmarshaller = AddTagsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task AddTagsAsync(AddTagsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AddTagsRequestMarshaller.Instance; options.ResponseUnmarshaller = AddTagsResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual AssociatePackageResponse AssociatePackage(AssociatePackageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociatePackageRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociatePackageResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task AssociatePackageAsync(AssociatePackageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociatePackageRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociatePackageResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual AuthorizeVpcEndpointAccessResponse AuthorizeVpcEndpointAccess(AuthorizeVpcEndpointAccessRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AuthorizeVpcEndpointAccessRequestMarshaller.Instance; options.ResponseUnmarshaller = AuthorizeVpcEndpointAccessResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task AuthorizeVpcEndpointAccessAsync(AuthorizeVpcEndpointAccessRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AuthorizeVpcEndpointAccessRequestMarshaller.Instance; options.ResponseUnmarshaller = AuthorizeVpcEndpointAccessResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual CancelElasticsearchServiceSoftwareUpdateResponse CancelElasticsearchServiceSoftwareUpdate(CancelElasticsearchServiceSoftwareUpdateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CancelElasticsearchServiceSoftwareUpdateRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelElasticsearchServiceSoftwareUpdateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task CancelElasticsearchServiceSoftwareUpdateAsync(CancelElasticsearchServiceSoftwareUpdateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CancelElasticsearchServiceSoftwareUpdateRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelElasticsearchServiceSoftwareUpdateResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual CreateElasticsearchDomainResponse CreateElasticsearchDomain(CreateElasticsearchDomainRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateElasticsearchDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateElasticsearchDomainResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task CreateElasticsearchDomainAsync(CreateElasticsearchDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateElasticsearchDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateElasticsearchDomainResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual CreateOutboundCrossClusterSearchConnectionResponse CreateOutboundCrossClusterSearchConnection(CreateOutboundCrossClusterSearchConnectionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateOutboundCrossClusterSearchConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateOutboundCrossClusterSearchConnectionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task CreateOutboundCrossClusterSearchConnectionAsync(CreateOutboundCrossClusterSearchConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateOutboundCrossClusterSearchConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateOutboundCrossClusterSearchConnectionResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual CreatePackageResponse CreatePackage(CreatePackageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreatePackageRequestMarshaller.Instance; options.ResponseUnmarshaller = CreatePackageResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task CreatePackageAsync(CreatePackageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreatePackageRequestMarshaller.Instance; options.ResponseUnmarshaller = CreatePackageResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual CreateVpcEndpointResponse CreateVpcEndpoint(CreateVpcEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVpcEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVpcEndpointResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task CreateVpcEndpointAsync(CreateVpcEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVpcEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVpcEndpointResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual DeleteElasticsearchDomainResponse DeleteElasticsearchDomain(DeleteElasticsearchDomainRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteElasticsearchDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteElasticsearchDomainResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DeleteElasticsearchDomainAsync(DeleteElasticsearchDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteElasticsearchDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteElasticsearchDomainResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual DeleteElasticsearchServiceRoleResponse DeleteElasticsearchServiceRole(DeleteElasticsearchServiceRoleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteElasticsearchServiceRoleRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteElasticsearchServiceRoleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DeleteElasticsearchServiceRoleAsync(DeleteElasticsearchServiceRoleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteElasticsearchServiceRoleRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteElasticsearchServiceRoleResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual DeleteInboundCrossClusterSearchConnectionResponse DeleteInboundCrossClusterSearchConnection(DeleteInboundCrossClusterSearchConnectionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteInboundCrossClusterSearchConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteInboundCrossClusterSearchConnectionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DeleteInboundCrossClusterSearchConnectionAsync(DeleteInboundCrossClusterSearchConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteInboundCrossClusterSearchConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteInboundCrossClusterSearchConnectionResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual DeleteOutboundCrossClusterSearchConnectionResponse DeleteOutboundCrossClusterSearchConnection(DeleteOutboundCrossClusterSearchConnectionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteOutboundCrossClusterSearchConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteOutboundCrossClusterSearchConnectionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DeleteOutboundCrossClusterSearchConnectionAsync(DeleteOutboundCrossClusterSearchConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteOutboundCrossClusterSearchConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteOutboundCrossClusterSearchConnectionResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual DeletePackageResponse DeletePackage(DeletePackageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePackageRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePackageResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DeletePackageAsync(DeletePackageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePackageRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePackageResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual DeleteVpcEndpointResponse DeleteVpcEndpoint(DeleteVpcEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVpcEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVpcEndpointResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DeleteVpcEndpointAsync(DeleteVpcEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVpcEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVpcEndpointResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual DescribeDomainAutoTunesResponse DescribeDomainAutoTunes(DescribeDomainAutoTunesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDomainAutoTunesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDomainAutoTunesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DescribeDomainAutoTunesAsync(DescribeDomainAutoTunesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDomainAutoTunesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDomainAutoTunesResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual DescribeDomainChangeProgressResponse DescribeDomainChangeProgress(DescribeDomainChangeProgressRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDomainChangeProgressRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDomainChangeProgressResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DescribeDomainChangeProgressAsync(DescribeDomainChangeProgressRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDomainChangeProgressRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDomainChangeProgressResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual DescribeElasticsearchDomainResponse DescribeElasticsearchDomain(DescribeElasticsearchDomainRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeElasticsearchDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeElasticsearchDomainResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DescribeElasticsearchDomainAsync(DescribeElasticsearchDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeElasticsearchDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeElasticsearchDomainResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual DescribeElasticsearchDomainConfigResponse DescribeElasticsearchDomainConfig(DescribeElasticsearchDomainConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeElasticsearchDomainConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeElasticsearchDomainConfigResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DescribeElasticsearchDomainConfigAsync(DescribeElasticsearchDomainConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeElasticsearchDomainConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeElasticsearchDomainConfigResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual DescribeElasticsearchDomainsResponse DescribeElasticsearchDomains(DescribeElasticsearchDomainsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeElasticsearchDomainsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeElasticsearchDomainsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DescribeElasticsearchDomainsAsync(DescribeElasticsearchDomainsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeElasticsearchDomainsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeElasticsearchDomainsResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual DescribeElasticsearchInstanceTypeLimitsResponse DescribeElasticsearchInstanceTypeLimits(DescribeElasticsearchInstanceTypeLimitsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeElasticsearchInstanceTypeLimitsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeElasticsearchInstanceTypeLimitsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DescribeElasticsearchInstanceTypeLimitsAsync(DescribeElasticsearchInstanceTypeLimitsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeElasticsearchInstanceTypeLimitsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeElasticsearchInstanceTypeLimitsResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual DescribeInboundCrossClusterSearchConnectionsResponse DescribeInboundCrossClusterSearchConnections(DescribeInboundCrossClusterSearchConnectionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeInboundCrossClusterSearchConnectionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeInboundCrossClusterSearchConnectionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DescribeInboundCrossClusterSearchConnectionsAsync(DescribeInboundCrossClusterSearchConnectionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeInboundCrossClusterSearchConnectionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeInboundCrossClusterSearchConnectionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual DescribeOutboundCrossClusterSearchConnectionsResponse DescribeOutboundCrossClusterSearchConnections(DescribeOutboundCrossClusterSearchConnectionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeOutboundCrossClusterSearchConnectionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeOutboundCrossClusterSearchConnectionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DescribeOutboundCrossClusterSearchConnectionsAsync(DescribeOutboundCrossClusterSearchConnectionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeOutboundCrossClusterSearchConnectionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeOutboundCrossClusterSearchConnectionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual DescribePackagesResponse DescribePackages(DescribePackagesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribePackagesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribePackagesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DescribePackagesAsync(DescribePackagesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribePackagesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribePackagesResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual DescribeReservedElasticsearchInstanceOfferingsResponse DescribeReservedElasticsearchInstanceOfferings(DescribeReservedElasticsearchInstanceOfferingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReservedElasticsearchInstanceOfferingsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReservedElasticsearchInstanceOfferingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DescribeReservedElasticsearchInstanceOfferingsAsync(DescribeReservedElasticsearchInstanceOfferingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReservedElasticsearchInstanceOfferingsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReservedElasticsearchInstanceOfferingsResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual DescribeReservedElasticsearchInstancesResponse DescribeReservedElasticsearchInstances(DescribeReservedElasticsearchInstancesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReservedElasticsearchInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReservedElasticsearchInstancesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DescribeReservedElasticsearchInstancesAsync(DescribeReservedElasticsearchInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReservedElasticsearchInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReservedElasticsearchInstancesResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual DescribeVpcEndpointsResponse DescribeVpcEndpoints(DescribeVpcEndpointsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVpcEndpointsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVpcEndpointsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DescribeVpcEndpointsAsync(DescribeVpcEndpointsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVpcEndpointsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVpcEndpointsResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual DissociatePackageResponse DissociatePackage(DissociatePackageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DissociatePackageRequestMarshaller.Instance; options.ResponseUnmarshaller = DissociatePackageResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DissociatePackageAsync(DissociatePackageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DissociatePackageRequestMarshaller.Instance; options.ResponseUnmarshaller = DissociatePackageResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual GetCompatibleElasticsearchVersionsResponse GetCompatibleElasticsearchVersions(GetCompatibleElasticsearchVersionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetCompatibleElasticsearchVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCompatibleElasticsearchVersionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task GetCompatibleElasticsearchVersionsAsync(GetCompatibleElasticsearchVersionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetCompatibleElasticsearchVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCompatibleElasticsearchVersionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual GetPackageVersionHistoryResponse GetPackageVersionHistory(GetPackageVersionHistoryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetPackageVersionHistoryRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPackageVersionHistoryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task GetPackageVersionHistoryAsync(GetPackageVersionHistoryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetPackageVersionHistoryRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPackageVersionHistoryResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual GetUpgradeHistoryResponse GetUpgradeHistory(GetUpgradeHistoryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetUpgradeHistoryRequestMarshaller.Instance; options.ResponseUnmarshaller = GetUpgradeHistoryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task GetUpgradeHistoryAsync(GetUpgradeHistoryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetUpgradeHistoryRequestMarshaller.Instance; options.ResponseUnmarshaller = GetUpgradeHistoryResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual GetUpgradeStatusResponse GetUpgradeStatus(GetUpgradeStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetUpgradeStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = GetUpgradeStatusResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task GetUpgradeStatusAsync(GetUpgradeStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetUpgradeStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = GetUpgradeStatusResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual ListDomainNamesResponse ListDomainNames(ListDomainNamesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDomainNamesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDomainNamesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListDomainNamesAsync(ListDomainNamesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListDomainNamesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDomainNamesResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual ListDomainsForPackageResponse ListDomainsForPackage(ListDomainsForPackageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDomainsForPackageRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDomainsForPackageResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListDomainsForPackageAsync(ListDomainsForPackageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListDomainsForPackageRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDomainsForPackageResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual ListElasticsearchInstanceTypesResponse ListElasticsearchInstanceTypes(ListElasticsearchInstanceTypesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListElasticsearchInstanceTypesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListElasticsearchInstanceTypesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListElasticsearchInstanceTypesAsync(ListElasticsearchInstanceTypesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListElasticsearchInstanceTypesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListElasticsearchInstanceTypesResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual ListElasticsearchVersionsResponse ListElasticsearchVersions(ListElasticsearchVersionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListElasticsearchVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListElasticsearchVersionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListElasticsearchVersionsAsync(ListElasticsearchVersionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListElasticsearchVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListElasticsearchVersionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual ListPackagesForDomainResponse ListPackagesForDomain(ListPackagesForDomainRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListPackagesForDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPackagesForDomainResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListPackagesForDomainAsync(ListPackagesForDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListPackagesForDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPackagesForDomainResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual ListTagsResponse ListTags(ListTagsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListTagsAsync(ListTagsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual ListVpcEndpointAccessResponse ListVpcEndpointAccess(ListVpcEndpointAccessRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListVpcEndpointAccessRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVpcEndpointAccessResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListVpcEndpointAccessAsync(ListVpcEndpointAccessRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListVpcEndpointAccessRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVpcEndpointAccessResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual ListVpcEndpointsResponse ListVpcEndpoints(ListVpcEndpointsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListVpcEndpointsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVpcEndpointsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListVpcEndpointsAsync(ListVpcEndpointsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListVpcEndpointsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVpcEndpointsResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual ListVpcEndpointsForDomainResponse ListVpcEndpointsForDomain(ListVpcEndpointsForDomainRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListVpcEndpointsForDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVpcEndpointsForDomainResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListVpcEndpointsForDomainAsync(ListVpcEndpointsForDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListVpcEndpointsForDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVpcEndpointsForDomainResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual PurchaseReservedElasticsearchInstanceOfferingResponse PurchaseReservedElasticsearchInstanceOffering(PurchaseReservedElasticsearchInstanceOfferingRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PurchaseReservedElasticsearchInstanceOfferingRequestMarshaller.Instance; options.ResponseUnmarshaller = PurchaseReservedElasticsearchInstanceOfferingResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task PurchaseReservedElasticsearchInstanceOfferingAsync(PurchaseReservedElasticsearchInstanceOfferingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PurchaseReservedElasticsearchInstanceOfferingRequestMarshaller.Instance; options.ResponseUnmarshaller = PurchaseReservedElasticsearchInstanceOfferingResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual RejectInboundCrossClusterSearchConnectionResponse RejectInboundCrossClusterSearchConnection(RejectInboundCrossClusterSearchConnectionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RejectInboundCrossClusterSearchConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = RejectInboundCrossClusterSearchConnectionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task RejectInboundCrossClusterSearchConnectionAsync(RejectInboundCrossClusterSearchConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RejectInboundCrossClusterSearchConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = RejectInboundCrossClusterSearchConnectionResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual RemoveTagsResponse RemoveTags(RemoveTagsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RemoveTagsRequestMarshaller.Instance; options.ResponseUnmarshaller = RemoveTagsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task RemoveTagsAsync(RemoveTagsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RemoveTagsRequestMarshaller.Instance; options.ResponseUnmarshaller = RemoveTagsResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual RevokeVpcEndpointAccessResponse RevokeVpcEndpointAccess(RevokeVpcEndpointAccessRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RevokeVpcEndpointAccessRequestMarshaller.Instance; options.ResponseUnmarshaller = RevokeVpcEndpointAccessResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task RevokeVpcEndpointAccessAsync(RevokeVpcEndpointAccessRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RevokeVpcEndpointAccessRequestMarshaller.Instance; options.ResponseUnmarshaller = RevokeVpcEndpointAccessResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual StartElasticsearchServiceSoftwareUpdateResponse StartElasticsearchServiceSoftwareUpdate(StartElasticsearchServiceSoftwareUpdateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartElasticsearchServiceSoftwareUpdateRequestMarshaller.Instance; options.ResponseUnmarshaller = StartElasticsearchServiceSoftwareUpdateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task StartElasticsearchServiceSoftwareUpdateAsync(StartElasticsearchServiceSoftwareUpdateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartElasticsearchServiceSoftwareUpdateRequestMarshaller.Instance; options.ResponseUnmarshaller = StartElasticsearchServiceSoftwareUpdateResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual UpdateElasticsearchDomainConfigResponse UpdateElasticsearchDomainConfig(UpdateElasticsearchDomainConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateElasticsearchDomainConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateElasticsearchDomainConfigResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task UpdateElasticsearchDomainConfigAsync(UpdateElasticsearchDomainConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateElasticsearchDomainConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateElasticsearchDomainConfigResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual UpdatePackageResponse UpdatePackage(UpdatePackageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdatePackageRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdatePackageResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task UpdatePackageAsync(UpdatePackageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdatePackageRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdatePackageResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual UpdateVpcEndpointResponse UpdateVpcEndpoint(UpdateVpcEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVpcEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVpcEndpointResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task UpdateVpcEndpointAsync(UpdateVpcEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVpcEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVpcEndpointResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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 public virtual UpgradeElasticsearchDomainResponse UpgradeElasticsearchDomain(UpgradeElasticsearchDomainRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpgradeElasticsearchDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = UpgradeElasticsearchDomainResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task UpgradeElasticsearchDomainAsync(UpgradeElasticsearchDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpgradeElasticsearchDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = UpgradeElasticsearchDomainResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion } }