/* * 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.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(); #if BCL45 || AWS_ASYNC_ENUMERABLES_API private IOpenSearchServicePaginatorFactory _paginators; /// /// Paginators for the service /// public IOpenSearchServicePaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new OpenSearchServicePaginatorFactory(this); } return this._paginators; } } #endif #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); } /// /// Initiates the asynchronous execution of the AcceptInboundConnection operation. /// /// /// Container for the necessary parameters to execute the AcceptInboundConnection operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAcceptInboundConnection /// operation. /// REST API Reference for AcceptInboundConnection Operation public virtual IAsyncResult BeginAcceptInboundConnection(AcceptInboundConnectionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = AcceptInboundConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = AcceptInboundConnectionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the AcceptInboundConnection operation. /// /// /// The IAsyncResult returned by the call to BeginAcceptInboundConnection. /// /// Returns a AcceptInboundConnectionResult from OpenSearchService. /// REST API Reference for AcceptInboundConnection Operation public virtual AcceptInboundConnectionResponse EndAcceptInboundConnection(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the AddTags operation. /// /// /// Container for the necessary parameters to execute the AddTags operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAddTags /// operation. /// REST API Reference for AddTags Operation public virtual IAsyncResult BeginAddTags(AddTagsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = AddTagsRequestMarshaller.Instance; options.ResponseUnmarshaller = AddTagsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the AddTags operation. /// /// /// The IAsyncResult returned by the call to BeginAddTags. /// /// Returns a AddTagsResult from OpenSearchService. /// REST API Reference for AddTags Operation public virtual AddTagsResponse EndAddTags(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the AssociatePackage operation. /// /// /// Container for the necessary parameters to execute the AssociatePackage operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAssociatePackage /// operation. /// REST API Reference for AssociatePackage Operation public virtual IAsyncResult BeginAssociatePackage(AssociatePackageRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = AssociatePackageRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociatePackageResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the AssociatePackage operation. /// /// /// The IAsyncResult returned by the call to BeginAssociatePackage. /// /// Returns a AssociatePackageResult from OpenSearchService. /// REST API Reference for AssociatePackage Operation public virtual AssociatePackageResponse EndAssociatePackage(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region AuthorizeVpcEndpointAccess /// /// Provides access to an Amazon OpenSearch Service domain through the use of an interface /// VPC endpoint. /// /// Container for the necessary parameters to execute the AuthorizeVpcEndpointAccess service method. /// /// The response from the AuthorizeVpcEndpointAccess service method, as returned by 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); } /// /// Initiates the asynchronous execution of the AuthorizeVpcEndpointAccess operation. /// /// /// Container for the necessary parameters to execute the AuthorizeVpcEndpointAccess operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAuthorizeVpcEndpointAccess /// operation. /// REST API Reference for AuthorizeVpcEndpointAccess Operation public virtual IAsyncResult BeginAuthorizeVpcEndpointAccess(AuthorizeVpcEndpointAccessRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = AuthorizeVpcEndpointAccessRequestMarshaller.Instance; options.ResponseUnmarshaller = AuthorizeVpcEndpointAccessResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the AuthorizeVpcEndpointAccess operation. /// /// /// The IAsyncResult returned by the call to BeginAuthorizeVpcEndpointAccess. /// /// Returns a AuthorizeVpcEndpointAccessResult from OpenSearchService. /// REST API Reference for AuthorizeVpcEndpointAccess Operation public virtual AuthorizeVpcEndpointAccessResponse EndAuthorizeVpcEndpointAccess(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the CancelServiceSoftwareUpdate operation. /// /// /// Container for the necessary parameters to execute the CancelServiceSoftwareUpdate operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCancelServiceSoftwareUpdate /// operation. /// REST API Reference for CancelServiceSoftwareUpdate Operation public virtual IAsyncResult BeginCancelServiceSoftwareUpdate(CancelServiceSoftwareUpdateRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CancelServiceSoftwareUpdateRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelServiceSoftwareUpdateResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CancelServiceSoftwareUpdate operation. /// /// /// The IAsyncResult returned by the call to BeginCancelServiceSoftwareUpdate. /// /// Returns a CancelServiceSoftwareUpdateResult from OpenSearchService. /// REST API Reference for CancelServiceSoftwareUpdate Operation public virtual CancelServiceSoftwareUpdateResponse EndCancelServiceSoftwareUpdate(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the CreateDomain operation. /// /// /// Container for the necessary parameters to execute the CreateDomain operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateDomain /// operation. /// REST API Reference for CreateDomain Operation public virtual IAsyncResult BeginCreateDomain(CreateDomainRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDomainResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateDomain operation. /// /// /// The IAsyncResult returned by the call to BeginCreateDomain. /// /// Returns a CreateDomainResult from OpenSearchService. /// REST API Reference for CreateDomain Operation public virtual CreateDomainResponse EndCreateDomain(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the CreateOutboundConnection operation. /// /// /// Container for the necessary parameters to execute the CreateOutboundConnection operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateOutboundConnection /// operation. /// REST API Reference for CreateOutboundConnection Operation public virtual IAsyncResult BeginCreateOutboundConnection(CreateOutboundConnectionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateOutboundConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateOutboundConnectionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateOutboundConnection operation. /// /// /// The IAsyncResult returned by the call to BeginCreateOutboundConnection. /// /// Returns a CreateOutboundConnectionResult from OpenSearchService. /// REST API Reference for CreateOutboundConnection Operation public virtual CreateOutboundConnectionResponse EndCreateOutboundConnection(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the CreatePackage operation. /// /// /// Container for the necessary parameters to execute the CreatePackage operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreatePackage /// operation. /// REST API Reference for CreatePackage Operation public virtual IAsyncResult BeginCreatePackage(CreatePackageRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreatePackageRequestMarshaller.Instance; options.ResponseUnmarshaller = CreatePackageResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreatePackage operation. /// /// /// The IAsyncResult returned by the call to BeginCreatePackage. /// /// Returns a CreatePackageResult from OpenSearchService. /// REST API Reference for CreatePackage Operation public virtual CreatePackageResponse EndCreatePackage(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateVpcEndpoint /// /// Creates an Amazon OpenSearch Service-managed VPC endpoint. /// /// Container for the necessary parameters to execute the CreateVpcEndpoint service method. /// /// The response from the CreateVpcEndpoint service method, as returned by 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); } /// /// Initiates the asynchronous execution of the CreateVpcEndpoint operation. /// /// /// Container for the necessary parameters to execute the CreateVpcEndpoint operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateVpcEndpoint /// operation. /// REST API Reference for CreateVpcEndpoint Operation public virtual IAsyncResult BeginCreateVpcEndpoint(CreateVpcEndpointRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVpcEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVpcEndpointResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateVpcEndpoint operation. /// /// /// The IAsyncResult returned by the call to BeginCreateVpcEndpoint. /// /// Returns a CreateVpcEndpointResult from OpenSearchService. /// REST API Reference for CreateVpcEndpoint Operation public virtual CreateVpcEndpointResponse EndCreateVpcEndpoint(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DeleteDomain operation. /// /// /// Container for the necessary parameters to execute the DeleteDomain operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteDomain /// operation. /// REST API Reference for DeleteDomain Operation public virtual IAsyncResult BeginDeleteDomain(DeleteDomainRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDomainResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteDomain operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteDomain. /// /// Returns a DeleteDomainResult from OpenSearchService. /// REST API Reference for DeleteDomain Operation public virtual DeleteDomainResponse EndDeleteDomain(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DeleteInboundConnection operation. /// /// /// Container for the necessary parameters to execute the DeleteInboundConnection operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteInboundConnection /// operation. /// REST API Reference for DeleteInboundConnection Operation public virtual IAsyncResult BeginDeleteInboundConnection(DeleteInboundConnectionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteInboundConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteInboundConnectionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteInboundConnection operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteInboundConnection. /// /// Returns a DeleteInboundConnectionResult from OpenSearchService. /// REST API Reference for DeleteInboundConnection Operation public virtual DeleteInboundConnectionResponse EndDeleteInboundConnection(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DeleteOutboundConnection operation. /// /// /// Container for the necessary parameters to execute the DeleteOutboundConnection operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteOutboundConnection /// operation. /// REST API Reference for DeleteOutboundConnection Operation public virtual IAsyncResult BeginDeleteOutboundConnection(DeleteOutboundConnectionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteOutboundConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteOutboundConnectionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteOutboundConnection operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteOutboundConnection. /// /// Returns a DeleteOutboundConnectionResult from OpenSearchService. /// REST API Reference for DeleteOutboundConnection Operation public virtual DeleteOutboundConnectionResponse EndDeleteOutboundConnection(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DeletePackage operation. /// /// /// Container for the necessary parameters to execute the DeletePackage operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeletePackage /// operation. /// REST API Reference for DeletePackage Operation public virtual IAsyncResult BeginDeletePackage(DeletePackageRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePackageRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePackageResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeletePackage operation. /// /// /// The IAsyncResult returned by the call to BeginDeletePackage. /// /// Returns a DeletePackageResult from OpenSearchService. /// REST API Reference for DeletePackage Operation public virtual DeletePackageResponse EndDeletePackage(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteVpcEndpoint /// /// Deletes an Amazon OpenSearch Service-managed interface VPC endpoint. /// /// Container for the necessary parameters to execute the DeleteVpcEndpoint service method. /// /// The response from the DeleteVpcEndpoint service method, as returned by 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); } /// /// Initiates the asynchronous execution of the DeleteVpcEndpoint operation. /// /// /// Container for the necessary parameters to execute the DeleteVpcEndpoint operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteVpcEndpoint /// operation. /// REST API Reference for DeleteVpcEndpoint Operation public virtual IAsyncResult BeginDeleteVpcEndpoint(DeleteVpcEndpointRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVpcEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVpcEndpointResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteVpcEndpoint operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteVpcEndpoint. /// /// Returns a DeleteVpcEndpointResult from OpenSearchService. /// REST API Reference for DeleteVpcEndpoint Operation public virtual DeleteVpcEndpointResponse EndDeleteVpcEndpoint(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DescribeDomain operation. /// /// /// Container for the necessary parameters to execute the DescribeDomain operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeDomain /// operation. /// REST API Reference for DescribeDomain Operation public virtual IAsyncResult BeginDescribeDomain(DescribeDomainRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDomainResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeDomain operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeDomain. /// /// Returns a DescribeDomainResult from OpenSearchService. /// REST API Reference for DescribeDomain Operation public virtual DescribeDomainResponse EndDescribeDomain(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DescribeDomainAutoTunes operation. /// /// /// Container for the necessary parameters to execute the DescribeDomainAutoTunes operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeDomainAutoTunes /// operation. /// REST API Reference for DescribeDomainAutoTunes Operation public virtual IAsyncResult BeginDescribeDomainAutoTunes(DescribeDomainAutoTunesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDomainAutoTunesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDomainAutoTunesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeDomainAutoTunes operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeDomainAutoTunes. /// /// Returns a DescribeDomainAutoTunesResult from OpenSearchService. /// REST API Reference for DescribeDomainAutoTunes Operation public virtual DescribeDomainAutoTunesResponse EndDescribeDomainAutoTunes(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeDomainChangeProgress /// /// Returns information about the current blue/green deployment happening on 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); } /// /// Initiates the asynchronous execution of the DescribeDomainChangeProgress operation. /// /// /// Container for the necessary parameters to execute the DescribeDomainChangeProgress operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeDomainChangeProgress /// operation. /// REST API Reference for DescribeDomainChangeProgress Operation public virtual IAsyncResult BeginDescribeDomainChangeProgress(DescribeDomainChangeProgressRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDomainChangeProgressRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDomainChangeProgressResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeDomainChangeProgress operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeDomainChangeProgress. /// /// Returns a DescribeDomainChangeProgressResult from OpenSearchService. /// REST API Reference for DescribeDomainChangeProgress Operation public virtual DescribeDomainChangeProgressResponse EndDescribeDomainChangeProgress(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DescribeDomainConfig operation. /// /// /// Container for the necessary parameters to execute the DescribeDomainConfig operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeDomainConfig /// operation. /// REST API Reference for DescribeDomainConfig Operation public virtual IAsyncResult BeginDescribeDomainConfig(DescribeDomainConfigRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDomainConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDomainConfigResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeDomainConfig operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeDomainConfig. /// /// Returns a DescribeDomainConfigResult from OpenSearchService. /// REST API Reference for DescribeDomainConfig Operation public virtual DescribeDomainConfigResponse EndDescribeDomainConfig(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DescribeDomainHealth operation. /// /// /// Container for the necessary parameters to execute the DescribeDomainHealth operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeDomainHealth /// operation. /// REST API Reference for DescribeDomainHealth Operation public virtual IAsyncResult BeginDescribeDomainHealth(DescribeDomainHealthRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDomainHealthRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDomainHealthResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeDomainHealth operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeDomainHealth. /// /// Returns a DescribeDomainHealthResult from OpenSearchService. /// REST API Reference for DescribeDomainHealth Operation public virtual DescribeDomainHealthResponse EndDescribeDomainHealth(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DescribeDomainNodes operation. /// /// /// Container for the necessary parameters to execute the DescribeDomainNodes operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeDomainNodes /// operation. /// REST API Reference for DescribeDomainNodes Operation public virtual IAsyncResult BeginDescribeDomainNodes(DescribeDomainNodesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDomainNodesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDomainNodesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeDomainNodes operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeDomainNodes. /// /// Returns a DescribeDomainNodesResult from OpenSearchService. /// REST API Reference for DescribeDomainNodes Operation public virtual DescribeDomainNodesResponse EndDescribeDomainNodes(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DescribeDomains operation. /// /// /// Container for the necessary parameters to execute the DescribeDomains operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeDomains /// operation. /// REST API Reference for DescribeDomains Operation public virtual IAsyncResult BeginDescribeDomains(DescribeDomainsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDomainsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDomainsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeDomains operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeDomains. /// /// Returns a DescribeDomainsResult from OpenSearchService. /// REST API Reference for DescribeDomains Operation public virtual DescribeDomainsResponse EndDescribeDomains(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DescribeDryRunProgress operation. /// /// /// Container for the necessary parameters to execute the DescribeDryRunProgress operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeDryRunProgress /// operation. /// REST API Reference for DescribeDryRunProgress Operation public virtual IAsyncResult BeginDescribeDryRunProgress(DescribeDryRunProgressRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDryRunProgressRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDryRunProgressResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeDryRunProgress operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeDryRunProgress. /// /// Returns a DescribeDryRunProgressResult from OpenSearchService. /// REST API Reference for DescribeDryRunProgress Operation public virtual DescribeDryRunProgressResponse EndDescribeDryRunProgress(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DescribeInboundConnections operation. /// /// /// Container for the necessary parameters to execute the DescribeInboundConnections operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeInboundConnections /// operation. /// REST API Reference for DescribeInboundConnections Operation public virtual IAsyncResult BeginDescribeInboundConnections(DescribeInboundConnectionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeInboundConnectionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeInboundConnectionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeInboundConnections operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeInboundConnections. /// /// Returns a DescribeInboundConnectionsResult from OpenSearchService. /// REST API Reference for DescribeInboundConnections Operation public virtual DescribeInboundConnectionsResponse EndDescribeInboundConnections(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DescribeInstanceTypeLimits operation. /// /// /// Container for the necessary parameters to execute the DescribeInstanceTypeLimits operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeInstanceTypeLimits /// operation. /// REST API Reference for DescribeInstanceTypeLimits Operation public virtual IAsyncResult BeginDescribeInstanceTypeLimits(DescribeInstanceTypeLimitsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeInstanceTypeLimitsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeInstanceTypeLimitsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeInstanceTypeLimits operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeInstanceTypeLimits. /// /// Returns a DescribeInstanceTypeLimitsResult from OpenSearchService. /// REST API Reference for DescribeInstanceTypeLimits Operation public virtual DescribeInstanceTypeLimitsResponse EndDescribeInstanceTypeLimits(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DescribeOutboundConnections operation. /// /// /// Container for the necessary parameters to execute the DescribeOutboundConnections operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeOutboundConnections /// operation. /// REST API Reference for DescribeOutboundConnections Operation public virtual IAsyncResult BeginDescribeOutboundConnections(DescribeOutboundConnectionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeOutboundConnectionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeOutboundConnectionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeOutboundConnections operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeOutboundConnections. /// /// Returns a DescribeOutboundConnectionsResult from OpenSearchService. /// REST API Reference for DescribeOutboundConnections Operation public virtual DescribeOutboundConnectionsResponse EndDescribeOutboundConnections(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DescribePackages operation. /// /// /// Container for the necessary parameters to execute the DescribePackages operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribePackages /// operation. /// REST API Reference for DescribePackages Operation public virtual IAsyncResult BeginDescribePackages(DescribePackagesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribePackagesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribePackagesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribePackages operation. /// /// /// The IAsyncResult returned by the call to BeginDescribePackages. /// /// Returns a DescribePackagesResult from OpenSearchService. /// REST API Reference for DescribePackages Operation public virtual DescribePackagesResponse EndDescribePackages(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DescribeReservedInstanceOfferings operation. /// /// /// Container for the necessary parameters to execute the DescribeReservedInstanceOfferings operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeReservedInstanceOfferings /// operation. /// REST API Reference for DescribeReservedInstanceOfferings Operation public virtual IAsyncResult BeginDescribeReservedInstanceOfferings(DescribeReservedInstanceOfferingsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReservedInstanceOfferingsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReservedInstanceOfferingsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeReservedInstanceOfferings operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeReservedInstanceOfferings. /// /// Returns a DescribeReservedInstanceOfferingsResult from OpenSearchService. /// REST API Reference for DescribeReservedInstanceOfferings Operation public virtual DescribeReservedInstanceOfferingsResponse EndDescribeReservedInstanceOfferings(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DescribeReservedInstances operation. /// /// /// Container for the necessary parameters to execute the DescribeReservedInstances operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeReservedInstances /// operation. /// REST API Reference for DescribeReservedInstances Operation public virtual IAsyncResult BeginDescribeReservedInstances(DescribeReservedInstancesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReservedInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReservedInstancesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeReservedInstances operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeReservedInstances. /// /// Returns a DescribeReservedInstancesResult from OpenSearchService. /// REST API Reference for DescribeReservedInstances Operation public virtual DescribeReservedInstancesResponse EndDescribeReservedInstances(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeVpcEndpoints /// /// Describes one or more Amazon OpenSearch Service-managed VPC endpoints. /// /// Container for the necessary parameters to execute the DescribeVpcEndpoints service method. /// /// The response from the DescribeVpcEndpoints service method, as returned by 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); } /// /// Initiates the asynchronous execution of the DescribeVpcEndpoints operation. /// /// /// Container for the necessary parameters to execute the DescribeVpcEndpoints operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeVpcEndpoints /// operation. /// REST API Reference for DescribeVpcEndpoints Operation public virtual IAsyncResult BeginDescribeVpcEndpoints(DescribeVpcEndpointsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVpcEndpointsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVpcEndpointsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeVpcEndpoints operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeVpcEndpoints. /// /// Returns a DescribeVpcEndpointsResult from OpenSearchService. /// REST API Reference for DescribeVpcEndpoints Operation public virtual DescribeVpcEndpointsResponse EndDescribeVpcEndpoints(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DissociatePackage operation. /// /// /// Container for the necessary parameters to execute the DissociatePackage operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDissociatePackage /// operation. /// REST API Reference for DissociatePackage Operation public virtual IAsyncResult BeginDissociatePackage(DissociatePackageRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DissociatePackageRequestMarshaller.Instance; options.ResponseUnmarshaller = DissociatePackageResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DissociatePackage operation. /// /// /// The IAsyncResult returned by the call to BeginDissociatePackage. /// /// Returns a DissociatePackageResult from OpenSearchService. /// REST API Reference for DissociatePackage Operation public virtual DissociatePackageResponse EndDissociatePackage(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the GetCompatibleVersions operation. /// /// /// Container for the necessary parameters to execute the GetCompatibleVersions operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetCompatibleVersions /// operation. /// REST API Reference for GetCompatibleVersions Operation public virtual IAsyncResult BeginGetCompatibleVersions(GetCompatibleVersionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetCompatibleVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCompatibleVersionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetCompatibleVersions operation. /// /// /// The IAsyncResult returned by the call to BeginGetCompatibleVersions. /// /// Returns a GetCompatibleVersionsResult from OpenSearchService. /// REST API Reference for GetCompatibleVersions Operation public virtual GetCompatibleVersionsResponse EndGetCompatibleVersions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the GetPackageVersionHistory operation. /// /// /// Container for the necessary parameters to execute the GetPackageVersionHistory operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetPackageVersionHistory /// operation. /// REST API Reference for GetPackageVersionHistory Operation public virtual IAsyncResult BeginGetPackageVersionHistory(GetPackageVersionHistoryRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetPackageVersionHistoryRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPackageVersionHistoryResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetPackageVersionHistory operation. /// /// /// The IAsyncResult returned by the call to BeginGetPackageVersionHistory. /// /// Returns a GetPackageVersionHistoryResult from OpenSearchService. /// REST API Reference for GetPackageVersionHistory Operation public virtual GetPackageVersionHistoryResponse EndGetPackageVersionHistory(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetUpgradeHistory /// /// Retrieves the complete history of the last 10 upgrades 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); } /// /// Initiates the asynchronous execution of the GetUpgradeHistory operation. /// /// /// Container for the necessary parameters to execute the GetUpgradeHistory operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetUpgradeHistory /// operation. /// REST API Reference for GetUpgradeHistory Operation public virtual IAsyncResult BeginGetUpgradeHistory(GetUpgradeHistoryRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetUpgradeHistoryRequestMarshaller.Instance; options.ResponseUnmarshaller = GetUpgradeHistoryResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetUpgradeHistory operation. /// /// /// The IAsyncResult returned by the call to BeginGetUpgradeHistory. /// /// Returns a GetUpgradeHistoryResult from OpenSearchService. /// REST API Reference for GetUpgradeHistory Operation public virtual GetUpgradeHistoryResponse EndGetUpgradeHistory(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the GetUpgradeStatus operation. /// /// /// Container for the necessary parameters to execute the GetUpgradeStatus operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetUpgradeStatus /// operation. /// REST API Reference for GetUpgradeStatus Operation public virtual IAsyncResult BeginGetUpgradeStatus(GetUpgradeStatusRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetUpgradeStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = GetUpgradeStatusResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetUpgradeStatus operation. /// /// /// The IAsyncResult returned by the call to BeginGetUpgradeStatus. /// /// Returns a GetUpgradeStatusResult from OpenSearchService. /// REST API Reference for GetUpgradeStatus Operation public virtual GetUpgradeStatusResponse EndGetUpgradeStatus(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListDomainNames operation. /// /// /// Container for the necessary parameters to execute the ListDomainNames operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDomainNames /// operation. /// REST API Reference for ListDomainNames Operation public virtual IAsyncResult BeginListDomainNames(ListDomainNamesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListDomainNamesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDomainNamesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListDomainNames operation. /// /// /// The IAsyncResult returned by the call to BeginListDomainNames. /// /// Returns a ListDomainNamesResult from OpenSearchService. /// REST API Reference for ListDomainNames Operation public virtual ListDomainNamesResponse EndListDomainNames(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListDomainsForPackage operation. /// /// /// Container for the necessary parameters to execute the ListDomainsForPackage operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDomainsForPackage /// operation. /// REST API Reference for ListDomainsForPackage Operation public virtual IAsyncResult BeginListDomainsForPackage(ListDomainsForPackageRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListDomainsForPackageRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDomainsForPackageResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListDomainsForPackage operation. /// /// /// The IAsyncResult returned by the call to BeginListDomainsForPackage. /// /// Returns a ListDomainsForPackageResult from OpenSearchService. /// REST API Reference for ListDomainsForPackage Operation public virtual ListDomainsForPackageResponse EndListDomainsForPackage(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListInstanceTypeDetails operation. /// /// /// Container for the necessary parameters to execute the ListInstanceTypeDetails operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListInstanceTypeDetails /// operation. /// REST API Reference for ListInstanceTypeDetails Operation public virtual IAsyncResult BeginListInstanceTypeDetails(ListInstanceTypeDetailsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListInstanceTypeDetailsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListInstanceTypeDetailsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListInstanceTypeDetails operation. /// /// /// The IAsyncResult returned by the call to BeginListInstanceTypeDetails. /// /// Returns a ListInstanceTypeDetailsResult from OpenSearchService. /// REST API Reference for ListInstanceTypeDetails Operation public virtual ListInstanceTypeDetailsResponse EndListInstanceTypeDetails(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListPackagesForDomain operation. /// /// /// Container for the necessary parameters to execute the ListPackagesForDomain operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListPackagesForDomain /// operation. /// REST API Reference for ListPackagesForDomain Operation public virtual IAsyncResult BeginListPackagesForDomain(ListPackagesForDomainRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListPackagesForDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPackagesForDomainResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListPackagesForDomain operation. /// /// /// The IAsyncResult returned by the call to BeginListPackagesForDomain. /// /// Returns a ListPackagesForDomainResult from OpenSearchService. /// REST API Reference for ListPackagesForDomain Operation public virtual ListPackagesForDomainResponse EndListPackagesForDomain(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListScheduledActions operation. /// /// /// Container for the necessary parameters to execute the ListScheduledActions operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListScheduledActions /// operation. /// REST API Reference for ListScheduledActions Operation public virtual IAsyncResult BeginListScheduledActions(ListScheduledActionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListScheduledActionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListScheduledActionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListScheduledActions operation. /// /// /// The IAsyncResult returned by the call to BeginListScheduledActions. /// /// Returns a ListScheduledActionsResult from OpenSearchService. /// REST API Reference for ListScheduledActions Operation public virtual ListScheduledActionsResponse EndListScheduledActions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListTags operation. /// /// /// Container for the necessary parameters to execute the ListTags operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTags /// operation. /// REST API Reference for ListTags Operation public virtual IAsyncResult BeginListTags(ListTagsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListTags operation. /// /// /// The IAsyncResult returned by the call to BeginListTags. /// /// Returns a ListTagsResult from OpenSearchService. /// REST API Reference for ListTags Operation public virtual ListTagsResponse EndListTags(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListVersions operation. /// /// /// Container for the necessary parameters to execute the ListVersions operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListVersions /// operation. /// REST API Reference for ListVersions Operation public virtual IAsyncResult BeginListVersions(ListVersionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVersionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListVersions operation. /// /// /// The IAsyncResult returned by the call to BeginListVersions. /// /// Returns a ListVersionsResult from OpenSearchService. /// REST API Reference for ListVersions Operation public virtual ListVersionsResponse EndListVersions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListVpcEndpointAccess operation. /// /// /// Container for the necessary parameters to execute the ListVpcEndpointAccess operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListVpcEndpointAccess /// operation. /// REST API Reference for ListVpcEndpointAccess Operation public virtual IAsyncResult BeginListVpcEndpointAccess(ListVpcEndpointAccessRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListVpcEndpointAccessRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVpcEndpointAccessResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListVpcEndpointAccess operation. /// /// /// The IAsyncResult returned by the call to BeginListVpcEndpointAccess. /// /// Returns a ListVpcEndpointAccessResult from OpenSearchService. /// REST API Reference for ListVpcEndpointAccess Operation public virtual ListVpcEndpointAccessResponse EndListVpcEndpointAccess(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListVpcEndpoints /// /// Retrieves all Amazon OpenSearch Service-managed VPC endpoints in the current 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); } /// /// Initiates the asynchronous execution of the ListVpcEndpoints operation. /// /// /// Container for the necessary parameters to execute the ListVpcEndpoints operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListVpcEndpoints /// operation. /// REST API Reference for ListVpcEndpoints Operation public virtual IAsyncResult BeginListVpcEndpoints(ListVpcEndpointsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListVpcEndpointsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVpcEndpointsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListVpcEndpoints operation. /// /// /// The IAsyncResult returned by the call to BeginListVpcEndpoints. /// /// Returns a ListVpcEndpointsResult from OpenSearchService. /// REST API Reference for ListVpcEndpoints Operation public virtual ListVpcEndpointsResponse EndListVpcEndpoints(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListVpcEndpointsForDomain /// /// Retrieves all Amazon OpenSearch Service-managed VPC endpoints associated with a particular /// domain. /// /// Container for the necessary parameters to execute the ListVpcEndpointsForDomain service method. /// /// The response from the ListVpcEndpointsForDomain service method, as returned by 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); } /// /// Initiates the asynchronous execution of the ListVpcEndpointsForDomain operation. /// /// /// Container for the necessary parameters to execute the ListVpcEndpointsForDomain operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListVpcEndpointsForDomain /// operation. /// REST API Reference for ListVpcEndpointsForDomain Operation public virtual IAsyncResult BeginListVpcEndpointsForDomain(ListVpcEndpointsForDomainRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListVpcEndpointsForDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVpcEndpointsForDomainResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListVpcEndpointsForDomain operation. /// /// /// The IAsyncResult returned by the call to BeginListVpcEndpointsForDomain. /// /// Returns a ListVpcEndpointsForDomainResult from OpenSearchService. /// REST API Reference for ListVpcEndpointsForDomain Operation public virtual ListVpcEndpointsForDomainResponse EndListVpcEndpointsForDomain(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the PurchaseReservedInstanceOffering operation. /// /// /// Container for the necessary parameters to execute the PurchaseReservedInstanceOffering operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPurchaseReservedInstanceOffering /// operation. /// REST API Reference for PurchaseReservedInstanceOffering Operation public virtual IAsyncResult BeginPurchaseReservedInstanceOffering(PurchaseReservedInstanceOfferingRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PurchaseReservedInstanceOfferingRequestMarshaller.Instance; options.ResponseUnmarshaller = PurchaseReservedInstanceOfferingResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the PurchaseReservedInstanceOffering operation. /// /// /// The IAsyncResult returned by the call to BeginPurchaseReservedInstanceOffering. /// /// Returns a PurchaseReservedInstanceOfferingResult from OpenSearchService. /// REST API Reference for PurchaseReservedInstanceOffering Operation public virtual PurchaseReservedInstanceOfferingResponse EndPurchaseReservedInstanceOffering(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the RejectInboundConnection operation. /// /// /// Container for the necessary parameters to execute the RejectInboundConnection operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndRejectInboundConnection /// operation. /// REST API Reference for RejectInboundConnection Operation public virtual IAsyncResult BeginRejectInboundConnection(RejectInboundConnectionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = RejectInboundConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = RejectInboundConnectionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the RejectInboundConnection operation. /// /// /// The IAsyncResult returned by the call to BeginRejectInboundConnection. /// /// Returns a RejectInboundConnectionResult from OpenSearchService. /// REST API Reference for RejectInboundConnection Operation public virtual RejectInboundConnectionResponse EndRejectInboundConnection(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the RemoveTags operation. /// /// /// Container for the necessary parameters to execute the RemoveTags operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndRemoveTags /// operation. /// REST API Reference for RemoveTags Operation public virtual IAsyncResult BeginRemoveTags(RemoveTagsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = RemoveTagsRequestMarshaller.Instance; options.ResponseUnmarshaller = RemoveTagsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the RemoveTags operation. /// /// /// The IAsyncResult returned by the call to BeginRemoveTags. /// /// Returns a RemoveTagsResult from OpenSearchService. /// REST API Reference for RemoveTags Operation public virtual RemoveTagsResponse EndRemoveTags(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region RevokeVpcEndpointAccess /// /// Revokes access to an Amazon OpenSearch Service domain that was provided through an /// interface VPC endpoint. /// /// Container for the necessary parameters to execute the RevokeVpcEndpointAccess service method. /// /// The response from the RevokeVpcEndpointAccess service method, as returned by 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); } /// /// Initiates the asynchronous execution of the RevokeVpcEndpointAccess operation. /// /// /// Container for the necessary parameters to execute the RevokeVpcEndpointAccess operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndRevokeVpcEndpointAccess /// operation. /// REST API Reference for RevokeVpcEndpointAccess Operation public virtual IAsyncResult BeginRevokeVpcEndpointAccess(RevokeVpcEndpointAccessRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = RevokeVpcEndpointAccessRequestMarshaller.Instance; options.ResponseUnmarshaller = RevokeVpcEndpointAccessResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the RevokeVpcEndpointAccess operation. /// /// /// The IAsyncResult returned by the call to BeginRevokeVpcEndpointAccess. /// /// Returns a RevokeVpcEndpointAccessResult from OpenSearchService. /// REST API Reference for RevokeVpcEndpointAccess Operation public virtual RevokeVpcEndpointAccessResponse EndRevokeVpcEndpointAccess(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the StartServiceSoftwareUpdate operation. /// /// /// Container for the necessary parameters to execute the StartServiceSoftwareUpdate operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartServiceSoftwareUpdate /// operation. /// REST API Reference for StartServiceSoftwareUpdate Operation public virtual IAsyncResult BeginStartServiceSoftwareUpdate(StartServiceSoftwareUpdateRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartServiceSoftwareUpdateRequestMarshaller.Instance; options.ResponseUnmarshaller = StartServiceSoftwareUpdateResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StartServiceSoftwareUpdate operation. /// /// /// The IAsyncResult returned by the call to BeginStartServiceSoftwareUpdate. /// /// Returns a StartServiceSoftwareUpdateResult from OpenSearchService. /// REST API Reference for StartServiceSoftwareUpdate Operation public virtual StartServiceSoftwareUpdateResponse EndStartServiceSoftwareUpdate(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the UpdateDomainConfig operation. /// /// /// Container for the necessary parameters to execute the UpdateDomainConfig operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateDomainConfig /// operation. /// REST API Reference for UpdateDomainConfig Operation public virtual IAsyncResult BeginUpdateDomainConfig(UpdateDomainConfigRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDomainConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDomainConfigResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateDomainConfig operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateDomainConfig. /// /// Returns a UpdateDomainConfigResult from OpenSearchService. /// REST API Reference for UpdateDomainConfig Operation public virtual UpdateDomainConfigResponse EndUpdateDomainConfig(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the UpdatePackage operation. /// /// /// Container for the necessary parameters to execute the UpdatePackage operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdatePackage /// operation. /// REST API Reference for UpdatePackage Operation public virtual IAsyncResult BeginUpdatePackage(UpdatePackageRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdatePackageRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdatePackageResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdatePackage operation. /// /// /// The IAsyncResult returned by the call to BeginUpdatePackage. /// /// Returns a UpdatePackageResult from OpenSearchService. /// REST API Reference for UpdatePackage Operation public virtual UpdatePackageResponse EndUpdatePackage(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the UpdateScheduledAction operation. /// /// /// Container for the necessary parameters to execute the UpdateScheduledAction operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateScheduledAction /// operation. /// REST API Reference for UpdateScheduledAction Operation public virtual IAsyncResult BeginUpdateScheduledAction(UpdateScheduledActionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateScheduledActionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateScheduledActionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateScheduledAction operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateScheduledAction. /// /// Returns a UpdateScheduledActionResult from OpenSearchService. /// REST API Reference for UpdateScheduledAction Operation public virtual UpdateScheduledActionResponse EndUpdateScheduledAction(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateVpcEndpoint /// /// Modifies an Amazon OpenSearch Service-managed interface VPC endpoint. /// /// Container for the necessary parameters to execute the UpdateVpcEndpoint service method. /// /// The response from the UpdateVpcEndpoint service method, as returned by 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); } /// /// Initiates the asynchronous execution of the UpdateVpcEndpoint operation. /// /// /// Container for the necessary parameters to execute the UpdateVpcEndpoint operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateVpcEndpoint /// operation. /// REST API Reference for UpdateVpcEndpoint Operation public virtual IAsyncResult BeginUpdateVpcEndpoint(UpdateVpcEndpointRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVpcEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVpcEndpointResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateVpcEndpoint operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateVpcEndpoint. /// /// Returns a UpdateVpcEndpointResult from OpenSearchService. /// REST API Reference for UpdateVpcEndpoint Operation public virtual UpdateVpcEndpointResponse EndUpdateVpcEndpoint(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the UpgradeDomain operation. /// /// /// Container for the necessary parameters to execute the UpgradeDomain operation on AmazonOpenSearchServiceClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpgradeDomain /// operation. /// REST API Reference for UpgradeDomain Operation public virtual IAsyncResult BeginUpgradeDomain(UpgradeDomainRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpgradeDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = UpgradeDomainResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpgradeDomain operation. /// /// /// The IAsyncResult returned by the call to BeginUpgradeDomain. /// /// Returns a UpgradeDomainResult from OpenSearchService. /// REST API Reference for UpgradeDomain Operation public virtual UpgradeDomainResponse EndUpgradeDomain(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion } }