import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types" ; import { AcceptInboundCrossClusterSearchConnectionCommand , AcceptInboundCrossClusterSearchConnectionCommandInput , AcceptInboundCrossClusterSearchConnectionCommandOutput , } from "./commands/AcceptInboundCrossClusterSearchConnectionCommand" ; import { AddTagsCommand , AddTagsCommandInput , AddTagsCommandOutput } from "./commands/AddTagsCommand" ; import { AssociatePackageCommand , AssociatePackageCommandInput , AssociatePackageCommandOutput , } from "./commands/AssociatePackageCommand" ; import { CancelElasticsearchServiceSoftwareUpdateCommand , CancelElasticsearchServiceSoftwareUpdateCommandInput , CancelElasticsearchServiceSoftwareUpdateCommandOutput , } from "./commands/CancelElasticsearchServiceSoftwareUpdateCommand" ; import { CreateElasticsearchDomainCommand , CreateElasticsearchDomainCommandInput , CreateElasticsearchDomainCommandOutput , } from "./commands/CreateElasticsearchDomainCommand" ; import { CreateOutboundCrossClusterSearchConnectionCommand , CreateOutboundCrossClusterSearchConnectionCommandInput , CreateOutboundCrossClusterSearchConnectionCommandOutput , } from "./commands/CreateOutboundCrossClusterSearchConnectionCommand" ; import { CreatePackageCommand , CreatePackageCommandInput , CreatePackageCommandOutput , } from "./commands/CreatePackageCommand" ; import { DeleteElasticsearchDomainCommand , DeleteElasticsearchDomainCommandInput , DeleteElasticsearchDomainCommandOutput , } from "./commands/DeleteElasticsearchDomainCommand" ; import { DeleteElasticsearchServiceRoleCommand , DeleteElasticsearchServiceRoleCommandInput , DeleteElasticsearchServiceRoleCommandOutput , } from "./commands/DeleteElasticsearchServiceRoleCommand" ; import { DeleteInboundCrossClusterSearchConnectionCommand , DeleteInboundCrossClusterSearchConnectionCommandInput , DeleteInboundCrossClusterSearchConnectionCommandOutput , } from "./commands/DeleteInboundCrossClusterSearchConnectionCommand" ; import { DeleteOutboundCrossClusterSearchConnectionCommand , DeleteOutboundCrossClusterSearchConnectionCommandInput , DeleteOutboundCrossClusterSearchConnectionCommandOutput , } from "./commands/DeleteOutboundCrossClusterSearchConnectionCommand" ; import { DeletePackageCommand , DeletePackageCommandInput , DeletePackageCommandOutput , } from "./commands/DeletePackageCommand" ; import { DescribeDomainAutoTunesCommand , DescribeDomainAutoTunesCommandInput , DescribeDomainAutoTunesCommandOutput , } from "./commands/DescribeDomainAutoTunesCommand" ; import { DescribeElasticsearchDomainCommand , DescribeElasticsearchDomainCommandInput , DescribeElasticsearchDomainCommandOutput , } from "./commands/DescribeElasticsearchDomainCommand" ; import { DescribeElasticsearchDomainConfigCommand , DescribeElasticsearchDomainConfigCommandInput , DescribeElasticsearchDomainConfigCommandOutput , } from "./commands/DescribeElasticsearchDomainConfigCommand" ; import { DescribeElasticsearchDomainsCommand , DescribeElasticsearchDomainsCommandInput , DescribeElasticsearchDomainsCommandOutput , } from "./commands/DescribeElasticsearchDomainsCommand" ; import { DescribeElasticsearchInstanceTypeLimitsCommand , DescribeElasticsearchInstanceTypeLimitsCommandInput , DescribeElasticsearchInstanceTypeLimitsCommandOutput , } from "./commands/DescribeElasticsearchInstanceTypeLimitsCommand" ; import { DescribeInboundCrossClusterSearchConnectionsCommand , DescribeInboundCrossClusterSearchConnectionsCommandInput , DescribeInboundCrossClusterSearchConnectionsCommandOutput , } from "./commands/DescribeInboundCrossClusterSearchConnectionsCommand" ; import { DescribeOutboundCrossClusterSearchConnectionsCommand , DescribeOutboundCrossClusterSearchConnectionsCommandInput , DescribeOutboundCrossClusterSearchConnectionsCommandOutput , } from "./commands/DescribeOutboundCrossClusterSearchConnectionsCommand" ; import { DescribePackagesCommand , DescribePackagesCommandInput , DescribePackagesCommandOutput , } from "./commands/DescribePackagesCommand" ; import { DescribeReservedElasticsearchInstanceOfferingsCommand , DescribeReservedElasticsearchInstanceOfferingsCommandInput , DescribeReservedElasticsearchInstanceOfferingsCommandOutput , } from "./commands/DescribeReservedElasticsearchInstanceOfferingsCommand" ; import { DescribeReservedElasticsearchInstancesCommand , DescribeReservedElasticsearchInstancesCommandInput , DescribeReservedElasticsearchInstancesCommandOutput , } from "./commands/DescribeReservedElasticsearchInstancesCommand" ; import { DissociatePackageCommand , DissociatePackageCommandInput , DissociatePackageCommandOutput , } from "./commands/DissociatePackageCommand" ; import { GetCompatibleElasticsearchVersionsCommand , GetCompatibleElasticsearchVersionsCommandInput , GetCompatibleElasticsearchVersionsCommandOutput , } from "./commands/GetCompatibleElasticsearchVersionsCommand" ; import { GetPackageVersionHistoryCommand , GetPackageVersionHistoryCommandInput , GetPackageVersionHistoryCommandOutput , } from "./commands/GetPackageVersionHistoryCommand" ; import { GetUpgradeHistoryCommand , GetUpgradeHistoryCommandInput , GetUpgradeHistoryCommandOutput , } from "./commands/GetUpgradeHistoryCommand" ; import { GetUpgradeStatusCommand , GetUpgradeStatusCommandInput , GetUpgradeStatusCommandOutput , } from "./commands/GetUpgradeStatusCommand" ; import { ListDomainNamesCommand , ListDomainNamesCommandInput , ListDomainNamesCommandOutput , } from "./commands/ListDomainNamesCommand" ; import { ListDomainsForPackageCommand , ListDomainsForPackageCommandInput , ListDomainsForPackageCommandOutput , } from "./commands/ListDomainsForPackageCommand" ; import { ListElasticsearchInstanceTypesCommand , ListElasticsearchInstanceTypesCommandInput , ListElasticsearchInstanceTypesCommandOutput , } from "./commands/ListElasticsearchInstanceTypesCommand" ; import { ListElasticsearchVersionsCommand , ListElasticsearchVersionsCommandInput , ListElasticsearchVersionsCommandOutput , } from "./commands/ListElasticsearchVersionsCommand" ; import { ListPackagesForDomainCommand , ListPackagesForDomainCommandInput , ListPackagesForDomainCommandOutput , } from "./commands/ListPackagesForDomainCommand" ; import { ListTagsCommand , ListTagsCommandInput , ListTagsCommandOutput } from "./commands/ListTagsCommand" ; import { PurchaseReservedElasticsearchInstanceOfferingCommand , PurchaseReservedElasticsearchInstanceOfferingCommandInput , PurchaseReservedElasticsearchInstanceOfferingCommandOutput , } from "./commands/PurchaseReservedElasticsearchInstanceOfferingCommand" ; import { RejectInboundCrossClusterSearchConnectionCommand , RejectInboundCrossClusterSearchConnectionCommandInput , RejectInboundCrossClusterSearchConnectionCommandOutput , } from "./commands/RejectInboundCrossClusterSearchConnectionCommand" ; import { RemoveTagsCommand , RemoveTagsCommandInput , RemoveTagsCommandOutput } from "./commands/RemoveTagsCommand" ; import { StartElasticsearchServiceSoftwareUpdateCommand , StartElasticsearchServiceSoftwareUpdateCommandInput , StartElasticsearchServiceSoftwareUpdateCommandOutput , } from "./commands/StartElasticsearchServiceSoftwareUpdateCommand" ; import { UpdateElasticsearchDomainConfigCommand , UpdateElasticsearchDomainConfigCommandInput , UpdateElasticsearchDomainConfigCommandOutput , } from "./commands/UpdateElasticsearchDomainConfigCommand" ; import { UpdatePackageCommand , UpdatePackageCommandInput , UpdatePackageCommandOutput , } from "./commands/UpdatePackageCommand" ; import { UpgradeElasticsearchDomainCommand , UpgradeElasticsearchDomainCommandInput , UpgradeElasticsearchDomainCommandOutput , } from "./commands/UpgradeElasticsearchDomainCommand" ; import { ElasticsearchServiceClient } from "./ElasticsearchServiceClient" ; /**
 * <fullname>Amazon Elasticsearch Configuration Service</fullname>
 *       <p>Use the Amazon Elasticsearch Configuration API to create, configure, and manage Elasticsearch domains.</p>
 *       <p>For sample code that uses the Configuration API, see the <a href="https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-configuration-samples.html">Amazon Elasticsearch Service Developer Guide</a>.
 *       The guide also contains <a href="https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-request-signing.html">sample code for sending signed HTTP requests to the Elasticsearch APIs</a>.</p>
 *       <p>The endpoint for configuration service requests is region-specific: es.<i>region</i>.amazonaws.com.
 *          For example, es.us-east-1.amazonaws.com. For a current list of supported regions and endpoints,
 *          see <a href="http://docs.aws.amazon.com/general/latest/gr/rande.html#elasticsearch-service-regions" target="_blank">Regions and Endpoints</a>.</p>
 */ export class ElasticsearchService extends ElasticsearchServiceClient { /**
     * <p>Allows the destination domain owner to accept an inbound cross-cluster search connection request.</p>
     */ public acceptInboundCrossClusterSearchConnection ( args , options ? ) ; public acceptInboundCrossClusterSearchConnection ( args , cb ) ; public acceptInboundCrossClusterSearchConnection ( args , options , cb ) ; public acceptInboundCrossClusterSearchConnection ( args , optionsOrCb ? , cb ? ) { const command = new AcceptInboundCrossClusterSearchConnectionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Attaches tags to an existing Elasticsearch domain. Tags are a set of case-sensitive key value pairs. An Elasticsearch domain may have up to 10 tags.  See <a href="http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-managedomains.html#es-managedomains-awsresorcetagging" target="_blank">
     *           Tagging Amazon Elasticsearch Service Domains for more information.</a></p>
     */ public addTags ( args , options ? ) ; public addTags ( args , cb ) ; public addTags ( args , options , cb ) ; public addTags ( args , optionsOrCb ? , cb ? ) { const command = new AddTagsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Associates a package with an Amazon ES domain.</p>
     */ public associatePackage ( args , options ? ) ; public associatePackage ( args , cb ) ; public associatePackage ( args , options , cb ) ; public associatePackage ( args , optionsOrCb ? , cb ? ) { const command = new AssociatePackageCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Cancels a scheduled service software update for an Amazon ES domain. You can only perform this operation before the <code>AutomatedUpdateDate</code> and when the <code>UpdateStatus</code> is in the <code>PENDING_UPDATE</code> state.</p>
     */ public cancelElasticsearchServiceSoftwareUpdate ( args , options ? ) ; public cancelElasticsearchServiceSoftwareUpdate ( args , cb ) ; public cancelElasticsearchServiceSoftwareUpdate ( args , options , cb ) ; public cancelElasticsearchServiceSoftwareUpdate ( args , optionsOrCb ? , cb ? ) { const command = new CancelElasticsearchServiceSoftwareUpdateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a new Elasticsearch domain. For more information,
     *           see <a href="http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomains" target="_blank">Creating Elasticsearch Domains</a> in the <i>Amazon Elasticsearch Service Developer Guide</i>.</p>
     */ public createElasticsearchDomain ( args , options ? ) ; public createElasticsearchDomain ( args , cb ) ; public createElasticsearchDomain ( args , options , cb ) ; public createElasticsearchDomain ( args , optionsOrCb ? , cb ? ) { const command = new CreateElasticsearchDomainCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a new cross-cluster search connection from a source domain to a destination domain.</p>
     */ public createOutboundCrossClusterSearchConnection ( args , options ? ) ; public createOutboundCrossClusterSearchConnection ( args , cb ) ; public createOutboundCrossClusterSearchConnection ( args , options , cb ) ; public createOutboundCrossClusterSearchConnection ( args , optionsOrCb ? , cb ? ) { const command = new CreateOutboundCrossClusterSearchConnectionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Create a package for use with Amazon ES domains.</p>
     */ public createPackage ( args , options ? ) ; public createPackage ( args , cb ) ; public createPackage ( args , options , cb ) ; public createPackage ( args , optionsOrCb ? , cb ? ) { const command = new CreatePackageCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Permanently deletes the specified Elasticsearch domain and all of its data. Once a domain is deleted, it cannot be recovered.</p>
     */ public deleteElasticsearchDomain ( args , options ? ) ; public deleteElasticsearchDomain ( args , cb ) ; public deleteElasticsearchDomain ( args , options , cb ) ; public deleteElasticsearchDomain ( args , optionsOrCb ? , cb ? ) { const command = new DeleteElasticsearchDomainCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the service-linked role that Elasticsearch Service uses to manage and maintain VPC domains. Role deletion will fail if any existing VPC domains use the role. You must delete any such Elasticsearch domains before deleting the role. See <a href="http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-vpc.html#es-enabling-slr" target="_blank">Deleting Elasticsearch Service Role</a> in <i>VPC Endpoints for Amazon Elasticsearch Service Domains</i>.</p>
     */ public deleteElasticsearchServiceRole ( args , options ? ) ; public deleteElasticsearchServiceRole ( args , cb ) ; public deleteElasticsearchServiceRole ( args , options , cb ) ; public deleteElasticsearchServiceRole ( args , optionsOrCb ? , cb ? ) { const command = new DeleteElasticsearchServiceRoleCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Allows the destination domain owner to delete an existing inbound cross-cluster search connection.</p>
     */ public deleteInboundCrossClusterSearchConnection ( args , options ? ) ; public deleteInboundCrossClusterSearchConnection ( args , cb ) ; public deleteInboundCrossClusterSearchConnection ( args , options , cb ) ; public deleteInboundCrossClusterSearchConnection ( args , optionsOrCb ? , cb ? ) { const command = new DeleteInboundCrossClusterSearchConnectionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Allows the source domain owner to delete an existing outbound cross-cluster search connection.</p>
     */ public deleteOutboundCrossClusterSearchConnection ( args , options ? ) ; public deleteOutboundCrossClusterSearchConnection ( args , cb ) ; public deleteOutboundCrossClusterSearchConnection ( args , options , cb ) ; public deleteOutboundCrossClusterSearchConnection ( args , optionsOrCb ? , cb ? ) { const command = new DeleteOutboundCrossClusterSearchConnectionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Delete the package.</p>
     */ public deletePackage ( args , options ? ) ; public deletePackage ( args , cb ) ; public deletePackage ( args , options , cb ) ; public deletePackage ( args , optionsOrCb ? , cb ? ) { const command = new DeletePackageCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Provides scheduled Auto-Tune action details for the Elasticsearch domain, such as Auto-Tune action type, description, severity, and scheduled date.</p>
     */ public describeDomainAutoTunes ( args , options ? ) ; public describeDomainAutoTunes ( args , cb ) ; public describeDomainAutoTunes ( args , options , cb ) ; public describeDomainAutoTunes ( args , optionsOrCb ? , cb ? ) { const command = new DescribeDomainAutoTunesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns domain configuration information about the specified Elasticsearch domain, including the domain ID, domain endpoint, and domain ARN.</p>
     */ public describeElasticsearchDomain ( args , options ? ) ; public describeElasticsearchDomain ( args , cb ) ; public describeElasticsearchDomain ( args , options , cb ) ; public describeElasticsearchDomain ( args , optionsOrCb ? , cb ? ) { const command = new DescribeElasticsearchDomainCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Provides cluster configuration information about the specified Elasticsearch domain, such as the state, creation date, update version, and update date for cluster options.</p>
     */ public describeElasticsearchDomainConfig ( args , options ? ) ; public describeElasticsearchDomainConfig ( args , cb ) ; public describeElasticsearchDomainConfig ( args , options , cb ) ; public describeElasticsearchDomainConfig ( args , optionsOrCb ? , cb ? ) { const command = new DescribeElasticsearchDomainConfigCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns domain configuration information about the specified Elasticsearch domains, including the domain ID, domain endpoint, and domain ARN.</p>
     */ public describeElasticsearchDomains ( args , options ? ) ; public describeElasticsearchDomains ( args , cb ) ; public describeElasticsearchDomains ( args , options , cb ) ; public describeElasticsearchDomains ( args , optionsOrCb ? , cb ? ) { const command = new DescribeElasticsearchDomainsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>
     *     Describe Elasticsearch Limits for a given InstanceType and ElasticsearchVersion.
     *     When modifying existing Domain, specify the
     *     <code>
     *       <a>DomainName</a>
     *     </code>
     *     to know what Limits are supported for modifying.
     *   </p>
     */ public describeElasticsearchInstanceTypeLimits ( args , options ? ) ; public describeElasticsearchInstanceTypeLimits ( args , cb ) ; public describeElasticsearchInstanceTypeLimits ( args , options , cb ) ; public describeElasticsearchInstanceTypeLimits ( args , optionsOrCb ? , cb ? ) { const command = new DescribeElasticsearchInstanceTypeLimitsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists all the inbound cross-cluster search connections for a destination domain.</p>
     */ public describeInboundCrossClusterSearchConnections ( args , options ? ) ; public describeInboundCrossClusterSearchConnections ( args , cb ) ; public describeInboundCrossClusterSearchConnections ( args , options , cb ) ; public describeInboundCrossClusterSearchConnections ( args , optionsOrCb ? , cb ? ) { const command = new DescribeInboundCrossClusterSearchConnectionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists all the outbound cross-cluster search connections for a source domain.</p>
     */ public describeOutboundCrossClusterSearchConnections ( args , options ? ) ; public describeOutboundCrossClusterSearchConnections ( args , cb ) ; public describeOutboundCrossClusterSearchConnections ( args , options , cb ) ; public describeOutboundCrossClusterSearchConnections ( args , optionsOrCb ? , cb ? ) { const command = new DescribeOutboundCrossClusterSearchConnectionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes all packages available to Amazon ES. Includes options for filtering, limiting the number of results, and pagination.</p>
     */ public describePackages ( args , options ? ) ; public describePackages ( args , cb ) ; public describePackages ( args , options , cb ) ; public describePackages ( args , optionsOrCb ? , cb ? ) { const command = new DescribePackagesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists available reserved Elasticsearch instance offerings.</p>
     */ public describeReservedElasticsearchInstanceOfferings ( args , options ? ) ; public describeReservedElasticsearchInstanceOfferings ( args , cb ) ; public describeReservedElasticsearchInstanceOfferings ( args , options , cb ) ; public describeReservedElasticsearchInstanceOfferings ( args , optionsOrCb ? , cb ? ) { const command = new DescribeReservedElasticsearchInstanceOfferingsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns information about reserved Elasticsearch instances for this account.</p>
     */ public describeReservedElasticsearchInstances ( args , options ? ) ; public describeReservedElasticsearchInstances ( args , cb ) ; public describeReservedElasticsearchInstances ( args , options , cb ) ; public describeReservedElasticsearchInstances ( args , optionsOrCb ? , cb ? ) { const command = new DescribeReservedElasticsearchInstancesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Dissociates a package from the Amazon ES domain.</p>
     */ public dissociatePackage ( args , options ? ) ; public dissociatePackage ( args , cb ) ; public dissociatePackage ( args , options , cb ) ; public dissociatePackage ( args , optionsOrCb ? , cb ? ) { const command = new DissociatePackageCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>
     *         Returns a list of upgrade compatible Elastisearch versions.
     *         You can optionally pass a
     *         <code>
     *           <a>DomainName</a>
     *         </code>
     *         to get all upgrade compatible Elasticsearch versions for that specific domain.
     *       </p>
     */ public getCompatibleElasticsearchVersions ( args , options ? ) ; public getCompatibleElasticsearchVersions ( args , cb ) ; public getCompatibleElasticsearchVersions ( args , options , cb ) ; public getCompatibleElasticsearchVersions ( args , optionsOrCb ? , cb ? ) { const command = new GetCompatibleElasticsearchVersionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns a list of versions of the package, along with their creation time and commit message.</p>
     */ public getPackageVersionHistory ( args , options ? ) ; public getPackageVersionHistory ( args , cb ) ; public getPackageVersionHistory ( args , options , cb ) ; public getPackageVersionHistory ( args , optionsOrCb ? , cb ? ) { const command = new GetPackageVersionHistoryCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves the complete history of the last 10 upgrades that were performed on the domain.</p>
     */ public getUpgradeHistory ( args , options ? ) ; public getUpgradeHistory ( args , cb ) ; public getUpgradeHistory ( args , options , cb ) ; public getUpgradeHistory ( args , optionsOrCb ? , cb ? ) { const command = new GetUpgradeHistoryCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves the latest status of the last upgrade or upgrade eligibility check that was performed on the domain.</p>
     */ public getUpgradeStatus ( args , options ? ) ; public getUpgradeStatus ( args , cb ) ; public getUpgradeStatus ( args , options , cb ) ; public getUpgradeStatus ( args , optionsOrCb ? , cb ? ) { const command = new GetUpgradeStatusCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns the name of all Elasticsearch domains owned by the current user's account. </p>
     */ public listDomainNames ( args , options ? ) ; public listDomainNames ( args , cb ) ; public listDomainNames ( args , options , cb ) ; public listDomainNames ( args , optionsOrCb ? , cb ? ) { const command = new ListDomainNamesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists all Amazon ES domains associated with the package.</p>
     */ public listDomainsForPackage ( args , options ? ) ; public listDomainsForPackage ( args , cb ) ; public listDomainsForPackage ( args , options , cb ) ; public listDomainsForPackage ( args , optionsOrCb ? , cb ? ) { const command = new ListDomainsForPackageCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>List all Elasticsearch instance types that are supported for given ElasticsearchVersion</p>
     */ public listElasticsearchInstanceTypes ( args , options ? ) ; public listElasticsearchInstanceTypes ( args , cb ) ; public listElasticsearchInstanceTypes ( args , options , cb ) ; public listElasticsearchInstanceTypes ( args , optionsOrCb ? , cb ? ) { const command = new ListElasticsearchInstanceTypesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>List all supported Elasticsearch versions</p>
     */ public listElasticsearchVersions ( args , options ? ) ; public listElasticsearchVersions ( args , cb ) ; public listElasticsearchVersions ( args , options , cb ) ; public listElasticsearchVersions ( args , optionsOrCb ? , cb ? ) { const command = new ListElasticsearchVersionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists all packages associated with the Amazon ES domain.</p>
     */ public listPackagesForDomain ( args , options ? ) ; public listPackagesForDomain ( args , cb ) ; public listPackagesForDomain ( args , options , cb ) ; public listPackagesForDomain ( args , optionsOrCb ? , cb ? ) { const command = new ListPackagesForDomainCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns all tags for the given Elasticsearch domain.</p>
     */ public listTags ( args , options ? ) ; public listTags ( args , cb ) ; public listTags ( args , options , cb ) ; public listTags ( args , optionsOrCb ? , cb ? ) { const command = new ListTagsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Allows you to purchase reserved Elasticsearch instances.</p>
     */ public purchaseReservedElasticsearchInstanceOffering ( args , options ? ) ; public purchaseReservedElasticsearchInstanceOffering ( args , cb ) ; public purchaseReservedElasticsearchInstanceOffering ( args , options , cb ) ; public purchaseReservedElasticsearchInstanceOffering ( args , optionsOrCb ? , cb ? ) { const command = new PurchaseReservedElasticsearchInstanceOfferingCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Allows the destination domain owner to reject an inbound cross-cluster search connection request.</p>
     */ public rejectInboundCrossClusterSearchConnection ( args , options ? ) ; public rejectInboundCrossClusterSearchConnection ( args , cb ) ; public rejectInboundCrossClusterSearchConnection ( args , options , cb ) ; public rejectInboundCrossClusterSearchConnection ( args , optionsOrCb ? , cb ? ) { const command = new RejectInboundCrossClusterSearchConnectionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Removes the specified set of tags from the specified Elasticsearch domain.</p>
     */ public removeTags ( args , options ? ) ; public removeTags ( args , cb ) ; public removeTags ( args , options , cb ) ; public removeTags ( args , optionsOrCb ? , cb ? ) { const command = new RemoveTagsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Schedules a service software update for an Amazon ES domain.</p>
     */ public startElasticsearchServiceSoftwareUpdate ( args , options ? ) ; public startElasticsearchServiceSoftwareUpdate ( args , cb ) ; public startElasticsearchServiceSoftwareUpdate ( args , options , cb ) ; public startElasticsearchServiceSoftwareUpdate ( args , optionsOrCb ? , cb ? ) { const command = new StartElasticsearchServiceSoftwareUpdateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the cluster configuration of the specified Elasticsearch domain, setting as setting the instance type and the number of instances. </p>
     */ public updateElasticsearchDomainConfig ( args , options ? ) ; public updateElasticsearchDomainConfig ( args , cb ) ; public updateElasticsearchDomainConfig ( args , options , cb ) ; public updateElasticsearchDomainConfig ( args , optionsOrCb ? , cb ? ) { const command = new UpdateElasticsearchDomainConfigCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates a package for use with Amazon ES domains.</p>
     */ public updatePackage ( args , options ? ) ; public updatePackage ( args , cb ) ; public updatePackage ( args , options , cb ) ; public updatePackage ( args , optionsOrCb ? , cb ? ) { const command = new UpdatePackageCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Allows you to either upgrade your domain or perform an Upgrade eligibility check to a compatible Elasticsearch version.</p>
     */ public upgradeElasticsearchDomain ( args , options ? ) ; public upgradeElasticsearchDomain ( args , cb ) ; public upgradeElasticsearchDomain ( args , options , cb ) ; public upgradeElasticsearchDomain ( args , optionsOrCb ? , cb ? ) { const command = new UpgradeElasticsearchDomainCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } }