/*
* 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.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();
#if BCL45 || AWS_ASYNC_ENUMERABLES_API
private IElasticsearchPaginatorFactory _paginators;
///
/// Paginators for the service
///
public IElasticsearchPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new ElasticsearchPaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#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);
}
///
/// Initiates the asynchronous execution of the AcceptInboundCrossClusterSearchConnection operation.
///
///
/// Container for the necessary parameters to execute the AcceptInboundCrossClusterSearchConnection operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAcceptInboundCrossClusterSearchConnection
/// operation.
/// REST API Reference for AcceptInboundCrossClusterSearchConnection Operation
public virtual IAsyncResult BeginAcceptInboundCrossClusterSearchConnection(AcceptInboundCrossClusterSearchConnectionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = AcceptInboundCrossClusterSearchConnectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = AcceptInboundCrossClusterSearchConnectionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the AcceptInboundCrossClusterSearchConnection operation.
///
///
/// The IAsyncResult returned by the call to BeginAcceptInboundCrossClusterSearchConnection.
///
/// Returns a AcceptInboundCrossClusterSearchConnectionResult from Elasticsearch.
/// REST API Reference for AcceptInboundCrossClusterSearchConnection Operation
public virtual AcceptInboundCrossClusterSearchConnectionResponse EndAcceptInboundCrossClusterSearchConnection(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the AddTags operation.
///
///
/// Container for the necessary parameters to execute the AddTags operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAddTags
/// operation.
/// REST API Reference for AddTags Operation
public virtual IAsyncResult BeginAddTags(AddTagsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = AddTagsRequestMarshaller.Instance;
options.ResponseUnmarshaller = AddTagsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the AddTags operation.
///
///
/// The IAsyncResult returned by the call to BeginAddTags.
///
/// Returns a AddTagsResult from Elasticsearch.
/// REST API Reference for AddTags Operation
public virtual AddTagsResponse EndAddTags(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the AssociatePackage operation.
///
///
/// Container for the necessary parameters to execute the AssociatePackage operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAssociatePackage
/// operation.
/// REST API Reference for AssociatePackage Operation
public virtual IAsyncResult BeginAssociatePackage(AssociatePackageRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociatePackageRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociatePackageResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the AssociatePackage operation.
///
///
/// The IAsyncResult returned by the call to BeginAssociatePackage.
///
/// Returns a AssociatePackageResult from Elasticsearch.
/// REST API Reference for AssociatePackage Operation
public virtual AssociatePackageResponse EndAssociatePackage(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the AuthorizeVpcEndpointAccess operation.
///
///
/// Container for the necessary parameters to execute the AuthorizeVpcEndpointAccess operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAuthorizeVpcEndpointAccess
/// operation.
/// REST API Reference for AuthorizeVpcEndpointAccess Operation
public virtual IAsyncResult BeginAuthorizeVpcEndpointAccess(AuthorizeVpcEndpointAccessRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = AuthorizeVpcEndpointAccessRequestMarshaller.Instance;
options.ResponseUnmarshaller = AuthorizeVpcEndpointAccessResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the AuthorizeVpcEndpointAccess operation.
///
///
/// The IAsyncResult returned by the call to BeginAuthorizeVpcEndpointAccess.
///
/// Returns a AuthorizeVpcEndpointAccessResult from Elasticsearch.
/// REST API Reference for AuthorizeVpcEndpointAccess Operation
public virtual AuthorizeVpcEndpointAccessResponse EndAuthorizeVpcEndpointAccess(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the CancelElasticsearchServiceSoftwareUpdate operation.
///
///
/// Container for the necessary parameters to execute the CancelElasticsearchServiceSoftwareUpdate operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCancelElasticsearchServiceSoftwareUpdate
/// operation.
/// REST API Reference for CancelElasticsearchServiceSoftwareUpdate Operation
public virtual IAsyncResult BeginCancelElasticsearchServiceSoftwareUpdate(CancelElasticsearchServiceSoftwareUpdateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CancelElasticsearchServiceSoftwareUpdateRequestMarshaller.Instance;
options.ResponseUnmarshaller = CancelElasticsearchServiceSoftwareUpdateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CancelElasticsearchServiceSoftwareUpdate operation.
///
///
/// The IAsyncResult returned by the call to BeginCancelElasticsearchServiceSoftwareUpdate.
///
/// Returns a CancelElasticsearchServiceSoftwareUpdateResult from Elasticsearch.
/// REST API Reference for CancelElasticsearchServiceSoftwareUpdate Operation
public virtual CancelElasticsearchServiceSoftwareUpdateResponse EndCancelElasticsearchServiceSoftwareUpdate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the CreateElasticsearchDomain operation.
///
///
/// Container for the necessary parameters to execute the CreateElasticsearchDomain operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateElasticsearchDomain
/// operation.
/// REST API Reference for CreateElasticsearchDomain Operation
public virtual IAsyncResult BeginCreateElasticsearchDomain(CreateElasticsearchDomainRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateElasticsearchDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateElasticsearchDomainResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateElasticsearchDomain operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateElasticsearchDomain.
///
/// Returns a CreateElasticsearchDomainResult from Elasticsearch.
/// REST API Reference for CreateElasticsearchDomain Operation
public virtual CreateElasticsearchDomainResponse EndCreateElasticsearchDomain(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the CreateOutboundCrossClusterSearchConnection operation.
///
///
/// Container for the necessary parameters to execute the CreateOutboundCrossClusterSearchConnection operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateOutboundCrossClusterSearchConnection
/// operation.
/// REST API Reference for CreateOutboundCrossClusterSearchConnection Operation
public virtual IAsyncResult BeginCreateOutboundCrossClusterSearchConnection(CreateOutboundCrossClusterSearchConnectionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateOutboundCrossClusterSearchConnectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateOutboundCrossClusterSearchConnectionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateOutboundCrossClusterSearchConnection operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateOutboundCrossClusterSearchConnection.
///
/// Returns a CreateOutboundCrossClusterSearchConnectionResult from Elasticsearch.
/// REST API Reference for CreateOutboundCrossClusterSearchConnection Operation
public virtual CreateOutboundCrossClusterSearchConnectionResponse EndCreateOutboundCrossClusterSearchConnection(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the CreatePackage operation.
///
///
/// Container for the necessary parameters to execute the CreatePackage operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreatePackage
/// operation.
/// REST API Reference for CreatePackage Operation
public virtual IAsyncResult BeginCreatePackage(CreatePackageRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreatePackageRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreatePackageResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreatePackage operation.
///
///
/// The IAsyncResult returned by the call to BeginCreatePackage.
///
/// Returns a CreatePackageResult from Elasticsearch.
/// REST API Reference for CreatePackage Operation
public virtual CreatePackageResponse EndCreatePackage(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the CreateVpcEndpoint operation.
///
///
/// Container for the necessary parameters to execute the CreateVpcEndpoint operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateVpcEndpoint
/// operation.
/// REST API Reference for CreateVpcEndpoint Operation
public virtual IAsyncResult BeginCreateVpcEndpoint(CreateVpcEndpointRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateVpcEndpointRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateVpcEndpointResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateVpcEndpoint operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateVpcEndpoint.
///
/// Returns a CreateVpcEndpointResult from Elasticsearch.
/// REST API Reference for CreateVpcEndpoint Operation
public virtual CreateVpcEndpointResponse EndCreateVpcEndpoint(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DeleteElasticsearchDomain operation.
///
///
/// Container for the necessary parameters to execute the DeleteElasticsearchDomain operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteElasticsearchDomain
/// operation.
/// REST API Reference for DeleteElasticsearchDomain Operation
public virtual IAsyncResult BeginDeleteElasticsearchDomain(DeleteElasticsearchDomainRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteElasticsearchDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteElasticsearchDomainResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteElasticsearchDomain operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteElasticsearchDomain.
///
/// Returns a DeleteElasticsearchDomainResult from Elasticsearch.
/// REST API Reference for DeleteElasticsearchDomain Operation
public virtual DeleteElasticsearchDomainResponse EndDeleteElasticsearchDomain(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DeleteElasticsearchServiceRole operation.
///
///
/// Container for the necessary parameters to execute the DeleteElasticsearchServiceRole operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteElasticsearchServiceRole
/// operation.
/// REST API Reference for DeleteElasticsearchServiceRole Operation
public virtual IAsyncResult BeginDeleteElasticsearchServiceRole(DeleteElasticsearchServiceRoleRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteElasticsearchServiceRoleRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteElasticsearchServiceRoleResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteElasticsearchServiceRole operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteElasticsearchServiceRole.
///
/// Returns a DeleteElasticsearchServiceRoleResult from Elasticsearch.
/// REST API Reference for DeleteElasticsearchServiceRole Operation
public virtual DeleteElasticsearchServiceRoleResponse EndDeleteElasticsearchServiceRole(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DeleteInboundCrossClusterSearchConnection operation.
///
///
/// Container for the necessary parameters to execute the DeleteInboundCrossClusterSearchConnection operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteInboundCrossClusterSearchConnection
/// operation.
/// REST API Reference for DeleteInboundCrossClusterSearchConnection Operation
public virtual IAsyncResult BeginDeleteInboundCrossClusterSearchConnection(DeleteInboundCrossClusterSearchConnectionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteInboundCrossClusterSearchConnectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteInboundCrossClusterSearchConnectionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteInboundCrossClusterSearchConnection operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteInboundCrossClusterSearchConnection.
///
/// Returns a DeleteInboundCrossClusterSearchConnectionResult from Elasticsearch.
/// REST API Reference for DeleteInboundCrossClusterSearchConnection Operation
public virtual DeleteInboundCrossClusterSearchConnectionResponse EndDeleteInboundCrossClusterSearchConnection(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DeleteOutboundCrossClusterSearchConnection operation.
///
///
/// Container for the necessary parameters to execute the DeleteOutboundCrossClusterSearchConnection operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteOutboundCrossClusterSearchConnection
/// operation.
/// REST API Reference for DeleteOutboundCrossClusterSearchConnection Operation
public virtual IAsyncResult BeginDeleteOutboundCrossClusterSearchConnection(DeleteOutboundCrossClusterSearchConnectionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteOutboundCrossClusterSearchConnectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteOutboundCrossClusterSearchConnectionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteOutboundCrossClusterSearchConnection operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteOutboundCrossClusterSearchConnection.
///
/// Returns a DeleteOutboundCrossClusterSearchConnectionResult from Elasticsearch.
/// REST API Reference for DeleteOutboundCrossClusterSearchConnection Operation
public virtual DeleteOutboundCrossClusterSearchConnectionResponse EndDeleteOutboundCrossClusterSearchConnection(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DeletePackage operation.
///
///
/// Container for the necessary parameters to execute the DeletePackage operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeletePackage
/// operation.
/// REST API Reference for DeletePackage Operation
public virtual IAsyncResult BeginDeletePackage(DeletePackageRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeletePackageRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeletePackageResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeletePackage operation.
///
///
/// The IAsyncResult returned by the call to BeginDeletePackage.
///
/// Returns a DeletePackageResult from Elasticsearch.
/// REST API Reference for DeletePackage Operation
public virtual DeletePackageResponse EndDeletePackage(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DeleteVpcEndpoint operation.
///
///
/// Container for the necessary parameters to execute the DeleteVpcEndpoint operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteVpcEndpoint
/// operation.
/// REST API Reference for DeleteVpcEndpoint Operation
public virtual IAsyncResult BeginDeleteVpcEndpoint(DeleteVpcEndpointRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteVpcEndpointRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteVpcEndpointResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteVpcEndpoint operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteVpcEndpoint.
///
/// Returns a DeleteVpcEndpointResult from Elasticsearch.
/// REST API Reference for DeleteVpcEndpoint Operation
public virtual DeleteVpcEndpointResponse EndDeleteVpcEndpoint(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DescribeDomainAutoTunes operation.
///
///
/// Container for the necessary parameters to execute the DescribeDomainAutoTunes operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeDomainAutoTunes
/// operation.
/// REST API Reference for DescribeDomainAutoTunes Operation
public virtual IAsyncResult BeginDescribeDomainAutoTunes(DescribeDomainAutoTunesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDomainAutoTunesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDomainAutoTunesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeDomainAutoTunes operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeDomainAutoTunes.
///
/// Returns a DescribeDomainAutoTunesResult from Elasticsearch.
/// REST API Reference for DescribeDomainAutoTunes Operation
public virtual DescribeDomainAutoTunesResponse EndDescribeDomainAutoTunes(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DescribeDomainChangeProgress operation.
///
///
/// Container for the necessary parameters to execute the DescribeDomainChangeProgress operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeDomainChangeProgress
/// operation.
/// REST API Reference for DescribeDomainChangeProgress Operation
public virtual IAsyncResult BeginDescribeDomainChangeProgress(DescribeDomainChangeProgressRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDomainChangeProgressRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDomainChangeProgressResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeDomainChangeProgress operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeDomainChangeProgress.
///
/// Returns a DescribeDomainChangeProgressResult from Elasticsearch.
/// REST API Reference for DescribeDomainChangeProgress Operation
public virtual DescribeDomainChangeProgressResponse EndDescribeDomainChangeProgress(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DescribeElasticsearchDomain operation.
///
///
/// Container for the necessary parameters to execute the DescribeElasticsearchDomain operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeElasticsearchDomain
/// operation.
/// REST API Reference for DescribeElasticsearchDomain Operation
public virtual IAsyncResult BeginDescribeElasticsearchDomain(DescribeElasticsearchDomainRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeElasticsearchDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeElasticsearchDomainResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeElasticsearchDomain operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeElasticsearchDomain.
///
/// Returns a DescribeElasticsearchDomainResult from Elasticsearch.
/// REST API Reference for DescribeElasticsearchDomain Operation
public virtual DescribeElasticsearchDomainResponse EndDescribeElasticsearchDomain(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DescribeElasticsearchDomainConfig operation.
///
///
/// Container for the necessary parameters to execute the DescribeElasticsearchDomainConfig operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeElasticsearchDomainConfig
/// operation.
/// REST API Reference for DescribeElasticsearchDomainConfig Operation
public virtual IAsyncResult BeginDescribeElasticsearchDomainConfig(DescribeElasticsearchDomainConfigRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeElasticsearchDomainConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeElasticsearchDomainConfigResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeElasticsearchDomainConfig operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeElasticsearchDomainConfig.
///
/// Returns a DescribeElasticsearchDomainConfigResult from Elasticsearch.
/// REST API Reference for DescribeElasticsearchDomainConfig Operation
public virtual DescribeElasticsearchDomainConfigResponse EndDescribeElasticsearchDomainConfig(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DescribeElasticsearchDomains operation.
///
///
/// Container for the necessary parameters to execute the DescribeElasticsearchDomains operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeElasticsearchDomains
/// operation.
/// REST API Reference for DescribeElasticsearchDomains Operation
public virtual IAsyncResult BeginDescribeElasticsearchDomains(DescribeElasticsearchDomainsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeElasticsearchDomainsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeElasticsearchDomainsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeElasticsearchDomains operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeElasticsearchDomains.
///
/// Returns a DescribeElasticsearchDomainsResult from Elasticsearch.
/// REST API Reference for DescribeElasticsearchDomains Operation
public virtual DescribeElasticsearchDomainsResponse EndDescribeElasticsearchDomains(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DescribeElasticsearchInstanceTypeLimits operation.
///
///
/// Container for the necessary parameters to execute the DescribeElasticsearchInstanceTypeLimits operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeElasticsearchInstanceTypeLimits
/// operation.
/// REST API Reference for DescribeElasticsearchInstanceTypeLimits Operation
public virtual IAsyncResult BeginDescribeElasticsearchInstanceTypeLimits(DescribeElasticsearchInstanceTypeLimitsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeElasticsearchInstanceTypeLimitsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeElasticsearchInstanceTypeLimitsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeElasticsearchInstanceTypeLimits operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeElasticsearchInstanceTypeLimits.
///
/// Returns a DescribeElasticsearchInstanceTypeLimitsResult from Elasticsearch.
/// REST API Reference for DescribeElasticsearchInstanceTypeLimits Operation
public virtual DescribeElasticsearchInstanceTypeLimitsResponse EndDescribeElasticsearchInstanceTypeLimits(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DescribeInboundCrossClusterSearchConnections operation.
///
///
/// Container for the necessary parameters to execute the DescribeInboundCrossClusterSearchConnections operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeInboundCrossClusterSearchConnections
/// operation.
/// REST API Reference for DescribeInboundCrossClusterSearchConnections Operation
public virtual IAsyncResult BeginDescribeInboundCrossClusterSearchConnections(DescribeInboundCrossClusterSearchConnectionsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeInboundCrossClusterSearchConnectionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeInboundCrossClusterSearchConnectionsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeInboundCrossClusterSearchConnections operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeInboundCrossClusterSearchConnections.
///
/// Returns a DescribeInboundCrossClusterSearchConnectionsResult from Elasticsearch.
/// REST API Reference for DescribeInboundCrossClusterSearchConnections Operation
public virtual DescribeInboundCrossClusterSearchConnectionsResponse EndDescribeInboundCrossClusterSearchConnections(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DescribeOutboundCrossClusterSearchConnections operation.
///
///
/// Container for the necessary parameters to execute the DescribeOutboundCrossClusterSearchConnections operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeOutboundCrossClusterSearchConnections
/// operation.
/// REST API Reference for DescribeOutboundCrossClusterSearchConnections Operation
public virtual IAsyncResult BeginDescribeOutboundCrossClusterSearchConnections(DescribeOutboundCrossClusterSearchConnectionsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeOutboundCrossClusterSearchConnectionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeOutboundCrossClusterSearchConnectionsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeOutboundCrossClusterSearchConnections operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeOutboundCrossClusterSearchConnections.
///
/// Returns a DescribeOutboundCrossClusterSearchConnectionsResult from Elasticsearch.
/// REST API Reference for DescribeOutboundCrossClusterSearchConnections Operation
public virtual DescribeOutboundCrossClusterSearchConnectionsResponse EndDescribeOutboundCrossClusterSearchConnections(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DescribePackages operation.
///
///
/// Container for the necessary parameters to execute the DescribePackages operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribePackages
/// operation.
/// REST API Reference for DescribePackages Operation
public virtual IAsyncResult BeginDescribePackages(DescribePackagesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribePackagesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribePackagesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribePackages operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribePackages.
///
/// Returns a DescribePackagesResult from Elasticsearch.
/// REST API Reference for DescribePackages Operation
public virtual DescribePackagesResponse EndDescribePackages(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DescribeReservedElasticsearchInstanceOfferings operation.
///
///
/// Container for the necessary parameters to execute the DescribeReservedElasticsearchInstanceOfferings operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeReservedElasticsearchInstanceOfferings
/// operation.
/// REST API Reference for DescribeReservedElasticsearchInstanceOfferings Operation
public virtual IAsyncResult BeginDescribeReservedElasticsearchInstanceOfferings(DescribeReservedElasticsearchInstanceOfferingsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeReservedElasticsearchInstanceOfferingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeReservedElasticsearchInstanceOfferingsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeReservedElasticsearchInstanceOfferings operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeReservedElasticsearchInstanceOfferings.
///
/// Returns a DescribeReservedElasticsearchInstanceOfferingsResult from Elasticsearch.
/// REST API Reference for DescribeReservedElasticsearchInstanceOfferings Operation
public virtual DescribeReservedElasticsearchInstanceOfferingsResponse EndDescribeReservedElasticsearchInstanceOfferings(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DescribeReservedElasticsearchInstances operation.
///
///
/// Container for the necessary parameters to execute the DescribeReservedElasticsearchInstances operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeReservedElasticsearchInstances
/// operation.
/// REST API Reference for DescribeReservedElasticsearchInstances Operation
public virtual IAsyncResult BeginDescribeReservedElasticsearchInstances(DescribeReservedElasticsearchInstancesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeReservedElasticsearchInstancesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeReservedElasticsearchInstancesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeReservedElasticsearchInstances operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeReservedElasticsearchInstances.
///
/// Returns a DescribeReservedElasticsearchInstancesResult from Elasticsearch.
/// REST API Reference for DescribeReservedElasticsearchInstances Operation
public virtual DescribeReservedElasticsearchInstancesResponse EndDescribeReservedElasticsearchInstances(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DescribeVpcEndpoints operation.
///
///
/// Container for the necessary parameters to execute the DescribeVpcEndpoints operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeVpcEndpoints
/// operation.
/// REST API Reference for DescribeVpcEndpoints Operation
public virtual IAsyncResult BeginDescribeVpcEndpoints(DescribeVpcEndpointsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeVpcEndpointsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeVpcEndpointsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeVpcEndpoints operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeVpcEndpoints.
///
/// Returns a DescribeVpcEndpointsResult from Elasticsearch.
/// REST API Reference for DescribeVpcEndpoints Operation
public virtual DescribeVpcEndpointsResponse EndDescribeVpcEndpoints(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DissociatePackage operation.
///
///
/// Container for the necessary parameters to execute the DissociatePackage operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDissociatePackage
/// operation.
/// REST API Reference for DissociatePackage Operation
public virtual IAsyncResult BeginDissociatePackage(DissociatePackageRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DissociatePackageRequestMarshaller.Instance;
options.ResponseUnmarshaller = DissociatePackageResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DissociatePackage operation.
///
///
/// The IAsyncResult returned by the call to BeginDissociatePackage.
///
/// Returns a DissociatePackageResult from Elasticsearch.
/// REST API Reference for DissociatePackage Operation
public virtual DissociatePackageResponse EndDissociatePackage(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the GetCompatibleElasticsearchVersions operation.
///
///
/// Container for the necessary parameters to execute the GetCompatibleElasticsearchVersions operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetCompatibleElasticsearchVersions
/// operation.
/// REST API Reference for GetCompatibleElasticsearchVersions Operation
public virtual IAsyncResult BeginGetCompatibleElasticsearchVersions(GetCompatibleElasticsearchVersionsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetCompatibleElasticsearchVersionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetCompatibleElasticsearchVersionsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetCompatibleElasticsearchVersions operation.
///
///
/// The IAsyncResult returned by the call to BeginGetCompatibleElasticsearchVersions.
///
/// Returns a GetCompatibleElasticsearchVersionsResult from Elasticsearch.
/// REST API Reference for GetCompatibleElasticsearchVersions Operation
public virtual GetCompatibleElasticsearchVersionsResponse EndGetCompatibleElasticsearchVersions(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the GetPackageVersionHistory operation.
///
///
/// Container for the necessary parameters to execute the GetPackageVersionHistory operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetPackageVersionHistory
/// operation.
/// REST API Reference for GetPackageVersionHistory Operation
public virtual IAsyncResult BeginGetPackageVersionHistory(GetPackageVersionHistoryRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetPackageVersionHistoryRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetPackageVersionHistoryResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetPackageVersionHistory operation.
///
///
/// The IAsyncResult returned by the call to BeginGetPackageVersionHistory.
///
/// Returns a GetPackageVersionHistoryResult from Elasticsearch.
/// REST API Reference for GetPackageVersionHistory Operation
public virtual GetPackageVersionHistoryResponse EndGetPackageVersionHistory(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the GetUpgradeHistory operation.
///
///
/// Container for the necessary parameters to execute the GetUpgradeHistory operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetUpgradeHistory
/// operation.
/// REST API Reference for GetUpgradeHistory Operation
public virtual IAsyncResult BeginGetUpgradeHistory(GetUpgradeHistoryRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetUpgradeHistoryRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetUpgradeHistoryResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetUpgradeHistory operation.
///
///
/// The IAsyncResult returned by the call to BeginGetUpgradeHistory.
///
/// Returns a GetUpgradeHistoryResult from Elasticsearch.
/// REST API Reference for GetUpgradeHistory Operation
public virtual GetUpgradeHistoryResponse EndGetUpgradeHistory(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the GetUpgradeStatus operation.
///
///
/// Container for the necessary parameters to execute the GetUpgradeStatus operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetUpgradeStatus
/// operation.
/// REST API Reference for GetUpgradeStatus Operation
public virtual IAsyncResult BeginGetUpgradeStatus(GetUpgradeStatusRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetUpgradeStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetUpgradeStatusResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetUpgradeStatus operation.
///
///
/// The IAsyncResult returned by the call to BeginGetUpgradeStatus.
///
/// Returns a GetUpgradeStatusResult from Elasticsearch.
/// REST API Reference for GetUpgradeStatus Operation
public virtual GetUpgradeStatusResponse EndGetUpgradeStatus(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the ListDomainNames operation.
///
///
/// Container for the necessary parameters to execute the ListDomainNames operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDomainNames
/// operation.
/// REST API Reference for ListDomainNames Operation
public virtual IAsyncResult BeginListDomainNames(ListDomainNamesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDomainNamesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDomainNamesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListDomainNames operation.
///
///
/// The IAsyncResult returned by the call to BeginListDomainNames.
///
/// Returns a ListDomainNamesResult from Elasticsearch.
/// REST API Reference for ListDomainNames Operation
public virtual ListDomainNamesResponse EndListDomainNames(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the ListDomainsForPackage operation.
///
///
/// Container for the necessary parameters to execute the ListDomainsForPackage operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDomainsForPackage
/// operation.
/// REST API Reference for ListDomainsForPackage Operation
public virtual IAsyncResult BeginListDomainsForPackage(ListDomainsForPackageRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDomainsForPackageRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDomainsForPackageResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListDomainsForPackage operation.
///
///
/// The IAsyncResult returned by the call to BeginListDomainsForPackage.
///
/// Returns a ListDomainsForPackageResult from Elasticsearch.
/// REST API Reference for ListDomainsForPackage Operation
public virtual ListDomainsForPackageResponse EndListDomainsForPackage(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the ListElasticsearchInstanceTypes operation.
///
///
/// Container for the necessary parameters to execute the ListElasticsearchInstanceTypes operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListElasticsearchInstanceTypes
/// operation.
/// REST API Reference for ListElasticsearchInstanceTypes Operation
public virtual IAsyncResult BeginListElasticsearchInstanceTypes(ListElasticsearchInstanceTypesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListElasticsearchInstanceTypesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListElasticsearchInstanceTypesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListElasticsearchInstanceTypes operation.
///
///
/// The IAsyncResult returned by the call to BeginListElasticsearchInstanceTypes.
///
/// Returns a ListElasticsearchInstanceTypesResult from Elasticsearch.
/// REST API Reference for ListElasticsearchInstanceTypes Operation
public virtual ListElasticsearchInstanceTypesResponse EndListElasticsearchInstanceTypes(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the ListElasticsearchVersions operation.
///
///
/// Container for the necessary parameters to execute the ListElasticsearchVersions operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListElasticsearchVersions
/// operation.
/// REST API Reference for ListElasticsearchVersions Operation
public virtual IAsyncResult BeginListElasticsearchVersions(ListElasticsearchVersionsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListElasticsearchVersionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListElasticsearchVersionsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListElasticsearchVersions operation.
///
///
/// The IAsyncResult returned by the call to BeginListElasticsearchVersions.
///
/// Returns a ListElasticsearchVersionsResult from Elasticsearch.
/// REST API Reference for ListElasticsearchVersions Operation
public virtual ListElasticsearchVersionsResponse EndListElasticsearchVersions(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the ListPackagesForDomain operation.
///
///
/// Container for the necessary parameters to execute the ListPackagesForDomain operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListPackagesForDomain
/// operation.
/// REST API Reference for ListPackagesForDomain Operation
public virtual IAsyncResult BeginListPackagesForDomain(ListPackagesForDomainRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPackagesForDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPackagesForDomainResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListPackagesForDomain operation.
///
///
/// The IAsyncResult returned by the call to BeginListPackagesForDomain.
///
/// Returns a ListPackagesForDomainResult from Elasticsearch.
/// REST API Reference for ListPackagesForDomain Operation
public virtual ListPackagesForDomainResponse EndListPackagesForDomain(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the ListTags operation.
///
///
/// Container for the necessary parameters to execute the ListTags operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTags
/// operation.
/// REST API Reference for ListTags Operation
public virtual IAsyncResult BeginListTags(ListTagsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListTags operation.
///
///
/// The IAsyncResult returned by the call to BeginListTags.
///
/// Returns a ListTagsResult from Elasticsearch.
/// REST API Reference for ListTags Operation
public virtual ListTagsResponse EndListTags(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the ListVpcEndpointAccess operation.
///
///
/// Container for the necessary parameters to execute the ListVpcEndpointAccess operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListVpcEndpointAccess
/// operation.
/// REST API Reference for ListVpcEndpointAccess Operation
public virtual IAsyncResult BeginListVpcEndpointAccess(ListVpcEndpointAccessRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListVpcEndpointAccessRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListVpcEndpointAccessResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListVpcEndpointAccess operation.
///
///
/// The IAsyncResult returned by the call to BeginListVpcEndpointAccess.
///
/// Returns a ListVpcEndpointAccessResult from Elasticsearch.
/// REST API Reference for ListVpcEndpointAccess Operation
public virtual ListVpcEndpointAccessResponse EndListVpcEndpointAccess(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the ListVpcEndpoints operation.
///
///
/// Container for the necessary parameters to execute the ListVpcEndpoints operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListVpcEndpoints
/// operation.
/// REST API Reference for ListVpcEndpoints Operation
public virtual IAsyncResult BeginListVpcEndpoints(ListVpcEndpointsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListVpcEndpointsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListVpcEndpointsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListVpcEndpoints operation.
///
///
/// The IAsyncResult returned by the call to BeginListVpcEndpoints.
///
/// Returns a ListVpcEndpointsResult from Elasticsearch.
/// REST API Reference for ListVpcEndpoints Operation
public virtual ListVpcEndpointsResponse EndListVpcEndpoints(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the ListVpcEndpointsForDomain operation.
///
///
/// Container for the necessary parameters to execute the ListVpcEndpointsForDomain operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListVpcEndpointsForDomain
/// operation.
/// REST API Reference for ListVpcEndpointsForDomain Operation
public virtual IAsyncResult BeginListVpcEndpointsForDomain(ListVpcEndpointsForDomainRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListVpcEndpointsForDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListVpcEndpointsForDomainResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListVpcEndpointsForDomain operation.
///
///
/// The IAsyncResult returned by the call to BeginListVpcEndpointsForDomain.
///
/// Returns a ListVpcEndpointsForDomainResult from Elasticsearch.
/// REST API Reference for ListVpcEndpointsForDomain Operation
public virtual ListVpcEndpointsForDomainResponse EndListVpcEndpointsForDomain(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the PurchaseReservedElasticsearchInstanceOffering operation.
///
///
/// Container for the necessary parameters to execute the PurchaseReservedElasticsearchInstanceOffering operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPurchaseReservedElasticsearchInstanceOffering
/// operation.
/// REST API Reference for PurchaseReservedElasticsearchInstanceOffering Operation
public virtual IAsyncResult BeginPurchaseReservedElasticsearchInstanceOffering(PurchaseReservedElasticsearchInstanceOfferingRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = PurchaseReservedElasticsearchInstanceOfferingRequestMarshaller.Instance;
options.ResponseUnmarshaller = PurchaseReservedElasticsearchInstanceOfferingResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the PurchaseReservedElasticsearchInstanceOffering operation.
///
///
/// The IAsyncResult returned by the call to BeginPurchaseReservedElasticsearchInstanceOffering.
///
/// Returns a PurchaseReservedElasticsearchInstanceOfferingResult from Elasticsearch.
/// REST API Reference for PurchaseReservedElasticsearchInstanceOffering Operation
public virtual PurchaseReservedElasticsearchInstanceOfferingResponse EndPurchaseReservedElasticsearchInstanceOffering(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the RejectInboundCrossClusterSearchConnection operation.
///
///
/// Container for the necessary parameters to execute the RejectInboundCrossClusterSearchConnection operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndRejectInboundCrossClusterSearchConnection
/// operation.
/// REST API Reference for RejectInboundCrossClusterSearchConnection Operation
public virtual IAsyncResult BeginRejectInboundCrossClusterSearchConnection(RejectInboundCrossClusterSearchConnectionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = RejectInboundCrossClusterSearchConnectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = RejectInboundCrossClusterSearchConnectionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the RejectInboundCrossClusterSearchConnection operation.
///
///
/// The IAsyncResult returned by the call to BeginRejectInboundCrossClusterSearchConnection.
///
/// Returns a RejectInboundCrossClusterSearchConnectionResult from Elasticsearch.
/// REST API Reference for RejectInboundCrossClusterSearchConnection Operation
public virtual RejectInboundCrossClusterSearchConnectionResponse EndRejectInboundCrossClusterSearchConnection(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the RemoveTags operation.
///
///
/// Container for the necessary parameters to execute the RemoveTags operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndRemoveTags
/// operation.
/// REST API Reference for RemoveTags Operation
public virtual IAsyncResult BeginRemoveTags(RemoveTagsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = RemoveTagsRequestMarshaller.Instance;
options.ResponseUnmarshaller = RemoveTagsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the RemoveTags operation.
///
///
/// The IAsyncResult returned by the call to BeginRemoveTags.
///
/// Returns a RemoveTagsResult from Elasticsearch.
/// REST API Reference for RemoveTags Operation
public virtual RemoveTagsResponse EndRemoveTags(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the RevokeVpcEndpointAccess operation.
///
///
/// Container for the necessary parameters to execute the RevokeVpcEndpointAccess operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndRevokeVpcEndpointAccess
/// operation.
/// REST API Reference for RevokeVpcEndpointAccess Operation
public virtual IAsyncResult BeginRevokeVpcEndpointAccess(RevokeVpcEndpointAccessRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = RevokeVpcEndpointAccessRequestMarshaller.Instance;
options.ResponseUnmarshaller = RevokeVpcEndpointAccessResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the RevokeVpcEndpointAccess operation.
///
///
/// The IAsyncResult returned by the call to BeginRevokeVpcEndpointAccess.
///
/// Returns a RevokeVpcEndpointAccessResult from Elasticsearch.
/// REST API Reference for RevokeVpcEndpointAccess Operation
public virtual RevokeVpcEndpointAccessResponse EndRevokeVpcEndpointAccess(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the StartElasticsearchServiceSoftwareUpdate operation.
///
///
/// Container for the necessary parameters to execute the StartElasticsearchServiceSoftwareUpdate operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartElasticsearchServiceSoftwareUpdate
/// operation.
/// REST API Reference for StartElasticsearchServiceSoftwareUpdate Operation
public virtual IAsyncResult BeginStartElasticsearchServiceSoftwareUpdate(StartElasticsearchServiceSoftwareUpdateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartElasticsearchServiceSoftwareUpdateRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartElasticsearchServiceSoftwareUpdateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the StartElasticsearchServiceSoftwareUpdate operation.
///
///
/// The IAsyncResult returned by the call to BeginStartElasticsearchServiceSoftwareUpdate.
///
/// Returns a StartElasticsearchServiceSoftwareUpdateResult from Elasticsearch.
/// REST API Reference for StartElasticsearchServiceSoftwareUpdate Operation
public virtual StartElasticsearchServiceSoftwareUpdateResponse EndStartElasticsearchServiceSoftwareUpdate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the UpdateElasticsearchDomainConfig operation.
///
///
/// Container for the necessary parameters to execute the UpdateElasticsearchDomainConfig operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateElasticsearchDomainConfig
/// operation.
/// REST API Reference for UpdateElasticsearchDomainConfig Operation
public virtual IAsyncResult BeginUpdateElasticsearchDomainConfig(UpdateElasticsearchDomainConfigRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateElasticsearchDomainConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateElasticsearchDomainConfigResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateElasticsearchDomainConfig operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateElasticsearchDomainConfig.
///
/// Returns a UpdateElasticsearchDomainConfigResult from Elasticsearch.
/// REST API Reference for UpdateElasticsearchDomainConfig Operation
public virtual UpdateElasticsearchDomainConfigResponse EndUpdateElasticsearchDomainConfig(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the UpdatePackage operation.
///
///
/// Container for the necessary parameters to execute the UpdatePackage operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdatePackage
/// operation.
/// REST API Reference for UpdatePackage Operation
public virtual IAsyncResult BeginUpdatePackage(UpdatePackageRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdatePackageRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdatePackageResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdatePackage operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdatePackage.
///
/// Returns a UpdatePackageResult from Elasticsearch.
/// REST API Reference for UpdatePackage Operation
public virtual UpdatePackageResponse EndUpdatePackage(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the UpdateVpcEndpoint operation.
///
///
/// Container for the necessary parameters to execute the UpdateVpcEndpoint operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateVpcEndpoint
/// operation.
/// REST API Reference for UpdateVpcEndpoint Operation
public virtual IAsyncResult BeginUpdateVpcEndpoint(UpdateVpcEndpointRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateVpcEndpointRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateVpcEndpointResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateVpcEndpoint operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateVpcEndpoint.
///
/// Returns a UpdateVpcEndpointResult from Elasticsearch.
/// REST API Reference for UpdateVpcEndpoint Operation
public virtual UpdateVpcEndpointResponse EndUpdateVpcEndpoint(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the UpgradeElasticsearchDomain operation.
///
///
/// Container for the necessary parameters to execute the UpgradeElasticsearchDomain operation on AmazonElasticsearchClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpgradeElasticsearchDomain
/// operation.
/// REST API Reference for UpgradeElasticsearchDomain Operation
public virtual IAsyncResult BeginUpgradeElasticsearchDomain(UpgradeElasticsearchDomainRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpgradeElasticsearchDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpgradeElasticsearchDomainResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpgradeElasticsearchDomain operation.
///
///
/// The IAsyncResult returned by the call to BeginUpgradeElasticsearchDomain.
///
/// Returns a UpgradeElasticsearchDomainResult from Elasticsearch.
/// REST API Reference for UpgradeElasticsearchDomain Operation
public virtual UpgradeElasticsearchDomainResponse EndUpgradeElasticsearchDomain(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
}
}