/*
* 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 opensearch-2021-01-01.normal.json service model.
*/
using System;
using System.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Net;
using Amazon.OpenSearchService.Model;
using Amazon.OpenSearchService.Model.Internal.MarshallTransformations;
using Amazon.OpenSearchService.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.OpenSearchService
{
///
/// Implementation for accessing OpenSearchService
///
/// Use the Amazon OpenSearch Service configuration API to create, configure, and manage
/// OpenSearch Service domains.
///
///
///
/// For sample code that uses the configuration API, see the
/// Amazon OpenSearch Service Developer Guide . The guide also contains sample
/// code for sending signed HTTP requests to the OpenSearch APIs. The endpoint for
/// configuration service requests is Region specific: es.region.amazonaws.com.
/// For example, es.us-east-1.amazonaws.com. For a current list of supported Regions and
/// endpoints, see Amazon
/// Web Services service endpoints.
///
///
public partial class AmazonOpenSearchServiceClient : AmazonServiceClient, IAmazonOpenSearchService
{
private static IServiceMetadata serviceMetadata = new AmazonOpenSearchServiceMetadata();
private IOpenSearchServicePaginatorFactory _paginators;
///
/// Paginators for the service
///
public IOpenSearchServicePaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new OpenSearchServicePaginatorFactory(this);
}
return this._paginators;
}
}
#region Constructors
///
/// Constructs AmazonOpenSearchServiceClient 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 AmazonOpenSearchServiceClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonOpenSearchServiceConfig()) { }
///
/// Constructs AmazonOpenSearchServiceClient 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 AmazonOpenSearchServiceClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonOpenSearchServiceConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonOpenSearchServiceClient 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 AmazonOpenSearchServiceClient Configuration Object
public AmazonOpenSearchServiceClient(AmazonOpenSearchServiceConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonOpenSearchServiceClient with AWS Credentials
///
/// AWS Credentials
public AmazonOpenSearchServiceClient(AWSCredentials credentials)
: this(credentials, new AmazonOpenSearchServiceConfig())
{
}
///
/// Constructs AmazonOpenSearchServiceClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonOpenSearchServiceClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonOpenSearchServiceConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonOpenSearchServiceClient with AWS Credentials and an
/// AmazonOpenSearchServiceClient Configuration object.
///
/// AWS Credentials
/// The AmazonOpenSearchServiceClient Configuration Object
public AmazonOpenSearchServiceClient(AWSCredentials credentials, AmazonOpenSearchServiceConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonOpenSearchServiceClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonOpenSearchServiceClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonOpenSearchServiceConfig())
{
}
///
/// Constructs AmazonOpenSearchServiceClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonOpenSearchServiceClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonOpenSearchServiceConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonOpenSearchServiceClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonOpenSearchServiceClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonOpenSearchServiceClient Configuration Object
public AmazonOpenSearchServiceClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonOpenSearchServiceConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonOpenSearchServiceClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonOpenSearchServiceClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonOpenSearchServiceConfig())
{
}
///
/// Constructs AmazonOpenSearchServiceClient 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 AmazonOpenSearchServiceClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonOpenSearchServiceConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonOpenSearchServiceClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonOpenSearchServiceClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonOpenSearchServiceClient Configuration Object
public AmazonOpenSearchServiceClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonOpenSearchServiceConfig 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 AmazonOpenSearchServiceEndpointResolver());
}
///
/// 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 AcceptInboundConnection
///
/// Allows the destination Amazon OpenSearch Service domain owner to accept an inbound
/// cross-cluster search connection request. For more information, see Cross-cluster
/// search for Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the AcceptInboundConnection service method.
///
/// The response from the AcceptInboundConnection service method, as returned by OpenSearchService.
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// An exception for trying to create more than the allowed number of resources or sub-resources.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for AcceptInboundConnection Operation
public virtual AcceptInboundConnectionResponse AcceptInboundConnection(AcceptInboundConnectionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AcceptInboundConnectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = AcceptInboundConnectionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Allows the destination Amazon OpenSearch Service domain owner to accept an inbound
/// cross-cluster search connection request. For more information, see Cross-cluster
/// search for Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the AcceptInboundConnection service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AcceptInboundConnection service method, as returned by OpenSearchService.
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// An exception for trying to create more than the allowed number of resources or sub-resources.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for AcceptInboundConnection Operation
public virtual Task AcceptInboundConnectionAsync(AcceptInboundConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AcceptInboundConnectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = AcceptInboundConnectionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region AddTags
///
/// Attaches tags to an existing Amazon OpenSearch Service domain. Tags are a set of case-sensitive
/// key-value pairs. A domain can have up to 10 tags. For more information, see Tagging
/// Amazon OpenSearch Service domains.
///
/// Container for the necessary parameters to execute the AddTags service method.
///
/// The response from the AddTags service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for trying to create more than the allowed number of resources or sub-resources.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for AddTags Operation
public virtual AddTagsResponse AddTags(AddTagsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AddTagsRequestMarshaller.Instance;
options.ResponseUnmarshaller = AddTagsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Attaches tags to an existing Amazon OpenSearch Service domain. Tags are a set of case-sensitive
/// key-value pairs. A domain can have up to 10 tags. For more information, see Tagging
/// Amazon OpenSearch Service domains.
///
/// Container for the necessary parameters to execute the AddTags service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AddTags service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for trying to create more than the allowed number of resources or sub-resources.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for AddTags Operation
public virtual Task AddTagsAsync(AddTagsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AddTagsRequestMarshaller.Instance;
options.ResponseUnmarshaller = AddTagsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region AssociatePackage
///
/// Associates a package with an Amazon OpenSearch Service domain. For more information,
/// see Custom
/// packages for Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the AssociatePackage service method.
///
/// The response from the AssociatePackage service method, as returned by OpenSearchService.
///
/// An error occurred because you don't have permissions to access the resource.
///
///
/// An error occurred while processing the request.
///
///
/// An error occurred because the client attempts to remove a resource that is currently
/// in use.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for AssociatePackage Operation
public virtual AssociatePackageResponse AssociatePackage(AssociatePackageRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociatePackageRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociatePackageResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Associates a package with an Amazon OpenSearch Service domain. For more information,
/// see Custom
/// packages for Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the AssociatePackage service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AssociatePackage service method, as returned by OpenSearchService.
///
/// An error occurred because you don't have permissions to access the resource.
///
///
/// An error occurred while processing the request.
///
///
/// An error occurred because the client attempts to remove a resource that is currently
/// in use.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for AssociatePackage Operation
public virtual Task AssociatePackageAsync(AssociatePackageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociatePackageRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociatePackageResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region AuthorizeVpcEndpointAccess
///
/// Provides access to an Amazon OpenSearch Service domain through the use of an interface
/// VPC endpoint.
///
/// Container for the necessary parameters to execute the AuthorizeVpcEndpointAccess service method.
///
/// The response from the AuthorizeVpcEndpointAccess service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for trying to create more than the allowed number of resources or sub-resources.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for AuthorizeVpcEndpointAccess Operation
public virtual AuthorizeVpcEndpointAccessResponse AuthorizeVpcEndpointAccess(AuthorizeVpcEndpointAccessRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AuthorizeVpcEndpointAccessRequestMarshaller.Instance;
options.ResponseUnmarshaller = AuthorizeVpcEndpointAccessResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Provides access to an Amazon OpenSearch Service domain through the use of an interface
/// VPC endpoint.
///
/// Container for the necessary parameters to execute the AuthorizeVpcEndpointAccess service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AuthorizeVpcEndpointAccess service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for trying to create more than the allowed number of resources or sub-resources.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for AuthorizeVpcEndpointAccess Operation
public virtual Task AuthorizeVpcEndpointAccessAsync(AuthorizeVpcEndpointAccessRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AuthorizeVpcEndpointAccessRequestMarshaller.Instance;
options.ResponseUnmarshaller = AuthorizeVpcEndpointAccessResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CancelServiceSoftwareUpdate
///
/// Cancels a scheduled service software update for an Amazon OpenSearch Service domain.
/// You can only perform this operation before the AutomatedUpdateDate
and
/// when the domain's UpdateStatus
is PENDING_UPDATE
. For more
/// information, see Service
/// software updates in Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the CancelServiceSoftwareUpdate service method.
///
/// The response from the CancelServiceSoftwareUpdate service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for CancelServiceSoftwareUpdate Operation
public virtual CancelServiceSoftwareUpdateResponse CancelServiceSoftwareUpdate(CancelServiceSoftwareUpdateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CancelServiceSoftwareUpdateRequestMarshaller.Instance;
options.ResponseUnmarshaller = CancelServiceSoftwareUpdateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Cancels a scheduled service software update for an Amazon OpenSearch Service domain.
/// You can only perform this operation before the AutomatedUpdateDate
and
/// when the domain's UpdateStatus
is PENDING_UPDATE
. For more
/// information, see Service
/// software updates in Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the CancelServiceSoftwareUpdate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CancelServiceSoftwareUpdate service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for CancelServiceSoftwareUpdate Operation
public virtual Task CancelServiceSoftwareUpdateAsync(CancelServiceSoftwareUpdateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CancelServiceSoftwareUpdateRequestMarshaller.Instance;
options.ResponseUnmarshaller = CancelServiceSoftwareUpdateResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateDomain
///
/// Creates an Amazon OpenSearch Service domain. For more information, see Creating
/// and managing Amazon OpenSearch Service domains.
///
/// Container for the necessary parameters to execute the CreateDomain service method.
///
/// The response from the CreateDomain service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for trying to create or access a sub-resource that's either invalid or
/// not supported.
///
///
/// An exception for trying to create more than the allowed number of resources or sub-resources.
///
///
/// An exception for creating a resource that already exists.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for CreateDomain Operation
public virtual CreateDomainResponse CreateDomain(CreateDomainRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDomainResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates an Amazon OpenSearch Service domain. For more information, see Creating
/// and managing Amazon OpenSearch Service domains.
///
/// Container for the necessary parameters to execute the CreateDomain service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateDomain service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for trying to create or access a sub-resource that's either invalid or
/// not supported.
///
///
/// An exception for trying to create more than the allowed number of resources or sub-resources.
///
///
/// An exception for creating a resource that already exists.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for CreateDomain Operation
public virtual Task CreateDomainAsync(CreateDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDomainResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateOutboundConnection
///
/// Creates a new cross-cluster search connection from a source Amazon OpenSearch Service
/// domain to a destination domain. For more information, see Cross-cluster
/// search for Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the CreateOutboundConnection service method.
///
/// The response from the CreateOutboundConnection service method, as returned by OpenSearchService.
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for trying to create more than the allowed number of resources or sub-resources.
///
///
/// An exception for creating a resource that already exists.
///
/// REST API Reference for CreateOutboundConnection Operation
public virtual CreateOutboundConnectionResponse CreateOutboundConnection(CreateOutboundConnectionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateOutboundConnectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateOutboundConnectionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a new cross-cluster search connection from a source Amazon OpenSearch Service
/// domain to a destination domain. For more information, see Cross-cluster
/// search for Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the CreateOutboundConnection service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateOutboundConnection service method, as returned by OpenSearchService.
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for trying to create more than the allowed number of resources or sub-resources.
///
///
/// An exception for creating a resource that already exists.
///
/// REST API Reference for CreateOutboundConnection Operation
public virtual Task CreateOutboundConnectionAsync(CreateOutboundConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateOutboundConnectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateOutboundConnectionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreatePackage
///
/// Creates a package for use with Amazon OpenSearch Service domains. For more information,
/// see Custom
/// packages for Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the CreatePackage service method.
///
/// The response from the CreatePackage service method, as returned by OpenSearchService.
///
/// An error occurred because you don't have permissions to access the resource.
///
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for trying to create or access a sub-resource that's either invalid or
/// not supported.
///
///
/// An exception for trying to create more than the allowed number of resources or sub-resources.
///
///
/// An exception for creating a resource that already exists.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// 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);
}
///
/// Creates a package for use with Amazon OpenSearch Service domains. For more information,
/// see Custom
/// packages for Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the CreatePackage service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreatePackage service method, as returned by OpenSearchService.
///
/// An error occurred because you don't have permissions to access the resource.
///
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for trying to create or access a sub-resource that's either invalid or
/// not supported.
///
///
/// An exception for trying to create more than the allowed number of resources or sub-resources.
///
///
/// An exception for creating a resource that already exists.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for CreatePackage Operation
public virtual Task CreatePackageAsync(CreatePackageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreatePackageRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreatePackageResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateVpcEndpoint
///
/// Creates an Amazon OpenSearch Service-managed VPC endpoint.
///
/// Container for the necessary parameters to execute the CreateVpcEndpoint service method.
///
/// The response from the CreateVpcEndpoint service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// An error occurred because the client attempts to remove a resource that is currently
/// in use.
///
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for trying to create more than the allowed number of resources or sub-resources.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for CreateVpcEndpoint Operation
public virtual CreateVpcEndpointResponse CreateVpcEndpoint(CreateVpcEndpointRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateVpcEndpointRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateVpcEndpointResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates an Amazon OpenSearch Service-managed VPC endpoint.
///
/// Container for the necessary parameters to execute the CreateVpcEndpoint service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateVpcEndpoint service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// An error occurred because the client attempts to remove a resource that is currently
/// in use.
///
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for trying to create more than the allowed number of resources or sub-resources.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for CreateVpcEndpoint Operation
public virtual Task CreateVpcEndpointAsync(CreateVpcEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateVpcEndpointRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateVpcEndpointResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteDomain
///
/// Deletes an Amazon OpenSearch Service domain and all of its data. You can't recover
/// a domain after you delete it.
///
/// Container for the necessary parameters to execute the DeleteDomain service method.
///
/// The response from the DeleteDomain service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for DeleteDomain Operation
public virtual DeleteDomainResponse DeleteDomain(DeleteDomainRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDomainResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes an Amazon OpenSearch Service domain and all of its data. You can't recover
/// a domain after you delete it.
///
/// Container for the necessary parameters to execute the DeleteDomain service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteDomain service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for DeleteDomain Operation
public virtual Task DeleteDomainAsync(DeleteDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDomainResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteInboundConnection
///
/// Allows the destination Amazon OpenSearch Service domain owner to delete an existing
/// inbound cross-cluster search connection. For more information, see Cross-cluster
/// search for Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the DeleteInboundConnection service method.
///
/// The response from the DeleteInboundConnection service method, as returned by OpenSearchService.
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for DeleteInboundConnection Operation
public virtual DeleteInboundConnectionResponse DeleteInboundConnection(DeleteInboundConnectionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteInboundConnectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteInboundConnectionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Allows the destination Amazon OpenSearch Service domain owner to delete an existing
/// inbound cross-cluster search connection. For more information, see Cross-cluster
/// search for Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the DeleteInboundConnection service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteInboundConnection service method, as returned by OpenSearchService.
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for DeleteInboundConnection Operation
public virtual Task DeleteInboundConnectionAsync(DeleteInboundConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteInboundConnectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteInboundConnectionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteOutboundConnection
///
/// Allows the source Amazon OpenSearch Service domain owner to delete an existing outbound
/// cross-cluster search connection. For more information, see Cross-cluster
/// search for Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the DeleteOutboundConnection service method.
///
/// The response from the DeleteOutboundConnection service method, as returned by OpenSearchService.
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for DeleteOutboundConnection Operation
public virtual DeleteOutboundConnectionResponse DeleteOutboundConnection(DeleteOutboundConnectionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteOutboundConnectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteOutboundConnectionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Allows the source Amazon OpenSearch Service domain owner to delete an existing outbound
/// cross-cluster search connection. For more information, see Cross-cluster
/// search for Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the DeleteOutboundConnection service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteOutboundConnection service method, as returned by OpenSearchService.
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for DeleteOutboundConnection Operation
public virtual Task DeleteOutboundConnectionAsync(DeleteOutboundConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteOutboundConnectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteOutboundConnectionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeletePackage
///
/// Deletes an Amazon OpenSearch Service package. For more information, see Custom
/// packages for Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the DeletePackage service method.
///
/// The response from the DeletePackage service method, as returned by OpenSearchService.
///
/// An error occurred because you don't have permissions to access the resource.
///
///
/// An error occurred while processing the request.
///
///
/// An error occurred because the client attempts to remove a resource that is currently
/// in use.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// 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);
}
///
/// Deletes an Amazon OpenSearch Service package. For more information, see Custom
/// packages for Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the DeletePackage service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeletePackage service method, as returned by OpenSearchService.
///
/// An error occurred because you don't have permissions to access the resource.
///
///
/// An error occurred while processing the request.
///
///
/// An error occurred because the client attempts to remove a resource that is currently
/// in use.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for DeletePackage Operation
public virtual Task DeletePackageAsync(DeletePackageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeletePackageRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeletePackageResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteVpcEndpoint
///
/// Deletes an Amazon OpenSearch Service-managed interface VPC endpoint.
///
/// Container for the necessary parameters to execute the DeleteVpcEndpoint service method.
///
/// The response from the DeleteVpcEndpoint service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for DeleteVpcEndpoint Operation
public virtual DeleteVpcEndpointResponse DeleteVpcEndpoint(DeleteVpcEndpointRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteVpcEndpointRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteVpcEndpointResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes an Amazon OpenSearch Service-managed interface VPC endpoint.
///
/// Container for the necessary parameters to execute the DeleteVpcEndpoint service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteVpcEndpoint service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for DeleteVpcEndpoint Operation
public virtual Task DeleteVpcEndpointAsync(DeleteVpcEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteVpcEndpointRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteVpcEndpointResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeDomain
///
/// Describes the domain configuration for the specified Amazon OpenSearch Service domain,
/// including the domain ID, domain service endpoint, and domain ARN.
///
/// Container for the necessary parameters to execute the DescribeDomain service method.
///
/// The response from the DescribeDomain service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for DescribeDomain Operation
public virtual DescribeDomainResponse DescribeDomain(DescribeDomainRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDomainResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes the domain configuration for the specified Amazon OpenSearch Service domain,
/// including the domain ID, domain service endpoint, and domain ARN.
///
/// Container for the necessary parameters to execute the DescribeDomain service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeDomain service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for DescribeDomain Operation
public virtual Task DescribeDomainAsync(DescribeDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDomainResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeDomainAutoTunes
///
/// Returns the list of optimizations that Auto-Tune has made to an Amazon OpenSearch
/// Service domain. For more information, see Auto-Tune
/// for Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the DescribeDomainAutoTunes service method.
///
/// The response from the DescribeDomainAutoTunes service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// 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);
}
///
/// Returns the list of optimizations that Auto-Tune has made to an Amazon OpenSearch
/// Service domain. For more information, see Auto-Tune
/// for Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the DescribeDomainAutoTunes service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeDomainAutoTunes service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for DescribeDomainAutoTunes Operation
public virtual Task DescribeDomainAutoTunesAsync(DescribeDomainAutoTunesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDomainAutoTunesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDomainAutoTunesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeDomainChangeProgress
///
/// Returns information about the current blue/green deployment happening on an Amazon
/// OpenSearch Service domain. For more information, see Making
/// configuration changes in Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the DescribeDomainChangeProgress service method.
///
/// The response from the DescribeDomainChangeProgress service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for DescribeDomainChangeProgress Operation
public virtual DescribeDomainChangeProgressResponse DescribeDomainChangeProgress(DescribeDomainChangeProgressRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDomainChangeProgressRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDomainChangeProgressResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns information about the current blue/green deployment happening on an Amazon
/// OpenSearch Service domain. For more information, see Making
/// configuration changes in Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the DescribeDomainChangeProgress service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeDomainChangeProgress service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for DescribeDomainChangeProgress Operation
public virtual Task DescribeDomainChangeProgressAsync(DescribeDomainChangeProgressRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDomainChangeProgressRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDomainChangeProgressResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeDomainConfig
///
/// Returns the configuration of an Amazon OpenSearch Service domain.
///
/// Container for the necessary parameters to execute the DescribeDomainConfig service method.
///
/// The response from the DescribeDomainConfig service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for DescribeDomainConfig Operation
public virtual DescribeDomainConfigResponse DescribeDomainConfig(DescribeDomainConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDomainConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDomainConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns the configuration of an Amazon OpenSearch Service domain.
///
/// Container for the necessary parameters to execute the DescribeDomainConfig service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeDomainConfig service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for DescribeDomainConfig Operation
public virtual Task DescribeDomainConfigAsync(DescribeDomainConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDomainConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDomainConfigResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeDomainHealth
///
/// Returns information about domain and node health, the standby Availability Zone, number
/// of nodes per Availability Zone, and shard count per node.
///
/// Container for the necessary parameters to execute the DescribeDomainHealth service method.
///
/// The response from the DescribeDomainHealth service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for DescribeDomainHealth Operation
public virtual DescribeDomainHealthResponse DescribeDomainHealth(DescribeDomainHealthRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDomainHealthRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDomainHealthResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns information about domain and node health, the standby Availability Zone, number
/// of nodes per Availability Zone, and shard count per node.
///
/// Container for the necessary parameters to execute the DescribeDomainHealth service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeDomainHealth service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for DescribeDomainHealth Operation
public virtual Task DescribeDomainHealthAsync(DescribeDomainHealthRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDomainHealthRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDomainHealthResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeDomainNodes
///
/// Returns information about domain and nodes, including data nodes, master nodes, ultrawarm
/// nodes, Availability Zone(s), standby nodes, node configurations, and node states.
///
/// Container for the necessary parameters to execute the DescribeDomainNodes service method.
///
/// The response from the DescribeDomainNodes service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// An exception for when a failure in one of the dependencies results in the service
/// being unable to fetch details about the resource.
///
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for DescribeDomainNodes Operation
public virtual DescribeDomainNodesResponse DescribeDomainNodes(DescribeDomainNodesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDomainNodesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDomainNodesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns information about domain and nodes, including data nodes, master nodes, ultrawarm
/// nodes, Availability Zone(s), standby nodes, node configurations, and node states.
///
/// Container for the necessary parameters to execute the DescribeDomainNodes service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeDomainNodes service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// An exception for when a failure in one of the dependencies results in the service
/// being unable to fetch details about the resource.
///
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for DescribeDomainNodes Operation
public virtual Task DescribeDomainNodesAsync(DescribeDomainNodesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDomainNodesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDomainNodesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeDomains
///
/// Returns domain configuration information about the specified Amazon OpenSearch Service
/// domains.
///
/// Container for the necessary parameters to execute the DescribeDomains service method.
///
/// The response from the DescribeDomains service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for DescribeDomains Operation
public virtual DescribeDomainsResponse DescribeDomains(DescribeDomainsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDomainsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDomainsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns domain configuration information about the specified Amazon OpenSearch Service
/// domains.
///
/// Container for the necessary parameters to execute the DescribeDomains service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeDomains service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for DescribeDomains Operation
public virtual Task DescribeDomainsAsync(DescribeDomainsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDomainsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDomainsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeDryRunProgress
///
/// Describes the progress of a pre-update dry run analysis on an Amazon OpenSearch Service
/// domain. For more information, see Determining
/// whether a change will cause a blue/green deployment.
///
/// Container for the necessary parameters to execute the DescribeDryRunProgress service method.
///
/// The response from the DescribeDryRunProgress service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for DescribeDryRunProgress Operation
public virtual DescribeDryRunProgressResponse DescribeDryRunProgress(DescribeDryRunProgressRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDryRunProgressRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDryRunProgressResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes the progress of a pre-update dry run analysis on an Amazon OpenSearch Service
/// domain. For more information, see Determining
/// whether a change will cause a blue/green deployment.
///
/// Container for the necessary parameters to execute the DescribeDryRunProgress service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeDryRunProgress service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for DescribeDryRunProgress Operation
public virtual Task DescribeDryRunProgressAsync(DescribeDryRunProgressRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDryRunProgressRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDryRunProgressResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeInboundConnections
///
/// Lists all the inbound cross-cluster search connections for a destination (remote)
/// Amazon OpenSearch Service domain. For more information, see Cross-cluster
/// search for Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the DescribeInboundConnections service method.
///
/// The response from the DescribeInboundConnections service method, as returned by OpenSearchService.
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because you provided an invalid pagination token.
///
/// REST API Reference for DescribeInboundConnections Operation
public virtual DescribeInboundConnectionsResponse DescribeInboundConnections(DescribeInboundConnectionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeInboundConnectionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeInboundConnectionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all the inbound cross-cluster search connections for a destination (remote)
/// Amazon OpenSearch Service domain. For more information, see Cross-cluster
/// search for Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the DescribeInboundConnections service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeInboundConnections service method, as returned by OpenSearchService.
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because you provided an invalid pagination token.
///
/// REST API Reference for DescribeInboundConnections Operation
public virtual Task DescribeInboundConnectionsAsync(DescribeInboundConnectionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeInboundConnectionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeInboundConnectionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeInstanceTypeLimits
///
/// Describes the instance count, storage, and master node limits for a given OpenSearch
/// or Elasticsearch version and instance type.
///
/// Container for the necessary parameters to execute the DescribeInstanceTypeLimits service method.
///
/// The response from the DescribeInstanceTypeLimits service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for trying to create or access a sub-resource that's either invalid or
/// not supported.
///
///
/// An exception for trying to create more than the allowed number of resources or sub-resources.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for DescribeInstanceTypeLimits Operation
public virtual DescribeInstanceTypeLimitsResponse DescribeInstanceTypeLimits(DescribeInstanceTypeLimitsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeInstanceTypeLimitsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeInstanceTypeLimitsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes the instance count, storage, and master node limits for a given OpenSearch
/// or Elasticsearch version and instance type.
///
/// Container for the necessary parameters to execute the DescribeInstanceTypeLimits service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeInstanceTypeLimits service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for trying to create or access a sub-resource that's either invalid or
/// not supported.
///
///
/// An exception for trying to create more than the allowed number of resources or sub-resources.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for DescribeInstanceTypeLimits Operation
public virtual Task DescribeInstanceTypeLimitsAsync(DescribeInstanceTypeLimitsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeInstanceTypeLimitsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeInstanceTypeLimitsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeOutboundConnections
///
/// Lists all the outbound cross-cluster connections for a local (source) Amazon OpenSearch
/// Service domain. For more information, see Cross-cluster
/// search for Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the DescribeOutboundConnections service method.
///
/// The response from the DescribeOutboundConnections service method, as returned by OpenSearchService.
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because you provided an invalid pagination token.
///
/// REST API Reference for DescribeOutboundConnections Operation
public virtual DescribeOutboundConnectionsResponse DescribeOutboundConnections(DescribeOutboundConnectionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeOutboundConnectionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeOutboundConnectionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all the outbound cross-cluster connections for a local (source) Amazon OpenSearch
/// Service domain. For more information, see Cross-cluster
/// search for Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the DescribeOutboundConnections service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeOutboundConnections service method, as returned by OpenSearchService.
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because you provided an invalid pagination token.
///
/// REST API Reference for DescribeOutboundConnections Operation
public virtual Task DescribeOutboundConnectionsAsync(DescribeOutboundConnectionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeOutboundConnectionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeOutboundConnectionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribePackages
///
/// Describes all packages available to OpenSearch Service. For more information, see
/// Custom
/// packages for Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the DescribePackages service method.
///
/// The response from the DescribePackages service method, as returned by OpenSearchService.
///
/// An error occurred because you don't have permissions to access the resource.
///
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for DescribePackages Operation
public virtual DescribePackagesResponse DescribePackages(DescribePackagesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribePackagesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribePackagesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes all packages available to OpenSearch Service. For more information, see
/// Custom
/// packages for Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the DescribePackages service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribePackages service method, as returned by OpenSearchService.
///
/// An error occurred because you don't have permissions to access the resource.
///
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for DescribePackages Operation
public virtual Task DescribePackagesAsync(DescribePackagesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribePackagesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribePackagesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeReservedInstanceOfferings
///
/// Describes the available Amazon OpenSearch Service Reserved Instance offerings for
/// a given Region. For more information, see Reserved
/// Instances in Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the DescribeReservedInstanceOfferings service method.
///
/// The response from the DescribeReservedInstanceOfferings service method, as returned by OpenSearchService.
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for DescribeReservedInstanceOfferings Operation
public virtual DescribeReservedInstanceOfferingsResponse DescribeReservedInstanceOfferings(DescribeReservedInstanceOfferingsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeReservedInstanceOfferingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeReservedInstanceOfferingsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes the available Amazon OpenSearch Service Reserved Instance offerings for
/// a given Region. For more information, see Reserved
/// Instances in Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the DescribeReservedInstanceOfferings service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeReservedInstanceOfferings service method, as returned by OpenSearchService.
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for DescribeReservedInstanceOfferings Operation
public virtual Task DescribeReservedInstanceOfferingsAsync(DescribeReservedInstanceOfferingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeReservedInstanceOfferingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeReservedInstanceOfferingsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeReservedInstances
///
/// Describes the Amazon OpenSearch Service instances that you have reserved in a given
/// Region. For more information, see Reserved
/// Instances in Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the DescribeReservedInstances service method.
///
/// The response from the DescribeReservedInstances service method, as returned by OpenSearchService.
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for DescribeReservedInstances Operation
public virtual DescribeReservedInstancesResponse DescribeReservedInstances(DescribeReservedInstancesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeReservedInstancesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeReservedInstancesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes the Amazon OpenSearch Service instances that you have reserved in a given
/// Region. For more information, see Reserved
/// Instances in Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the DescribeReservedInstances service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeReservedInstances service method, as returned by OpenSearchService.
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for DescribeReservedInstances Operation
public virtual Task DescribeReservedInstancesAsync(DescribeReservedInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeReservedInstancesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeReservedInstancesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeVpcEndpoints
///
/// Describes one or more Amazon OpenSearch Service-managed VPC endpoints.
///
/// Container for the necessary parameters to execute the DescribeVpcEndpoints service method.
///
/// The response from the DescribeVpcEndpoints service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for DescribeVpcEndpoints Operation
public virtual DescribeVpcEndpointsResponse DescribeVpcEndpoints(DescribeVpcEndpointsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeVpcEndpointsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeVpcEndpointsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describes one or more Amazon OpenSearch Service-managed VPC endpoints.
///
/// Container for the necessary parameters to execute the DescribeVpcEndpoints service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeVpcEndpoints service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for DescribeVpcEndpoints Operation
public virtual Task DescribeVpcEndpointsAsync(DescribeVpcEndpointsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeVpcEndpointsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeVpcEndpointsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DissociatePackage
///
/// Removes a package from the specified Amazon OpenSearch Service domain. The package
/// can't be in use with any OpenSearch index for the dissociation to succeed. The package
/// is still available in OpenSearch Service for association later. For more information,
/// see Custom
/// packages for Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the DissociatePackage service method.
///
/// The response from the DissociatePackage service method, as returned by OpenSearchService.
///
/// An error occurred because you don't have permissions to access the resource.
///
///
/// An error occurred while processing the request.
///
///
/// An error occurred because the client attempts to remove a resource that is currently
/// in use.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// 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);
}
///
/// Removes a package from the specified Amazon OpenSearch Service domain. The package
/// can't be in use with any OpenSearch index for the dissociation to succeed. The package
/// is still available in OpenSearch Service for association later. For more information,
/// see Custom
/// packages for Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the DissociatePackage service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DissociatePackage service method, as returned by OpenSearchService.
///
/// An error occurred because you don't have permissions to access the resource.
///
///
/// An error occurred while processing the request.
///
///
/// An error occurred because the client attempts to remove a resource that is currently
/// in use.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for DissociatePackage Operation
public virtual Task DissociatePackageAsync(DissociatePackageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DissociatePackageRequestMarshaller.Instance;
options.ResponseUnmarshaller = DissociatePackageResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetCompatibleVersions
///
/// Returns a map of OpenSearch or Elasticsearch versions and the versions you can upgrade
/// them to.
///
/// Container for the necessary parameters to execute the GetCompatibleVersions service method.
///
/// The response from the GetCompatibleVersions service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for GetCompatibleVersions Operation
public virtual GetCompatibleVersionsResponse GetCompatibleVersions(GetCompatibleVersionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetCompatibleVersionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetCompatibleVersionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a map of OpenSearch or Elasticsearch versions and the versions you can upgrade
/// them to.
///
/// Container for the necessary parameters to execute the GetCompatibleVersions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetCompatibleVersions service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for GetCompatibleVersions Operation
public virtual Task GetCompatibleVersionsAsync(GetCompatibleVersionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetCompatibleVersionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetCompatibleVersionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetPackageVersionHistory
///
/// Returns a list of Amazon OpenSearch Service package versions, along with their creation
/// time, commit message, and plugin properties (if the package is a zip plugin package).
/// For more information, see Custom
/// packages for Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the GetPackageVersionHistory service method.
///
/// The response from the GetPackageVersionHistory service method, as returned by OpenSearchService.
///
/// An error occurred because you don't have permissions to access the resource.
///
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for GetPackageVersionHistory Operation
public virtual GetPackageVersionHistoryResponse GetPackageVersionHistory(GetPackageVersionHistoryRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetPackageVersionHistoryRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetPackageVersionHistoryResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of Amazon OpenSearch Service package versions, along with their creation
/// time, commit message, and plugin properties (if the package is a zip plugin package).
/// For more information, see Custom
/// packages for Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the GetPackageVersionHistory service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetPackageVersionHistory service method, as returned by OpenSearchService.
///
/// An error occurred because you don't have permissions to access the resource.
///
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for GetPackageVersionHistory Operation
public virtual Task GetPackageVersionHistoryAsync(GetPackageVersionHistoryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetPackageVersionHistoryRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetPackageVersionHistoryResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetUpgradeHistory
///
/// Retrieves the complete history of the last 10 upgrades performed on an Amazon OpenSearch
/// Service domain.
///
/// Container for the necessary parameters to execute the GetUpgradeHistory service method.
///
/// The response from the GetUpgradeHistory service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for GetUpgradeHistory Operation
public virtual GetUpgradeHistoryResponse GetUpgradeHistory(GetUpgradeHistoryRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetUpgradeHistoryRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetUpgradeHistoryResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves the complete history of the last 10 upgrades performed on an Amazon OpenSearch
/// Service domain.
///
/// Container for the necessary parameters to execute the GetUpgradeHistory service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetUpgradeHistory service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for GetUpgradeHistory Operation
public virtual Task GetUpgradeHistoryAsync(GetUpgradeHistoryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetUpgradeHistoryRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetUpgradeHistoryResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetUpgradeStatus
///
/// Returns the most recent status of the last upgrade or upgrade eligibility check performed
/// on an Amazon OpenSearch Service domain.
///
/// Container for the necessary parameters to execute the GetUpgradeStatus service method.
///
/// The response from the GetUpgradeStatus service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// 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);
}
///
/// Returns the most recent status of the last upgrade or upgrade eligibility check performed
/// on an Amazon OpenSearch Service domain.
///
/// Container for the necessary parameters to execute the GetUpgradeStatus service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetUpgradeStatus service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for GetUpgradeStatus Operation
public virtual Task GetUpgradeStatusAsync(GetUpgradeStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetUpgradeStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetUpgradeStatusResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListDomainNames
///
/// Returns the names of all Amazon OpenSearch Service domains owned by the current user
/// in the active Region.
///
/// Container for the necessary parameters to execute the ListDomainNames service method.
///
/// The response from the ListDomainNames service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for ListDomainNames Operation
public virtual ListDomainNamesResponse ListDomainNames(ListDomainNamesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDomainNamesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDomainNamesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns the names of all Amazon OpenSearch Service domains owned by the current user
/// in the active Region.
///
/// Container for the necessary parameters to execute the ListDomainNames service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListDomainNames service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for ListDomainNames Operation
public virtual Task ListDomainNamesAsync(ListDomainNamesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDomainNamesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDomainNamesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListDomainsForPackage
///
/// Lists all Amazon OpenSearch Service domains associated with a given package. For more
/// information, see Custom
/// packages for Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the ListDomainsForPackage service method.
///
/// The response from the ListDomainsForPackage service method, as returned by OpenSearchService.
///
/// An error occurred because you don't have permissions to access the resource.
///
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for ListDomainsForPackage Operation
public virtual ListDomainsForPackageResponse ListDomainsForPackage(ListDomainsForPackageRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDomainsForPackageRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDomainsForPackageResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all Amazon OpenSearch Service domains associated with a given package. For more
/// information, see Custom
/// packages for Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the ListDomainsForPackage service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListDomainsForPackage service method, as returned by OpenSearchService.
///
/// An error occurred because you don't have permissions to access the resource.
///
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for ListDomainsForPackage Operation
public virtual Task ListDomainsForPackageAsync(ListDomainsForPackageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDomainsForPackageRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDomainsForPackageResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListInstanceTypeDetails
///
/// Lists all instance types and available features for a given OpenSearch or Elasticsearch
/// version.
///
/// Container for the necessary parameters to execute the ListInstanceTypeDetails service method.
///
/// The response from the ListInstanceTypeDetails service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for ListInstanceTypeDetails Operation
public virtual ListInstanceTypeDetailsResponse ListInstanceTypeDetails(ListInstanceTypeDetailsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListInstanceTypeDetailsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListInstanceTypeDetailsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all instance types and available features for a given OpenSearch or Elasticsearch
/// version.
///
/// Container for the necessary parameters to execute the ListInstanceTypeDetails service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListInstanceTypeDetails service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for ListInstanceTypeDetails Operation
public virtual Task ListInstanceTypeDetailsAsync(ListInstanceTypeDetailsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListInstanceTypeDetailsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListInstanceTypeDetailsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListPackagesForDomain
///
/// Lists all packages associated with an Amazon OpenSearch Service domain. For more information,
/// see Custom
/// packages for Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the ListPackagesForDomain service method.
///
/// The response from the ListPackagesForDomain service method, as returned by OpenSearchService.
///
/// An error occurred because you don't have permissions to access the resource.
///
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for ListPackagesForDomain Operation
public virtual ListPackagesForDomainResponse ListPackagesForDomain(ListPackagesForDomainRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPackagesForDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPackagesForDomainResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all packages associated with an Amazon OpenSearch Service domain. For more information,
/// see Custom
/// packages for Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the ListPackagesForDomain service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListPackagesForDomain service method, as returned by OpenSearchService.
///
/// An error occurred because you don't have permissions to access the resource.
///
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for ListPackagesForDomain Operation
public virtual Task ListPackagesForDomainAsync(ListPackagesForDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPackagesForDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPackagesForDomainResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListScheduledActions
///
/// Retrieves a list of configuration changes that are scheduled for a domain. These changes
/// can be service
/// software updates or blue/green
/// Auto-Tune enhancements.
///
/// Container for the necessary parameters to execute the ListScheduledActions service method.
///
/// The response from the ListScheduledActions service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// Request processing failed because you provided an invalid pagination token.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for ListScheduledActions Operation
public virtual ListScheduledActionsResponse ListScheduledActions(ListScheduledActionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListScheduledActionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListScheduledActionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves a list of configuration changes that are scheduled for a domain. These changes
/// can be service
/// software updates or blue/green
/// Auto-Tune enhancements.
///
/// Container for the necessary parameters to execute the ListScheduledActions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListScheduledActions service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// Request processing failed because you provided an invalid pagination token.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for ListScheduledActions Operation
public virtual Task ListScheduledActionsAsync(ListScheduledActionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListScheduledActionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListScheduledActionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTags
///
/// Returns all resource tags for an Amazon OpenSearch Service domain. For more information,
/// see Tagging
/// Amazon OpenSearch Service domains.
///
/// Container for the necessary parameters to execute the ListTags service method.
///
/// The response from the ListTags service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for ListTags Operation
public virtual ListTagsResponse ListTags(ListTagsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns all resource tags for an Amazon OpenSearch Service domain. For more information,
/// see Tagging
/// Amazon OpenSearch Service domains.
///
/// Container for the necessary parameters to execute the ListTags service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTags service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for ListTags Operation
public virtual Task ListTagsAsync(ListTagsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListVersions
///
/// Lists all versions of OpenSearch and Elasticsearch that Amazon OpenSearch Service
/// supports.
///
/// Container for the necessary parameters to execute the ListVersions service method.
///
/// The response from the ListVersions service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for ListVersions Operation
public virtual ListVersionsResponse ListVersions(ListVersionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListVersionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListVersionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all versions of OpenSearch and Elasticsearch that Amazon OpenSearch Service
/// supports.
///
/// Container for the necessary parameters to execute the ListVersions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListVersions service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for ListVersions Operation
public virtual Task ListVersionsAsync(ListVersionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListVersionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListVersionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListVpcEndpointAccess
///
/// Retrieves information about each Amazon Web Services principal that is allowed to
/// access a given Amazon OpenSearch Service domain through the use of an interface VPC
/// endpoint.
///
/// Container for the necessary parameters to execute the ListVpcEndpointAccess service method.
///
/// The response from the ListVpcEndpointAccess service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for ListVpcEndpointAccess Operation
public virtual ListVpcEndpointAccessResponse ListVpcEndpointAccess(ListVpcEndpointAccessRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListVpcEndpointAccessRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListVpcEndpointAccessResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves information about each Amazon Web Services principal that is allowed to
/// access a given Amazon OpenSearch Service domain through the use of an interface VPC
/// endpoint.
///
/// Container for the necessary parameters to execute the ListVpcEndpointAccess service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListVpcEndpointAccess service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for ListVpcEndpointAccess Operation
public virtual Task ListVpcEndpointAccessAsync(ListVpcEndpointAccessRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListVpcEndpointAccessRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListVpcEndpointAccessResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListVpcEndpoints
///
/// Retrieves all Amazon OpenSearch Service-managed VPC endpoints in the current Amazon
/// Web Services account and Region.
///
/// Container for the necessary parameters to execute the ListVpcEndpoints service method.
///
/// The response from the ListVpcEndpoints service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
/// REST API Reference for ListVpcEndpoints Operation
public virtual ListVpcEndpointsResponse ListVpcEndpoints(ListVpcEndpointsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListVpcEndpointsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListVpcEndpointsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves all Amazon OpenSearch Service-managed VPC endpoints in the current Amazon
/// Web Services account and Region.
///
/// Container for the necessary parameters to execute the ListVpcEndpoints service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListVpcEndpoints service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
/// REST API Reference for ListVpcEndpoints Operation
public virtual Task ListVpcEndpointsAsync(ListVpcEndpointsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListVpcEndpointsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListVpcEndpointsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListVpcEndpointsForDomain
///
/// Retrieves all Amazon OpenSearch Service-managed VPC endpoints associated with a particular
/// domain.
///
/// Container for the necessary parameters to execute the ListVpcEndpointsForDomain service method.
///
/// The response from the ListVpcEndpointsForDomain service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for ListVpcEndpointsForDomain Operation
public virtual ListVpcEndpointsForDomainResponse ListVpcEndpointsForDomain(ListVpcEndpointsForDomainRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListVpcEndpointsForDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListVpcEndpointsForDomainResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves all Amazon OpenSearch Service-managed VPC endpoints associated with a particular
/// domain.
///
/// Container for the necessary parameters to execute the ListVpcEndpointsForDomain service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListVpcEndpointsForDomain service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for ListVpcEndpointsForDomain Operation
public virtual Task ListVpcEndpointsForDomainAsync(ListVpcEndpointsForDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListVpcEndpointsForDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListVpcEndpointsForDomainResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region PurchaseReservedInstanceOffering
///
/// Allows you to purchase Amazon OpenSearch Service Reserved Instances.
///
/// Container for the necessary parameters to execute the PurchaseReservedInstanceOffering service method.
///
/// The response from the PurchaseReservedInstanceOffering service method, as returned by OpenSearchService.
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for trying to create more than the allowed number of resources or sub-resources.
///
///
/// An exception for creating a resource that already exists.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for PurchaseReservedInstanceOffering Operation
public virtual PurchaseReservedInstanceOfferingResponse PurchaseReservedInstanceOffering(PurchaseReservedInstanceOfferingRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PurchaseReservedInstanceOfferingRequestMarshaller.Instance;
options.ResponseUnmarshaller = PurchaseReservedInstanceOfferingResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Allows you to purchase Amazon OpenSearch Service Reserved Instances.
///
/// Container for the necessary parameters to execute the PurchaseReservedInstanceOffering service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the PurchaseReservedInstanceOffering service method, as returned by OpenSearchService.
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for trying to create more than the allowed number of resources or sub-resources.
///
///
/// An exception for creating a resource that already exists.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for PurchaseReservedInstanceOffering Operation
public virtual Task PurchaseReservedInstanceOfferingAsync(PurchaseReservedInstanceOfferingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = PurchaseReservedInstanceOfferingRequestMarshaller.Instance;
options.ResponseUnmarshaller = PurchaseReservedInstanceOfferingResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region RejectInboundConnection
///
/// Allows the remote Amazon OpenSearch Service domain owner to reject an inbound cross-cluster
/// connection request.
///
/// Container for the necessary parameters to execute the RejectInboundConnection service method.
///
/// The response from the RejectInboundConnection service method, as returned by OpenSearchService.
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for RejectInboundConnection Operation
public virtual RejectInboundConnectionResponse RejectInboundConnection(RejectInboundConnectionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RejectInboundConnectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = RejectInboundConnectionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Allows the remote Amazon OpenSearch Service domain owner to reject an inbound cross-cluster
/// connection request.
///
/// Container for the necessary parameters to execute the RejectInboundConnection service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RejectInboundConnection service method, as returned by OpenSearchService.
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for RejectInboundConnection Operation
public virtual Task RejectInboundConnectionAsync(RejectInboundConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = RejectInboundConnectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = RejectInboundConnectionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region RemoveTags
///
/// Removes the specified set of tags from an Amazon OpenSearch Service domain. For more
/// information, see
/// Tagging Amazon OpenSearch Service domains.
///
/// Container for the necessary parameters to execute the RemoveTags service method.
///
/// The response from the RemoveTags service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for RemoveTags Operation
public virtual RemoveTagsResponse RemoveTags(RemoveTagsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RemoveTagsRequestMarshaller.Instance;
options.ResponseUnmarshaller = RemoveTagsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Removes the specified set of tags from an Amazon OpenSearch Service domain. For more
/// information, see
/// Tagging Amazon OpenSearch Service domains.
///
/// Container for the necessary parameters to execute the RemoveTags service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RemoveTags service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for RemoveTags Operation
public virtual Task RemoveTagsAsync(RemoveTagsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = RemoveTagsRequestMarshaller.Instance;
options.ResponseUnmarshaller = RemoveTagsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region RevokeVpcEndpointAccess
///
/// Revokes access to an Amazon OpenSearch Service domain that was provided through an
/// interface VPC endpoint.
///
/// Container for the necessary parameters to execute the RevokeVpcEndpointAccess service method.
///
/// The response from the RevokeVpcEndpointAccess service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for RevokeVpcEndpointAccess Operation
public virtual RevokeVpcEndpointAccessResponse RevokeVpcEndpointAccess(RevokeVpcEndpointAccessRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RevokeVpcEndpointAccessRequestMarshaller.Instance;
options.ResponseUnmarshaller = RevokeVpcEndpointAccessResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Revokes access to an Amazon OpenSearch Service domain that was provided through an
/// interface VPC endpoint.
///
/// Container for the necessary parameters to execute the RevokeVpcEndpointAccess service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RevokeVpcEndpointAccess service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for RevokeVpcEndpointAccess Operation
public virtual Task RevokeVpcEndpointAccessAsync(RevokeVpcEndpointAccessRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = RevokeVpcEndpointAccessRequestMarshaller.Instance;
options.ResponseUnmarshaller = RevokeVpcEndpointAccessResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StartServiceSoftwareUpdate
///
/// Schedules a service software update for an Amazon OpenSearch Service domain. For more
/// information, see Service
/// software updates in Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the StartServiceSoftwareUpdate service method.
///
/// The response from the StartServiceSoftwareUpdate service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for StartServiceSoftwareUpdate Operation
public virtual StartServiceSoftwareUpdateResponse StartServiceSoftwareUpdate(StartServiceSoftwareUpdateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartServiceSoftwareUpdateRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartServiceSoftwareUpdateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Schedules a service software update for an Amazon OpenSearch Service domain. For more
/// information, see Service
/// software updates in Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the StartServiceSoftwareUpdate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartServiceSoftwareUpdate service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for StartServiceSoftwareUpdate Operation
public virtual Task StartServiceSoftwareUpdateAsync(StartServiceSoftwareUpdateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartServiceSoftwareUpdateRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartServiceSoftwareUpdateResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateDomainConfig
///
/// Modifies the cluster configuration of the specified Amazon OpenSearch Service domain.sl
///
/// Container for the necessary parameters to execute the UpdateDomainConfig service method.
///
/// The response from the UpdateDomainConfig service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for trying to create or access a sub-resource that's either invalid or
/// not supported.
///
///
/// An exception for trying to create more than the allowed number of resources or sub-resources.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for UpdateDomainConfig Operation
public virtual UpdateDomainConfigResponse UpdateDomainConfig(UpdateDomainConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDomainConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDomainConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Modifies the cluster configuration of the specified Amazon OpenSearch Service domain.sl
///
/// Container for the necessary parameters to execute the UpdateDomainConfig service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateDomainConfig service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for trying to create or access a sub-resource that's either invalid or
/// not supported.
///
///
/// An exception for trying to create more than the allowed number of resources or sub-resources.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for UpdateDomainConfig Operation
public virtual Task UpdateDomainConfigAsync(UpdateDomainConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDomainConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDomainConfigResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdatePackage
///
/// Updates a package for use with Amazon OpenSearch Service domains. For more information,
/// see Custom
/// packages for Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the UpdatePackage service method.
///
/// The response from the UpdatePackage service method, as returned by OpenSearchService.
///
/// An error occurred because you don't have permissions to access the resource.
///
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for trying to create more than the allowed number of resources or sub-resources.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for UpdatePackage Operation
public virtual UpdatePackageResponse UpdatePackage(UpdatePackageRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdatePackageRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdatePackageResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates a package for use with Amazon OpenSearch Service domains. For more information,
/// see Custom
/// packages for Amazon OpenSearch Service.
///
/// Container for the necessary parameters to execute the UpdatePackage service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdatePackage service method, as returned by OpenSearchService.
///
/// An error occurred because you don't have permissions to access the resource.
///
///
/// An error occurred while processing the request.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for trying to create more than the allowed number of resources or sub-resources.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for UpdatePackage Operation
public virtual Task UpdatePackageAsync(UpdatePackageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdatePackageRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdatePackageResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateScheduledAction
///
/// Reschedules a planned domain configuration change for a later time. This change can
/// be a scheduled service
/// software update or a blue/green
/// Auto-Tune enhancement.
///
/// Container for the necessary parameters to execute the UpdateScheduledAction service method.
///
/// The response from the UpdateScheduledAction service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// An error occurred because the client attempts to remove a resource that is currently
/// in use.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for trying to create more than the allowed number of resources or sub-resources.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for attempting to schedule a domain action during an unavailable time
/// slot.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for UpdateScheduledAction Operation
public virtual UpdateScheduledActionResponse UpdateScheduledAction(UpdateScheduledActionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateScheduledActionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateScheduledActionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Reschedules a planned domain configuration change for a later time. This change can
/// be a scheduled service
/// software update or a blue/green
/// Auto-Tune enhancement.
///
/// Container for the necessary parameters to execute the UpdateScheduledAction service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateScheduledAction service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// An error occurred because the client attempts to remove a resource that is currently
/// in use.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for trying to create more than the allowed number of resources or sub-resources.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for attempting to schedule a domain action during an unavailable time
/// slot.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for UpdateScheduledAction Operation
public virtual Task UpdateScheduledActionAsync(UpdateScheduledActionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateScheduledActionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateScheduledActionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateVpcEndpoint
///
/// Modifies an Amazon OpenSearch Service-managed interface VPC endpoint.
///
/// Container for the necessary parameters to execute the UpdateVpcEndpoint service method.
///
/// The response from the UpdateVpcEndpoint service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// An error occurred because the client attempts to remove a resource that is currently
/// in use.
///
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for UpdateVpcEndpoint Operation
public virtual UpdateVpcEndpointResponse UpdateVpcEndpoint(UpdateVpcEndpointRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateVpcEndpointRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateVpcEndpointResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Modifies an Amazon OpenSearch Service-managed interface VPC endpoint.
///
/// Container for the necessary parameters to execute the UpdateVpcEndpoint service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateVpcEndpoint service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// An error occurred because the client attempts to remove a resource that is currently
/// in use.
///
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for UpdateVpcEndpoint Operation
public virtual Task UpdateVpcEndpointAsync(UpdateVpcEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateVpcEndpointRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateVpcEndpointResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpgradeDomain
///
/// Allows you to either upgrade your Amazon OpenSearch Service domain or perform an upgrade
/// eligibility check to a compatible version of OpenSearch or Elasticsearch.
///
/// Container for the necessary parameters to execute the UpgradeDomain service method.
///
/// The response from the UpgradeDomain service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for creating a resource that already exists.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for UpgradeDomain Operation
public virtual UpgradeDomainResponse UpgradeDomain(UpgradeDomainRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpgradeDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpgradeDomainResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Allows you to either upgrade your Amazon OpenSearch Service domain or perform an upgrade
/// eligibility check to a compatible version of OpenSearch or Elasticsearch.
///
/// Container for the necessary parameters to execute the UpgradeDomain service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpgradeDomain service method, as returned by OpenSearchService.
///
/// An error occurred while processing the request.
///
///
/// An error occured because the client wanted to access an unsupported operation.
///
///
/// Request processing failed because of an unknown error, exception, or internal failure.
///
///
/// An exception for creating a resource that already exists.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
///
/// An exception for accessing or deleting a resource that doesn't exist.
///
/// REST API Reference for UpgradeDomain Operation
public virtual Task UpgradeDomainAsync(UpgradeDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpgradeDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpgradeDomainResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
}
}