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.

Service Description

Use the Amazon Elasticsearch configuration API to create, configure, and manage Elasticsearch domains.

The endpoint for configuration service requests is region-specific: es.region.amazonaws.com. For example, es.us-east-1.amazonaws.com. For a current list of supported regions and endpoints, see Regions and Endpoints.

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

Property Summary

Properties inherited from AWS.Service

apiVersions

Method Summary

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.

  • useAccelerateEndpoint (Boolean)

    Whether to use the S3 Transfer Acceleration endpoint with the S3 service. Default: false.

  • clientSideMonitoring (Boolean)

    whether to collect and publish this client's performance metrics of all its API requests.

  • endpointDiscoveryEnabled (Boolean)

    whether to enable endpoint discovery for operations that allow optionally using an endpoint returned by the service. Defaults to 'false'

  • endpointCacheSize (Number)

    the size of the global cache storing endpoints from endpoint discovery operations. Once endpoint cache is created, updating this setting cannot change existing cache size. Defaults to 1000

  • hostPrefixEnabled (Boolean)

    whether to marshal request parameters to the prefix of hostname. Defaults to 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.

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

Cancels a scheduled service software update for an Amazon ES domain. You can only perform this operation before the AutomatedUpdateDate and when the UpdateStatus is in the PENDING_UPDATE state.

Examples:

Calling the cancelElasticsearchServiceSoftwareUpdate operation

var params = {
  DomainName: 'STRING_VALUE' /* required */
};
es.cancelElasticsearchServiceSoftwareUpdate(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 domain that you want to stop the latest service software update on.

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:

      • ServiceSoftwareOptions — (map)

        The current status of the Elasticsearch service software update.

        • CurrentVersion — (String)

          The current service software version that is present on the domain.

        • NewVersion — (String)

          The new service software version if one is available.

        • UpdateAvailable — (Boolean)

          True if you are able to update you service software version. False if you are not able to update your service software version.

        • Cancellable — (Boolean)

          True if you are able to cancel your service software version update. False if you are not able to cancel your service software version.

        • UpdateStatus — (String)

          The status of your service software update. This field can take the following values: ELIGIBLE, PENDING_UPDATE, IN_PROGRESS, COMPLETED, and NOT_ELIGIBLE.

          Possible values include:
          • "PENDING_UPDATE"
          • "IN_PROGRESS"
          • "COMPLETED"
          • "NOT_ELIGIBLE"
          • "ELIGIBLE"
        • Description — (String)

          The description of the UpdateStatus.

        • AutomatedUpdateDate — (Date)

          Timestamp, in Epoch time, until which you can manually request a service software update. After this date, we automatically update your service software.

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>': ... */
  },
  CognitoOptions: {
    Enabled: true || false,
    IdentityPoolId: 'STRING_VALUE',
    RoleArn: 'STRING_VALUE',
    UserPoolId: 'STRING_VALUE'
  },
  EBSOptions: {
    EBSEnabled: true || false,
    Iops: 'NUMBER_VALUE',
    VolumeSize: 'NUMBER_VALUE',
    VolumeType: standard | gp2 | io1
  },
  ElasticsearchClusterConfig: {
    DedicatedMasterCount: 'NUMBER_VALUE',
    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: 'NUMBER_VALUE',
    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,
    ZoneAwarenessConfig: {
      AvailabilityZoneCount: 'NUMBER_VALUE'
    },
    ZoneAwarenessEnabled: true || false
  },
  ElasticsearchVersion: 'STRING_VALUE',
  EncryptionAtRestOptions: {
    Enabled: true || false,
    KmsKeyId: 'STRING_VALUE'
  },
  LogPublishingOptions: {
    '<LogType>': {
      CloudWatchLogsLogGroupArn: 'STRING_VALUE',
      Enabled: true || false
    },
    /* '<LogType>': ... */
  },
  NodeToNodeEncryptionOptions: {
    Enabled: true || false
  },
  SnapshotOptions: {
    AutomatedSnapshotStartHour: 'NUMBER_VALUE'
  },
  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.

      • ZoneAwarenessConfig — (map)

        Specifies the zone awareness configuration for a domain when zone awareness is enabled.

        • AvailabilityZoneCount — (Integer)

          An integer value to indicate the number of availability zones for a domain when zone awareness is enabled. This should be equal to number of subnets if VPC endpoints is enabled

      • 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.

    • CognitoOptions — (map)

      Options to specify the Cognito user and identity pools for Kibana authentication. For more information, see Amazon Cognito Authentication for Kibana.

      • Enabled — (Boolean)

        Specifies the option to enable Cognito for Kibana authentication.

      • UserPoolId — (String)

        Specifies the Cognito user pool ID for Kibana authentication.

      • IdentityPoolId — (String)

        Specifies the Cognito identity pool ID for Kibana authentication.

      • RoleArn — (String)

        Specifies the role ARN that provides Elasticsearch permissions for accessing Cognito resources.

    • EncryptionAtRestOptions — (map)

      Specifies the Encryption At Rest Options.

      • Enabled — (Boolean)

        Specifies the option to enable Encryption At Rest.

      • KmsKeyId — (String)

        Specifies the KMS Key ID for Encryption At Rest options.

    • NodeToNodeEncryptionOptions — (map)

      Specifies the NodeToNodeEncryptionOptions.

      • Enabled — (Boolean)

        Specify true to enable node-to-node encryption.

    • 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.

        • UpgradeProcessing — (Boolean)

          The status of an Elasticsearch domain version upgrade. True if Amazon Elasticsearch Service is undergoing a version upgrade. 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.

          • ZoneAwarenessConfig — (map)

            Specifies the zone awareness configuration for a domain when zone awareness is enabled.

            • AvailabilityZoneCount — (Integer)

              An integer value to indicate the number of availability zones for a domain when zone awareness is enabled. This should be equal to number of subnets if VPC endpoints is enabled

          • 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.

        • CognitoOptions — (map)

          The CognitoOptions for the specified domain. For more information, see Amazon Cognito Authentication for Kibana.

          • Enabled — (Boolean)

            Specifies the option to enable Cognito for Kibana authentication.

          • UserPoolId — (String)

            Specifies the Cognito user pool ID for Kibana authentication.

          • IdentityPoolId — (String)

            Specifies the Cognito identity pool ID for Kibana authentication.

          • RoleArn — (String)

            Specifies the role ARN that provides Elasticsearch permissions for accessing Cognito resources.

        • EncryptionAtRestOptions — (map)

          Specifies the status of the EncryptionAtRestOptions.

          • Enabled — (Boolean)

            Specifies the option to enable Encryption At Rest.

          • KmsKeyId — (String)

            Specifies the KMS Key ID for Encryption At Rest options.

        • NodeToNodeEncryptionOptions — (map)

          Specifies the status of the NodeToNodeEncryptionOptions.

          • Enabled — (Boolean)

            Specify true to enable node-to-node encryption.

        • 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.

        • ServiceSoftwareOptions — (map)

          The current status of the Elasticsearch domain's service software.

          • CurrentVersion — (String)

            The current service software version that is present on the domain.

          • NewVersion — (String)

            The new service software version if one is available.

          • UpdateAvailable — (Boolean)

            True if you are able to update you service software version. False if you are not able to update your service software version.

          • Cancellable — (Boolean)

            True if you are able to cancel your service software version update. False if you are not able to cancel your service software version.

          • UpdateStatus — (String)

            The status of your service software update. This field can take the following values: ELIGIBLE, PENDING_UPDATE, IN_PROGRESS, COMPLETED, and NOT_ELIGIBLE.

            Possible values include:
            • "PENDING_UPDATE"
            • "IN_PROGRESS"
            • "COMPLETED"
            • "NOT_ELIGIBLE"
            • "ELIGIBLE"
          • Description — (String)

            The description of the UpdateStatus.

          • AutomatedUpdateDate — (Date)

            Timestamp, in Epoch time, until which you can manually request a service software update. After this date, we automatically update your service software.

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.

        • UpgradeProcessing — (Boolean)

          The status of an Elasticsearch domain version upgrade. True if Amazon Elasticsearch Service is undergoing a version upgrade. 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.

          • ZoneAwarenessConfig — (map)

            Specifies the zone awareness configuration for a domain when zone awareness is enabled.

            • AvailabilityZoneCount — (Integer)

              An integer value to indicate the number of availability zones for a domain when zone awareness is enabled. This should be equal to number of subnets if VPC endpoints is enabled

          • 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.

        • CognitoOptions — (map)

          The CognitoOptions for the specified domain. For more information, see Amazon Cognito Authentication for Kibana.

          • Enabled — (Boolean)

            Specifies the option to enable Cognito for Kibana authentication.

          • UserPoolId — (String)

            Specifies the Cognito user pool ID for Kibana authentication.

          • IdentityPoolId — (String)

            Specifies the Cognito identity pool ID for Kibana authentication.

          • RoleArn — (String)

            Specifies the role ARN that provides Elasticsearch permissions for accessing Cognito resources.

        • EncryptionAtRestOptions — (map)

          Specifies the status of the EncryptionAtRestOptions.

          • Enabled — (Boolean)

            Specifies the option to enable Encryption At Rest.

          • KmsKeyId — (String)

            Specifies the KMS Key ID for Encryption At Rest options.

        • NodeToNodeEncryptionOptions — (map)

          Specifies the status of the NodeToNodeEncryptionOptions.

          • Enabled — (Boolean)

            Specify true to enable node-to-node encryption.

        • 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.

        • ServiceSoftwareOptions — (map)

          The current status of the Elasticsearch domain's service software.

          • CurrentVersion — (String)

            The current service software version that is present on the domain.

          • NewVersion — (String)

            The new service software version if one is available.

          • UpdateAvailable — (Boolean)

            True if you are able to update you service software version. False if you are not able to update your service software version.

          • Cancellable — (Boolean)

            True if you are able to cancel your service software version update. False if you are not able to cancel your service software version.

          • UpdateStatus — (String)

            The status of your service software update. This field can take the following values: ELIGIBLE, PENDING_UPDATE, IN_PROGRESS, COMPLETED, and NOT_ELIGIBLE.

            Possible values include:
            • "PENDING_UPDATE"
            • "IN_PROGRESS"
            • "COMPLETED"
            • "NOT_ELIGIBLE"
            • "ELIGIBLE"
          • Description — (String)

            The description of the UpdateStatus.

          • AutomatedUpdateDate — (Date)

            Timestamp, in Epoch time, until which you can manually request a service software update. After this date, we automatically update your service software.

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.

        • UpgradeProcessing — (Boolean)

          The status of an Elasticsearch domain version upgrade. True if Amazon Elasticsearch Service is undergoing a version upgrade. 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.

          • ZoneAwarenessConfig — (map)

            Specifies the zone awareness configuration for a domain when zone awareness is enabled.

            • AvailabilityZoneCount — (Integer)

              An integer value to indicate the number of availability zones for a domain when zone awareness is enabled. This should be equal to number of subnets if VPC endpoints is enabled

          • 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.

        • CognitoOptions — (map)

          The CognitoOptions for the specified domain. For more information, see Amazon Cognito Authentication for Kibana.

          • Enabled — (Boolean)

            Specifies the option to enable Cognito for Kibana authentication.

          • UserPoolId — (String)

            Specifies the Cognito user pool ID for Kibana authentication.

          • IdentityPoolId — (String)

            Specifies the Cognito identity pool ID for Kibana authentication.

          • RoleArn — (String)

            Specifies the role ARN that provides Elasticsearch permissions for accessing Cognito resources.

        • EncryptionAtRestOptions — (map)

          Specifies the status of the EncryptionAtRestOptions.

          • Enabled — (Boolean)

            Specifies the option to enable Encryption At Rest.

          • KmsKeyId — (String)

            Specifies the KMS Key ID for Encryption At Rest options.

        • NodeToNodeEncryptionOptions — (map)

          Specifies the status of the NodeToNodeEncryptionOptions.

          • Enabled — (Boolean)

            Specify true to enable node-to-node encryption.

        • 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.

        • ServiceSoftwareOptions — (map)

          The current status of the Elasticsearch domain's service software.

          • CurrentVersion — (String)

            The current service software version that is present on the domain.

          • NewVersion — (String)

            The new service software version if one is available.

          • UpdateAvailable — (Boolean)

            True if you are able to update you service software version. False if you are not able to update your service software version.

          • Cancellable — (Boolean)

            True if you are able to cancel your service software version update. False if you are not able to cancel your service software version.

          • UpdateStatus — (String)

            The status of your service software update. This field can take the following values: ELIGIBLE, PENDING_UPDATE, IN_PROGRESS, COMPLETED, and NOT_ELIGIBLE.

            Possible values include:
            • "PENDING_UPDATE"
            • "IN_PROGRESS"
            • "COMPLETED"
            • "NOT_ELIGIBLE"
            • "ELIGIBLE"
          • Description — (String)

            The description of the UpdateStatus.

          • AutomatedUpdateDate — (Date)

            Timestamp, in Epoch time, until which you can manually request a service software update. After this date, we automatically update your service software.

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.

            • ZoneAwarenessConfig — (map)

              Specifies the zone awareness configuration for a domain when zone awareness is enabled.

              • AvailabilityZoneCount — (Integer)

                An integer value to indicate the number of availability zones for a domain when zone awareness is enabled. This should be equal to number of subnets if VPC endpoints is enabled

            • 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.

        • CognitoOptions — (map)

          The CognitoOptions for the specified domain. For more information, see Amazon Cognito Authentication for Kibana.

          • Optionsrequired — (map)

            Specifies the Cognito options for the specified Elasticsearch domain.

            • Enabled — (Boolean)

              Specifies the option to enable Cognito for Kibana authentication.

            • UserPoolId — (String)

              Specifies the Cognito user pool ID for Kibana authentication.

            • IdentityPoolId — (String)

              Specifies the Cognito identity pool ID for Kibana authentication.

            • RoleArn — (String)

              Specifies the role ARN that provides Elasticsearch permissions for accessing Cognito resources.

          • Statusrequired — (map)

            Specifies the status of the Cognito 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.

        • EncryptionAtRestOptions — (map)

          Specifies the EncryptionAtRestOptions for the Elasticsearch domain.

          • Optionsrequired — (map)

            Specifies the Encryption At Rest options for the specified Elasticsearch domain.

            • Enabled — (Boolean)

              Specifies the option to enable Encryption At Rest.

            • KmsKeyId — (String)

              Specifies the KMS Key ID for Encryption At Rest options.

          • Statusrequired — (map)

            Specifies the status of the Encryption At Rest 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.

        • NodeToNodeEncryptionOptions — (map)

          Specifies the NodeToNodeEncryptionOptions for the Elasticsearch domain.

          • Optionsrequired — (map)

            Specifies the node-to-node encryption options for the specified Elasticsearch domain.

            • Enabled — (Boolean)

              Specify true to enable node-to-node encryption.

          • Statusrequired — (map)

            Specifies the status of the node-to-node encryption 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.

        • UpgradeProcessing — (Boolean)

          The status of an Elasticsearch domain version upgrade. True if Amazon Elasticsearch Service is undergoing a version upgrade. 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.

          • ZoneAwarenessConfig — (map)

            Specifies the zone awareness configuration for a domain when zone awareness is enabled.

            • AvailabilityZoneCount — (Integer)

              An integer value to indicate the number of availability zones for a domain when zone awareness is enabled. This should be equal to number of subnets if VPC endpoints is enabled

          • 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.

        • CognitoOptions — (map)

          The CognitoOptions for the specified domain. For more information, see Amazon Cognito Authentication for Kibana.

          • Enabled — (Boolean)

            Specifies the option to enable Cognito for Kibana authentication.

          • UserPoolId — (String)

            Specifies the Cognito user pool ID for Kibana authentication.

          • IdentityPoolId — (String)

            Specifies the Cognito identity pool ID for Kibana authentication.

          • RoleArn — (String)

            Specifies the role ARN that provides Elasticsearch permissions for accessing Cognito resources.

        • EncryptionAtRestOptions — (map)

          Specifies the status of the EncryptionAtRestOptions.

          • Enabled — (Boolean)

            Specifies the option to enable Encryption At Rest.

          • KmsKeyId — (String)

            Specifies the KMS Key ID for Encryption At Rest options.

        • NodeToNodeEncryptionOptions — (map)

          Specifies the status of the NodeToNodeEncryptionOptions.

          • Enabled — (Boolean)

            Specify true to enable node-to-node encryption.

        • 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.

        • ServiceSoftwareOptions — (map)

          The current status of the Elasticsearch domain's service software.

          • CurrentVersion — (String)

            The current service software version that is present on the domain.

          • NewVersion — (String)

            The new service software version if one is available.

          • UpdateAvailable — (Boolean)

            True if you are able to update you service software version. False if you are not able to update your service software version.

          • Cancellable — (Boolean)

            True if you are able to cancel your service software version update. False if you are not able to cancel your service software version.

          • UpdateStatus — (String)

            The status of your service software update. This field can take the following values: ELIGIBLE, PENDING_UPDATE, IN_PROGRESS, COMPLETED, and NOT_ELIGIBLE.

            Possible values include:
            • "PENDING_UPDATE"
            • "IN_PROGRESS"
            • "COMPLETED"
            • "NOT_ELIGIBLE"
            • "ELIGIBLE"
          • Description — (String)

            The description of the UpdateStatus.

          • AutomatedUpdateDate — (Date)

            Timestamp, in Epoch time, until which you can manually request a service software update. After this date, we automatically update your service software.

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.

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

Lists available reserved Elasticsearch instance offerings.

Examples:

Calling the describeReservedElasticsearchInstanceOfferings operation

var params = {
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE',
  ReservedElasticsearchInstanceOfferingId: 'STRING_VALUE'
};
es.describeReservedElasticsearchInstanceOfferings(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: {})
    • ReservedElasticsearchInstanceOfferingId — (String)

      The offering identifier filter value. Use this parameter to show only the available offering that matches the specified reservation identifier.

    • MaxResults — (Integer)

      Set this value to limit the number of results returned. If not specified, defaults to 100.

    • 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:

      • NextToken — (String)

        Provides an identifier to allow retrieval of paginated results.

      • ReservedElasticsearchInstanceOfferings — (Array<map>)

        List of reserved Elasticsearch instance offerings

        • ReservedElasticsearchInstanceOfferingId — (String)

          The Elasticsearch reserved instance offering identifier.

        • ElasticsearchInstanceType — (String)

          The Elasticsearch instance type offered by the reserved instance offering.

          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"
        • Duration — (Integer)

          The duration, in seconds, for which the offering will reserve the Elasticsearch instance.

        • FixedPrice — (Float)

          The upfront fixed charge you will pay to purchase the specific reserved Elasticsearch instance offering.

        • UsagePrice — (Float)

          The rate you are charged for each hour the domain that is using the offering is running.

        • CurrencyCode — (String)

          The currency code for the reserved Elasticsearch instance offering.

        • PaymentOption — (String)

          Payment option for the reserved Elasticsearch instance offering

          Possible values include:
          • "ALL_UPFRONT"
          • "PARTIAL_UPFRONT"
          • "NO_UPFRONT"
        • RecurringCharges — (Array<map>)

          The charge to your account regardless of whether you are creating any domains using the instance offering.

          • RecurringChargeAmount — (Float)

            The monetary amount of the recurring charge.

          • RecurringChargeFrequency — (String)

            The frequency of the recurring charge.

Returns:

  • (AWS.Request)

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

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

Returns information about reserved Elasticsearch instances for this account.

Examples:

Calling the describeReservedElasticsearchInstances operation

var params = {
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE',
  ReservedElasticsearchInstanceId: 'STRING_VALUE'
};
es.describeReservedElasticsearchInstances(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: {})
    • ReservedElasticsearchInstanceId — (String)

      The reserved instance identifier filter value. Use this parameter to show only the reservation that matches the specified reserved Elasticsearch instance ID.

    • MaxResults — (Integer)

      Set this value to limit the number of results returned. If not specified, defaults to 100.

    • 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:

      • NextToken — (String)

        Provides an identifier to allow retrieval of paginated results.

      • ReservedElasticsearchInstances — (Array<map>)

        List of reserved Elasticsearch instances.

        • ReservationName — (String)

          The customer-specified identifier to track this reservation.

        • ReservedElasticsearchInstanceId — (String)

          The unique identifier for the reservation.

        • ReservedElasticsearchInstanceOfferingId — (String)

          The offering identifier.

        • ElasticsearchInstanceType — (String)

          The Elasticsearch instance type offered by the reserved instance offering.

          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"
        • StartTime — (Date)

          The time the reservation started.

        • Duration — (Integer)

          The duration, in seconds, for which the Elasticsearch instance is reserved.

        • FixedPrice — (Float)

          The upfront fixed charge you will paid to purchase the specific reserved Elasticsearch instance offering.

        • UsagePrice — (Float)

          The rate you are charged for each hour for the domain that is using this reserved instance.

        • CurrencyCode — (String)

          The currency code for the reserved Elasticsearch instance offering.

        • ElasticsearchInstanceCount — (Integer)

          The number of Elasticsearch instances that have been reserved.

        • State — (String)

          The state of the reserved Elasticsearch instance.

        • PaymentOption — (String)

          The payment option as defined in the reserved Elasticsearch instance offering.

          Possible values include:
          • "ALL_UPFRONT"
          • "PARTIAL_UPFRONT"
          • "NO_UPFRONT"
        • RecurringCharges — (Array<map>)

          The charge to your account regardless of whether you are creating any domains using the instance offering.

          • RecurringChargeAmount — (Float)

            The monetary amount of the recurring charge.

          • RecurringChargeFrequency — (String)

            The frequency of the recurring charge.

Returns:

  • (AWS.Request)

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

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

Returns a list of upgrade compatible Elastisearch versions. You can optionally pass a DomainName to get all upgrade compatible Elasticsearch versions for that specific domain.

Examples:

Calling the getCompatibleElasticsearchVersions operation

var params = {
  DomainName: 'STRING_VALUE'
};
es.getCompatibleElasticsearchVersions(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 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).

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:

      • CompatibleElasticsearchVersions — (Array<map>)

        A map of compatible Elasticsearch versions returned as part of the GetCompatibleElasticsearchVersions operation.

        • SourceVersion — (String)

          The current version of Elasticsearch on which a domain is.

        • TargetVersions — (Array<String>)

          List of supported elastic search versions.

Returns:

  • (AWS.Request)

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

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

Retrieves the complete history of the last 10 upgrades that were performed on the domain.

Service Reference:

Examples:

Calling the getUpgradeHistory operation

var params = {
  DomainName: 'STRING_VALUE', /* required */
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
es.getUpgradeHistory(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 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).

    • MaxResults — (Integer)

      Set this value to limit the number of results returned.

    • 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:

      • UpgradeHistories — (Array<map>)

        A list of UpgradeHistory objects corresponding to each Upgrade or Upgrade Eligibility Check performed on a domain returned as part of GetUpgradeHistoryResponse object.

        • UpgradeName — (String)

          A string that describes the update briefly

        • StartTimestamp — (Date)

          UTC Timestamp at which the Upgrade API call was made in "yyyy-MM-ddTHH:mm:ssZ" format.

        • UpgradeStatus — (String)

          The overall status of the update. The status can take one of the following values:

          • In Progress
          • Succeeded
          • Succeeded with Issues
          • Failed

          Possible values include:
          • "IN_PROGRESS"
          • "SUCCEEDED"
          • "SUCCEEDED_WITH_ISSUES"
          • "FAILED"
        • StepsList — (Array<map>)

          A list of UpgradeStepItem s representing information about each step performed as pard of a specific Upgrade or Upgrade Eligibility Check.

          • UpgradeStep — (String)

            Represents one of 3 steps that an Upgrade or Upgrade Eligibility Check does through:

            • PreUpgradeCheck
            • Snapshot
            • Upgrade

            Possible values include:
            • "PRE_UPGRADE_CHECK"
            • "SNAPSHOT"
            • "UPGRADE"
          • UpgradeStepStatus — (String)

            The status of a particular step during an upgrade. The status can take one of the following values:

            • In Progress
            • Succeeded
            • Succeeded with Issues
            • Failed

            Possible values include:
            • "IN_PROGRESS"
            • "SUCCEEDED"
            • "SUCCEEDED_WITH_ISSUES"
            • "FAILED"
          • Issues — (Array<String>)

            A list of strings containing detailed information about the errors encountered in a particular step.

          • ProgressPercent — (Float)

            The Floating point value representing progress percentage of a particular step.

      • NextToken — (String)

        Pagination token that needs to be supplied to the next call to get the next page of results

Returns:

  • (AWS.Request)

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

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

Retrieves the latest status of the last upgrade or upgrade eligibility check that was performed on the domain.

Service Reference:

Examples:

Calling the getUpgradeStatus operation

var params = {
  DomainName: 'STRING_VALUE' /* required */
};
es.getUpgradeStatus(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 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).

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:

      • UpgradeStep — (String)

        Represents one of 3 steps that an Upgrade or Upgrade Eligibility Check does through:

        • PreUpgradeCheck
        • Snapshot
        • Upgrade

        Possible values include:
        • "PRE_UPGRADE_CHECK"
        • "SNAPSHOT"
        • "UPGRADE"
      • StepStatus — (String)

        One of 4 statuses that a step can go through returned as part of the GetUpgradeStatusResponse object. The status can take one of the following values:

        • In Progress
        • Succeeded
        • Succeeded with Issues
        • Failed

        Possible values include:
        • "IN_PROGRESS"
        • "SUCCEEDED"
        • "SUCCEEDED_WITH_ISSUES"
        • "FAILED"
      • UpgradeName — (String)

        A string that describes the update briefly

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: 'NUMBER_VALUE',
  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: 'NUMBER_VALUE',
  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.

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

Allows you to purchase reserved Elasticsearch instances.

Examples:

Calling the purchaseReservedElasticsearchInstanceOffering operation

var params = {
  ReservationName: 'STRING_VALUE', /* required */
  ReservedElasticsearchInstanceOfferingId: 'STRING_VALUE', /* required */
  InstanceCount: 'NUMBER_VALUE'
};
es.purchaseReservedElasticsearchInstanceOffering(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: {})
    • ReservedElasticsearchInstanceOfferingId — (String)

      The ID of the reserved Elasticsearch instance offering to purchase.

    • ReservationName — (String)

      A customer-specified identifier to track this reservation.

    • InstanceCount — (Integer)

      The number of Elasticsearch instances to reserve.

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:

      • ReservedElasticsearchInstanceId — (String)

        Details of the reserved Elasticsearch instance which was purchased.

      • ReservationName — (String)

        The customer-specified identifier used to track this reservation.

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.

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

Schedules a service software update for an Amazon ES domain.

Examples:

Calling the startElasticsearchServiceSoftwareUpdate operation

var params = {
  DomainName: 'STRING_VALUE' /* required */
};
es.startElasticsearchServiceSoftwareUpdate(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 domain that you want to update to the latest service software.

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:

      • ServiceSoftwareOptions — (map)

        The current status of the Elasticsearch service software update.

        • CurrentVersion — (String)

          The current service software version that is present on the domain.

        • NewVersion — (String)

          The new service software version if one is available.

        • UpdateAvailable — (Boolean)

          True if you are able to update you service software version. False if you are not able to update your service software version.

        • Cancellable — (Boolean)

          True if you are able to cancel your service software version update. False if you are not able to cancel your service software version.

        • UpdateStatus — (String)

          The status of your service software update. This field can take the following values: ELIGIBLE, PENDING_UPDATE, IN_PROGRESS, COMPLETED, and NOT_ELIGIBLE.

          Possible values include:
          • "PENDING_UPDATE"
          • "IN_PROGRESS"
          • "COMPLETED"
          • "NOT_ELIGIBLE"
          • "ELIGIBLE"
        • Description — (String)

          The description of the UpdateStatus.

        • AutomatedUpdateDate — (Date)

          Timestamp, in Epoch time, until which you can manually request a service software update. After this date, we automatically update your service software.

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>': ... */
  },
  CognitoOptions: {
    Enabled: true || false,
    IdentityPoolId: 'STRING_VALUE',
    RoleArn: 'STRING_VALUE',
    UserPoolId: 'STRING_VALUE'
  },
  EBSOptions: {
    EBSEnabled: true || false,
    Iops: 'NUMBER_VALUE',
    VolumeSize: 'NUMBER_VALUE',
    VolumeType: standard | gp2 | io1
  },
  ElasticsearchClusterConfig: {
    DedicatedMasterCount: 'NUMBER_VALUE',
    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: 'NUMBER_VALUE',
    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,
    ZoneAwarenessConfig: {
      AvailabilityZoneCount: 'NUMBER_VALUE'
    },
    ZoneAwarenessEnabled: true || false
  },
  LogPublishingOptions: {
    '<LogType>': {
      CloudWatchLogsLogGroupArn: 'STRING_VALUE',
      Enabled: true || false
    },
    /* '<LogType>': ... */
  },
  SnapshotOptions: {
    AutomatedSnapshotStartHour: 'NUMBER_VALUE'
  },
  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.

      • ZoneAwarenessConfig — (map)

        Specifies the zone awareness configuration for a domain when zone awareness is enabled.

        • AvailabilityZoneCount — (Integer)

          An integer value to indicate the number of availability zones for a domain when zone awareness is enabled. This should be equal to number of subnets if VPC endpoints is enabled

      • 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.

    • CognitoOptions — (map)

      Options to specify the Cognito user and identity pools for Kibana authentication. For more information, see Amazon Cognito Authentication for Kibana.

      • Enabled — (Boolean)

        Specifies the option to enable Cognito for Kibana authentication.

      • UserPoolId — (String)

        Specifies the Cognito user pool ID for Kibana authentication.

      • IdentityPoolId — (String)

        Specifies the Cognito identity pool ID for Kibana authentication.

      • RoleArn — (String)

        Specifies the role ARN that provides Elasticsearch permissions for accessing Cognito resources.

    • 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.

            • ZoneAwarenessConfig — (map)

              Specifies the zone awareness configuration for a domain when zone awareness is enabled.

              • AvailabilityZoneCount — (Integer)

                An integer value to indicate the number of availability zones for a domain when zone awareness is enabled. This should be equal to number of subnets if VPC endpoints is enabled

            • 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.

        • CognitoOptions — (map)

          The CognitoOptions for the specified domain. For more information, see Amazon Cognito Authentication for Kibana.

          • Optionsrequired — (map)

            Specifies the Cognito options for the specified Elasticsearch domain.

            • Enabled — (Boolean)

              Specifies the option to enable Cognito for Kibana authentication.

            • UserPoolId — (String)

              Specifies the Cognito user pool ID for Kibana authentication.

            • IdentityPoolId — (String)

              Specifies the Cognito identity pool ID for Kibana authentication.

            • RoleArn — (String)

              Specifies the role ARN that provides Elasticsearch permissions for accessing Cognito resources.

          • Statusrequired — (map)

            Specifies the status of the Cognito 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.

        • EncryptionAtRestOptions — (map)

          Specifies the EncryptionAtRestOptions for the Elasticsearch domain.

          • Optionsrequired — (map)

            Specifies the Encryption At Rest options for the specified Elasticsearch domain.

            • Enabled — (Boolean)

              Specifies the option to enable Encryption At Rest.

            • KmsKeyId — (String)

              Specifies the KMS Key ID for Encryption At Rest options.

          • Statusrequired — (map)

            Specifies the status of the Encryption At Rest 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.

        • NodeToNodeEncryptionOptions — (map)

          Specifies the NodeToNodeEncryptionOptions for the Elasticsearch domain.

          • Optionsrequired — (map)

            Specifies the node-to-node encryption options for the specified Elasticsearch domain.

            • Enabled — (Boolean)

              Specify true to enable node-to-node encryption.

          • Statusrequired — (map)

            Specifies the status of the node-to-node encryption 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.

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

Allows you to either upgrade your domain or perform an Upgrade eligibility check to a compatible Elasticsearch version.

Service Reference:

Examples:

Calling the upgradeElasticsearchDomain operation

var params = {
  DomainName: 'STRING_VALUE', /* required */
  TargetVersion: 'STRING_VALUE', /* required */
  PerformCheckOnly: true || false
};
es.upgradeElasticsearchDomain(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 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).

    • TargetVersion — (String)

      The version of Elasticsearch that you intend to upgrade the domain to.

    • PerformCheckOnly — (Boolean)

      This flag, when set to True, indicates that an Upgrade Eligibility Check needs to be performed. This will not actually perform the Upgrade.

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:

      • DomainName — (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).

      • TargetVersion — (String)

        The version of Elasticsearch that you intend to upgrade the domain to.

      • PerformCheckOnly — (Boolean)

        This flag, when set to True, indicates that an Upgrade Eligibility Check needs to be performed. This will not actually perform the Upgrade.

Returns:

  • (AWS.Request)

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