Amazon Elasticsearch Service

2016/07/28 - Amazon Elasticsearch Service - 6 updated api methods

Changes  Updates to Elasticsearch version 2.3, which offers improved performance, memory management, and security. It also offers several new features includinng pipeline aggregations to perform advanced analytics like moving averages and derivatives, and enhancements to geospatial queries.

CreateElasticsearchDomain (updated) Link ¶
Changes (request, response)
Request
{'ElasticsearchClusterConfig': {'DedicatedMasterType': {'m4.10xlarge.elasticsearch',
                                                        'm4.2xlarge.elasticsearch',
                                                        'm4.4xlarge.elasticsearch',
                                                        'm4.large.elasticsearch',
                                                        'm4.xlarge.elasticsearch'},
                                'InstanceType': {'m4.10xlarge.elasticsearch',
                                                 'm4.2xlarge.elasticsearch',
                                                 'm4.4xlarge.elasticsearch',
                                                 'm4.large.elasticsearch',
                                                 'm4.xlarge.elasticsearch'}},
 'ElasticsearchVersion': 'string'}
Response
{'DomainStatus': {'ElasticsearchClusterConfig': {'DedicatedMasterType': {'m4.10xlarge.elasticsearch',
                                                                         'm4.2xlarge.elasticsearch',
                                                                         'm4.4xlarge.elasticsearch',
                                                                         'm4.large.elasticsearch',
                                                                         'm4.xlarge.elasticsearch'},
                                                 'InstanceType': {'m4.10xlarge.elasticsearch',
                                                                  'm4.2xlarge.elasticsearch',
                                                                  'm4.4xlarge.elasticsearch',
                                                                  'm4.large.elasticsearch',
                                                                  'm4.xlarge.elasticsearch'}},
                  'ElasticsearchVersion': 'string'}}

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

Request Syntax

client.create_elasticsearch_domain(
    DomainName='string',
    ElasticsearchVersion='string',
    ElasticsearchClusterConfig={
        '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',
        'InstanceCount': 123,
        'DedicatedMasterEnabled': True|False,
        'ZoneAwarenessEnabled': 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',
        'DedicatedMasterCount': 123
    },
    EBSOptions={
        'EBSEnabled': True|False,
        'VolumeType': 'standard'|'gp2'|'io1',
        'VolumeSize': 123,
        'Iops': 123
    },
    AccessPolicies='string',
    SnapshotOptions={
        'AutomatedSnapshotStartHour': 123
    },
    AdvancedOptions={
        'string': 'string'
    }
)
type DomainName

string

param DomainName

[REQUIRED]

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

type ElasticsearchVersion

string

param ElasticsearchVersion

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 .

type ElasticsearchClusterConfig

dict

param ElasticsearchClusterConfig

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.

  • InstanceCount (integer) --

    The number of instances in the specified domain cluster.

  • DedicatedMasterEnabled (boolean) --

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

  • ZoneAwarenessEnabled (boolean) --

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

  • DedicatedMasterType (string) --

    The instance type for a dedicated master node.

  • DedicatedMasterCount (integer) --

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

type EBSOptions

dict

param EBSOptions

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.

  • VolumeSize (integer) --

    Integer to specify the size of an EBS volume.

  • Iops (integer) --

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

type AccessPolicies

string

param AccessPolicies

IAM access policy as a JSON-formatted string.

type SnapshotOptions

dict

param SnapshotOptions

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.

type AdvancedOptions

dict

param AdvancedOptions

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.

  • (string) --

    • (string) --

rtype

dict

returns

Response Syntax

{
    'DomainStatus': {
        'DomainId': 'string',
        'DomainName': 'string',
        'ARN': 'string',
        'Created': True|False,
        'Deleted': True|False,
        'Endpoint': 'string',
        'Processing': True|False,
        'ElasticsearchVersion': 'string',
        'ElasticsearchClusterConfig': {
            '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',
            'InstanceCount': 123,
            'DedicatedMasterEnabled': True|False,
            'ZoneAwarenessEnabled': 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',
            'DedicatedMasterCount': 123
        },
        'EBSOptions': {
            'EBSEnabled': True|False,
            'VolumeType': 'standard'|'gp2'|'io1',
            'VolumeSize': 123,
            'Iops': 123
        },
        'AccessPolicies': 'string',
        'SnapshotOptions': {
            'AutomatedSnapshotStartHour': 123
        },
        'AdvancedOptions': {
            'string': 'string'
        }
    }
}

Response Structure

  • (dict) --

    The result of a CreateElasticsearchDomain operation. Contains the status of the newly created Elasticsearch domain.

    • DomainStatus (dict) --

      The status of the newly created Elasticsearch domain.

      • DomainId (string) --

        The unique identifier for the specified Elasticsearch domain.

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

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

      • Processing (boolean) --

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

      • ElasticsearchVersion (string) --

      • ElasticsearchClusterConfig (dict) --

        The type and number of instances in the domain cluster.

        • InstanceType (string) --

          The instance type for an Elasticsearch cluster.

        • InstanceCount (integer) --

          The number of instances in the specified domain cluster.

        • DedicatedMasterEnabled (boolean) --

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

        • ZoneAwarenessEnabled (boolean) --

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

        • DedicatedMasterType (string) --

          The instance type for a dedicated master node.

        • DedicatedMasterCount (integer) --

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

      • EBSOptions (dict) --

        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.

        • 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 (dict) --

        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.

      • AdvancedOptions (dict) --

        Specifies the status of the AdvancedOptions

        • (string) --

          • (string) --

DeleteElasticsearchDomain (updated) Link ¶
Changes (response)
{'DomainStatus': {'ElasticsearchClusterConfig': {'DedicatedMasterType': {'m4.10xlarge.elasticsearch',
                                                                         'm4.2xlarge.elasticsearch',
                                                                         'm4.4xlarge.elasticsearch',
                                                                         'm4.large.elasticsearch',
                                                                         'm4.xlarge.elasticsearch'},
                                                 'InstanceType': {'m4.10xlarge.elasticsearch',
                                                                  'm4.2xlarge.elasticsearch',
                                                                  'm4.4xlarge.elasticsearch',
                                                                  'm4.large.elasticsearch',
                                                                  'm4.xlarge.elasticsearch'}},
                  'ElasticsearchVersion': 'string'}}

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

Request Syntax

client.delete_elasticsearch_domain(
    DomainName='string'
)
type DomainName

string

param DomainName

[REQUIRED]

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

rtype

dict

returns

Response Syntax

{
    'DomainStatus': {
        'DomainId': 'string',
        'DomainName': 'string',
        'ARN': 'string',
        'Created': True|False,
        'Deleted': True|False,
        'Endpoint': 'string',
        'Processing': True|False,
        'ElasticsearchVersion': 'string',
        'ElasticsearchClusterConfig': {
            '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',
            'InstanceCount': 123,
            'DedicatedMasterEnabled': True|False,
            'ZoneAwarenessEnabled': 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',
            'DedicatedMasterCount': 123
        },
        'EBSOptions': {
            'EBSEnabled': True|False,
            'VolumeType': 'standard'|'gp2'|'io1',
            'VolumeSize': 123,
            'Iops': 123
        },
        'AccessPolicies': 'string',
        'SnapshotOptions': {
            'AutomatedSnapshotStartHour': 123
        },
        'AdvancedOptions': {
            'string': 'string'
        }
    }
}

Response Structure

  • (dict) --

    The result of a DeleteElasticsearchDomain request. Contains the status of the pending deletion, or no status if the domain and all of its resources have been deleted.

    • DomainStatus (dict) --

      The status of the Elasticsearch domain being deleted.

      • DomainId (string) --

        The unique identifier for the specified Elasticsearch domain.

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

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

      • Processing (boolean) --

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

      • ElasticsearchVersion (string) --

      • ElasticsearchClusterConfig (dict) --

        The type and number of instances in the domain cluster.

        • InstanceType (string) --

          The instance type for an Elasticsearch cluster.

        • InstanceCount (integer) --

          The number of instances in the specified domain cluster.

        • DedicatedMasterEnabled (boolean) --

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

        • ZoneAwarenessEnabled (boolean) --

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

        • DedicatedMasterType (string) --

          The instance type for a dedicated master node.

        • DedicatedMasterCount (integer) --

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

      • EBSOptions (dict) --

        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.

        • 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 (dict) --

        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.

      • AdvancedOptions (dict) --

        Specifies the status of the AdvancedOptions

        • (string) --

          • (string) --

DescribeElasticsearchDomain (updated) Link ¶
Changes (response)
{'DomainStatus': {'ElasticsearchClusterConfig': {'DedicatedMasterType': {'m4.10xlarge.elasticsearch',
                                                                         'm4.2xlarge.elasticsearch',
                                                                         'm4.4xlarge.elasticsearch',
                                                                         'm4.large.elasticsearch',
                                                                         'm4.xlarge.elasticsearch'},
                                                 'InstanceType': {'m4.10xlarge.elasticsearch',
                                                                  'm4.2xlarge.elasticsearch',
                                                                  'm4.4xlarge.elasticsearch',
                                                                  'm4.large.elasticsearch',
                                                                  'm4.xlarge.elasticsearch'}},
                  'ElasticsearchVersion': 'string'}}

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

Request Syntax

client.describe_elasticsearch_domain(
    DomainName='string'
)
type DomainName

string

param DomainName

[REQUIRED]

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

rtype

dict

returns

Response Syntax

{
    'DomainStatus': {
        'DomainId': 'string',
        'DomainName': 'string',
        'ARN': 'string',
        'Created': True|False,
        'Deleted': True|False,
        'Endpoint': 'string',
        'Processing': True|False,
        'ElasticsearchVersion': 'string',
        'ElasticsearchClusterConfig': {
            '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',
            'InstanceCount': 123,
            'DedicatedMasterEnabled': True|False,
            'ZoneAwarenessEnabled': 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',
            'DedicatedMasterCount': 123
        },
        'EBSOptions': {
            'EBSEnabled': True|False,
            'VolumeType': 'standard'|'gp2'|'io1',
            'VolumeSize': 123,
            'Iops': 123
        },
        'AccessPolicies': 'string',
        'SnapshotOptions': {
            'AutomatedSnapshotStartHour': 123
        },
        'AdvancedOptions': {
            'string': 'string'
        }
    }
}

Response Structure

  • (dict) --

    The result of a DescribeElasticsearchDomain request. Contains the status of the domain specified in the request.

    • DomainStatus (dict) --

      The current status of the Elasticsearch domain.

      • DomainId (string) --

        The unique identifier for the specified Elasticsearch domain.

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

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

      • Processing (boolean) --

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

      • ElasticsearchVersion (string) --

      • ElasticsearchClusterConfig (dict) --

        The type and number of instances in the domain cluster.

        • InstanceType (string) --

          The instance type for an Elasticsearch cluster.

        • InstanceCount (integer) --

          The number of instances in the specified domain cluster.

        • DedicatedMasterEnabled (boolean) --

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

        • ZoneAwarenessEnabled (boolean) --

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

        • DedicatedMasterType (string) --

          The instance type for a dedicated master node.

        • DedicatedMasterCount (integer) --

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

      • EBSOptions (dict) --

        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.

        • 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 (dict) --

        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.

      • AdvancedOptions (dict) --

        Specifies the status of the AdvancedOptions

        • (string) --

          • (string) --

DescribeElasticsearchDomainConfig (updated) Link ¶
Changes (response)
{'DomainConfig': {'ElasticsearchClusterConfig': {'Options': {'DedicatedMasterType': {'m4.10xlarge.elasticsearch',
                                                                                     'm4.2xlarge.elasticsearch',
                                                                                     'm4.4xlarge.elasticsearch',
                                                                                     'm4.large.elasticsearch',
                                                                                     'm4.xlarge.elasticsearch'},
                                                             'InstanceType': {'m4.10xlarge.elasticsearch',
                                                                              'm4.2xlarge.elasticsearch',
                                                                              'm4.4xlarge.elasticsearch',
                                                                              'm4.large.elasticsearch',
                                                                              'm4.xlarge.elasticsearch'}}},
                  'ElasticsearchVersion': {'Options': 'string',
                                           'Status': {'CreationDate': 'timestamp',
                                                      'PendingDeletion': 'boolean',
                                                      'State': 'RequiresIndexDocuments '
                                                               '| Processing | '
                                                               'Active',
                                                      'UpdateDate': 'timestamp',
                                                      'UpdateVersion': 'integer'}}}}

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

Request Syntax

client.describe_elasticsearch_domain_config(
    DomainName='string'
)
type DomainName

string

param DomainName

[REQUIRED]

The Elasticsearch domain that you want to get information about.

rtype

dict

returns

Response Syntax

{
    'DomainConfig': {
        'ElasticsearchVersion': {
            'Options': 'string',
            'Status': {
                'CreationDate': datetime(2015, 1, 1),
                'UpdateDate': datetime(2015, 1, 1),
                'UpdateVersion': 123,
                'State': 'RequiresIndexDocuments'|'Processing'|'Active',
                'PendingDeletion': True|False
            }
        },
        'ElasticsearchClusterConfig': {
            'Options': {
                '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',
                'InstanceCount': 123,
                'DedicatedMasterEnabled': True|False,
                'ZoneAwarenessEnabled': 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',
                'DedicatedMasterCount': 123
            },
            'Status': {
                'CreationDate': datetime(2015, 1, 1),
                'UpdateDate': datetime(2015, 1, 1),
                'UpdateVersion': 123,
                'State': 'RequiresIndexDocuments'|'Processing'|'Active',
                'PendingDeletion': True|False
            }
        },
        'EBSOptions': {
            'Options': {
                'EBSEnabled': True|False,
                'VolumeType': 'standard'|'gp2'|'io1',
                'VolumeSize': 123,
                'Iops': 123
            },
            'Status': {
                'CreationDate': datetime(2015, 1, 1),
                'UpdateDate': datetime(2015, 1, 1),
                'UpdateVersion': 123,
                'State': 'RequiresIndexDocuments'|'Processing'|'Active',
                'PendingDeletion': True|False
            }
        },
        'AccessPolicies': {
            'Options': 'string',
            'Status': {
                'CreationDate': datetime(2015, 1, 1),
                'UpdateDate': datetime(2015, 1, 1),
                'UpdateVersion': 123,
                'State': 'RequiresIndexDocuments'|'Processing'|'Active',
                'PendingDeletion': True|False
            }
        },
        'SnapshotOptions': {
            'Options': {
                'AutomatedSnapshotStartHour': 123
            },
            'Status': {
                'CreationDate': datetime(2015, 1, 1),
                'UpdateDate': datetime(2015, 1, 1),
                'UpdateVersion': 123,
                'State': 'RequiresIndexDocuments'|'Processing'|'Active',
                'PendingDeletion': True|False
            }
        },
        'AdvancedOptions': {
            'Options': {
                'string': 'string'
            },
            'Status': {
                'CreationDate': datetime(2015, 1, 1),
                'UpdateDate': datetime(2015, 1, 1),
                'UpdateVersion': 123,
                'State': 'RequiresIndexDocuments'|'Processing'|'Active',
                'PendingDeletion': True|False
            }
        }
    }
}

Response Structure

  • (dict) --

    The result of a DescribeElasticsearchDomainConfig request. Contains the configuration information of the requested domain.

    • DomainConfig (dict) --

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

      • ElasticsearchVersion (dict) --

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

        • Options (string) --

          Specifies the Elasticsearch version for the specified Elasticsearch domain.

        • Status (dict) --

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

          • CreationDate (datetime) --

            Timestamp which tells the creation date for the entity.

          • UpdateDate (datetime) --

            Timestamp which tells the last updated time for the entity.

          • UpdateVersion (integer) --

            Specifies the latest version for the entity.

          • State (string) --

            Provides the OptionState for the Elasticsearch domain.

          • PendingDeletion (boolean) --

            Indicates whether the Elasticsearch domain is being deleted.

      • ElasticsearchClusterConfig (dict) --

        Specifies the ElasticsearchClusterConfig for the Elasticsearch domain.

        • Options (dict) --

          Specifies the cluster configuration for the specified Elasticsearch domain.

          • InstanceType (string) --

            The instance type for an Elasticsearch cluster.

          • InstanceCount (integer) --

            The number of instances in the specified domain cluster.

          • DedicatedMasterEnabled (boolean) --

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

          • ZoneAwarenessEnabled (boolean) --

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

          • DedicatedMasterType (string) --

            The instance type for a dedicated master node.

          • DedicatedMasterCount (integer) --

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

        • Status (dict) --

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

          • CreationDate (datetime) --

            Timestamp which tells the creation date for the entity.

          • UpdateDate (datetime) --

            Timestamp which tells the last updated time for the entity.

          • UpdateVersion (integer) --

            Specifies the latest version for the entity.

          • State (string) --

            Provides the OptionState for the Elasticsearch domain.

          • PendingDeletion (boolean) --

            Indicates whether the Elasticsearch domain is being deleted.

      • EBSOptions (dict) --

        Specifies the EBSOptions for the Elasticsearch domain.

        • Options (dict) --

          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.

          • VolumeSize (integer) --

            Integer to specify the size of an EBS volume.

          • Iops (integer) --

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

        • Status (dict) --

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

          • CreationDate (datetime) --

            Timestamp which tells the creation date for the entity.

          • UpdateDate (datetime) --

            Timestamp which tells the last updated time for the entity.

          • UpdateVersion (integer) --

            Specifies the latest version for the entity.

          • State (string) --

            Provides the OptionState for the Elasticsearch domain.

          • PendingDeletion (boolean) --

            Indicates whether the Elasticsearch domain is being deleted.

      • AccessPolicies (dict) --

        IAM access policy as a JSON-formatted string.

        • Options (string) --

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

        • Status (dict) --

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

          • CreationDate (datetime) --

            Timestamp which tells the creation date for the entity.

          • UpdateDate (datetime) --

            Timestamp which tells the last updated time for the entity.

          • UpdateVersion (integer) --

            Specifies the latest version for the entity.

          • State (string) --

            Provides the OptionState for the Elasticsearch domain.

          • PendingDeletion (boolean) --

            Indicates whether the Elasticsearch domain is being deleted.

      • SnapshotOptions (dict) --

        Specifies the SnapshotOptions for the Elasticsearch domain.

        • Options (dict) --

          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.

        • Status (dict) --

          Specifies the status of a daily automated snapshot.

          • CreationDate (datetime) --

            Timestamp which tells the creation date for the entity.

          • UpdateDate (datetime) --

            Timestamp which tells the last updated time for the entity.

          • UpdateVersion (integer) --

            Specifies the latest version for the entity.

          • State (string) --

            Provides the OptionState for the Elasticsearch domain.

          • PendingDeletion (boolean) --

            Indicates whether the Elasticsearch domain is being deleted.

      • AdvancedOptions (dict) --

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

        • Options (dict) --

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

          • (string) --

            • (string) --

        • Status (dict) --

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

          • CreationDate (datetime) --

            Timestamp which tells the creation date for the entity.

          • UpdateDate (datetime) --

            Timestamp which tells the last updated time for the entity.

          • UpdateVersion (integer) --

            Specifies the latest version for the entity.

          • State (string) --

            Provides the OptionState for the Elasticsearch domain.

          • PendingDeletion (boolean) --

            Indicates whether the Elasticsearch domain is being deleted.

DescribeElasticsearchDomains (updated) Link ¶
Changes (response)
{'DomainStatusList': {'ElasticsearchClusterConfig': {'DedicatedMasterType': {'m4.10xlarge.elasticsearch',
                                                                             'm4.2xlarge.elasticsearch',
                                                                             'm4.4xlarge.elasticsearch',
                                                                             'm4.large.elasticsearch',
                                                                             'm4.xlarge.elasticsearch'},
                                                     'InstanceType': {'m4.10xlarge.elasticsearch',
                                                                      'm4.2xlarge.elasticsearch',
                                                                      'm4.4xlarge.elasticsearch',
                                                                      'm4.large.elasticsearch',
                                                                      'm4.xlarge.elasticsearch'}},
                      'ElasticsearchVersion': 'string'}}

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

Request Syntax

client.describe_elasticsearch_domains(
    DomainNames=[
        'string',
    ]
)
type DomainNames

list

param DomainNames

[REQUIRED]

The Elasticsearch domains for which you want information.

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

rtype

dict

returns

Response Syntax

{
    'DomainStatusList': [
        {
            'DomainId': 'string',
            'DomainName': 'string',
            'ARN': 'string',
            'Created': True|False,
            'Deleted': True|False,
            'Endpoint': 'string',
            'Processing': True|False,
            'ElasticsearchVersion': 'string',
            'ElasticsearchClusterConfig': {
                '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',
                'InstanceCount': 123,
                'DedicatedMasterEnabled': True|False,
                'ZoneAwarenessEnabled': 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',
                'DedicatedMasterCount': 123
            },
            'EBSOptions': {
                'EBSEnabled': True|False,
                'VolumeType': 'standard'|'gp2'|'io1',
                'VolumeSize': 123,
                'Iops': 123
            },
            'AccessPolicies': 'string',
            'SnapshotOptions': {
                'AutomatedSnapshotStartHour': 123
            },
            'AdvancedOptions': {
                'string': 'string'
            }
        },
    ]
}

Response Structure

  • (dict) --

    The result of a DescribeElasticsearchDomains request. Contains the status of the specified domains or all domains owned by the account.

    • DomainStatusList (list) --

      The status of the domains requested in the DescribeElasticsearchDomains request.

      • (dict) --

        The current status of an Elasticsearch domain.

        • DomainId (string) --

          The unique identifier for the specified Elasticsearch domain.

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

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

        • Processing (boolean) --

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

        • ElasticsearchVersion (string) --

        • ElasticsearchClusterConfig (dict) --

          The type and number of instances in the domain cluster.

          • InstanceType (string) --

            The instance type for an Elasticsearch cluster.

          • InstanceCount (integer) --

            The number of instances in the specified domain cluster.

          • DedicatedMasterEnabled (boolean) --

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

          • ZoneAwarenessEnabled (boolean) --

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

          • DedicatedMasterType (string) --

            The instance type for a dedicated master node.

          • DedicatedMasterCount (integer) --

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

        • EBSOptions (dict) --

          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.

          • 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 (dict) --

          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.

        • AdvancedOptions (dict) --

          Specifies the status of the AdvancedOptions

          • (string) --

            • (string) --

UpdateElasticsearchDomainConfig (updated) Link ¶
Changes (request, response)
Request
{'ElasticsearchClusterConfig': {'DedicatedMasterType': {'m4.10xlarge.elasticsearch',
                                                        'm4.2xlarge.elasticsearch',
                                                        'm4.4xlarge.elasticsearch',
                                                        'm4.large.elasticsearch',
                                                        'm4.xlarge.elasticsearch'},
                                'InstanceType': {'m4.10xlarge.elasticsearch',
                                                 'm4.2xlarge.elasticsearch',
                                                 'm4.4xlarge.elasticsearch',
                                                 'm4.large.elasticsearch',
                                                 'm4.xlarge.elasticsearch'}}}
Response
{'DomainConfig': {'ElasticsearchClusterConfig': {'Options': {'DedicatedMasterType': {'m4.10xlarge.elasticsearch',
                                                                                     'm4.2xlarge.elasticsearch',
                                                                                     'm4.4xlarge.elasticsearch',
                                                                                     'm4.large.elasticsearch',
                                                                                     'm4.xlarge.elasticsearch'},
                                                             'InstanceType': {'m4.10xlarge.elasticsearch',
                                                                              'm4.2xlarge.elasticsearch',
                                                                              'm4.4xlarge.elasticsearch',
                                                                              'm4.large.elasticsearch',
                                                                              'm4.xlarge.elasticsearch'}}},
                  'ElasticsearchVersion': {'Options': 'string',
                                           'Status': {'CreationDate': 'timestamp',
                                                      'PendingDeletion': 'boolean',
                                                      'State': 'RequiresIndexDocuments '
                                                               '| Processing | '
                                                               'Active',
                                                      'UpdateDate': 'timestamp',
                                                      'UpdateVersion': 'integer'}}}}

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

Request Syntax

client.update_elasticsearch_domain_config(
    DomainName='string',
    ElasticsearchClusterConfig={
        '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',
        'InstanceCount': 123,
        'DedicatedMasterEnabled': True|False,
        'ZoneAwarenessEnabled': 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',
        'DedicatedMasterCount': 123
    },
    EBSOptions={
        'EBSEnabled': True|False,
        'VolumeType': 'standard'|'gp2'|'io1',
        'VolumeSize': 123,
        'Iops': 123
    },
    SnapshotOptions={
        'AutomatedSnapshotStartHour': 123
    },
    AdvancedOptions={
        'string': 'string'
    },
    AccessPolicies='string'
)
type DomainName

string

param DomainName

[REQUIRED]

The name of the Elasticsearch domain that you are updating.

type ElasticsearchClusterConfig

dict

param ElasticsearchClusterConfig

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

  • InstanceType (string) --

    The instance type for an Elasticsearch cluster.

  • InstanceCount (integer) --

    The number of instances in the specified domain cluster.

  • DedicatedMasterEnabled (boolean) --

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

  • ZoneAwarenessEnabled (boolean) --

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

  • DedicatedMasterType (string) --

    The instance type for a dedicated master node.

  • DedicatedMasterCount (integer) --

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

type EBSOptions

dict

param EBSOptions

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.

  • VolumeSize (integer) --

    Integer to specify the size of an EBS volume.

  • Iops (integer) --

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

type SnapshotOptions

dict

param SnapshotOptions

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.

type AdvancedOptions

dict

param AdvancedOptions

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.

  • (string) --

    • (string) --

type AccessPolicies

string

param AccessPolicies

IAM access policy as a JSON-formatted string.

rtype

dict

returns

Response Syntax

{
    'DomainConfig': {
        'ElasticsearchVersion': {
            'Options': 'string',
            'Status': {
                'CreationDate': datetime(2015, 1, 1),
                'UpdateDate': datetime(2015, 1, 1),
                'UpdateVersion': 123,
                'State': 'RequiresIndexDocuments'|'Processing'|'Active',
                'PendingDeletion': True|False
            }
        },
        'ElasticsearchClusterConfig': {
            'Options': {
                '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',
                'InstanceCount': 123,
                'DedicatedMasterEnabled': True|False,
                'ZoneAwarenessEnabled': 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',
                'DedicatedMasterCount': 123
            },
            'Status': {
                'CreationDate': datetime(2015, 1, 1),
                'UpdateDate': datetime(2015, 1, 1),
                'UpdateVersion': 123,
                'State': 'RequiresIndexDocuments'|'Processing'|'Active',
                'PendingDeletion': True|False
            }
        },
        'EBSOptions': {
            'Options': {
                'EBSEnabled': True|False,
                'VolumeType': 'standard'|'gp2'|'io1',
                'VolumeSize': 123,
                'Iops': 123
            },
            'Status': {
                'CreationDate': datetime(2015, 1, 1),
                'UpdateDate': datetime(2015, 1, 1),
                'UpdateVersion': 123,
                'State': 'RequiresIndexDocuments'|'Processing'|'Active',
                'PendingDeletion': True|False
            }
        },
        'AccessPolicies': {
            'Options': 'string',
            'Status': {
                'CreationDate': datetime(2015, 1, 1),
                'UpdateDate': datetime(2015, 1, 1),
                'UpdateVersion': 123,
                'State': 'RequiresIndexDocuments'|'Processing'|'Active',
                'PendingDeletion': True|False
            }
        },
        'SnapshotOptions': {
            'Options': {
                'AutomatedSnapshotStartHour': 123
            },
            'Status': {
                'CreationDate': datetime(2015, 1, 1),
                'UpdateDate': datetime(2015, 1, 1),
                'UpdateVersion': 123,
                'State': 'RequiresIndexDocuments'|'Processing'|'Active',
                'PendingDeletion': True|False
            }
        },
        'AdvancedOptions': {
            'Options': {
                'string': 'string'
            },
            'Status': {
                'CreationDate': datetime(2015, 1, 1),
                'UpdateDate': datetime(2015, 1, 1),
                'UpdateVersion': 123,
                'State': 'RequiresIndexDocuments'|'Processing'|'Active',
                'PendingDeletion': True|False
            }
        }
    }
}

Response Structure

  • (dict) --

    The result of an UpdateElasticsearchDomain request. Contains the status of the Elasticsearch domain being updated.

    • DomainConfig (dict) --

      The status of the updated Elasticsearch domain.

      • ElasticsearchVersion (dict) --

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

        • Options (string) --

          Specifies the Elasticsearch version for the specified Elasticsearch domain.

        • Status (dict) --

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

          • CreationDate (datetime) --

            Timestamp which tells the creation date for the entity.

          • UpdateDate (datetime) --

            Timestamp which tells the last updated time for the entity.

          • UpdateVersion (integer) --

            Specifies the latest version for the entity.

          • State (string) --

            Provides the OptionState for the Elasticsearch domain.

          • PendingDeletion (boolean) --

            Indicates whether the Elasticsearch domain is being deleted.

      • ElasticsearchClusterConfig (dict) --

        Specifies the ElasticsearchClusterConfig for the Elasticsearch domain.

        • Options (dict) --

          Specifies the cluster configuration for the specified Elasticsearch domain.

          • InstanceType (string) --

            The instance type for an Elasticsearch cluster.

          • InstanceCount (integer) --

            The number of instances in the specified domain cluster.

          • DedicatedMasterEnabled (boolean) --

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

          • ZoneAwarenessEnabled (boolean) --

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

          • DedicatedMasterType (string) --

            The instance type for a dedicated master node.

          • DedicatedMasterCount (integer) --

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

        • Status (dict) --

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

          • CreationDate (datetime) --

            Timestamp which tells the creation date for the entity.

          • UpdateDate (datetime) --

            Timestamp which tells the last updated time for the entity.

          • UpdateVersion (integer) --

            Specifies the latest version for the entity.

          • State (string) --

            Provides the OptionState for the Elasticsearch domain.

          • PendingDeletion (boolean) --

            Indicates whether the Elasticsearch domain is being deleted.

      • EBSOptions (dict) --

        Specifies the EBSOptions for the Elasticsearch domain.

        • Options (dict) --

          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.

          • VolumeSize (integer) --

            Integer to specify the size of an EBS volume.

          • Iops (integer) --

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

        • Status (dict) --

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

          • CreationDate (datetime) --

            Timestamp which tells the creation date for the entity.

          • UpdateDate (datetime) --

            Timestamp which tells the last updated time for the entity.

          • UpdateVersion (integer) --

            Specifies the latest version for the entity.

          • State (string) --

            Provides the OptionState for the Elasticsearch domain.

          • PendingDeletion (boolean) --

            Indicates whether the Elasticsearch domain is being deleted.

      • AccessPolicies (dict) --

        IAM access policy as a JSON-formatted string.

        • Options (string) --

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

        • Status (dict) --

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

          • CreationDate (datetime) --

            Timestamp which tells the creation date for the entity.

          • UpdateDate (datetime) --

            Timestamp which tells the last updated time for the entity.

          • UpdateVersion (integer) --

            Specifies the latest version for the entity.

          • State (string) --

            Provides the OptionState for the Elasticsearch domain.

          • PendingDeletion (boolean) --

            Indicates whether the Elasticsearch domain is being deleted.

      • SnapshotOptions (dict) --

        Specifies the SnapshotOptions for the Elasticsearch domain.

        • Options (dict) --

          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.

        • Status (dict) --

          Specifies the status of a daily automated snapshot.

          • CreationDate (datetime) --

            Timestamp which tells the creation date for the entity.

          • UpdateDate (datetime) --

            Timestamp which tells the last updated time for the entity.

          • UpdateVersion (integer) --

            Specifies the latest version for the entity.

          • State (string) --

            Provides the OptionState for the Elasticsearch domain.

          • PendingDeletion (boolean) --

            Indicates whether the Elasticsearch domain is being deleted.

      • AdvancedOptions (dict) --

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

        • Options (dict) --

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

          • (string) --

            • (string) --

        • Status (dict) --

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

          • CreationDate (datetime) --

            Timestamp which tells the creation date for the entity.

          • UpdateDate (datetime) --

            Timestamp which tells the last updated time for the entity.

          • UpdateVersion (integer) --

            Specifies the latest version for the entity.

          • State (string) --

            Provides the OptionState for the Elasticsearch domain.

          • PendingDeletion (boolean) --

            Indicates whether the Elasticsearch domain is being deleted.