Class: AWS.ES

Inherits:
AWS.Service show all
Identifier:
es
API Version:
2015-01-01
Defined in:
(unknown)

Overview

Constructs a service interface object. Each API operation is exposed as a function on service.

Sending a Request Using ES

var es = new AWS.ES();
es.addTags(params, function (err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Locking the API Version

In order to ensure that the ES object uses this specific API, you can construct the object by passing the apiVersion option to the constructor:

var es = new AWS.ES({apiVersion: '2015-01-01'});

You can also set the API version globally in AWS.config.apiVersions using the es service identifier:

AWS.config.apiVersions = {
  es: '2015-01-01',
  // other service API versions
};

var es = new AWS.ES();

Version:

  • 2015-01-01

Constructor Summary collapse

Property Summary collapse

Properties inherited from AWS.Service

apiVersions

Method Summary collapse

Methods inherited from AWS.Service

makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService

Constructor Details

new AWS.ES(options = {}) ⇒ Object

Constructs a service object. This object has one method for each API operation.

Examples:

Constructing a ES object

var es = new AWS.ES({apiVersion: '2015-01-01'});

Options Hash (options):

  • params (map)

    An optional map of parameters to bind to every request sent by this service object. For more information on bound parameters, see "Working with Services" in the Getting Started Guide.

  • endpoint (String)

    The endpoint URI to send requests to. The default endpoint is built from the configured region. The endpoint should be a string like 'https://{service}.{region}.amazonaws.com'.

  • accessKeyId (String)

    your AWS access key ID.

  • secretAccessKey (String)

    your AWS secret access key.

  • sessionToken (AWS.Credentials)

    the optional AWS session token to sign requests with.

  • credentials (AWS.Credentials)

    the AWS credentials to sign requests with. You can either specify this object, or specify the accessKeyId and secretAccessKey options directly.

  • credentialProvider (AWS.CredentialProviderChain)

    the provider chain used to resolve credentials if no static credentials property is set.

  • region (String)

    the region to send service requests to. See AWS.ES.region for more information.

  • maxRetries (Integer)

    the maximum amount of retries to attempt with a request. See AWS.ES.maxRetries for more information.

  • maxRedirects (Integer)

    the maximum amount of redirects to follow with a request. See AWS.ES.maxRedirects for more information.

  • sslEnabled (Boolean)

    whether to enable SSL for requests.

  • paramValidation (Boolean|map)

    whether input parameters should be validated against the operation description before sending the request. Defaults to true. Pass a map to enable any of the following specific validation features:

    • min [Boolean] — Validates that a value meets the min constraint. This is enabled by default when paramValidation is set to true.
    • max [Boolean] — Validates that a value meets the max constraint.
    • pattern [Boolean] — Validates that a string value matches a regular expression.
    • enum [Boolean] — Validates that a string value matches one of the allowable enum values.
  • computeChecksums (Boolean)

    whether to compute checksums for payload bodies when the service accepts it (currently supported in S3 only)

  • convertResponseTypes (Boolean)

    whether types are converted when parsing response data. Currently only supported for JSON based services. Turning this off may improve performance on large response payloads. Defaults to true.

  • correctClockSkew (Boolean)

    whether to apply a clock skew correction and retry requests that fail because of an skewed client clock. Defaults to false.

  • s3ForcePathStyle (Boolean)

    whether to force path style URLs for S3 objects.

  • s3BucketEndpoint (Boolean)

    whether the provided endpoint addresses an individual bucket (false if it addresses the root API endpoint). Note that setting this configuration option requires an endpoint to be provided explicitly to the service constructor.

  • s3DisableBodySigning (Boolean)

    whether S3 body signing should be disabled when using signature version v4. Body signing can only be disabled when using https. Defaults to true.

  • retryDelayOptions (map)

    A set of options to configure the retry delay on retryable errors. Currently supported options are:

    • base [Integer] — The base number of milliseconds to use in the exponential backoff for operation retries. Defaults to 100 ms for all services except DynamoDB, where it defaults to 50ms.
    • customBackoff [function] — A custom function that accepts a retry count and returns the amount of time to delay in milliseconds. The base option will be ignored if this option is supplied.
  • httpOptions (map)

    A set of options to pass to the low-level HTTP request. Currently supported options are:

    • proxy [String] — the URL to proxy requests through
    • agent [http.Agent, https.Agent] — the Agent object to perform HTTP requests with. Used for connection pooling. Defaults to the global agent (http.globalAgent) for non-SSL connections. Note that for SSL connections, a special Agent object is used in order to enable peer certificate verification. This feature is only available in the Node.js environment.
    • connectTimeout [Integer] — Sets the socket to timeout after failing to establish a connection with the server after connectTimeout milliseconds. This timeout has no effect once a socket connection has been established.
    • timeout [Integer] — Sets the socket to timeout after timeout milliseconds of inactivity on the socket. Defaults to two minutes (120000).
    • xhrAsync [Boolean] — Whether the SDK will send asynchronous HTTP requests. Used in the browser environment only. Set to false to send requests synchronously. Defaults to true (async on).
    • xhrWithCredentials [Boolean] — Sets the "withCredentials" property of an XMLHttpRequest object. Used in the browser environment only. Defaults to false.
  • apiVersion (String, Date)

    a String in YYYY-MM-DD format (or a date) that represents the latest possible API version that can be used in all services (unless overridden by apiVersions). Specify 'latest' to use the latest possible version.

  • apiVersions (map<String, String|Date>)

    a map of service identifiers (the lowercase service class name) with the API version to use when instantiating a service. Specify 'latest' for each individual that can use the latest available version.

  • logger (#write, #log)

    an object that responds to .write() (like a stream) or .log() (like the console object) in order to log information about requests

  • systemClockOffset (Number)

    an offset value in milliseconds to apply to all signing times. Use this to compensate for clock skew when your system may be out of sync with the service time. Note that this configuration option can only be applied to the global AWS.config object and cannot be overridden in service-specific configuration. Defaults to 0 milliseconds.

  • signatureVersion (String)

    the signature version to sign requests with (overriding the API configuration). Possible values are: 'v2', 'v3', 'v4'.

  • signatureCache (Boolean)

    whether the signature to sign requests with (overriding the API configuration) is cached. Only applies to the signature version 'v4'. Defaults to true.

  • dynamoDbCrc32 (Boolean)

    whether to validate the CRC32 checksum of HTTP response bodies returned by DynamoDB. Default: true.

Property Details

endpointAWS.Endpoint (readwrite)

Returns an Endpoint object representing the endpoint URL for service requests.

Returns:

  • (AWS.Endpoint)

    an Endpoint object representing the endpoint URL for service requests.

Method Details

addTags(params = {}, callback) ⇒ AWS.Request

Attaches tags to an existing Elasticsearch domain. Tags are a set of case-sensitive key value pairs. An Elasticsearch domain may have up to 10 tags. See Tagging Amazon Elasticsearch Service Domains for more information.

Service Reference:

Examples:

Calling the addTags operation

var params = {
  ARN: 'STRING_VALUE', /* required */
  TagList: [ /* required */
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
es.addTags(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ARN — (String)

      Specify the ARN for which you want to add the tags.

    • TagList — (Array<map>)

      List of Tag that need to be added for the Elasticsearch domain.

      • Keyrequired — (String)

        Specifies the TagKey, the name of the tag. Tag keys must be unique for the Elasticsearch domain to which they are attached.

      • Valuerequired — (String)

        Specifies the TagValue, the value assigned to the corresponding tag key. Tag values can be null and do not have to be unique in a tag set. For example, you can have a key value pair in a tag set of project : Trinity and cost-center : Trinity

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createElasticsearchDomain(params = {}, callback) ⇒ AWS.Request

Creates a new Elasticsearch domain. For more information, see Creating Elasticsearch Domains in the Amazon Elasticsearch Service Developer Guide.

Service Reference:

Examples:

Calling the createElasticsearchDomain operation

var params = {
  DomainName: 'STRING_VALUE', /* required */
  AccessPolicies: 'STRING_VALUE',
  AdvancedOptions: {
    '<String>': 'STRING_VALUE',
    /* '<String>': ... */
  },
  EBSOptions: {
    EBSEnabled: true || false,
    Iops: 0,
    VolumeSize: 0,
    VolumeType: standard | gp2 | io1
  },
  ElasticsearchClusterConfig: {
    DedicatedMasterCount: 0,
    DedicatedMasterEnabled: true || false,
    DedicatedMasterType: m3.medium.elasticsearch | m3.large.elasticsearch | m3.xlarge.elasticsearch | m3.2xlarge.elasticsearch | m4.large.elasticsearch | m4.xlarge.elasticsearch | m4.2xlarge.elasticsearch | m4.4xlarge.elasticsearch | m4.10xlarge.elasticsearch | t2.micro.elasticsearch | t2.small.elasticsearch | t2.medium.elasticsearch | r3.large.elasticsearch | r3.xlarge.elasticsearch | r3.2xlarge.elasticsearch | r3.4xlarge.elasticsearch | r3.8xlarge.elasticsearch | i2.xlarge.elasticsearch | i2.2xlarge.elasticsearch | d2.xlarge.elasticsearch | d2.2xlarge.elasticsearch | d2.4xlarge.elasticsearch | d2.8xlarge.elasticsearch | c4.large.elasticsearch | c4.xlarge.elasticsearch | c4.2xlarge.elasticsearch | c4.4xlarge.elasticsearch | c4.8xlarge.elasticsearch | r4.large.elasticsearch | r4.xlarge.elasticsearch | r4.2xlarge.elasticsearch | r4.4xlarge.elasticsearch | r4.8xlarge.elasticsearch | r4.16xlarge.elasticsearch | i3.large.elasticsearch | i3.xlarge.elasticsearch | i3.2xlarge.elasticsearch | i3.4xlarge.elasticsearch | i3.8xlarge.elasticsearch | i3.16xlarge.elasticsearch,
    InstanceCount: 0,
    InstanceType: m3.medium.elasticsearch | m3.large.elasticsearch | m3.xlarge.elasticsearch | m3.2xlarge.elasticsearch | m4.large.elasticsearch | m4.xlarge.elasticsearch | m4.2xlarge.elasticsearch | m4.4xlarge.elasticsearch | m4.10xlarge.elasticsearch | t2.micro.elasticsearch | t2.small.elasticsearch | t2.medium.elasticsearch | r3.large.elasticsearch | r3.xlarge.elasticsearch | r3.2xlarge.elasticsearch | r3.4xlarge.elasticsearch | r3.8xlarge.elasticsearch | i2.xlarge.elasticsearch | i2.2xlarge.elasticsearch | d2.xlarge.elasticsearch | d2.2xlarge.elasticsearch | d2.4xlarge.elasticsearch | d2.8xlarge.elasticsearch | c4.large.elasticsearch | c4.xlarge.elasticsearch | c4.2xlarge.elasticsearch | c4.4xlarge.elasticsearch | c4.8xlarge.elasticsearch | r4.large.elasticsearch | r4.xlarge.elasticsearch | r4.2xlarge.elasticsearch | r4.4xlarge.elasticsearch | r4.8xlarge.elasticsearch | r4.16xlarge.elasticsearch | i3.large.elasticsearch | i3.xlarge.elasticsearch | i3.2xlarge.elasticsearch | i3.4xlarge.elasticsearch | i3.8xlarge.elasticsearch | i3.16xlarge.elasticsearch,
    ZoneAwarenessEnabled: true || false
  },
  ElasticsearchVersion: 'STRING_VALUE',
  LogPublishingOptions: {
    '<LogType>': {
      CloudWatchLogsLogGroupArn: 'STRING_VALUE',
      Enabled: true || false
    },
    /* '<LogType>': ... */
  },
  SnapshotOptions: {
    AutomatedSnapshotStartHour: 0
  },
  VPCOptions: {
    SecurityGroupIds: [
      'STRING_VALUE',
      /* more items */
    ],
    SubnetIds: [
      'STRING_VALUE',
      /* more items */
    ]
  }
};
es.createElasticsearchDomain(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • DomainName — (String)

      The name of the Elasticsearch domain that you are creating. Domain names are unique across the domains owned by an account within an AWS region. Domain names must start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).

    • ElasticsearchVersion — (String)

      String of format X.Y to specify version for the Elasticsearch domain eg. "1.5" or "2.3". For more information, see Creating Elasticsearch Domains in the Amazon Elasticsearch Service Developer Guide.

    • ElasticsearchClusterConfig — (map)

      Configuration options for an Elasticsearch domain. Specifies the instance type and number of instances in the domain cluster.

      • InstanceType — (String)

        The instance type for an Elasticsearch cluster.

        Possible values include:
        • "m3.medium.elasticsearch"
        • "m3.large.elasticsearch"
        • "m3.xlarge.elasticsearch"
        • "m3.2xlarge.elasticsearch"
        • "m4.large.elasticsearch"
        • "m4.xlarge.elasticsearch"
        • "m4.2xlarge.elasticsearch"
        • "m4.4xlarge.elasticsearch"
        • "m4.10xlarge.elasticsearch"
        • "t2.micro.elasticsearch"
        • "t2.small.elasticsearch"
        • "t2.medium.elasticsearch"
        • "r3.large.elasticsearch"
        • "r3.xlarge.elasticsearch"
        • "r3.2xlarge.elasticsearch"
        • "r3.4xlarge.elasticsearch"
        • "r3.8xlarge.elasticsearch"
        • "i2.xlarge.elasticsearch"
        • "i2.2xlarge.elasticsearch"
        • "d2.xlarge.elasticsearch"
        • "d2.2xlarge.elasticsearch"
        • "d2.4xlarge.elasticsearch"
        • "d2.8xlarge.elasticsearch"
        • "c4.large.elasticsearch"
        • "c4.xlarge.elasticsearch"
        • "c4.2xlarge.elasticsearch"
        • "c4.4xlarge.elasticsearch"
        • "c4.8xlarge.elasticsearch"
        • "r4.large.elasticsearch"
        • "r4.xlarge.elasticsearch"
        • "r4.2xlarge.elasticsearch"
        • "r4.4xlarge.elasticsearch"
        • "r4.8xlarge.elasticsearch"
        • "r4.16xlarge.elasticsearch"
        • "i3.large.elasticsearch"
        • "i3.xlarge.elasticsearch"
        • "i3.2xlarge.elasticsearch"
        • "i3.4xlarge.elasticsearch"
        • "i3.8xlarge.elasticsearch"
        • "i3.16xlarge.elasticsearch"
      • InstanceCount — (Integer)

        The number of instances in the specified domain cluster.

      • DedicatedMasterEnabled — (Boolean)

        A boolean value to indicate whether a dedicated master node is enabled. See About Dedicated Master Nodes for more information.

      • ZoneAwarenessEnabled — (Boolean)

        A boolean value to indicate whether zone awareness is enabled. See About Zone Awareness for more information.

      • DedicatedMasterType — (String)

        The instance type for a dedicated master node.

        Possible values include:
        • "m3.medium.elasticsearch"
        • "m3.large.elasticsearch"
        • "m3.xlarge.elasticsearch"
        • "m3.2xlarge.elasticsearch"
        • "m4.large.elasticsearch"
        • "m4.xlarge.elasticsearch"
        • "m4.2xlarge.elasticsearch"
        • "m4.4xlarge.elasticsearch"
        • "m4.10xlarge.elasticsearch"
        • "t2.micro.elasticsearch"
        • "t2.small.elasticsearch"
        • "t2.medium.elasticsearch"
        • "r3.large.elasticsearch"
        • "r3.xlarge.elasticsearch"
        • "r3.2xlarge.elasticsearch"
        • "r3.4xlarge.elasticsearch"
        • "r3.8xlarge.elasticsearch"
        • "i2.xlarge.elasticsearch"
        • "i2.2xlarge.elasticsearch"
        • "d2.xlarge.elasticsearch"
        • "d2.2xlarge.elasticsearch"
        • "d2.4xlarge.elasticsearch"
        • "d2.8xlarge.elasticsearch"
        • "c4.large.elasticsearch"
        • "c4.xlarge.elasticsearch"
        • "c4.2xlarge.elasticsearch"
        • "c4.4xlarge.elasticsearch"
        • "c4.8xlarge.elasticsearch"
        • "r4.large.elasticsearch"
        • "r4.xlarge.elasticsearch"
        • "r4.2xlarge.elasticsearch"
        • "r4.4xlarge.elasticsearch"
        • "r4.8xlarge.elasticsearch"
        • "r4.16xlarge.elasticsearch"
        • "i3.large.elasticsearch"
        • "i3.xlarge.elasticsearch"
        • "i3.2xlarge.elasticsearch"
        • "i3.4xlarge.elasticsearch"
        • "i3.8xlarge.elasticsearch"
        • "i3.16xlarge.elasticsearch"
      • DedicatedMasterCount — (Integer)

        Total number of dedicated master nodes, active and on standby, for the cluster.

    • EBSOptions — (map)

      Options to enable, disable and specify the type and size of EBS storage volumes.

      • EBSEnabled — (Boolean)

        Specifies whether EBS-based storage is enabled.

      • VolumeType — (String)

        Specifies the volume type for EBS-based storage.

        Possible values include:
        • "standard"
        • "gp2"
        • "io1"
      • VolumeSize — (Integer)

        Integer to specify the size of an EBS volume.

      • Iops — (Integer)

        Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).

    • AccessPolicies — (String)

      IAM access policy as a JSON-formatted string.

    • SnapshotOptions — (map)

      Option to set time, in UTC format, of the daily automated snapshot. Default value is 0 hours.

      • AutomatedSnapshotStartHour — (Integer)

        Specifies the time, in UTC format, when the service takes a daily automated snapshot of the specified Elasticsearch domain. Default value is 0 hours.

    • VPCOptions — (map)

      Options to specify the subnets and security groups for VPC endpoint. For more information, see Creating a VPC in VPC Endpoints for Amazon Elasticsearch Service Domains

      • SubnetIds — (Array<String>)

        Specifies the subnets for VPC endpoint.

      • SecurityGroupIds — (Array<String>)

        Specifies the security groups for VPC endpoint.

    • AdvancedOptions — (map<String>)

      Option to allow references to indices in an HTTP request body. Must be false when configuring access to individual sub-resources. By default, the value is true. See Configuration Advanced Options for more information.

    • LogPublishingOptions — (map<map>)

      Map of LogType and LogPublishingOption, each containing options to publish a given type of Elasticsearch log.

      • CloudWatchLogsLogGroupArn — (String)

        ARN of the Cloudwatch log group to which log needs to be published.

      • Enabled — (Boolean)

        Specifies whether given log publishing option is enabled or not.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • DomainStatus — (map)

        The status of the newly created Elasticsearch domain.

        • DomainIdrequired — (String)

          The unique identifier for the specified Elasticsearch domain.

        • DomainNamerequired — (String)

          The name of an Elasticsearch domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).

        • ARNrequired — (String)

          The Amazon resource name (ARN) of an Elasticsearch domain. See Identifiers for IAM Entities in Using AWS Identity and Access Management for more information.

        • Created — (Boolean)

          The domain creation status. True if the creation of an Elasticsearch domain is complete. False if domain creation is still in progress.

        • Deleted — (Boolean)

          The domain deletion status. True if a delete request has been received for the domain but resource cleanup is still in progress. False if the domain has not been deleted. Once domain deletion is complete, the status of the domain is no longer returned.

        • Endpoint — (String)

          The Elasticsearch domain endpoint that you use to submit index and search requests.

        • Endpoints — (map<String>)

          Map containing the Elasticsearch domain endpoints used to submit index and search requests. Example key, value: 'vpc','vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.us-east-1.es.amazonaws.com'.

        • Processing — (Boolean)

          The status of the Elasticsearch domain configuration. True if Amazon Elasticsearch Service is processing configuration changes. False if the configuration is active.

        • ElasticsearchVersion — (String)
        • ElasticsearchClusterConfigrequired — (map)

          The type and number of instances in the domain cluster.

          • InstanceType — (String)

            The instance type for an Elasticsearch cluster.

            Possible values include:
            • "m3.medium.elasticsearch"
            • "m3.large.elasticsearch"
            • "m3.xlarge.elasticsearch"
            • "m3.2xlarge.elasticsearch"
            • "m4.large.elasticsearch"
            • "m4.xlarge.elasticsearch"
            • "m4.2xlarge.elasticsearch"
            • "m4.4xlarge.elasticsearch"
            • "m4.10xlarge.elasticsearch"
            • "t2.micro.elasticsearch"
            • "t2.small.elasticsearch"
            • "t2.medium.elasticsearch"
            • "r3.large.elasticsearch"
            • "r3.xlarge.elasticsearch"
            • "r3.2xlarge.elasticsearch"
            • "r3.4xlarge.elasticsearch"
            • "r3.8xlarge.elasticsearch"
            • "i2.xlarge.elasticsearch"
            • "i2.2xlarge.elasticsearch"
            • "d2.xlarge.elasticsearch"
            • "d2.2xlarge.elasticsearch"
            • "d2.4xlarge.elasticsearch"
            • "d2.8xlarge.elasticsearch"
            • "c4.large.elasticsearch"
            • "c4.xlarge.elasticsearch"
            • "c4.2xlarge.elasticsearch"
            • "c4.4xlarge.elasticsearch"
            • "c4.8xlarge.elasticsearch"
            • "r4.large.elasticsearch"
            • "r4.xlarge.elasticsearch"
            • "r4.2xlarge.elasticsearch"
            • "r4.4xlarge.elasticsearch"
            • "r4.8xlarge.elasticsearch"
            • "r4.16xlarge.elasticsearch"
            • "i3.large.elasticsearch"
            • "i3.xlarge.elasticsearch"
            • "i3.2xlarge.elasticsearch"
            • "i3.4xlarge.elasticsearch"
            • "i3.8xlarge.elasticsearch"
            • "i3.16xlarge.elasticsearch"
          • InstanceCount — (Integer)

            The number of instances in the specified domain cluster.

          • DedicatedMasterEnabled — (Boolean)

            A boolean value to indicate whether a dedicated master node is enabled. See About Dedicated Master Nodes for more information.

          • ZoneAwarenessEnabled — (Boolean)

            A boolean value to indicate whether zone awareness is enabled. See About Zone Awareness for more information.

          • DedicatedMasterType — (String)

            The instance type for a dedicated master node.

            Possible values include:
            • "m3.medium.elasticsearch"
            • "m3.large.elasticsearch"
            • "m3.xlarge.elasticsearch"
            • "m3.2xlarge.elasticsearch"
            • "m4.large.elasticsearch"
            • "m4.xlarge.elasticsearch"
            • "m4.2xlarge.elasticsearch"
            • "m4.4xlarge.elasticsearch"
            • "m4.10xlarge.elasticsearch"
            • "t2.micro.elasticsearch"
            • "t2.small.elasticsearch"
            • "t2.medium.elasticsearch"
            • "r3.large.elasticsearch"
            • "r3.xlarge.elasticsearch"
            • "r3.2xlarge.elasticsearch"
            • "r3.4xlarge.elasticsearch"
            • "r3.8xlarge.elasticsearch"
            • "i2.xlarge.elasticsearch"
            • "i2.2xlarge.elasticsearch"
            • "d2.xlarge.elasticsearch"
            • "d2.2xlarge.elasticsearch"
            • "d2.4xlarge.elasticsearch"
            • "d2.8xlarge.elasticsearch"
            • "c4.large.elasticsearch"
            • "c4.xlarge.elasticsearch"
            • "c4.2xlarge.elasticsearch"
            • "c4.4xlarge.elasticsearch"
            • "c4.8xlarge.elasticsearch"
            • "r4.large.elasticsearch"
            • "r4.xlarge.elasticsearch"
            • "r4.2xlarge.elasticsearch"
            • "r4.4xlarge.elasticsearch"
            • "r4.8xlarge.elasticsearch"
            • "r4.16xlarge.elasticsearch"
            • "i3.large.elasticsearch"
            • "i3.xlarge.elasticsearch"
            • "i3.2xlarge.elasticsearch"
            • "i3.4xlarge.elasticsearch"
            • "i3.8xlarge.elasticsearch"
            • "i3.16xlarge.elasticsearch"
          • DedicatedMasterCount — (Integer)

            Total number of dedicated master nodes, active and on standby, for the cluster.

        • EBSOptions — (map)

          The EBSOptions for the specified domain. See Configuring EBS-based Storage for more information.

          • EBSEnabled — (Boolean)

            Specifies whether EBS-based storage is enabled.

          • VolumeType — (String)

            Specifies the volume type for EBS-based storage.

            Possible values include:
            • "standard"
            • "gp2"
            • "io1"
          • VolumeSize — (Integer)

            Integer to specify the size of an EBS volume.

          • Iops — (Integer)

            Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).

        • AccessPolicies — (String)

          IAM access policy as a JSON-formatted string.

        • SnapshotOptions — (map)

          Specifies the status of the SnapshotOptions

          • AutomatedSnapshotStartHour — (Integer)

            Specifies the time, in UTC format, when the service takes a daily automated snapshot of the specified Elasticsearch domain. Default value is 0 hours.

        • VPCOptions — (map)

          The VPCOptions for the specified domain. For more information, see VPC Endpoints for Amazon Elasticsearch Service Domains.

          • VPCId — (String)

            The VPC Id for the Elasticsearch domain. Exists only if the domain was created with VPCOptions.

          • SubnetIds — (Array<String>)

            Specifies the subnets for VPC endpoint.

          • AvailabilityZones — (Array<String>)

            The availability zones for the Elasticsearch domain. Exists only if the domain was created with VPCOptions.

          • SecurityGroupIds — (Array<String>)

            Specifies the security groups for VPC endpoint.

        • AdvancedOptions — (map<String>)

          Specifies the status of the AdvancedOptions

        • LogPublishingOptions — (map<map>)

          Log publishing options for the given domain.

          • CloudWatchLogsLogGroupArn — (String)

            ARN of the Cloudwatch log group to which log needs to be published.

          • Enabled — (Boolean)

            Specifies whether given log publishing option is enabled or not.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteElasticsearchDomain(params = {}, callback) ⇒ AWS.Request

Permanently deletes the specified Elasticsearch domain and all of its data. Once a domain is deleted, it cannot be recovered.

Service Reference:

Examples:

Calling the deleteElasticsearchDomain operation

var params = {
  DomainName: 'STRING_VALUE' /* required */
};
es.deleteElasticsearchDomain(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • DomainName — (String)

      The name of the Elasticsearch domain that you want to permanently delete.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • DomainStatus — (map)

        The status of the Elasticsearch domain being deleted.

        • DomainIdrequired — (String)

          The unique identifier for the specified Elasticsearch domain.

        • DomainNamerequired — (String)

          The name of an Elasticsearch domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).

        • ARNrequired — (String)

          The Amazon resource name (ARN) of an Elasticsearch domain. See Identifiers for IAM Entities in Using AWS Identity and Access Management for more information.

        • Created — (Boolean)

          The domain creation status. True if the creation of an Elasticsearch domain is complete. False if domain creation is still in progress.

        • Deleted — (Boolean)

          The domain deletion status. True if a delete request has been received for the domain but resource cleanup is still in progress. False if the domain has not been deleted. Once domain deletion is complete, the status of the domain is no longer returned.

        • Endpoint — (String)

          The Elasticsearch domain endpoint that you use to submit index and search requests.

        • Endpoints — (map<String>)

          Map containing the Elasticsearch domain endpoints used to submit index and search requests. Example key, value: 'vpc','vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.us-east-1.es.amazonaws.com'.

        • Processing — (Boolean)

          The status of the Elasticsearch domain configuration. True if Amazon Elasticsearch Service is processing configuration changes. False if the configuration is active.

        • ElasticsearchVersion — (String)
        • ElasticsearchClusterConfigrequired — (map)

          The type and number of instances in the domain cluster.

          • InstanceType — (String)

            The instance type for an Elasticsearch cluster.

            Possible values include:
            • "m3.medium.elasticsearch"
            • "m3.large.elasticsearch"
            • "m3.xlarge.elasticsearch"
            • "m3.2xlarge.elasticsearch"
            • "m4.large.elasticsearch"
            • "m4.xlarge.elasticsearch"
            • "m4.2xlarge.elasticsearch"
            • "m4.4xlarge.elasticsearch"
            • "m4.10xlarge.elasticsearch"
            • "t2.micro.elasticsearch"
            • "t2.small.elasticsearch"
            • "t2.medium.elasticsearch"
            • "r3.large.elasticsearch"
            • "r3.xlarge.elasticsearch"
            • "r3.2xlarge.elasticsearch"
            • "r3.4xlarge.elasticsearch"
            • "r3.8xlarge.elasticsearch"
            • "i2.xlarge.elasticsearch"
            • "i2.2xlarge.elasticsearch"
            • "d2.xlarge.elasticsearch"
            • "d2.2xlarge.elasticsearch"
            • "d2.4xlarge.elasticsearch"
            • "d2.8xlarge.elasticsearch"
            • "c4.large.elasticsearch"
            • "c4.xlarge.elasticsearch"
            • "c4.2xlarge.elasticsearch"
            • "c4.4xlarge.elasticsearch"
            • "c4.8xlarge.elasticsearch"
            • "r4.large.elasticsearch"
            • "r4.xlarge.elasticsearch"
            • "r4.2xlarge.elasticsearch"
            • "r4.4xlarge.elasticsearch"
            • "r4.8xlarge.elasticsearch"
            • "r4.16xlarge.elasticsearch"
            • "i3.large.elasticsearch"
            • "i3.xlarge.elasticsearch"
            • "i3.2xlarge.elasticsearch"
            • "i3.4xlarge.elasticsearch"
            • "i3.8xlarge.elasticsearch"
            • "i3.16xlarge.elasticsearch"
          • InstanceCount — (Integer)

            The number of instances in the specified domain cluster.

          • DedicatedMasterEnabled — (Boolean)

            A boolean value to indicate whether a dedicated master node is enabled. See About Dedicated Master Nodes for more information.

          • ZoneAwarenessEnabled — (Boolean)

            A boolean value to indicate whether zone awareness is enabled. See About Zone Awareness for more information.

          • DedicatedMasterType — (String)

            The instance type for a dedicated master node.

            Possible values include:
            • "m3.medium.elasticsearch"
            • "m3.large.elasticsearch"
            • "m3.xlarge.elasticsearch"
            • "m3.2xlarge.elasticsearch"
            • "m4.large.elasticsearch"
            • "m4.xlarge.elasticsearch"
            • "m4.2xlarge.elasticsearch"
            • "m4.4xlarge.elasticsearch"
            • "m4.10xlarge.elasticsearch"
            • "t2.micro.elasticsearch"
            • "t2.small.elasticsearch"
            • "t2.medium.elasticsearch"
            • "r3.large.elasticsearch"
            • "r3.xlarge.elasticsearch"
            • "r3.2xlarge.elasticsearch"
            • "r3.4xlarge.elasticsearch"
            • "r3.8xlarge.elasticsearch"
            • "i2.xlarge.elasticsearch"
            • "i2.2xlarge.elasticsearch"
            • "d2.xlarge.elasticsearch"
            • "d2.2xlarge.elasticsearch"
            • "d2.4xlarge.elasticsearch"
            • "d2.8xlarge.elasticsearch"
            • "c4.large.elasticsearch"
            • "c4.xlarge.elasticsearch"
            • "c4.2xlarge.elasticsearch"
            • "c4.4xlarge.elasticsearch"
            • "c4.8xlarge.elasticsearch"
            • "r4.large.elasticsearch"
            • "r4.xlarge.elasticsearch"
            • "r4.2xlarge.elasticsearch"
            • "r4.4xlarge.elasticsearch"
            • "r4.8xlarge.elasticsearch"
            • "r4.16xlarge.elasticsearch"
            • "i3.large.elasticsearch"
            • "i3.xlarge.elasticsearch"
            • "i3.2xlarge.elasticsearch"
            • "i3.4xlarge.elasticsearch"
            • "i3.8xlarge.elasticsearch"
            • "i3.16xlarge.elasticsearch"
          • DedicatedMasterCount — (Integer)

            Total number of dedicated master nodes, active and on standby, for the cluster.

        • EBSOptions — (map)

          The EBSOptions for the specified domain. See Configuring EBS-based Storage for more information.

          • EBSEnabled — (Boolean)

            Specifies whether EBS-based storage is enabled.

          • VolumeType — (String)

            Specifies the volume type for EBS-based storage.

            Possible values include:
            • "standard"
            • "gp2"
            • "io1"
          • VolumeSize — (Integer)

            Integer to specify the size of an EBS volume.

          • Iops — (Integer)

            Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).

        • AccessPolicies — (String)

          IAM access policy as a JSON-formatted string.

        • SnapshotOptions — (map)

          Specifies the status of the SnapshotOptions

          • AutomatedSnapshotStartHour — (Integer)

            Specifies the time, in UTC format, when the service takes a daily automated snapshot of the specified Elasticsearch domain. Default value is 0 hours.

        • VPCOptions — (map)

          The VPCOptions for the specified domain. For more information, see VPC Endpoints for Amazon Elasticsearch Service Domains.

          • VPCId — (String)

            The VPC Id for the Elasticsearch domain. Exists only if the domain was created with VPCOptions.

          • SubnetIds — (Array<String>)

            Specifies the subnets for VPC endpoint.

          • AvailabilityZones — (Array<String>)

            The availability zones for the Elasticsearch domain. Exists only if the domain was created with VPCOptions.

          • SecurityGroupIds — (Array<String>)

            Specifies the security groups for VPC endpoint.

        • AdvancedOptions — (map<String>)

          Specifies the status of the AdvancedOptions

        • LogPublishingOptions — (map<map>)

          Log publishing options for the given domain.

          • CloudWatchLogsLogGroupArn — (String)

            ARN of the Cloudwatch log group to which log needs to be published.

          • Enabled — (Boolean)

            Specifies whether given log publishing option is enabled or not.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteElasticsearchServiceRole(params = {}, callback) ⇒ AWS.Request

Deletes the service-linked role that Elasticsearch Service uses to manage and maintain VPC domains. Role deletion will fail if any existing VPC domains use the role. You must delete any such Elasticsearch domains before deleting the role. See Deleting Elasticsearch Service Role in VPC Endpoints for Amazon Elasticsearch Service Domains.

Service Reference:

Examples:

Calling the deleteElasticsearchServiceRole operation

es.deleteElasticsearchServiceRole(function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeElasticsearchDomain(params = {}, callback) ⇒ AWS.Request

Returns domain configuration information about the specified Elasticsearch domain, including the domain ID, domain endpoint, and domain ARN.

Service Reference:

Examples:

Calling the describeElasticsearchDomain operation

var params = {
  DomainName: 'STRING_VALUE' /* required */
};
es.describeElasticsearchDomain(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • DomainName — (String)

      The name of the Elasticsearch domain for which you want information.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • DomainStatus — (map)

        The current status of the Elasticsearch domain.

        • DomainIdrequired — (String)

          The unique identifier for the specified Elasticsearch domain.

        • DomainNamerequired — (String)

          The name of an Elasticsearch domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).

        • ARNrequired — (String)

          The Amazon resource name (ARN) of an Elasticsearch domain. See Identifiers for IAM Entities in Using AWS Identity and Access Management for more information.

        • Created — (Boolean)

          The domain creation status. True if the creation of an Elasticsearch domain is complete. False if domain creation is still in progress.

        • Deleted — (Boolean)

          The domain deletion status. True if a delete request has been received for the domain but resource cleanup is still in progress. False if the domain has not been deleted. Once domain deletion is complete, the status of the domain is no longer returned.

        • Endpoint — (String)

          The Elasticsearch domain endpoint that you use to submit index and search requests.

        • Endpoints — (map<String>)

          Map containing the Elasticsearch domain endpoints used to submit index and search requests. Example key, value: 'vpc','vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.us-east-1.es.amazonaws.com'.

        • Processing — (Boolean)

          The status of the Elasticsearch domain configuration. True if Amazon Elasticsearch Service is processing configuration changes. False if the configuration is active.

        • ElasticsearchVersion — (String)
        • ElasticsearchClusterConfigrequired — (map)

          The type and number of instances in the domain cluster.

          • InstanceType — (String)

            The instance type for an Elasticsearch cluster.

            Possible values include:
            • "m3.medium.elasticsearch"
            • "m3.large.elasticsearch"
            • "m3.xlarge.elasticsearch"
            • "m3.2xlarge.elasticsearch"
            • "m4.large.elasticsearch"
            • "m4.xlarge.elasticsearch"
            • "m4.2xlarge.elasticsearch"
            • "m4.4xlarge.elasticsearch"
            • "m4.10xlarge.elasticsearch"
            • "t2.micro.elasticsearch"
            • "t2.small.elasticsearch"
            • "t2.medium.elasticsearch"
            • "r3.large.elasticsearch"
            • "r3.xlarge.elasticsearch"
            • "r3.2xlarge.elasticsearch"
            • "r3.4xlarge.elasticsearch"
            • "r3.8xlarge.elasticsearch"
            • "i2.xlarge.elasticsearch"
            • "i2.2xlarge.elasticsearch"
            • "d2.xlarge.elasticsearch"
            • "d2.2xlarge.elasticsearch"
            • "d2.4xlarge.elasticsearch"
            • "d2.8xlarge.elasticsearch"
            • "c4.large.elasticsearch"
            • "c4.xlarge.elasticsearch"
            • "c4.2xlarge.elasticsearch"
            • "c4.4xlarge.elasticsearch"
            • "c4.8xlarge.elasticsearch"
            • "r4.large.elasticsearch"
            • "r4.xlarge.elasticsearch"
            • "r4.2xlarge.elasticsearch"
            • "r4.4xlarge.elasticsearch"
            • "r4.8xlarge.elasticsearch"
            • "r4.16xlarge.elasticsearch"
            • "i3.large.elasticsearch"
            • "i3.xlarge.elasticsearch"
            • "i3.2xlarge.elasticsearch"
            • "i3.4xlarge.elasticsearch"
            • "i3.8xlarge.elasticsearch"
            • "i3.16xlarge.elasticsearch"
          • InstanceCount — (Integer)

            The number of instances in the specified domain cluster.

          • DedicatedMasterEnabled — (Boolean)

            A boolean value to indicate whether a dedicated master node is enabled. See About Dedicated Master Nodes for more information.

          • ZoneAwarenessEnabled — (Boolean)

            A boolean value to indicate whether zone awareness is enabled. See About Zone Awareness for more information.

          • DedicatedMasterType — (String)

            The instance type for a dedicated master node.

            Possible values include:
            • "m3.medium.elasticsearch"
            • "m3.large.elasticsearch"
            • "m3.xlarge.elasticsearch"
            • "m3.2xlarge.elasticsearch"
            • "m4.large.elasticsearch"
            • "m4.xlarge.elasticsearch"
            • "m4.2xlarge.elasticsearch"
            • "m4.4xlarge.elasticsearch"
            • "m4.10xlarge.elasticsearch"
            • "t2.micro.elasticsearch"
            • "t2.small.elasticsearch"
            • "t2.medium.elasticsearch"
            • "r3.large.elasticsearch"
            • "r3.xlarge.elasticsearch"
            • "r3.2xlarge.elasticsearch"
            • "r3.4xlarge.elasticsearch"
            • "r3.8xlarge.elasticsearch"
            • "i2.xlarge.elasticsearch"
            • "i2.2xlarge.elasticsearch"
            • "d2.xlarge.elasticsearch"
            • "d2.2xlarge.elasticsearch"
            • "d2.4xlarge.elasticsearch"
            • "d2.8xlarge.elasticsearch"
            • "c4.large.elasticsearch"
            • "c4.xlarge.elasticsearch"
            • "c4.2xlarge.elasticsearch"
            • "c4.4xlarge.elasticsearch"
            • "c4.8xlarge.elasticsearch"
            • "r4.large.elasticsearch"
            • "r4.xlarge.elasticsearch"
            • "r4.2xlarge.elasticsearch"
            • "r4.4xlarge.elasticsearch"
            • "r4.8xlarge.elasticsearch"
            • "r4.16xlarge.elasticsearch"
            • "i3.large.elasticsearch"
            • "i3.xlarge.elasticsearch"
            • "i3.2xlarge.elasticsearch"
            • "i3.4xlarge.elasticsearch"
            • "i3.8xlarge.elasticsearch"
            • "i3.16xlarge.elasticsearch"
          • DedicatedMasterCount — (Integer)

            Total number of dedicated master nodes, active and on standby, for the cluster.

        • EBSOptions — (map)

          The EBSOptions for the specified domain. See Configuring EBS-based Storage for more information.

          • EBSEnabled — (Boolean)

            Specifies whether EBS-based storage is enabled.

          • VolumeType — (String)

            Specifies the volume type for EBS-based storage.

            Possible values include:
            • "standard"
            • "gp2"
            • "io1"
          • VolumeSize — (Integer)

            Integer to specify the size of an EBS volume.

          • Iops — (Integer)

            Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).

        • AccessPolicies — (String)

          IAM access policy as a JSON-formatted string.

        • SnapshotOptions — (map)

          Specifies the status of the SnapshotOptions

          • AutomatedSnapshotStartHour — (Integer)

            Specifies the time, in UTC format, when the service takes a daily automated snapshot of the specified Elasticsearch domain. Default value is 0 hours.

        • VPCOptions — (map)

          The VPCOptions for the specified domain. For more information, see VPC Endpoints for Amazon Elasticsearch Service Domains.

          • VPCId — (String)

            The VPC Id for the Elasticsearch domain. Exists only if the domain was created with VPCOptions.

          • SubnetIds — (Array<String>)

            Specifies the subnets for VPC endpoint.

          • AvailabilityZones — (Array<String>)

            The availability zones for the Elasticsearch domain. Exists only if the domain was created with VPCOptions.

          • SecurityGroupIds — (Array<String>)

            Specifies the security groups for VPC endpoint.

        • AdvancedOptions — (map<String>)

          Specifies the status of the AdvancedOptions

        • LogPublishingOptions — (map<map>)

          Log publishing options for the given domain.

          • CloudWatchLogsLogGroupArn — (String)

            ARN of the Cloudwatch log group to which log needs to be published.

          • Enabled — (Boolean)

            Specifies whether given log publishing option is enabled or not.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeElasticsearchDomainConfig(params = {}, callback) ⇒ AWS.Request

Provides cluster configuration information about the specified Elasticsearch domain, such as the state, creation date, update version, and update date for cluster options.

Examples:

Calling the describeElasticsearchDomainConfig operation

var params = {
  DomainName: 'STRING_VALUE' /* required */
};
es.describeElasticsearchDomainConfig(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • DomainName — (String)

      The Elasticsearch domain that you want to get information about.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • DomainConfig — (map)

        The configuration information of the domain requested in the DescribeElasticsearchDomainConfig request.

        • ElasticsearchVersion — (map)

          String of format X.Y to specify version for the Elasticsearch domain.

          • Optionsrequired — (String)

            Specifies the Elasticsearch version for the specified Elasticsearch domain.

          • Statusrequired — (map)

            Specifies the status of the Elasticsearch version options for the specified Elasticsearch domain.

            • CreationDaterequired — (Date)

              Timestamp which tells the creation date for the entity.

            • UpdateDaterequired — (Date)

              Timestamp which tells the last updated time for the entity.

            • UpdateVersion — (Integer)

              Specifies the latest version for the entity.

            • Staterequired — (String)

              Provides the OptionState for the Elasticsearch domain.

              Possible values include:
              • "RequiresIndexDocuments"
              • "Processing"
              • "Active"
            • PendingDeletion — (Boolean)

              Indicates whether the Elasticsearch domain is being deleted.

        • ElasticsearchClusterConfig — (map)

          Specifies the ElasticsearchClusterConfig for the Elasticsearch domain.

          • Optionsrequired — (map)

            Specifies the cluster configuration for the specified Elasticsearch domain.

            • InstanceType — (String)

              The instance type for an Elasticsearch cluster.

              Possible values include:
              • "m3.medium.elasticsearch"
              • "m3.large.elasticsearch"
              • "m3.xlarge.elasticsearch"
              • "m3.2xlarge.elasticsearch"
              • "m4.large.elasticsearch"
              • "m4.xlarge.elasticsearch"
              • "m4.2xlarge.elasticsearch"
              • "m4.4xlarge.elasticsearch"
              • "m4.10xlarge.elasticsearch"
              • "t2.micro.elasticsearch"
              • "t2.small.elasticsearch"
              • "t2.medium.elasticsearch"
              • "r3.large.elasticsearch"
              • "r3.xlarge.elasticsearch"
              • "r3.2xlarge.elasticsearch"
              • "r3.4xlarge.elasticsearch"
              • "r3.8xlarge.elasticsearch"
              • "i2.xlarge.elasticsearch"
              • "i2.2xlarge.elasticsearch"
              • "d2.xlarge.elasticsearch"
              • "d2.2xlarge.elasticsearch"
              • "d2.4xlarge.elasticsearch"
              • "d2.8xlarge.elasticsearch"
              • "c4.large.elasticsearch"
              • "c4.xlarge.elasticsearch"
              • "c4.2xlarge.elasticsearch"
              • "c4.4xlarge.elasticsearch"
              • "c4.8xlarge.elasticsearch"
              • "r4.large.elasticsearch"
              • "r4.xlarge.elasticsearch"
              • "r4.2xlarge.elasticsearch"
              • "r4.4xlarge.elasticsearch"
              • "r4.8xlarge.elasticsearch"
              • "r4.16xlarge.elasticsearch"
              • "i3.large.elasticsearch"
              • "i3.xlarge.elasticsearch"
              • "i3.2xlarge.elasticsearch"
              • "i3.4xlarge.elasticsearch"
              • "i3.8xlarge.elasticsearch"
              • "i3.16xlarge.elasticsearch"
            • InstanceCount — (Integer)

              The number of instances in the specified domain cluster.

            • DedicatedMasterEnabled — (Boolean)

              A boolean value to indicate whether a dedicated master node is enabled. See About Dedicated Master Nodes for more information.

            • ZoneAwarenessEnabled — (Boolean)

              A boolean value to indicate whether zone awareness is enabled. See About Zone Awareness for more information.

            • DedicatedMasterType — (String)

              The instance type for a dedicated master node.

              Possible values include:
              • "m3.medium.elasticsearch"
              • "m3.large.elasticsearch"
              • "m3.xlarge.elasticsearch"
              • "m3.2xlarge.elasticsearch"
              • "m4.large.elasticsearch"
              • "m4.xlarge.elasticsearch"
              • "m4.2xlarge.elasticsearch"
              • "m4.4xlarge.elasticsearch"
              • "m4.10xlarge.elasticsearch"
              • "t2.micro.elasticsearch"
              • "t2.small.elasticsearch"
              • "t2.medium.elasticsearch"
              • "r3.large.elasticsearch"
              • "r3.xlarge.elasticsearch"
              • "r3.2xlarge.elasticsearch"
              • "r3.4xlarge.elasticsearch"
              • "r3.8xlarge.elasticsearch"
              • "i2.xlarge.elasticsearch"
              • "i2.2xlarge.elasticsearch"
              • "d2.xlarge.elasticsearch"
              • "d2.2xlarge.elasticsearch"
              • "d2.4xlarge.elasticsearch"
              • "d2.8xlarge.elasticsearch"
              • "c4.large.elasticsearch"
              • "c4.xlarge.elasticsearch"
              • "c4.2xlarge.elasticsearch"
              • "c4.4xlarge.elasticsearch"
              • "c4.8xlarge.elasticsearch"
              • "r4.large.elasticsearch"
              • "r4.xlarge.elasticsearch"
              • "r4.2xlarge.elasticsearch"
              • "r4.4xlarge.elasticsearch"
              • "r4.8xlarge.elasticsearch"
              • "r4.16xlarge.elasticsearch"
              • "i3.large.elasticsearch"
              • "i3.xlarge.elasticsearch"
              • "i3.2xlarge.elasticsearch"
              • "i3.4xlarge.elasticsearch"
              • "i3.8xlarge.elasticsearch"
              • "i3.16xlarge.elasticsearch"
            • DedicatedMasterCount — (Integer)

              Total number of dedicated master nodes, active and on standby, for the cluster.

          • Statusrequired — (map)

            Specifies the status of the configuration for the specified Elasticsearch domain.

            • CreationDaterequired — (Date)

              Timestamp which tells the creation date for the entity.

            • UpdateDaterequired — (Date)

              Timestamp which tells the last updated time for the entity.

            • UpdateVersion — (Integer)

              Specifies the latest version for the entity.

            • Staterequired — (String)

              Provides the OptionState for the Elasticsearch domain.

              Possible values include:
              • "RequiresIndexDocuments"
              • "Processing"
              • "Active"
            • PendingDeletion — (Boolean)

              Indicates whether the Elasticsearch domain is being deleted.

        • EBSOptions — (map)

          Specifies the EBSOptions for the Elasticsearch domain.

          • Optionsrequired — (map)

            Specifies the EBS options for the specified Elasticsearch domain.

            • EBSEnabled — (Boolean)

              Specifies whether EBS-based storage is enabled.

            • VolumeType — (String)

              Specifies the volume type for EBS-based storage.

              Possible values include:
              • "standard"
              • "gp2"
              • "io1"
            • VolumeSize — (Integer)

              Integer to specify the size of an EBS volume.

            • Iops — (Integer)

              Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).

          • Statusrequired — (map)

            Specifies the status of the EBS options for the specified Elasticsearch domain.

            • CreationDaterequired — (Date)

              Timestamp which tells the creation date for the entity.

            • UpdateDaterequired — (Date)

              Timestamp which tells the last updated time for the entity.

            • UpdateVersion — (Integer)

              Specifies the latest version for the entity.

            • Staterequired — (String)

              Provides the OptionState for the Elasticsearch domain.

              Possible values include:
              • "RequiresIndexDocuments"
              • "Processing"
              • "Active"
            • PendingDeletion — (Boolean)

              Indicates whether the Elasticsearch domain is being deleted.

        • AccessPolicies — (map)

          IAM access policy as a JSON-formatted string.

          • Optionsrequired — (String)

            The access policy configured for the Elasticsearch domain. Access policies may be resource-based, IP-based, or IAM-based. See Configuring Access Policiesfor more information.

          • Statusrequired — (map)

            The status of the access policy for the Elasticsearch domain. See OptionStatus for the status information that's included.

            • CreationDaterequired — (Date)

              Timestamp which tells the creation date for the entity.

            • UpdateDaterequired — (Date)

              Timestamp which tells the last updated time for the entity.

            • UpdateVersion — (Integer)

              Specifies the latest version for the entity.

            • Staterequired — (String)

              Provides the OptionState for the Elasticsearch domain.

              Possible values include:
              • "RequiresIndexDocuments"
              • "Processing"
              • "Active"
            • PendingDeletion — (Boolean)

              Indicates whether the Elasticsearch domain is being deleted.

        • SnapshotOptions — (map)

          Specifies the SnapshotOptions for the Elasticsearch domain.

          • Optionsrequired — (map)

            Specifies the daily snapshot options specified for the Elasticsearch domain.

            • AutomatedSnapshotStartHour — (Integer)

              Specifies the time, in UTC format, when the service takes a daily automated snapshot of the specified Elasticsearch domain. Default value is 0 hours.

          • Statusrequired — (map)

            Specifies the status of a daily automated snapshot.

            • CreationDaterequired — (Date)

              Timestamp which tells the creation date for the entity.

            • UpdateDaterequired — (Date)

              Timestamp which tells the last updated time for the entity.

            • UpdateVersion — (Integer)

              Specifies the latest version for the entity.

            • Staterequired — (String)

              Provides the OptionState for the Elasticsearch domain.

              Possible values include:
              • "RequiresIndexDocuments"
              • "Processing"
              • "Active"
            • PendingDeletion — (Boolean)

              Indicates whether the Elasticsearch domain is being deleted.

        • VPCOptions — (map)

          The VPCOptions for the specified domain. For more information, see VPC Endpoints for Amazon Elasticsearch Service Domains.

          • Optionsrequired — (map)

            Specifies the VPC options for the specified Elasticsearch domain.

            • VPCId — (String)

              The VPC Id for the Elasticsearch domain. Exists only if the domain was created with VPCOptions.

            • SubnetIds — (Array<String>)

              Specifies the subnets for VPC endpoint.

            • AvailabilityZones — (Array<String>)

              The availability zones for the Elasticsearch domain. Exists only if the domain was created with VPCOptions.

            • SecurityGroupIds — (Array<String>)

              Specifies the security groups for VPC endpoint.

          • Statusrequired — (map)

            Specifies the status of the VPC options for the specified Elasticsearch domain.

            • CreationDaterequired — (Date)

              Timestamp which tells the creation date for the entity.

            • UpdateDaterequired — (Date)

              Timestamp which tells the last updated time for the entity.

            • UpdateVersion — (Integer)

              Specifies the latest version for the entity.

            • Staterequired — (String)

              Provides the OptionState for the Elasticsearch domain.

              Possible values include:
              • "RequiresIndexDocuments"
              • "Processing"
              • "Active"
            • PendingDeletion — (Boolean)

              Indicates whether the Elasticsearch domain is being deleted.

        • AdvancedOptions — (map)

          Specifies the AdvancedOptions for the domain. See Configuring Advanced Options for more information.

          • Optionsrequired — (map<String>)

            Specifies the status of advanced options for the specified Elasticsearch domain.

          • Statusrequired — (map)

            Specifies the status of OptionStatus for advanced options for the specified Elasticsearch domain.

            • CreationDaterequired — (Date)

              Timestamp which tells the creation date for the entity.

            • UpdateDaterequired — (Date)

              Timestamp which tells the last updated time for the entity.

            • UpdateVersion — (Integer)

              Specifies the latest version for the entity.

            • Staterequired — (String)

              Provides the OptionState for the Elasticsearch domain.

              Possible values include:
              • "RequiresIndexDocuments"
              • "Processing"
              • "Active"
            • PendingDeletion — (Boolean)

              Indicates whether the Elasticsearch domain is being deleted.

        • LogPublishingOptions — (map)

          Log publishing options for the given domain.

          • Options — (map<map>)

            The log publishing options configured for the Elasticsearch domain.

            • CloudWatchLogsLogGroupArn — (String)

              ARN of the Cloudwatch log group to which log needs to be published.

            • Enabled — (Boolean)

              Specifies whether given log publishing option is enabled or not.

          • Status — (map)

            The status of the log publishing options for the Elasticsearch domain. See OptionStatus for the status information that's included.

            • CreationDaterequired — (Date)

              Timestamp which tells the creation date for the entity.

            • UpdateDaterequired — (Date)

              Timestamp which tells the last updated time for the entity.

            • UpdateVersion — (Integer)

              Specifies the latest version for the entity.

            • Staterequired — (String)

              Provides the OptionState for the Elasticsearch domain.

              Possible values include:
              • "RequiresIndexDocuments"
              • "Processing"
              • "Active"
            • PendingDeletion — (Boolean)

              Indicates whether the Elasticsearch domain is being deleted.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeElasticsearchDomains(params = {}, callback) ⇒ AWS.Request

Returns domain configuration information about the specified Elasticsearch domains, including the domain ID, domain endpoint, and domain ARN.

Service Reference:

Examples:

Calling the describeElasticsearchDomains operation

var params = {
  DomainNames: [ /* required */
    'STRING_VALUE',
    /* more items */
  ]
};
es.describeElasticsearchDomains(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • DomainNames — (Array<String>)

      The Elasticsearch domains for which you want information.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • DomainStatusList — (Array<map>)

        The status of the domains requested in the DescribeElasticsearchDomains request.

        • DomainIdrequired — (String)

          The unique identifier for the specified Elasticsearch domain.

        • DomainNamerequired — (String)

          The name of an Elasticsearch domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).

        • ARNrequired — (String)

          The Amazon resource name (ARN) of an Elasticsearch domain. See Identifiers for IAM Entities in Using AWS Identity and Access Management for more information.

        • Created — (Boolean)

          The domain creation status. True if the creation of an Elasticsearch domain is complete. False if domain creation is still in progress.

        • Deleted — (Boolean)

          The domain deletion status. True if a delete request has been received for the domain but resource cleanup is still in progress. False if the domain has not been deleted. Once domain deletion is complete, the status of the domain is no longer returned.

        • Endpoint — (String)

          The Elasticsearch domain endpoint that you use to submit index and search requests.

        • Endpoints — (map<String>)

          Map containing the Elasticsearch domain endpoints used to submit index and search requests. Example key, value: 'vpc','vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.us-east-1.es.amazonaws.com'.

        • Processing — (Boolean)

          The status of the Elasticsearch domain configuration. True if Amazon Elasticsearch Service is processing configuration changes. False if the configuration is active.

        • ElasticsearchVersion — (String)
        • ElasticsearchClusterConfigrequired — (map)

          The type and number of instances in the domain cluster.

          • InstanceType — (String)

            The instance type for an Elasticsearch cluster.

            Possible values include:
            • "m3.medium.elasticsearch"
            • "m3.large.elasticsearch"
            • "m3.xlarge.elasticsearch"
            • "m3.2xlarge.elasticsearch"
            • "m4.large.elasticsearch"
            • "m4.xlarge.elasticsearch"
            • "m4.2xlarge.elasticsearch"
            • "m4.4xlarge.elasticsearch"
            • "m4.10xlarge.elasticsearch"
            • "t2.micro.elasticsearch"
            • "t2.small.elasticsearch"
            • "t2.medium.elasticsearch"
            • "r3.large.elasticsearch"
            • "r3.xlarge.elasticsearch"
            • "r3.2xlarge.elasticsearch"
            • "r3.4xlarge.elasticsearch"
            • "r3.8xlarge.elasticsearch"
            • "i2.xlarge.elasticsearch"
            • "i2.2xlarge.elasticsearch"
            • "d2.xlarge.elasticsearch"
            • "d2.2xlarge.elasticsearch"
            • "d2.4xlarge.elasticsearch"
            • "d2.8xlarge.elasticsearch"
            • "c4.large.elasticsearch"
            • "c4.xlarge.elasticsearch"
            • "c4.2xlarge.elasticsearch"
            • "c4.4xlarge.elasticsearch"
            • "c4.8xlarge.elasticsearch"
            • "r4.large.elasticsearch"
            • "r4.xlarge.elasticsearch"
            • "r4.2xlarge.elasticsearch"
            • "r4.4xlarge.elasticsearch"
            • "r4.8xlarge.elasticsearch"
            • "r4.16xlarge.elasticsearch"
            • "i3.large.elasticsearch"
            • "i3.xlarge.elasticsearch"
            • "i3.2xlarge.elasticsearch"
            • "i3.4xlarge.elasticsearch"
            • "i3.8xlarge.elasticsearch"
            • "i3.16xlarge.elasticsearch"
          • InstanceCount — (Integer)

            The number of instances in the specified domain cluster.

          • DedicatedMasterEnabled — (Boolean)

            A boolean value to indicate whether a dedicated master node is enabled. See About Dedicated Master Nodes for more information.

          • ZoneAwarenessEnabled — (Boolean)

            A boolean value to indicate whether zone awareness is enabled. See About Zone Awareness for more information.

          • DedicatedMasterType — (String)

            The instance type for a dedicated master node.

            Possible values include:
            • "m3.medium.elasticsearch"
            • "m3.large.elasticsearch"
            • "m3.xlarge.elasticsearch"
            • "m3.2xlarge.elasticsearch"
            • "m4.large.elasticsearch"
            • "m4.xlarge.elasticsearch"
            • "m4.2xlarge.elasticsearch"
            • "m4.4xlarge.elasticsearch"
            • "m4.10xlarge.elasticsearch"
            • "t2.micro.elasticsearch"
            • "t2.small.elasticsearch"
            • "t2.medium.elasticsearch"
            • "r3.large.elasticsearch"
            • "r3.xlarge.elasticsearch"
            • "r3.2xlarge.elasticsearch"
            • "r3.4xlarge.elasticsearch"
            • "r3.8xlarge.elasticsearch"
            • "i2.xlarge.elasticsearch"
            • "i2.2xlarge.elasticsearch"
            • "d2.xlarge.elasticsearch"
            • "d2.2xlarge.elasticsearch"
            • "d2.4xlarge.elasticsearch"
            • "d2.8xlarge.elasticsearch"
            • "c4.large.elasticsearch"
            • "c4.xlarge.elasticsearch"
            • "c4.2xlarge.elasticsearch"
            • "c4.4xlarge.elasticsearch"
            • "c4.8xlarge.elasticsearch"
            • "r4.large.elasticsearch"
            • "r4.xlarge.elasticsearch"
            • "r4.2xlarge.elasticsearch"
            • "r4.4xlarge.elasticsearch"
            • "r4.8xlarge.elasticsearch"
            • "r4.16xlarge.elasticsearch"
            • "i3.large.elasticsearch"
            • "i3.xlarge.elasticsearch"
            • "i3.2xlarge.elasticsearch"
            • "i3.4xlarge.elasticsearch"
            • "i3.8xlarge.elasticsearch"
            • "i3.16xlarge.elasticsearch"
          • DedicatedMasterCount — (Integer)

            Total number of dedicated master nodes, active and on standby, for the cluster.

        • EBSOptions — (map)

          The EBSOptions for the specified domain. See Configuring EBS-based Storage for more information.

          • EBSEnabled — (Boolean)

            Specifies whether EBS-based storage is enabled.

          • VolumeType — (String)

            Specifies the volume type for EBS-based storage.

            Possible values include:
            • "standard"
            • "gp2"
            • "io1"
          • VolumeSize — (Integer)

            Integer to specify the size of an EBS volume.

          • Iops — (Integer)

            Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).

        • AccessPolicies — (String)

          IAM access policy as a JSON-formatted string.

        • SnapshotOptions — (map)

          Specifies the status of the SnapshotOptions

          • AutomatedSnapshotStartHour — (Integer)

            Specifies the time, in UTC format, when the service takes a daily automated snapshot of the specified Elasticsearch domain. Default value is 0 hours.

        • VPCOptions — (map)

          The VPCOptions for the specified domain. For more information, see VPC Endpoints for Amazon Elasticsearch Service Domains.

          • VPCId — (String)

            The VPC Id for the Elasticsearch domain. Exists only if the domain was created with VPCOptions.

          • SubnetIds — (Array<String>)

            Specifies the subnets for VPC endpoint.

          • AvailabilityZones — (Array<String>)

            The availability zones for the Elasticsearch domain. Exists only if the domain was created with VPCOptions.

          • SecurityGroupIds — (Array<String>)

            Specifies the security groups for VPC endpoint.

        • AdvancedOptions — (map<String>)

          Specifies the status of the AdvancedOptions

        • LogPublishingOptions — (map<map>)

          Log publishing options for the given domain.

          • CloudWatchLogsLogGroupArn — (String)

            ARN of the Cloudwatch log group to which log needs to be published.

          • Enabled — (Boolean)

            Specifies whether given log publishing option is enabled or not.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeElasticsearchInstanceTypeLimits(params = {}, callback) ⇒ AWS.Request

Describe Elasticsearch Limits for a given InstanceType and ElasticsearchVersion. When modifying existing Domain, specify the DomainName to know what Limits are supported for modifying.

Examples:

Calling the describeElasticsearchInstanceTypeLimits operation

var params = {
  ElasticsearchVersion: 'STRING_VALUE', /* required */
  InstanceType: m3.medium.elasticsearch | m3.large.elasticsearch | m3.xlarge.elasticsearch | m3.2xlarge.elasticsearch | m4.large.elasticsearch | m4.xlarge.elasticsearch | m4.2xlarge.elasticsearch | m4.4xlarge.elasticsearch | m4.10xlarge.elasticsearch | t2.micro.elasticsearch | t2.small.elasticsearch | t2.medium.elasticsearch | r3.large.elasticsearch | r3.xlarge.elasticsearch | r3.2xlarge.elasticsearch | r3.4xlarge.elasticsearch | r3.8xlarge.elasticsearch | i2.xlarge.elasticsearch | i2.2xlarge.elasticsearch | d2.xlarge.elasticsearch | d2.2xlarge.elasticsearch | d2.4xlarge.elasticsearch | d2.8xlarge.elasticsearch | c4.large.elasticsearch | c4.xlarge.elasticsearch | c4.2xlarge.elasticsearch | c4.4xlarge.elasticsearch | c4.8xlarge.elasticsearch | r4.large.elasticsearch | r4.xlarge.elasticsearch | r4.2xlarge.elasticsearch | r4.4xlarge.elasticsearch | r4.8xlarge.elasticsearch | r4.16xlarge.elasticsearch | i3.large.elasticsearch | i3.xlarge.elasticsearch | i3.2xlarge.elasticsearch | i3.4xlarge.elasticsearch | i3.8xlarge.elasticsearch | i3.16xlarge.elasticsearch, /* required */
  DomainName: 'STRING_VALUE'
};
es.describeElasticsearchInstanceTypeLimits(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • DomainName — (String)

      DomainName represents the name of the Domain that we are trying to modify. This should be present only if we are querying for Elasticsearch Limits for existing domain.

    • InstanceType — (String)

      The instance type for an Elasticsearch cluster for which Elasticsearch Limits are needed.

      Possible values include:
      • "m3.medium.elasticsearch"
      • "m3.large.elasticsearch"
      • "m3.xlarge.elasticsearch"
      • "m3.2xlarge.elasticsearch"
      • "m4.large.elasticsearch"
      • "m4.xlarge.elasticsearch"
      • "m4.2xlarge.elasticsearch"
      • "m4.4xlarge.elasticsearch"
      • "m4.10xlarge.elasticsearch"
      • "t2.micro.elasticsearch"
      • "t2.small.elasticsearch"
      • "t2.medium.elasticsearch"
      • "r3.large.elasticsearch"
      • "r3.xlarge.elasticsearch"
      • "r3.2xlarge.elasticsearch"
      • "r3.4xlarge.elasticsearch"
      • "r3.8xlarge.elasticsearch"
      • "i2.xlarge.elasticsearch"
      • "i2.2xlarge.elasticsearch"
      • "d2.xlarge.elasticsearch"
      • "d2.2xlarge.elasticsearch"
      • "d2.4xlarge.elasticsearch"
      • "d2.8xlarge.elasticsearch"
      • "c4.large.elasticsearch"
      • "c4.xlarge.elasticsearch"
      • "c4.2xlarge.elasticsearch"
      • "c4.4xlarge.elasticsearch"
      • "c4.8xlarge.elasticsearch"
      • "r4.large.elasticsearch"
      • "r4.xlarge.elasticsearch"
      • "r4.2xlarge.elasticsearch"
      • "r4.4xlarge.elasticsearch"
      • "r4.8xlarge.elasticsearch"
      • "r4.16xlarge.elasticsearch"
      • "i3.large.elasticsearch"
      • "i3.xlarge.elasticsearch"
      • "i3.2xlarge.elasticsearch"
      • "i3.4xlarge.elasticsearch"
      • "i3.8xlarge.elasticsearch"
      • "i3.16xlarge.elasticsearch"
    • ElasticsearchVersion — (String)

      Version of Elasticsearch for which Limits are needed.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • LimitsByRole — (map<map>)

        Map of Role of the Instance and Limits that are applicable. Role performed by given Instance in Elasticsearch can be one of the following:

        • Data: If the given InstanceType is used as Data node
        • Master: If the given InstanceType is used as Master node

        • StorageTypes — (Array<map>)

          StorageType represents the list of storage related types and attributes that are available for given InstanceType.

          • StorageTypeName — (String)

            Type of the storage. List of available storage options:

            1. instance
            2. Inbuilt storage available for the given Instance
            3. ebs
            4. Elastic block storage that would be attached to the given Instance

          • StorageSubTypeName — (String)

            SubType of the given storage type. List of available sub-storage options: For "instance" storageType we wont have any storageSubType, in case of "ebs" storageType we will have following valid storageSubTypes

            1. standard
            2. gp2
            3. io1
            Refer VolumeType for more information regarding above EBS storage options.

          • StorageTypeLimits — (Array<map>)

            List of limits that are applicable for given storage type.

            • LimitName — (String)

              Name of storage limits that are applicable for given storage type. If StorageType is ebs, following storage options are applicable

              1. MinimumVolumeSize
              2. Minimum amount of volume size that is applicable for given storage type.It can be empty if it is not applicable.
              3. MaximumVolumeSize
              4. Maximum amount of volume size that is applicable for given storage type.It can be empty if it is not applicable.
              5. MaximumIops
              6. Maximum amount of Iops that is applicable for given storage type.It can be empty if it is not applicable.
              7. MinimumIops
              8. Minimum amount of Iops that is applicable for given storage type.It can be empty if it is not applicable.

            • LimitValues — (Array<String>)

              Values for the StorageTypeLimit$LimitName .

        • InstanceLimits — (map)

          InstanceLimits represents the list of instance related attributes that are available for given InstanceType.

          • InstanceCountLimits — (map)

            InstanceCountLimits represents the limits on number of instances that be created in Amazon Elasticsearch for given InstanceType.

            • MinimumInstanceCount — (Integer)

              Minimum number of Instances that can be instantiated for given InstanceType.

            • MaximumInstanceCount — (Integer)

              Maximum number of Instances that can be instantiated for given InstanceType.

        • AdditionalLimits — (Array<map>)

          List of additional limits that are specific to a given InstanceType and for each of it's InstanceRole .

          • LimitName — (String)

            Name of Additional Limit is specific to a given InstanceType and for each of it's InstanceRole etc.
            Attributes and their details:

            • MaximumNumberOfDataNodesSupported
            • This attribute will be present in Master node only to specify how much data nodes upto which given ESPartitionInstanceType can support as master node.
            • MaximumNumberOfDataNodesWithoutMasterNode
            • This attribute will be present in Data node only to specify how much data nodes of given ESPartitionInstanceType upto which you don't need any master nodes to govern them.

          • LimitValues — (Array<String>)

            Value for given AdditionalLimit$LimitName .

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listDomainNames(params = {}, callback) ⇒ AWS.Request

Returns the name of all Elasticsearch domains owned by the current user's account.

Service Reference:

Examples:

Calling the listDomainNames operation

es.listDomainNames(function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • DomainNames — (Array<map>)

        List of Elasticsearch domain names.

        • DomainName — (String)

          Specifies the DomainName.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listElasticsearchInstanceTypes(params = {}, callback) ⇒ AWS.Request

List all Elasticsearch instance types that are supported for given ElasticsearchVersion

Service Reference:

Examples:

Calling the listElasticsearchInstanceTypes operation

var params = {
  ElasticsearchVersion: 'STRING_VALUE', /* required */
  DomainName: 'STRING_VALUE',
  MaxResults: 0,
  NextToken: 'STRING_VALUE'
};
es.listElasticsearchInstanceTypes(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ElasticsearchVersion — (String)

      Version of Elasticsearch for which list of supported elasticsearch instance types are needed.

    • DomainName — (String)

      DomainName represents the name of the Domain that we are trying to modify. This should be present only if we are querying for list of available Elasticsearch instance types when modifying existing domain.

    • MaxResults — (Integer)

      Set this value to limit the number of results returned. Value provided must be greater than 30 else it wont be honored.

    • NextToken — (String)

      NextToken should be sent in case if earlier API call produced result containing NextToken. It is used for pagination.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ElasticsearchInstanceTypes — (Array<String>)

        List of instance types supported by Amazon Elasticsearch service for given ElasticsearchVersion

      • NextToken — (String)

        In case if there are more results available NextToken would be present, make further request to the same API with received NextToken to paginate remaining results.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listElasticsearchVersions(params = {}, callback) ⇒ AWS.Request

List all supported Elasticsearch versions

Service Reference:

Examples:

Calling the listElasticsearchVersions operation

var params = {
  MaxResults: 0,
  NextToken: 'STRING_VALUE'
};
es.listElasticsearchVersions(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • MaxResults — (Integer)

      Set this value to limit the number of results returned. Value provided must be greater than 10 else it wont be honored.

    • NextToken — (String)

      Paginated APIs accepts NextToken input to returns next page results and provides a NextToken output in the response which can be used by the client to retrieve more results.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ElasticsearchVersions — (Array<String>)

        List of supported elastic search versions.

      • NextToken — (String)

        Paginated APIs accepts NextToken input to returns next page results and provides a NextToken output in the response which can be used by the client to retrieve more results.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listTags(params = {}, callback) ⇒ AWS.Request

Returns all tags for the given Elasticsearch domain.

Service Reference:

Examples:

Calling the listTags operation

var params = {
  ARN: 'STRING_VALUE' /* required */
};
es.listTags(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ARN — (String)

      Specify the ARN for the Elasticsearch domain to which the tags are attached that you want to view.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • TagList — (Array<map>)

        List of Tag for the requested Elasticsearch domain.

        • Keyrequired — (String)

          Specifies the TagKey, the name of the tag. Tag keys must be unique for the Elasticsearch domain to which they are attached.

        • Valuerequired — (String)

          Specifies the TagValue, the value assigned to the corresponding tag key. Tag values can be null and do not have to be unique in a tag set. For example, you can have a key value pair in a tag set of project : Trinity and cost-center : Trinity

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

removeTags(params = {}, callback) ⇒ AWS.Request

Removes the specified set of tags from the specified Elasticsearch domain.

Service Reference:

Examples:

Calling the removeTags operation

var params = {
  ARN: 'STRING_VALUE', /* required */
  TagKeys: [ /* required */
    'STRING_VALUE',
    /* more items */
  ]
};
es.removeTags(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ARN — (String)

      Specifies the ARN for the Elasticsearch domain from which you want to delete the specified tags.

    • TagKeys — (Array<String>)

      Specifies the TagKey list which you want to remove from the Elasticsearch domain.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateElasticsearchDomainConfig(params = {}, callback) ⇒ AWS.Request

Modifies the cluster configuration of the specified Elasticsearch domain, setting as setting the instance type and the number of instances.

Service Reference:

Examples:

Calling the updateElasticsearchDomainConfig operation

var params = {
  DomainName: 'STRING_VALUE', /* required */
  AccessPolicies: 'STRING_VALUE',
  AdvancedOptions: {
    '<String>': 'STRING_VALUE',
    /* '<String>': ... */
  },
  EBSOptions: {
    EBSEnabled: true || false,
    Iops: 0,
    VolumeSize: 0,
    VolumeType: standard | gp2 | io1
  },
  ElasticsearchClusterConfig: {
    DedicatedMasterCount: 0,
    DedicatedMasterEnabled: true || false,
    DedicatedMasterType: m3.medium.elasticsearch | m3.large.elasticsearch | m3.xlarge.elasticsearch | m3.2xlarge.elasticsearch | m4.large.elasticsearch | m4.xlarge.elasticsearch | m4.2xlarge.elasticsearch | m4.4xlarge.elasticsearch | m4.10xlarge.elasticsearch | t2.micro.elasticsearch | t2.small.elasticsearch | t2.medium.elasticsearch | r3.large.elasticsearch | r3.xlarge.elasticsearch | r3.2xlarge.elasticsearch | r3.4xlarge.elasticsearch | r3.8xlarge.elasticsearch | i2.xlarge.elasticsearch | i2.2xlarge.elasticsearch | d2.xlarge.elasticsearch | d2.2xlarge.elasticsearch | d2.4xlarge.elasticsearch | d2.8xlarge.elasticsearch | c4.large.elasticsearch | c4.xlarge.elasticsearch | c4.2xlarge.elasticsearch | c4.4xlarge.elasticsearch | c4.8xlarge.elasticsearch | r4.large.elasticsearch | r4.xlarge.elasticsearch | r4.2xlarge.elasticsearch | r4.4xlarge.elasticsearch | r4.8xlarge.elasticsearch | r4.16xlarge.elasticsearch | i3.large.elasticsearch | i3.xlarge.elasticsearch | i3.2xlarge.elasticsearch | i3.4xlarge.elasticsearch | i3.8xlarge.elasticsearch | i3.16xlarge.elasticsearch,
    InstanceCount: 0,
    InstanceType: m3.medium.elasticsearch | m3.large.elasticsearch | m3.xlarge.elasticsearch | m3.2xlarge.elasticsearch | m4.large.elasticsearch | m4.xlarge.elasticsearch | m4.2xlarge.elasticsearch | m4.4xlarge.elasticsearch | m4.10xlarge.elasticsearch | t2.micro.elasticsearch | t2.small.elasticsearch | t2.medium.elasticsearch | r3.large.elasticsearch | r3.xlarge.elasticsearch | r3.2xlarge.elasticsearch | r3.4xlarge.elasticsearch | r3.8xlarge.elasticsearch | i2.xlarge.elasticsearch | i2.2xlarge.elasticsearch | d2.xlarge.elasticsearch | d2.2xlarge.elasticsearch | d2.4xlarge.elasticsearch | d2.8xlarge.elasticsearch | c4.large.elasticsearch | c4.xlarge.elasticsearch | c4.2xlarge.elasticsearch | c4.4xlarge.elasticsearch | c4.8xlarge.elasticsearch | r4.large.elasticsearch | r4.xlarge.elasticsearch | r4.2xlarge.elasticsearch | r4.4xlarge.elasticsearch | r4.8xlarge.elasticsearch | r4.16xlarge.elasticsearch | i3.large.elasticsearch | i3.xlarge.elasticsearch | i3.2xlarge.elasticsearch | i3.4xlarge.elasticsearch | i3.8xlarge.elasticsearch | i3.16xlarge.elasticsearch,
    ZoneAwarenessEnabled: true || false
  },
  LogPublishingOptions: {
    '<LogType>': {
      CloudWatchLogsLogGroupArn: 'STRING_VALUE',
      Enabled: true || false
    },
    /* '<LogType>': ... */
  },
  SnapshotOptions: {
    AutomatedSnapshotStartHour: 0
  },
  VPCOptions: {
    SecurityGroupIds: [
      'STRING_VALUE',
      /* more items */
    ],
    SubnetIds: [
      'STRING_VALUE',
      /* more items */
    ]
  }
};
es.updateElasticsearchDomainConfig(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • DomainName — (String)

      The name of the Elasticsearch domain that you are updating.

    • ElasticsearchClusterConfig — (map)

      The type and number of instances to instantiate for the domain cluster.

      • InstanceType — (String)

        The instance type for an Elasticsearch cluster.

        Possible values include:
        • "m3.medium.elasticsearch"
        • "m3.large.elasticsearch"
        • "m3.xlarge.elasticsearch"
        • "m3.2xlarge.elasticsearch"
        • "m4.large.elasticsearch"
        • "m4.xlarge.elasticsearch"
        • "m4.2xlarge.elasticsearch"
        • "m4.4xlarge.elasticsearch"
        • "m4.10xlarge.elasticsearch"
        • "t2.micro.elasticsearch"
        • "t2.small.elasticsearch"
        • "t2.medium.elasticsearch"
        • "r3.large.elasticsearch"
        • "r3.xlarge.elasticsearch"
        • "r3.2xlarge.elasticsearch"
        • "r3.4xlarge.elasticsearch"
        • "r3.8xlarge.elasticsearch"
        • "i2.xlarge.elasticsearch"
        • "i2.2xlarge.elasticsearch"
        • "d2.xlarge.elasticsearch"
        • "d2.2xlarge.elasticsearch"
        • "d2.4xlarge.elasticsearch"
        • "d2.8xlarge.elasticsearch"
        • "c4.large.elasticsearch"
        • "c4.xlarge.elasticsearch"
        • "c4.2xlarge.elasticsearch"
        • "c4.4xlarge.elasticsearch"
        • "c4.8xlarge.elasticsearch"
        • "r4.large.elasticsearch"
        • "r4.xlarge.elasticsearch"
        • "r4.2xlarge.elasticsearch"
        • "r4.4xlarge.elasticsearch"
        • "r4.8xlarge.elasticsearch"
        • "r4.16xlarge.elasticsearch"
        • "i3.large.elasticsearch"
        • "i3.xlarge.elasticsearch"
        • "i3.2xlarge.elasticsearch"
        • "i3.4xlarge.elasticsearch"
        • "i3.8xlarge.elasticsearch"
        • "i3.16xlarge.elasticsearch"
      • InstanceCount — (Integer)

        The number of instances in the specified domain cluster.

      • DedicatedMasterEnabled — (Boolean)

        A boolean value to indicate whether a dedicated master node is enabled. See About Dedicated Master Nodes for more information.

      • ZoneAwarenessEnabled — (Boolean)

        A boolean value to indicate whether zone awareness is enabled. See About Zone Awareness for more information.

      • DedicatedMasterType — (String)

        The instance type for a dedicated master node.

        Possible values include:
        • "m3.medium.elasticsearch"
        • "m3.large.elasticsearch"
        • "m3.xlarge.elasticsearch"
        • "m3.2xlarge.elasticsearch"
        • "m4.large.elasticsearch"
        • "m4.xlarge.elasticsearch"
        • "m4.2xlarge.elasticsearch"
        • "m4.4xlarge.elasticsearch"
        • "m4.10xlarge.elasticsearch"
        • "t2.micro.elasticsearch"
        • "t2.small.elasticsearch"
        • "t2.medium.elasticsearch"
        • "r3.large.elasticsearch"
        • "r3.xlarge.elasticsearch"
        • "r3.2xlarge.elasticsearch"
        • "r3.4xlarge.elasticsearch"
        • "r3.8xlarge.elasticsearch"
        • "i2.xlarge.elasticsearch"
        • "i2.2xlarge.elasticsearch"
        • "d2.xlarge.elasticsearch"
        • "d2.2xlarge.elasticsearch"
        • "d2.4xlarge.elasticsearch"
        • "d2.8xlarge.elasticsearch"
        • "c4.large.elasticsearch"
        • "c4.xlarge.elasticsearch"
        • "c4.2xlarge.elasticsearch"
        • "c4.4xlarge.elasticsearch"
        • "c4.8xlarge.elasticsearch"
        • "r4.large.elasticsearch"
        • "r4.xlarge.elasticsearch"
        • "r4.2xlarge.elasticsearch"
        • "r4.4xlarge.elasticsearch"
        • "r4.8xlarge.elasticsearch"
        • "r4.16xlarge.elasticsearch"
        • "i3.large.elasticsearch"
        • "i3.xlarge.elasticsearch"
        • "i3.2xlarge.elasticsearch"
        • "i3.4xlarge.elasticsearch"
        • "i3.8xlarge.elasticsearch"
        • "i3.16xlarge.elasticsearch"
      • DedicatedMasterCount — (Integer)

        Total number of dedicated master nodes, active and on standby, for the cluster.

    • EBSOptions — (map)

      Specify the type and size of the EBS volume that you want to use.

      • EBSEnabled — (Boolean)

        Specifies whether EBS-based storage is enabled.

      • VolumeType — (String)

        Specifies the volume type for EBS-based storage.

        Possible values include:
        • "standard"
        • "gp2"
        • "io1"
      • VolumeSize — (Integer)

        Integer to specify the size of an EBS volume.

      • Iops — (Integer)

        Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).

    • SnapshotOptions — (map)

      Option to set the time, in UTC format, for the daily automated snapshot. Default value is 0 hours.

      • AutomatedSnapshotStartHour — (Integer)

        Specifies the time, in UTC format, when the service takes a daily automated snapshot of the specified Elasticsearch domain. Default value is 0 hours.

    • VPCOptions — (map)

      Options to specify the subnets and security groups for VPC endpoint. For more information, see Creating a VPC in VPC Endpoints for Amazon Elasticsearch Service Domains

      • SubnetIds — (Array<String>)

        Specifies the subnets for VPC endpoint.

      • SecurityGroupIds — (Array<String>)

        Specifies the security groups for VPC endpoint.

    • AdvancedOptions — (map<String>)

      Modifies the advanced option to allow references to indices in an HTTP request body. Must be false when configuring access to individual sub-resources. By default, the value is true. See Configuration Advanced Options for more information.

    • AccessPolicies — (String)

      IAM access policy as a JSON-formatted string.

    • LogPublishingOptions — (map<map>)

      Map of LogType and LogPublishingOption, each containing options to publish a given type of Elasticsearch log.

      • CloudWatchLogsLogGroupArn — (String)

        ARN of the Cloudwatch log group to which log needs to be published.

      • Enabled — (Boolean)

        Specifies whether given log publishing option is enabled or not.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • DomainConfig — (map)

        The status of the updated Elasticsearch domain.

        • ElasticsearchVersion — (map)

          String of format X.Y to specify version for the Elasticsearch domain.

          • Optionsrequired — (String)

            Specifies the Elasticsearch version for the specified Elasticsearch domain.

          • Statusrequired — (map)

            Specifies the status of the Elasticsearch version options for the specified Elasticsearch domain.

            • CreationDaterequired — (Date)

              Timestamp which tells the creation date for the entity.

            • UpdateDaterequired — (Date)

              Timestamp which tells the last updated time for the entity.

            • UpdateVersion — (Integer)

              Specifies the latest version for the entity.

            • Staterequired — (String)

              Provides the OptionState for the Elasticsearch domain.

              Possible values include:
              • "RequiresIndexDocuments"
              • "Processing"
              • "Active"
            • PendingDeletion — (Boolean)

              Indicates whether the Elasticsearch domain is being deleted.

        • ElasticsearchClusterConfig — (map)

          Specifies the ElasticsearchClusterConfig for the Elasticsearch domain.

          • Optionsrequired — (map)

            Specifies the cluster configuration for the specified Elasticsearch domain.

            • InstanceType — (String)

              The instance type for an Elasticsearch cluster.

              Possible values include:
              • "m3.medium.elasticsearch"
              • "m3.large.elasticsearch"
              • "m3.xlarge.elasticsearch"
              • "m3.2xlarge.elasticsearch"
              • "m4.large.elasticsearch"
              • "m4.xlarge.elasticsearch"
              • "m4.2xlarge.elasticsearch"
              • "m4.4xlarge.elasticsearch"
              • "m4.10xlarge.elasticsearch"
              • "t2.micro.elasticsearch"
              • "t2.small.elasticsearch"
              • "t2.medium.elasticsearch"
              • "r3.large.elasticsearch"
              • "r3.xlarge.elasticsearch"
              • "r3.2xlarge.elasticsearch"
              • "r3.4xlarge.elasticsearch"
              • "r3.8xlarge.elasticsearch"
              • "i2.xlarge.elasticsearch"
              • "i2.2xlarge.elasticsearch"
              • "d2.xlarge.elasticsearch"
              • "d2.2xlarge.elasticsearch"
              • "d2.4xlarge.elasticsearch"
              • "d2.8xlarge.elasticsearch"
              • "c4.large.elasticsearch"
              • "c4.xlarge.elasticsearch"
              • "c4.2xlarge.elasticsearch"
              • "c4.4xlarge.elasticsearch"
              • "c4.8xlarge.elasticsearch"
              • "r4.large.elasticsearch"
              • "r4.xlarge.elasticsearch"
              • "r4.2xlarge.elasticsearch"
              • "r4.4xlarge.elasticsearch"
              • "r4.8xlarge.elasticsearch"
              • "r4.16xlarge.elasticsearch"
              • "i3.large.elasticsearch"
              • "i3.xlarge.elasticsearch"
              • "i3.2xlarge.elasticsearch"
              • "i3.4xlarge.elasticsearch"
              • "i3.8xlarge.elasticsearch"
              • "i3.16xlarge.elasticsearch"
            • InstanceCount — (Integer)

              The number of instances in the specified domain cluster.

            • DedicatedMasterEnabled — (Boolean)

              A boolean value to indicate whether a dedicated master node is enabled. See About Dedicated Master Nodes for more information.

            • ZoneAwarenessEnabled — (Boolean)

              A boolean value to indicate whether zone awareness is enabled. See About Zone Awareness for more information.

            • DedicatedMasterType — (String)

              The instance type for a dedicated master node.

              Possible values include:
              • "m3.medium.elasticsearch"
              • "m3.large.elasticsearch"
              • "m3.xlarge.elasticsearch"
              • "m3.2xlarge.elasticsearch"
              • "m4.large.elasticsearch"
              • "m4.xlarge.elasticsearch"
              • "m4.2xlarge.elasticsearch"
              • "m4.4xlarge.elasticsearch"
              • "m4.10xlarge.elasticsearch"
              • "t2.micro.elasticsearch"
              • "t2.small.elasticsearch"
              • "t2.medium.elasticsearch"
              • "r3.large.elasticsearch"
              • "r3.xlarge.elasticsearch"
              • "r3.2xlarge.elasticsearch"
              • "r3.4xlarge.elasticsearch"
              • "r3.8xlarge.elasticsearch"
              • "i2.xlarge.elasticsearch"
              • "i2.2xlarge.elasticsearch"
              • "d2.xlarge.elasticsearch"
              • "d2.2xlarge.elasticsearch"
              • "d2.4xlarge.elasticsearch"
              • "d2.8xlarge.elasticsearch"
              • "c4.large.elasticsearch"
              • "c4.xlarge.elasticsearch"
              • "c4.2xlarge.elasticsearch"
              • "c4.4xlarge.elasticsearch"
              • "c4.8xlarge.elasticsearch"
              • "r4.large.elasticsearch"
              • "r4.xlarge.elasticsearch"
              • "r4.2xlarge.elasticsearch"
              • "r4.4xlarge.elasticsearch"
              • "r4.8xlarge.elasticsearch"
              • "r4.16xlarge.elasticsearch"
              • "i3.large.elasticsearch"
              • "i3.xlarge.elasticsearch"
              • "i3.2xlarge.elasticsearch"
              • "i3.4xlarge.elasticsearch"
              • "i3.8xlarge.elasticsearch"
              • "i3.16xlarge.elasticsearch"
            • DedicatedMasterCount — (Integer)

              Total number of dedicated master nodes, active and on standby, for the cluster.

          • Statusrequired — (map)

            Specifies the status of the configuration for the specified Elasticsearch domain.

            • CreationDaterequired — (Date)

              Timestamp which tells the creation date for the entity.

            • UpdateDaterequired — (Date)

              Timestamp which tells the last updated time for the entity.

            • UpdateVersion — (Integer)

              Specifies the latest version for the entity.

            • Staterequired — (String)

              Provides the OptionState for the Elasticsearch domain.

              Possible values include:
              • "RequiresIndexDocuments"
              • "Processing"
              • "Active"
            • PendingDeletion — (Boolean)

              Indicates whether the Elasticsearch domain is being deleted.

        • EBSOptions — (map)

          Specifies the EBSOptions for the Elasticsearch domain.

          • Optionsrequired — (map)

            Specifies the EBS options for the specified Elasticsearch domain.

            • EBSEnabled — (Boolean)

              Specifies whether EBS-based storage is enabled.

            • VolumeType — (String)

              Specifies the volume type for EBS-based storage.

              Possible values include:
              • "standard"
              • "gp2"
              • "io1"
            • VolumeSize — (Integer)

              Integer to specify the size of an EBS volume.

            • Iops — (Integer)

              Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).

          • Statusrequired — (map)

            Specifies the status of the EBS options for the specified Elasticsearch domain.

            • CreationDaterequired — (Date)

              Timestamp which tells the creation date for the entity.

            • UpdateDaterequired — (Date)

              Timestamp which tells the last updated time for the entity.

            • UpdateVersion — (Integer)

              Specifies the latest version for the entity.

            • Staterequired — (String)

              Provides the OptionState for the Elasticsearch domain.

              Possible values include:
              • "RequiresIndexDocuments"
              • "Processing"
              • "Active"
            • PendingDeletion — (Boolean)

              Indicates whether the Elasticsearch domain is being deleted.

        • AccessPolicies — (map)

          IAM access policy as a JSON-formatted string.

          • Optionsrequired — (String)

            The access policy configured for the Elasticsearch domain. Access policies may be resource-based, IP-based, or IAM-based. See Configuring Access Policiesfor more information.

          • Statusrequired — (map)

            The status of the access policy for the Elasticsearch domain. See OptionStatus for the status information that's included.

            • CreationDaterequired — (Date)

              Timestamp which tells the creation date for the entity.

            • UpdateDaterequired — (Date)

              Timestamp which tells the last updated time for the entity.

            • UpdateVersion — (Integer)

              Specifies the latest version for the entity.

            • Staterequired — (String)

              Provides the OptionState for the Elasticsearch domain.

              Possible values include:
              • "RequiresIndexDocuments"
              • "Processing"
              • "Active"
            • PendingDeletion — (Boolean)

              Indicates whether the Elasticsearch domain is being deleted.

        • SnapshotOptions — (map)

          Specifies the SnapshotOptions for the Elasticsearch domain.

          • Optionsrequired — (map)

            Specifies the daily snapshot options specified for the Elasticsearch domain.

            • AutomatedSnapshotStartHour — (Integer)

              Specifies the time, in UTC format, when the service takes a daily automated snapshot of the specified Elasticsearch domain. Default value is 0 hours.

          • Statusrequired — (map)

            Specifies the status of a daily automated snapshot.

            • CreationDaterequired — (Date)

              Timestamp which tells the creation date for the entity.

            • UpdateDaterequired — (Date)

              Timestamp which tells the last updated time for the entity.

            • UpdateVersion — (Integer)

              Specifies the latest version for the entity.

            • Staterequired — (String)

              Provides the OptionState for the Elasticsearch domain.

              Possible values include:
              • "RequiresIndexDocuments"
              • "Processing"
              • "Active"
            • PendingDeletion — (Boolean)

              Indicates whether the Elasticsearch domain is being deleted.

        • VPCOptions — (map)

          The VPCOptions for the specified domain. For more information, see VPC Endpoints for Amazon Elasticsearch Service Domains.

          • Optionsrequired — (map)

            Specifies the VPC options for the specified Elasticsearch domain.

            • VPCId — (String)

              The VPC Id for the Elasticsearch domain. Exists only if the domain was created with VPCOptions.

            • SubnetIds — (Array<String>)

              Specifies the subnets for VPC endpoint.

            • AvailabilityZones — (Array<String>)

              The availability zones for the Elasticsearch domain. Exists only if the domain was created with VPCOptions.

            • SecurityGroupIds — (Array<String>)

              Specifies the security groups for VPC endpoint.

          • Statusrequired — (map)

            Specifies the status of the VPC options for the specified Elasticsearch domain.

            • CreationDaterequired — (Date)

              Timestamp which tells the creation date for the entity.

            • UpdateDaterequired — (Date)

              Timestamp which tells the last updated time for the entity.

            • UpdateVersion — (Integer)

              Specifies the latest version for the entity.

            • Staterequired — (String)

              Provides the OptionState for the Elasticsearch domain.

              Possible values include:
              • "RequiresIndexDocuments"
              • "Processing"
              • "Active"
            • PendingDeletion — (Boolean)

              Indicates whether the Elasticsearch domain is being deleted.

        • AdvancedOptions — (map)

          Specifies the AdvancedOptions for the domain. See Configuring Advanced Options for more information.

          • Optionsrequired — (map<String>)

            Specifies the status of advanced options for the specified Elasticsearch domain.

          • Statusrequired — (map)

            Specifies the status of OptionStatus for advanced options for the specified Elasticsearch domain.

            • CreationDaterequired — (Date)

              Timestamp which tells the creation date for the entity.

            • UpdateDaterequired — (Date)

              Timestamp which tells the last updated time for the entity.

            • UpdateVersion — (Integer)

              Specifies the latest version for the entity.

            • Staterequired — (String)

              Provides the OptionState for the Elasticsearch domain.

              Possible values include:
              • "RequiresIndexDocuments"
              • "Processing"
              • "Active"
            • PendingDeletion — (Boolean)

              Indicates whether the Elasticsearch domain is being deleted.

        • LogPublishingOptions — (map)

          Log publishing options for the given domain.

          • Options — (map<map>)

            The log publishing options configured for the Elasticsearch domain.

            • CloudWatchLogsLogGroupArn — (String)

              ARN of the Cloudwatch log group to which log needs to be published.

            • Enabled — (Boolean)

              Specifies whether given log publishing option is enabled or not.

          • Status — (map)

            The status of the log publishing options for the Elasticsearch domain. See OptionStatus for the status information that's included.

            • CreationDaterequired — (Date)

              Timestamp which tells the creation date for the entity.

            • UpdateDaterequired — (Date)

              Timestamp which tells the last updated time for the entity.

            • UpdateVersion — (Integer)

              Specifies the latest version for the entity.

            • Staterequired — (String)

              Provides the OptionState for the Elasticsearch domain.

              Possible values include:
              • "RequiresIndexDocuments"
              • "Processing"
              • "Active"
            • PendingDeletion — (Boolean)

              Indicates whether the Elasticsearch domain is being deleted.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.