aws-sdk-elasticsearchservice 1.0.0.rc1 → 1.0.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fd0cb2c9df5c7b233ad6b47f2322920546827721
4
- data.tar.gz: 1fac4c09b18f807642109f1528dbffcbaaff1f05
3
+ metadata.gz: c1469285f9f0d81ef514fc603b890512da7d5d73
4
+ data.tar.gz: f5d07e7c507f9696f6d6e1d9ab5e6b5108f26cc6
5
5
  SHA512:
6
- metadata.gz: baad3718e0d2f9fde95f8d2021b1b2570330fc1b11af8f7ffb0ab26f8ea6f6031afdc5fb55a6289d6890f2f086f610869c74ea1a4f1bec809ecda18724cf9f7d
7
- data.tar.gz: 290379e84f1c2cffa39567593e39f3f4497457d41dd123061808ede5167f590b8798992ff0e6330af987b17270fb15de6fa884b83e9a097ccba17c03000583ee
6
+ metadata.gz: 8e02b21e90fa1bf291a169047fb2c097ba7ae59ff9eee2f92eca5bd57c905ea3e7d127a7c11deb9b69dd4c5f72760a6b825fb654b790d4bc3a36714d9ec73958
7
+ data.tar.gz: 42a9de28b289a620779456e43cfd2f057fc6d1ccc0215a3250c485b83ba49e8cd5be236cb5c634acb0593bd6d060f36da6dc7fc169c2a453e86dffcf9df37029
@@ -1,6 +1,6 @@
1
1
  # WARNING ABOUT GENERATED CODE
2
2
  #
3
- # This file is generated. See the contributing for info on making contributions:
3
+ # This file is generated. See the contributing guide for more information:
4
4
  # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
5
  #
6
6
  # WARNING ABOUT GENERATED CODE
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-elasticsearchservice/customizations'
42
42
  # @service
43
43
  module Aws::ElasticsearchService
44
44
 
45
- GEM_VERSION = '1.0.0.rc1'
45
+ GEM_VERSION = '1.0.0.rc2'
46
46
 
47
47
  end
@@ -1,6 +1,6 @@
1
1
  # WARNING ABOUT GENERATED CODE
2
2
  #
3
- # This file is generated. See the contributing for info on making contributions:
3
+ # This file is generated. See the contributing guide for more information:
4
4
  # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
5
  #
6
6
  # WARNING ABOUT GENERATED CODE
@@ -23,650 +23,856 @@ require 'aws-sdk-core/plugins/protocols/rest_json.rb'
23
23
 
24
24
  Aws::Plugins::GlobalConfiguration.add_identifier(:elasticsearchservice)
25
25
 
26
- module Aws
27
- module ElasticsearchService
28
- class Client < Seahorse::Client::Base
26
+ module Aws::ElasticsearchService
27
+ class Client < Seahorse::Client::Base
29
28
 
30
- include Aws::ClientStubs
29
+ include Aws::ClientStubs
31
30
 
32
- @identifier = :elasticsearchservice
31
+ @identifier = :elasticsearchservice
33
32
 
34
- set_api(ClientApi::API)
33
+ set_api(ClientApi::API)
35
34
 
36
- add_plugin(Seahorse::Client::Plugins::ContentLength)
37
- add_plugin(Aws::Plugins::CredentialsConfiguration)
38
- add_plugin(Aws::Plugins::Logging)
39
- add_plugin(Aws::Plugins::ParamConverter)
40
- add_plugin(Aws::Plugins::ParamValidator)
41
- add_plugin(Aws::Plugins::UserAgent)
42
- add_plugin(Aws::Plugins::HelpfulSocketErrors)
43
- add_plugin(Aws::Plugins::RetryErrors)
44
- add_plugin(Aws::Plugins::GlobalConfiguration)
45
- add_plugin(Aws::Plugins::RegionalEndpoint)
46
- add_plugin(Aws::Plugins::ResponsePaging)
47
- add_plugin(Aws::Plugins::StubResponses)
48
- add_plugin(Aws::Plugins::IdempotencyToken)
49
- add_plugin(Aws::Plugins::SignatureV4)
50
- add_plugin(Aws::Plugins::Protocols::RestJson)
35
+ add_plugin(Seahorse::Client::Plugins::ContentLength)
36
+ add_plugin(Aws::Plugins::CredentialsConfiguration)
37
+ add_plugin(Aws::Plugins::Logging)
38
+ add_plugin(Aws::Plugins::ParamConverter)
39
+ add_plugin(Aws::Plugins::ParamValidator)
40
+ add_plugin(Aws::Plugins::UserAgent)
41
+ add_plugin(Aws::Plugins::HelpfulSocketErrors)
42
+ add_plugin(Aws::Plugins::RetryErrors)
43
+ add_plugin(Aws::Plugins::GlobalConfiguration)
44
+ add_plugin(Aws::Plugins::RegionalEndpoint)
45
+ add_plugin(Aws::Plugins::ResponsePaging)
46
+ add_plugin(Aws::Plugins::StubResponses)
47
+ add_plugin(Aws::Plugins::IdempotencyToken)
48
+ add_plugin(Aws::Plugins::SignatureV4)
49
+ add_plugin(Aws::Plugins::Protocols::RestJson)
51
50
 
52
- # @option options [required, Aws::CredentialProvider] :credentials
53
- # Your AWS credentials. This can be an instance of any one of the
54
- # following classes:
55
- #
56
- # * `Aws::Credentials` - Used for configuring static, non-refreshing
57
- # credentials.
58
- #
59
- # * `Aws::InstanceProfileCredentials` - Used for loading credentials
60
- # from an EC2 IMDS on an EC2 instance.
61
- #
62
- # * `Aws::SharedCredentials` - Used for loading credentials from a
63
- # shared file, such as `~/.aws/config`.
64
- #
65
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
66
- #
67
- # When `:credentials` are not configured directly, the following
68
- # locations will be searched for credentials:
69
- #
70
- # * `Aws.config[:credentials]`
71
- # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
72
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
73
- # * `~/.aws/credentials`
74
- # * `~/.aws/config`
75
- # * EC2 IMDS instance profile - When used by default, the timeouts are
76
- # very aggressive. Construct and pass an instance of
77
- # `Aws::InstanceProfileCredentails` to enable retries and extended
78
- # timeouts.
79
- # @option options [required, String] :region
80
- # The AWS region to connect to. The configured `:region` is
81
- # used to determine the service `:endpoint`. When not passed,
82
- # a default `:region` is search for in the following locations:
83
- #
84
- # * `Aws.config[:region]`
85
- # * `ENV['AWS_REGION']`
86
- # * `ENV['AMAZON_REGION']`
87
- # * `ENV['AWS_DEFAULT_REGION']`
88
- # * `~/.aws/credentials`
89
- # * `~/.aws/config`
90
- # @option options [String] :access_key_id
91
- # @option options [Boolean] :convert_params (true)
92
- # When `true`, an attempt is made to coerce request parameters into
93
- # the required types.
94
- # @option options [String] :endpoint
95
- # The client endpoint is normally constructed from the `:region`
96
- # option. You should only configure an `:endpoint` when connecting
97
- # to test endpoints. This should be avalid HTTP(S) URI.
98
- # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
99
- # The log formatter.
100
- # @option options [Symbol] :log_level (:info)
101
- # The log level to send messages to the `:logger` at.
102
- # @option options [Logger] :logger
103
- # The Logger instance to send log messages to. If this option
104
- # is not set, logging will be disabled.
105
- # @option options [String] :profile ("default")
106
- # Used when loading credentials from the shared credentials file
107
- # at HOME/.aws/credentials. When not specified, 'default' is used.
108
- # @option options [Integer] :retry_limit (3)
109
- # The maximum number of times to retry failed requests. Only
110
- # ~ 500 level server errors and certain ~ 400 level client errors
111
- # are retried. Generally, these are throttling errors, data
112
- # checksum errors, networking errors, timeout errors and auth
113
- # errors from expired credentials.
114
- # @option options [String] :secret_access_key
115
- # @option options [String] :session_token
116
- # @option options [Boolean] :stub_responses (false)
117
- # Causes the client to return stubbed responses. By default
118
- # fake responses are generated and returned. You can specify
119
- # the response data to return or errors to raise by calling
120
- # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
121
- #
122
- # ** Please note ** When response stubbing is enabled, no HTTP
123
- # requests are made, and retries are disabled.
124
- # @option options [Boolean] :validate_params (true)
125
- # When `true`, request parameters are validated before
126
- # sending the request.
127
- def initialize(*args)
128
- super
129
- end
51
+ # @option options [required, Aws::CredentialProvider] :credentials
52
+ # Your AWS credentials. This can be an instance of any one of the
53
+ # following classes:
54
+ #
55
+ # * `Aws::Credentials` - Used for configuring static, non-refreshing
56
+ # credentials.
57
+ #
58
+ # * `Aws::InstanceProfileCredentials` - Used for loading credentials
59
+ # from an EC2 IMDS on an EC2 instance.
60
+ #
61
+ # * `Aws::SharedCredentials` - Used for loading credentials from a
62
+ # shared file, such as `~/.aws/config`.
63
+ #
64
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
65
+ #
66
+ # When `:credentials` are not configured directly, the following
67
+ # locations will be searched for credentials:
68
+ #
69
+ # * `Aws.config[:credentials]`
70
+ # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
71
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
72
+ # * `~/.aws/credentials`
73
+ # * `~/.aws/config`
74
+ # * EC2 IMDS instance profile - When used by default, the timeouts are
75
+ # very aggressive. Construct and pass an instance of
76
+ # `Aws::InstanceProfileCredentails` to enable retries and extended
77
+ # timeouts.
78
+ #
79
+ # @option options [required, String] :region
80
+ # The AWS region to connect to. The configured `:region` is
81
+ # used to determine the service `:endpoint`. When not passed,
82
+ # a default `:region` is search for in the following locations:
83
+ #
84
+ # * `Aws.config[:region]`
85
+ # * `ENV['AWS_REGION']`
86
+ # * `ENV['AMAZON_REGION']`
87
+ # * `ENV['AWS_DEFAULT_REGION']`
88
+ # * `~/.aws/credentials`
89
+ # * `~/.aws/config`
90
+ #
91
+ # @option options [String] :access_key_id
92
+ #
93
+ # @option options [Boolean] :convert_params (true)
94
+ # When `true`, an attempt is made to coerce request parameters into
95
+ # the required types.
96
+ #
97
+ # @option options [String] :endpoint
98
+ # The client endpoint is normally constructed from the `:region`
99
+ # option. You should only configure an `:endpoint` when connecting
100
+ # to test endpoints. This should be avalid HTTP(S) URI.
101
+ #
102
+ # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
103
+ # The log formatter.
104
+ #
105
+ # @option options [Symbol] :log_level (:info)
106
+ # The log level to send messages to the `:logger` at.
107
+ #
108
+ # @option options [Logger] :logger
109
+ # The Logger instance to send log messages to. If this option
110
+ # is not set, logging will be disabled.
111
+ #
112
+ # @option options [String] :profile ("default")
113
+ # Used when loading credentials from the shared credentials file
114
+ # at HOME/.aws/credentials. When not specified, 'default' is used.
115
+ #
116
+ # @option options [Integer] :retry_limit (3)
117
+ # The maximum number of times to retry failed requests. Only
118
+ # ~ 500 level server errors and certain ~ 400 level client errors
119
+ # are retried. Generally, these are throttling errors, data
120
+ # checksum errors, networking errors, timeout errors and auth
121
+ # errors from expired credentials.
122
+ #
123
+ # @option options [String] :secret_access_key
124
+ #
125
+ # @option options [String] :session_token
126
+ #
127
+ # @option options [Boolean] :stub_responses (false)
128
+ # Causes the client to return stubbed responses. By default
129
+ # fake responses are generated and returned. You can specify
130
+ # the response data to return or errors to raise by calling
131
+ # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
132
+ #
133
+ # ** Please note ** When response stubbing is enabled, no HTTP
134
+ # requests are made, and retries are disabled.
135
+ #
136
+ # @option options [Boolean] :validate_params (true)
137
+ # When `true`, request parameters are validated before
138
+ # sending the request.
139
+ #
140
+ def initialize(*args)
141
+ super
142
+ end
130
143
 
131
- # @!group API Operations
144
+ # @!group API Operations
132
145
 
133
- # Attaches tags to an existing Elasticsearch domain. Tags are a set of
134
- # case-sensitive key value pairs. An Elasticsearch domain may have up to
135
- # 10 tags. See [ Tagging Amazon Elasticsearch Service Domains for more
136
- # information.][1]
137
- #
138
- #
139
- #
140
- # [1]: http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-managedomains.html#es-managedomains-awsresorcetagging
141
- # @option params [required, String] :arn
142
- # Specify the `ARN` for which you want to add the tags.
143
- # @option params [required, Array<Types::Tag>] :tag_list
144
- # List of `Tag` that need to be added for the Elasticsearch domain.
145
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
146
- #
147
- # @example Request syntax with placeholder values
148
- # resp = client.add_tags({
149
- # arn: "ARN", # required
150
- # tag_list: [ # required
151
- # {
152
- # key: "TagKey", # required
153
- # value: "TagValue", # required
154
- # },
155
- # ],
156
- # })
157
- # @overload add_tags(params = {})
158
- # @param [Hash] params ({})
159
- def add_tags(params = {}, options = {})
160
- req = build_request(:add_tags, params)
161
- req.send_request(options)
162
- end
146
+ # Attaches tags to an existing Elasticsearch domain. Tags are a set of
147
+ # case-sensitive key value pairs. An Elasticsearch domain may have up to
148
+ # 10 tags. See [ Tagging Amazon Elasticsearch Service Domains for more
149
+ # information.][1]
150
+ #
151
+ #
152
+ #
153
+ # [1]: http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-managedomains.html#es-managedomains-awsresorcetagging
154
+ #
155
+ # @option params [required, String] :arn
156
+ # Specify the `ARN` for which you want to add the tags.
157
+ #
158
+ # @option params [required, Array<Types::Tag>] :tag_list
159
+ # List of `Tag` that need to be added for the Elasticsearch domain.
160
+ #
161
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
162
+ #
163
+ # @example Request syntax with placeholder values
164
+ #
165
+ # resp = client.add_tags({
166
+ # arn: "ARN", # required
167
+ # tag_list: [ # required
168
+ # {
169
+ # key: "TagKey", # required
170
+ # value: "TagValue", # required
171
+ # },
172
+ # ],
173
+ # })
174
+ #
175
+ # @overload add_tags(params = {})
176
+ # @param [Hash] params ({})
177
+ def add_tags(params = {}, options = {})
178
+ req = build_request(:add_tags, params)
179
+ req.send_request(options)
180
+ end
163
181
 
164
- # Creates a new Elasticsearch domain. For more information, see
165
- # [Creating Elasticsearch Domains][1] in the *Amazon Elasticsearch
166
- # Service Developer Guide*.
167
- #
168
- #
169
- #
170
- # [1]: http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomains
171
- # @option params [required, String] :domain_name
172
- # The name of the Elasticsearch domain that you are creating. Domain
173
- # names are unique across the domains owned by an account within an AWS
174
- # region. Domain names must start with a letter or number and can
175
- # contain the following characters: a-z (lowercase), 0-9, and -
176
- # (hyphen).
177
- # @option params [String] :elasticsearch_version
178
- # String of format X.Y to specify version for the Elasticsearch domain
179
- # eg. "1.5" or "2.3". For more information, see [Creating
180
- # Elasticsearch Domains][1] in the *Amazon Elasticsearch Service
181
- # Developer Guide*.
182
- #
183
- #
184
- #
185
- # [1]: http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomains
186
- # @option params [Types::ElasticsearchClusterConfig] :elasticsearch_cluster_config
187
- # Configuration options for an Elasticsearch domain. Specifies the
188
- # instance type and number of instances in the domain cluster.
189
- # @option params [Types::EBSOptions] :ebs_options
190
- # Options to enable, disable and specify the type and size of EBS
191
- # storage volumes.
192
- # @option params [String] :access_policies
193
- # IAM access policy as a JSON-formatted string.
194
- # @option params [Types::SnapshotOptions] :snapshot_options
195
- # Option to set time, in UTC format, of the daily automated snapshot.
196
- # Default value is 0 hours.
197
- # @option params [Hash<String,String>] :advanced_options
198
- # Option to allow references to indices in an HTTP request body. Must be
199
- # `false` when configuring access to individual sub-resources. By
200
- # default, the value is `true`. See [Configuration Advanced Options][1]
201
- # for more information.
202
- #
203
- #
204
- #
205
- # [1]: http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-advanced-options
206
- # @return [Types::CreateElasticsearchDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
207
- #
208
- # * {Types::CreateElasticsearchDomainResponse#domain_status #DomainStatus} => Types::ElasticsearchDomainStatus
209
- #
210
- # @example Request syntax with placeholder values
211
- # resp = client.create_elasticsearch_domain({
212
- # domain_name: "DomainName", # required
213
- # elasticsearch_version: "ElasticsearchVersionString",
214
- # elasticsearch_cluster_config: {
215
- # instance_type: "m3.medium.elasticsearch", # accepts 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
216
- # instance_count: 1,
217
- # dedicated_master_enabled: false,
218
- # zone_awareness_enabled: false,
219
- # dedicated_master_type: "m3.medium.elasticsearch", # accepts 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
220
- # dedicated_master_count: 1,
221
- # },
222
- # ebs_options: {
223
- # ebs_enabled: false,
224
- # volume_type: "standard", # accepts standard, gp2, io1
225
- # volume_size: 1,
226
- # iops: 1,
227
- # },
228
- # access_policies: "PolicyDocument",
229
- # snapshot_options: {
230
- # automated_snapshot_start_hour: 1,
231
- # },
232
- # advanced_options: {
233
- # "String" => "String",
234
- # },
235
- # })
236
- #
237
- # @example Response structure
238
- # resp.domain_status.domain_id #=> String
239
- # resp.domain_status.domain_name #=> String
240
- # resp.domain_status.arn #=> String
241
- # resp.domain_status.created #=> Boolean
242
- # resp.domain_status.deleted #=> Boolean
243
- # resp.domain_status.endpoint #=> String
244
- # resp.domain_status.processing #=> Boolean
245
- # resp.domain_status.elasticsearch_version #=> String
246
- # resp.domain_status.elasticsearch_cluster_config.instance_type #=> String, one of "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"
247
- # resp.domain_status.elasticsearch_cluster_config.instance_count #=> Integer
248
- # resp.domain_status.elasticsearch_cluster_config.dedicated_master_enabled #=> Boolean
249
- # resp.domain_status.elasticsearch_cluster_config.zone_awareness_enabled #=> Boolean
250
- # resp.domain_status.elasticsearch_cluster_config.dedicated_master_type #=> String, one of "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"
251
- # resp.domain_status.elasticsearch_cluster_config.dedicated_master_count #=> Integer
252
- # resp.domain_status.ebs_options.ebs_enabled #=> Boolean
253
- # resp.domain_status.ebs_options.volume_type #=> String, one of "standard", "gp2", "io1"
254
- # resp.domain_status.ebs_options.volume_size #=> Integer
255
- # resp.domain_status.ebs_options.iops #=> Integer
256
- # resp.domain_status.access_policies #=> String
257
- # resp.domain_status.snapshot_options.automated_snapshot_start_hour #=> Integer
258
- # resp.domain_status.advanced_options #=> Hash
259
- # resp.domain_status.advanced_options["String"] #=> String
260
- # @overload create_elasticsearch_domain(params = {})
261
- # @param [Hash] params ({})
262
- def create_elasticsearch_domain(params = {}, options = {})
263
- req = build_request(:create_elasticsearch_domain, params)
264
- req.send_request(options)
265
- end
182
+ # Creates a new Elasticsearch domain. For more information, see
183
+ # [Creating Elasticsearch Domains][1] in the *Amazon Elasticsearch
184
+ # Service Developer Guide*.
185
+ #
186
+ #
187
+ #
188
+ # [1]: http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomains
189
+ #
190
+ # @option params [required, String] :domain_name
191
+ # The name of the Elasticsearch domain that you are creating. Domain
192
+ # names are unique across the domains owned by an account within an AWS
193
+ # region. Domain names must start with a letter or number and can
194
+ # contain the following characters: a-z (lowercase), 0-9, and -
195
+ # (hyphen).
196
+ #
197
+ # @option params [String] :elasticsearch_version
198
+ # String of format X.Y to specify version for the Elasticsearch domain
199
+ # eg. "1.5" or "2.3". For more information, see [Creating
200
+ # Elasticsearch Domains][1] in the *Amazon Elasticsearch Service
201
+ # Developer Guide*.
202
+ #
203
+ #
204
+ #
205
+ # [1]: http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomains
206
+ #
207
+ # @option params [Types::ElasticsearchClusterConfig] :elasticsearch_cluster_config
208
+ # Configuration options for an Elasticsearch domain. Specifies the
209
+ # instance type and number of instances in the domain cluster.
210
+ #
211
+ # @option params [Types::EBSOptions] :ebs_options
212
+ # Options to enable, disable and specify the type and size of EBS
213
+ # storage volumes.
214
+ #
215
+ # @option params [String] :access_policies
216
+ # IAM access policy as a JSON-formatted string.
217
+ #
218
+ # @option params [Types::SnapshotOptions] :snapshot_options
219
+ # Option to set time, in UTC format, of the daily automated snapshot.
220
+ # Default value is 0 hours.
221
+ #
222
+ # @option params [Hash<String,String>] :advanced_options
223
+ # Option to allow references to indices in an HTTP request body. Must be
224
+ # `false` when configuring access to individual sub-resources. By
225
+ # default, the value is `true`. See [Configuration Advanced Options][1]
226
+ # for more information.
227
+ #
228
+ #
229
+ #
230
+ # [1]: http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-advanced-options
231
+ #
232
+ # @return [Types::CreateElasticsearchDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
233
+ #
234
+ # * {Types::CreateElasticsearchDomainResponse#domain_status #domain_status} => Types::ElasticsearchDomainStatus
235
+ #
236
+ # @example Request syntax with placeholder values
237
+ #
238
+ # resp = client.create_elasticsearch_domain({
239
+ # domain_name: "DomainName", # required
240
+ # elasticsearch_version: "ElasticsearchVersionString",
241
+ # elasticsearch_cluster_config: {
242
+ # instance_type: "m3.medium.elasticsearch", # accepts 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
243
+ # instance_count: 1,
244
+ # dedicated_master_enabled: false,
245
+ # zone_awareness_enabled: false,
246
+ # dedicated_master_type: "m3.medium.elasticsearch", # accepts 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
247
+ # dedicated_master_count: 1,
248
+ # },
249
+ # ebs_options: {
250
+ # ebs_enabled: false,
251
+ # volume_type: "standard", # accepts standard, gp2, io1
252
+ # volume_size: 1,
253
+ # iops: 1,
254
+ # },
255
+ # access_policies: "PolicyDocument",
256
+ # snapshot_options: {
257
+ # automated_snapshot_start_hour: 1,
258
+ # },
259
+ # advanced_options: {
260
+ # "String" => "String",
261
+ # },
262
+ # })
263
+ #
264
+ # @example Response structure
265
+ #
266
+ # resp.domain_status.domain_id #=> String
267
+ # resp.domain_status.domain_name #=> String
268
+ # resp.domain_status.arn #=> String
269
+ # resp.domain_status.created #=> Boolean
270
+ # resp.domain_status.deleted #=> Boolean
271
+ # resp.domain_status.endpoint #=> String
272
+ # resp.domain_status.processing #=> Boolean
273
+ # resp.domain_status.elasticsearch_version #=> String
274
+ # resp.domain_status.elasticsearch_cluster_config.instance_type #=> String, one of "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"
275
+ # resp.domain_status.elasticsearch_cluster_config.instance_count #=> Integer
276
+ # resp.domain_status.elasticsearch_cluster_config.dedicated_master_enabled #=> Boolean
277
+ # resp.domain_status.elasticsearch_cluster_config.zone_awareness_enabled #=> Boolean
278
+ # resp.domain_status.elasticsearch_cluster_config.dedicated_master_type #=> String, one of "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"
279
+ # resp.domain_status.elasticsearch_cluster_config.dedicated_master_count #=> Integer
280
+ # resp.domain_status.ebs_options.ebs_enabled #=> Boolean
281
+ # resp.domain_status.ebs_options.volume_type #=> String, one of "standard", "gp2", "io1"
282
+ # resp.domain_status.ebs_options.volume_size #=> Integer
283
+ # resp.domain_status.ebs_options.iops #=> Integer
284
+ # resp.domain_status.access_policies #=> String
285
+ # resp.domain_status.snapshot_options.automated_snapshot_start_hour #=> Integer
286
+ # resp.domain_status.advanced_options #=> Hash
287
+ # resp.domain_status.advanced_options["String"] #=> String
288
+ #
289
+ # @overload create_elasticsearch_domain(params = {})
290
+ # @param [Hash] params ({})
291
+ def create_elasticsearch_domain(params = {}, options = {})
292
+ req = build_request(:create_elasticsearch_domain, params)
293
+ req.send_request(options)
294
+ end
266
295
 
267
- # Permanently deletes the specified Elasticsearch domain and all of its
268
- # data. Once a domain is deleted, it cannot be recovered.
269
- # @option params [required, String] :domain_name
270
- # The name of the Elasticsearch domain that you want to permanently
271
- # delete.
272
- # @return [Types::DeleteElasticsearchDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
273
- #
274
- # * {Types::DeleteElasticsearchDomainResponse#domain_status #DomainStatus} => Types::ElasticsearchDomainStatus
275
- #
276
- # @example Request syntax with placeholder values
277
- # resp = client.delete_elasticsearch_domain({
278
- # domain_name: "DomainName", # required
279
- # })
280
- #
281
- # @example Response structure
282
- # resp.domain_status.domain_id #=> String
283
- # resp.domain_status.domain_name #=> String
284
- # resp.domain_status.arn #=> String
285
- # resp.domain_status.created #=> Boolean
286
- # resp.domain_status.deleted #=> Boolean
287
- # resp.domain_status.endpoint #=> String
288
- # resp.domain_status.processing #=> Boolean
289
- # resp.domain_status.elasticsearch_version #=> String
290
- # resp.domain_status.elasticsearch_cluster_config.instance_type #=> String, one of "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"
291
- # resp.domain_status.elasticsearch_cluster_config.instance_count #=> Integer
292
- # resp.domain_status.elasticsearch_cluster_config.dedicated_master_enabled #=> Boolean
293
- # resp.domain_status.elasticsearch_cluster_config.zone_awareness_enabled #=> Boolean
294
- # resp.domain_status.elasticsearch_cluster_config.dedicated_master_type #=> String, one of "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"
295
- # resp.domain_status.elasticsearch_cluster_config.dedicated_master_count #=> Integer
296
- # resp.domain_status.ebs_options.ebs_enabled #=> Boolean
297
- # resp.domain_status.ebs_options.volume_type #=> String, one of "standard", "gp2", "io1"
298
- # resp.domain_status.ebs_options.volume_size #=> Integer
299
- # resp.domain_status.ebs_options.iops #=> Integer
300
- # resp.domain_status.access_policies #=> String
301
- # resp.domain_status.snapshot_options.automated_snapshot_start_hour #=> Integer
302
- # resp.domain_status.advanced_options #=> Hash
303
- # resp.domain_status.advanced_options["String"] #=> String
304
- # @overload delete_elasticsearch_domain(params = {})
305
- # @param [Hash] params ({})
306
- def delete_elasticsearch_domain(params = {}, options = {})
307
- req = build_request(:delete_elasticsearch_domain, params)
308
- req.send_request(options)
309
- end
296
+ # Permanently deletes the specified Elasticsearch domain and all of its
297
+ # data. Once a domain is deleted, it cannot be recovered.
298
+ #
299
+ # @option params [required, String] :domain_name
300
+ # The name of the Elasticsearch domain that you want to permanently
301
+ # delete.
302
+ #
303
+ # @return [Types::DeleteElasticsearchDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
304
+ #
305
+ # * {Types::DeleteElasticsearchDomainResponse#domain_status #domain_status} => Types::ElasticsearchDomainStatus
306
+ #
307
+ # @example Request syntax with placeholder values
308
+ #
309
+ # resp = client.delete_elasticsearch_domain({
310
+ # domain_name: "DomainName", # required
311
+ # })
312
+ #
313
+ # @example Response structure
314
+ #
315
+ # resp.domain_status.domain_id #=> String
316
+ # resp.domain_status.domain_name #=> String
317
+ # resp.domain_status.arn #=> String
318
+ # resp.domain_status.created #=> Boolean
319
+ # resp.domain_status.deleted #=> Boolean
320
+ # resp.domain_status.endpoint #=> String
321
+ # resp.domain_status.processing #=> Boolean
322
+ # resp.domain_status.elasticsearch_version #=> String
323
+ # resp.domain_status.elasticsearch_cluster_config.instance_type #=> String, one of "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"
324
+ # resp.domain_status.elasticsearch_cluster_config.instance_count #=> Integer
325
+ # resp.domain_status.elasticsearch_cluster_config.dedicated_master_enabled #=> Boolean
326
+ # resp.domain_status.elasticsearch_cluster_config.zone_awareness_enabled #=> Boolean
327
+ # resp.domain_status.elasticsearch_cluster_config.dedicated_master_type #=> String, one of "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"
328
+ # resp.domain_status.elasticsearch_cluster_config.dedicated_master_count #=> Integer
329
+ # resp.domain_status.ebs_options.ebs_enabled #=> Boolean
330
+ # resp.domain_status.ebs_options.volume_type #=> String, one of "standard", "gp2", "io1"
331
+ # resp.domain_status.ebs_options.volume_size #=> Integer
332
+ # resp.domain_status.ebs_options.iops #=> Integer
333
+ # resp.domain_status.access_policies #=> String
334
+ # resp.domain_status.snapshot_options.automated_snapshot_start_hour #=> Integer
335
+ # resp.domain_status.advanced_options #=> Hash
336
+ # resp.domain_status.advanced_options["String"] #=> String
337
+ #
338
+ # @overload delete_elasticsearch_domain(params = {})
339
+ # @param [Hash] params ({})
340
+ def delete_elasticsearch_domain(params = {}, options = {})
341
+ req = build_request(:delete_elasticsearch_domain, params)
342
+ req.send_request(options)
343
+ end
310
344
 
311
- # Returns domain configuration information about the specified
312
- # Elasticsearch domain, including the domain ID, domain endpoint, and
313
- # domain ARN.
314
- # @option params [required, String] :domain_name
315
- # The name of the Elasticsearch domain for which you want information.
316
- # @return [Types::DescribeElasticsearchDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
317
- #
318
- # * {Types::DescribeElasticsearchDomainResponse#domain_status #DomainStatus} => Types::ElasticsearchDomainStatus
319
- #
320
- # @example Request syntax with placeholder values
321
- # resp = client.describe_elasticsearch_domain({
322
- # domain_name: "DomainName", # required
323
- # })
324
- #
325
- # @example Response structure
326
- # resp.domain_status.domain_id #=> String
327
- # resp.domain_status.domain_name #=> String
328
- # resp.domain_status.arn #=> String
329
- # resp.domain_status.created #=> Boolean
330
- # resp.domain_status.deleted #=> Boolean
331
- # resp.domain_status.endpoint #=> String
332
- # resp.domain_status.processing #=> Boolean
333
- # resp.domain_status.elasticsearch_version #=> String
334
- # resp.domain_status.elasticsearch_cluster_config.instance_type #=> String, one of "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"
335
- # resp.domain_status.elasticsearch_cluster_config.instance_count #=> Integer
336
- # resp.domain_status.elasticsearch_cluster_config.dedicated_master_enabled #=> Boolean
337
- # resp.domain_status.elasticsearch_cluster_config.zone_awareness_enabled #=> Boolean
338
- # resp.domain_status.elasticsearch_cluster_config.dedicated_master_type #=> String, one of "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"
339
- # resp.domain_status.elasticsearch_cluster_config.dedicated_master_count #=> Integer
340
- # resp.domain_status.ebs_options.ebs_enabled #=> Boolean
341
- # resp.domain_status.ebs_options.volume_type #=> String, one of "standard", "gp2", "io1"
342
- # resp.domain_status.ebs_options.volume_size #=> Integer
343
- # resp.domain_status.ebs_options.iops #=> Integer
344
- # resp.domain_status.access_policies #=> String
345
- # resp.domain_status.snapshot_options.automated_snapshot_start_hour #=> Integer
346
- # resp.domain_status.advanced_options #=> Hash
347
- # resp.domain_status.advanced_options["String"] #=> String
348
- # @overload describe_elasticsearch_domain(params = {})
349
- # @param [Hash] params ({})
350
- def describe_elasticsearch_domain(params = {}, options = {})
351
- req = build_request(:describe_elasticsearch_domain, params)
352
- req.send_request(options)
353
- end
345
+ # Returns domain configuration information about the specified
346
+ # Elasticsearch domain, including the domain ID, domain endpoint, and
347
+ # domain ARN.
348
+ #
349
+ # @option params [required, String] :domain_name
350
+ # The name of the Elasticsearch domain for which you want information.
351
+ #
352
+ # @return [Types::DescribeElasticsearchDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
353
+ #
354
+ # * {Types::DescribeElasticsearchDomainResponse#domain_status #domain_status} => Types::ElasticsearchDomainStatus
355
+ #
356
+ # @example Request syntax with placeholder values
357
+ #
358
+ # resp = client.describe_elasticsearch_domain({
359
+ # domain_name: "DomainName", # required
360
+ # })
361
+ #
362
+ # @example Response structure
363
+ #
364
+ # resp.domain_status.domain_id #=> String
365
+ # resp.domain_status.domain_name #=> String
366
+ # resp.domain_status.arn #=> String
367
+ # resp.domain_status.created #=> Boolean
368
+ # resp.domain_status.deleted #=> Boolean
369
+ # resp.domain_status.endpoint #=> String
370
+ # resp.domain_status.processing #=> Boolean
371
+ # resp.domain_status.elasticsearch_version #=> String
372
+ # resp.domain_status.elasticsearch_cluster_config.instance_type #=> String, one of "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"
373
+ # resp.domain_status.elasticsearch_cluster_config.instance_count #=> Integer
374
+ # resp.domain_status.elasticsearch_cluster_config.dedicated_master_enabled #=> Boolean
375
+ # resp.domain_status.elasticsearch_cluster_config.zone_awareness_enabled #=> Boolean
376
+ # resp.domain_status.elasticsearch_cluster_config.dedicated_master_type #=> String, one of "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"
377
+ # resp.domain_status.elasticsearch_cluster_config.dedicated_master_count #=> Integer
378
+ # resp.domain_status.ebs_options.ebs_enabled #=> Boolean
379
+ # resp.domain_status.ebs_options.volume_type #=> String, one of "standard", "gp2", "io1"
380
+ # resp.domain_status.ebs_options.volume_size #=> Integer
381
+ # resp.domain_status.ebs_options.iops #=> Integer
382
+ # resp.domain_status.access_policies #=> String
383
+ # resp.domain_status.snapshot_options.automated_snapshot_start_hour #=> Integer
384
+ # resp.domain_status.advanced_options #=> Hash
385
+ # resp.domain_status.advanced_options["String"] #=> String
386
+ #
387
+ # @overload describe_elasticsearch_domain(params = {})
388
+ # @param [Hash] params ({})
389
+ def describe_elasticsearch_domain(params = {}, options = {})
390
+ req = build_request(:describe_elasticsearch_domain, params)
391
+ req.send_request(options)
392
+ end
354
393
 
355
- # Provides cluster configuration information about the specified
356
- # Elasticsearch domain, such as the state, creation date, update
357
- # version, and update date for cluster options.
358
- # @option params [required, String] :domain_name
359
- # The Elasticsearch domain that you want to get information about.
360
- # @return [Types::DescribeElasticsearchDomainConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
361
- #
362
- # * {Types::DescribeElasticsearchDomainConfigResponse#domain_config #DomainConfig} => Types::ElasticsearchDomainConfig
363
- #
364
- # @example Request syntax with placeholder values
365
- # resp = client.describe_elasticsearch_domain_config({
366
- # domain_name: "DomainName", # required
367
- # })
368
- #
369
- # @example Response structure
370
- # resp.domain_config.elasticsearch_version.options #=> String
371
- # resp.domain_config.elasticsearch_version.status.creation_date #=> Time
372
- # resp.domain_config.elasticsearch_version.status.update_date #=> Time
373
- # resp.domain_config.elasticsearch_version.status.update_version #=> Integer
374
- # resp.domain_config.elasticsearch_version.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
375
- # resp.domain_config.elasticsearch_version.status.pending_deletion #=> Boolean
376
- # resp.domain_config.elasticsearch_cluster_config.options.instance_type #=> String, one of "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"
377
- # resp.domain_config.elasticsearch_cluster_config.options.instance_count #=> Integer
378
- # resp.domain_config.elasticsearch_cluster_config.options.dedicated_master_enabled #=> Boolean
379
- # resp.domain_config.elasticsearch_cluster_config.options.zone_awareness_enabled #=> Boolean
380
- # resp.domain_config.elasticsearch_cluster_config.options.dedicated_master_type #=> String, one of "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"
381
- # resp.domain_config.elasticsearch_cluster_config.options.dedicated_master_count #=> Integer
382
- # resp.domain_config.elasticsearch_cluster_config.status.creation_date #=> Time
383
- # resp.domain_config.elasticsearch_cluster_config.status.update_date #=> Time
384
- # resp.domain_config.elasticsearch_cluster_config.status.update_version #=> Integer
385
- # resp.domain_config.elasticsearch_cluster_config.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
386
- # resp.domain_config.elasticsearch_cluster_config.status.pending_deletion #=> Boolean
387
- # resp.domain_config.ebs_options.options.ebs_enabled #=> Boolean
388
- # resp.domain_config.ebs_options.options.volume_type #=> String, one of "standard", "gp2", "io1"
389
- # resp.domain_config.ebs_options.options.volume_size #=> Integer
390
- # resp.domain_config.ebs_options.options.iops #=> Integer
391
- # resp.domain_config.ebs_options.status.creation_date #=> Time
392
- # resp.domain_config.ebs_options.status.update_date #=> Time
393
- # resp.domain_config.ebs_options.status.update_version #=> Integer
394
- # resp.domain_config.ebs_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
395
- # resp.domain_config.ebs_options.status.pending_deletion #=> Boolean
396
- # resp.domain_config.access_policies.options #=> String
397
- # resp.domain_config.access_policies.status.creation_date #=> Time
398
- # resp.domain_config.access_policies.status.update_date #=> Time
399
- # resp.domain_config.access_policies.status.update_version #=> Integer
400
- # resp.domain_config.access_policies.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
401
- # resp.domain_config.access_policies.status.pending_deletion #=> Boolean
402
- # resp.domain_config.snapshot_options.options.automated_snapshot_start_hour #=> Integer
403
- # resp.domain_config.snapshot_options.status.creation_date #=> Time
404
- # resp.domain_config.snapshot_options.status.update_date #=> Time
405
- # resp.domain_config.snapshot_options.status.update_version #=> Integer
406
- # resp.domain_config.snapshot_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
407
- # resp.domain_config.snapshot_options.status.pending_deletion #=> Boolean
408
- # resp.domain_config.advanced_options.options #=> Hash
409
- # resp.domain_config.advanced_options.options["String"] #=> String
410
- # resp.domain_config.advanced_options.status.creation_date #=> Time
411
- # resp.domain_config.advanced_options.status.update_date #=> Time
412
- # resp.domain_config.advanced_options.status.update_version #=> Integer
413
- # resp.domain_config.advanced_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
414
- # resp.domain_config.advanced_options.status.pending_deletion #=> Boolean
415
- # @overload describe_elasticsearch_domain_config(params = {})
416
- # @param [Hash] params ({})
417
- def describe_elasticsearch_domain_config(params = {}, options = {})
418
- req = build_request(:describe_elasticsearch_domain_config, params)
419
- req.send_request(options)
420
- end
394
+ # Provides cluster configuration information about the specified
395
+ # Elasticsearch domain, such as the state, creation date, update
396
+ # version, and update date for cluster options.
397
+ #
398
+ # @option params [required, String] :domain_name
399
+ # The Elasticsearch domain that you want to get information about.
400
+ #
401
+ # @return [Types::DescribeElasticsearchDomainConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
402
+ #
403
+ # * {Types::DescribeElasticsearchDomainConfigResponse#domain_config #domain_config} => Types::ElasticsearchDomainConfig
404
+ #
405
+ # @example Request syntax with placeholder values
406
+ #
407
+ # resp = client.describe_elasticsearch_domain_config({
408
+ # domain_name: "DomainName", # required
409
+ # })
410
+ #
411
+ # @example Response structure
412
+ #
413
+ # resp.domain_config.elasticsearch_version.options #=> String
414
+ # resp.domain_config.elasticsearch_version.status.creation_date #=> Time
415
+ # resp.domain_config.elasticsearch_version.status.update_date #=> Time
416
+ # resp.domain_config.elasticsearch_version.status.update_version #=> Integer
417
+ # resp.domain_config.elasticsearch_version.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
418
+ # resp.domain_config.elasticsearch_version.status.pending_deletion #=> Boolean
419
+ # resp.domain_config.elasticsearch_cluster_config.options.instance_type #=> String, one of "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"
420
+ # resp.domain_config.elasticsearch_cluster_config.options.instance_count #=> Integer
421
+ # resp.domain_config.elasticsearch_cluster_config.options.dedicated_master_enabled #=> Boolean
422
+ # resp.domain_config.elasticsearch_cluster_config.options.zone_awareness_enabled #=> Boolean
423
+ # resp.domain_config.elasticsearch_cluster_config.options.dedicated_master_type #=> String, one of "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"
424
+ # resp.domain_config.elasticsearch_cluster_config.options.dedicated_master_count #=> Integer
425
+ # resp.domain_config.elasticsearch_cluster_config.status.creation_date #=> Time
426
+ # resp.domain_config.elasticsearch_cluster_config.status.update_date #=> Time
427
+ # resp.domain_config.elasticsearch_cluster_config.status.update_version #=> Integer
428
+ # resp.domain_config.elasticsearch_cluster_config.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
429
+ # resp.domain_config.elasticsearch_cluster_config.status.pending_deletion #=> Boolean
430
+ # resp.domain_config.ebs_options.options.ebs_enabled #=> Boolean
431
+ # resp.domain_config.ebs_options.options.volume_type #=> String, one of "standard", "gp2", "io1"
432
+ # resp.domain_config.ebs_options.options.volume_size #=> Integer
433
+ # resp.domain_config.ebs_options.options.iops #=> Integer
434
+ # resp.domain_config.ebs_options.status.creation_date #=> Time
435
+ # resp.domain_config.ebs_options.status.update_date #=> Time
436
+ # resp.domain_config.ebs_options.status.update_version #=> Integer
437
+ # resp.domain_config.ebs_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
438
+ # resp.domain_config.ebs_options.status.pending_deletion #=> Boolean
439
+ # resp.domain_config.access_policies.options #=> String
440
+ # resp.domain_config.access_policies.status.creation_date #=> Time
441
+ # resp.domain_config.access_policies.status.update_date #=> Time
442
+ # resp.domain_config.access_policies.status.update_version #=> Integer
443
+ # resp.domain_config.access_policies.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
444
+ # resp.domain_config.access_policies.status.pending_deletion #=> Boolean
445
+ # resp.domain_config.snapshot_options.options.automated_snapshot_start_hour #=> Integer
446
+ # resp.domain_config.snapshot_options.status.creation_date #=> Time
447
+ # resp.domain_config.snapshot_options.status.update_date #=> Time
448
+ # resp.domain_config.snapshot_options.status.update_version #=> Integer
449
+ # resp.domain_config.snapshot_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
450
+ # resp.domain_config.snapshot_options.status.pending_deletion #=> Boolean
451
+ # resp.domain_config.advanced_options.options #=> Hash
452
+ # resp.domain_config.advanced_options.options["String"] #=> String
453
+ # resp.domain_config.advanced_options.status.creation_date #=> Time
454
+ # resp.domain_config.advanced_options.status.update_date #=> Time
455
+ # resp.domain_config.advanced_options.status.update_version #=> Integer
456
+ # resp.domain_config.advanced_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
457
+ # resp.domain_config.advanced_options.status.pending_deletion #=> Boolean
458
+ #
459
+ # @overload describe_elasticsearch_domain_config(params = {})
460
+ # @param [Hash] params ({})
461
+ def describe_elasticsearch_domain_config(params = {}, options = {})
462
+ req = build_request(:describe_elasticsearch_domain_config, params)
463
+ req.send_request(options)
464
+ end
421
465
 
422
- # Returns domain configuration information about the specified
423
- # Elasticsearch domains, including the domain ID, domain endpoint, and
424
- # domain ARN.
425
- # @option params [required, Array<String>] :domain_names
426
- # The Elasticsearch domains for which you want information.
427
- # @return [Types::DescribeElasticsearchDomainsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
428
- #
429
- # * {Types::DescribeElasticsearchDomainsResponse#domain_status_list #DomainStatusList} => Array&lt;Types::ElasticsearchDomainStatus&gt;
430
- #
431
- # @example Request syntax with placeholder values
432
- # resp = client.describe_elasticsearch_domains({
433
- # domain_names: ["DomainName"], # required
434
- # })
435
- #
436
- # @example Response structure
437
- # resp.domain_status_list #=> Array
438
- # resp.domain_status_list[0].domain_id #=> String
439
- # resp.domain_status_list[0].domain_name #=> String
440
- # resp.domain_status_list[0].arn #=> String
441
- # resp.domain_status_list[0].created #=> Boolean
442
- # resp.domain_status_list[0].deleted #=> Boolean
443
- # resp.domain_status_list[0].endpoint #=> String
444
- # resp.domain_status_list[0].processing #=> Boolean
445
- # resp.domain_status_list[0].elasticsearch_version #=> String
446
- # resp.domain_status_list[0].elasticsearch_cluster_config.instance_type #=> String, one of "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"
447
- # resp.domain_status_list[0].elasticsearch_cluster_config.instance_count #=> Integer
448
- # resp.domain_status_list[0].elasticsearch_cluster_config.dedicated_master_enabled #=> Boolean
449
- # resp.domain_status_list[0].elasticsearch_cluster_config.zone_awareness_enabled #=> Boolean
450
- # resp.domain_status_list[0].elasticsearch_cluster_config.dedicated_master_type #=> String, one of "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"
451
- # resp.domain_status_list[0].elasticsearch_cluster_config.dedicated_master_count #=> Integer
452
- # resp.domain_status_list[0].ebs_options.ebs_enabled #=> Boolean
453
- # resp.domain_status_list[0].ebs_options.volume_type #=> String, one of "standard", "gp2", "io1"
454
- # resp.domain_status_list[0].ebs_options.volume_size #=> Integer
455
- # resp.domain_status_list[0].ebs_options.iops #=> Integer
456
- # resp.domain_status_list[0].access_policies #=> String
457
- # resp.domain_status_list[0].snapshot_options.automated_snapshot_start_hour #=> Integer
458
- # resp.domain_status_list[0].advanced_options #=> Hash
459
- # resp.domain_status_list[0].advanced_options["String"] #=> String
460
- # @overload describe_elasticsearch_domains(params = {})
461
- # @param [Hash] params ({})
462
- def describe_elasticsearch_domains(params = {}, options = {})
463
- req = build_request(:describe_elasticsearch_domains, params)
464
- req.send_request(options)
465
- end
466
+ # Returns domain configuration information about the specified
467
+ # Elasticsearch domains, including the domain ID, domain endpoint, and
468
+ # domain ARN.
469
+ #
470
+ # @option params [required, Array<String>] :domain_names
471
+ # The Elasticsearch domains for which you want information.
472
+ #
473
+ # @return [Types::DescribeElasticsearchDomainsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
474
+ #
475
+ # * {Types::DescribeElasticsearchDomainsResponse#domain_status_list #domain_status_list} => Array&lt;Types::ElasticsearchDomainStatus&gt;
476
+ #
477
+ # @example Request syntax with placeholder values
478
+ #
479
+ # resp = client.describe_elasticsearch_domains({
480
+ # domain_names: ["DomainName"], # required
481
+ # })
482
+ #
483
+ # @example Response structure
484
+ #
485
+ # resp.domain_status_list #=> Array
486
+ # resp.domain_status_list[0].domain_id #=> String
487
+ # resp.domain_status_list[0].domain_name #=> String
488
+ # resp.domain_status_list[0].arn #=> String
489
+ # resp.domain_status_list[0].created #=> Boolean
490
+ # resp.domain_status_list[0].deleted #=> Boolean
491
+ # resp.domain_status_list[0].endpoint #=> String
492
+ # resp.domain_status_list[0].processing #=> Boolean
493
+ # resp.domain_status_list[0].elasticsearch_version #=> String
494
+ # resp.domain_status_list[0].elasticsearch_cluster_config.instance_type #=> String, one of "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"
495
+ # resp.domain_status_list[0].elasticsearch_cluster_config.instance_count #=> Integer
496
+ # resp.domain_status_list[0].elasticsearch_cluster_config.dedicated_master_enabled #=> Boolean
497
+ # resp.domain_status_list[0].elasticsearch_cluster_config.zone_awareness_enabled #=> Boolean
498
+ # resp.domain_status_list[0].elasticsearch_cluster_config.dedicated_master_type #=> String, one of "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"
499
+ # resp.domain_status_list[0].elasticsearch_cluster_config.dedicated_master_count #=> Integer
500
+ # resp.domain_status_list[0].ebs_options.ebs_enabled #=> Boolean
501
+ # resp.domain_status_list[0].ebs_options.volume_type #=> String, one of "standard", "gp2", "io1"
502
+ # resp.domain_status_list[0].ebs_options.volume_size #=> Integer
503
+ # resp.domain_status_list[0].ebs_options.iops #=> Integer
504
+ # resp.domain_status_list[0].access_policies #=> String
505
+ # resp.domain_status_list[0].snapshot_options.automated_snapshot_start_hour #=> Integer
506
+ # resp.domain_status_list[0].advanced_options #=> Hash
507
+ # resp.domain_status_list[0].advanced_options["String"] #=> String
508
+ #
509
+ # @overload describe_elasticsearch_domains(params = {})
510
+ # @param [Hash] params ({})
511
+ def describe_elasticsearch_domains(params = {}, options = {})
512
+ req = build_request(:describe_elasticsearch_domains, params)
513
+ req.send_request(options)
514
+ end
466
515
 
467
- # Returns the name of all Elasticsearch domains owned by the current
468
- # user's account.
469
- # @return [Types::ListDomainNamesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
470
- #
471
- # * {Types::ListDomainNamesResponse#domain_names #DomainNames} => Array&lt;Types::DomainInfo&gt;
472
- #
473
- # @example Response structure
474
- # resp.domain_names #=> Array
475
- # resp.domain_names[0].domain_name #=> String
476
- # @overload list_domain_names(params = {})
477
- # @param [Hash] params ({})
478
- def list_domain_names(params = {}, options = {})
479
- req = build_request(:list_domain_names, params)
480
- req.send_request(options)
481
- end
516
+ # Describe Elasticsearch Limits for a given InstanceType and
517
+ # ElasticsearchVersion. When modifying existing Domain, specify the `
518
+ # DomainName ` to know what Limits are supported for modifying.
519
+ #
520
+ # @option params [String] :domain_name
521
+ # DomainName represents the name of the Domain that we are trying to
522
+ # modify. This should be present only if we are querying for
523
+ # Elasticsearch ` Limits ` for existing domain.
524
+ #
525
+ # @option params [required, String] :instance_type
526
+ # The instance type for an Elasticsearch cluster for which Elasticsearch
527
+ # ` Limits ` are needed.
528
+ #
529
+ # @option params [required, String] :elasticsearch_version
530
+ # Version of Elasticsearch for which ` Limits ` are needed.
531
+ #
532
+ # @return [Types::DescribeElasticsearchInstanceTypeLimitsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
533
+ #
534
+ # * {Types::DescribeElasticsearchInstanceTypeLimitsResponse#limits_by_role #limits_by_role} => Hash&lt;String,Types::Limits&gt;
535
+ #
536
+ # @example Request syntax with placeholder values
537
+ #
538
+ # resp = client.describe_elasticsearch_instance_type_limits({
539
+ # domain_name: "DomainName",
540
+ # instance_type: "m3.medium.elasticsearch", # required, accepts 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
541
+ # elasticsearch_version: "ElasticsearchVersionString", # required
542
+ # })
543
+ #
544
+ # @example Response structure
545
+ #
546
+ # resp.limits_by_role #=> Hash
547
+ # resp.limits_by_role["InstanceRole"].storage_types #=> Array
548
+ # resp.limits_by_role["InstanceRole"].storage_types[0].storage_type_name #=> String
549
+ # resp.limits_by_role["InstanceRole"].storage_types[0].storage_sub_type_name #=> String
550
+ # resp.limits_by_role["InstanceRole"].storage_types[0].storage_type_limits #=> Array
551
+ # resp.limits_by_role["InstanceRole"].storage_types[0].storage_type_limits[0].limit_name #=> String
552
+ # resp.limits_by_role["InstanceRole"].storage_types[0].storage_type_limits[0].limit_values #=> Array
553
+ # resp.limits_by_role["InstanceRole"].storage_types[0].storage_type_limits[0].limit_values[0] #=> String
554
+ # resp.limits_by_role["InstanceRole"].instance_limits.instance_count_limits.minimum_instance_count #=> Integer
555
+ # resp.limits_by_role["InstanceRole"].instance_limits.instance_count_limits.maximum_instance_count #=> Integer
556
+ # resp.limits_by_role["InstanceRole"].additional_limits #=> Array
557
+ # resp.limits_by_role["InstanceRole"].additional_limits[0].limit_name #=> String
558
+ # resp.limits_by_role["InstanceRole"].additional_limits[0].limit_values #=> Array
559
+ # resp.limits_by_role["InstanceRole"].additional_limits[0].limit_values[0] #=> String
560
+ #
561
+ # @overload describe_elasticsearch_instance_type_limits(params = {})
562
+ # @param [Hash] params ({})
563
+ def describe_elasticsearch_instance_type_limits(params = {}, options = {})
564
+ req = build_request(:describe_elasticsearch_instance_type_limits, params)
565
+ req.send_request(options)
566
+ end
482
567
 
483
- # Returns all tags for the given Elasticsearch domain.
484
- # @option params [required, String] :arn
485
- # Specify the `ARN` for the Elasticsearch domain to which the tags are
486
- # attached that you want to view.
487
- # @return [Types::ListTagsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
488
- #
489
- # * {Types::ListTagsResponse#tag_list #TagList} => Array&lt;Types::Tag&gt;
490
- #
491
- # @example Request syntax with placeholder values
492
- # resp = client.list_tags({
493
- # arn: "ARN", # required
494
- # })
495
- #
496
- # @example Response structure
497
- # resp.tag_list #=> Array
498
- # resp.tag_list[0].key #=> String
499
- # resp.tag_list[0].value #=> String
500
- # @overload list_tags(params = {})
501
- # @param [Hash] params ({})
502
- def list_tags(params = {}, options = {})
503
- req = build_request(:list_tags, params)
504
- req.send_request(options)
505
- end
568
+ # Returns the name of all Elasticsearch domains owned by the current
569
+ # user's account.
570
+ #
571
+ # @return [Types::ListDomainNamesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
572
+ #
573
+ # * {Types::ListDomainNamesResponse#domain_names #domain_names} => Array&lt;Types::DomainInfo&gt;
574
+ #
575
+ # @example Response structure
576
+ #
577
+ # resp.domain_names #=> Array
578
+ # resp.domain_names[0].domain_name #=> String
579
+ #
580
+ # @overload list_domain_names(params = {})
581
+ # @param [Hash] params ({})
582
+ def list_domain_names(params = {}, options = {})
583
+ req = build_request(:list_domain_names, params)
584
+ req.send_request(options)
585
+ end
506
586
 
507
- # Removes the specified set of tags from the specified Elasticsearch
508
- # domain.
509
- # @option params [required, String] :arn
510
- # Specifies the `ARN` for the Elasticsearch domain from which you want
511
- # to delete the specified tags.
512
- # @option params [required, Array<String>] :tag_keys
513
- # Specifies the `TagKey` list which you want to remove from the
514
- # Elasticsearch domain.
515
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
516
- #
517
- # @example Request syntax with placeholder values
518
- # resp = client.remove_tags({
519
- # arn: "ARN", # required
520
- # tag_keys: ["String"], # required
521
- # })
522
- # @overload remove_tags(params = {})
523
- # @param [Hash] params ({})
524
- def remove_tags(params = {}, options = {})
525
- req = build_request(:remove_tags, params)
526
- req.send_request(options)
527
- end
587
+ # List all Elasticsearch instance types that are supported for given
588
+ # ElasticsearchVersion
589
+ #
590
+ # @option params [required, String] :elasticsearch_version
591
+ # Version of Elasticsearch for which list of supported elasticsearch
592
+ # instance types are needed.
593
+ #
594
+ # @option params [String] :domain_name
595
+ # DomainName represents the name of the Domain that we are trying to
596
+ # modify. This should be present only if we are querying for list of
597
+ # available Elasticsearch instance types when modifying existing domain.
598
+ #
599
+ # @option params [Integer] :max_results
600
+ # Set this value to limit the number of results returned. Value provided
601
+ # must be greater than 30 else it wont be honored.
602
+ #
603
+ # @option params [String] :next_token
604
+ # NextToken should be sent in case if earlier API call produced result
605
+ # containing NextToken. It is used for pagination.
606
+ #
607
+ # @return [Types::ListElasticsearchInstanceTypesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
608
+ #
609
+ # * {Types::ListElasticsearchInstanceTypesResponse#elasticsearch_instance_types #elasticsearch_instance_types} => Array&lt;String&gt;
610
+ # * {Types::ListElasticsearchInstanceTypesResponse#next_token #next_token} => String
611
+ #
612
+ # @example Request syntax with placeholder values
613
+ #
614
+ # resp = client.list_elasticsearch_instance_types({
615
+ # elasticsearch_version: "ElasticsearchVersionString", # required
616
+ # domain_name: "DomainName",
617
+ # max_results: 1,
618
+ # next_token: "NextToken",
619
+ # })
620
+ #
621
+ # @example Response structure
622
+ #
623
+ # resp.elasticsearch_instance_types #=> Array
624
+ # resp.elasticsearch_instance_types[0] #=> String, one of "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"
625
+ # resp.next_token #=> String
626
+ #
627
+ # @overload list_elasticsearch_instance_types(params = {})
628
+ # @param [Hash] params ({})
629
+ def list_elasticsearch_instance_types(params = {}, options = {})
630
+ req = build_request(:list_elasticsearch_instance_types, params)
631
+ req.send_request(options)
632
+ end
528
633
 
529
- # Modifies the cluster configuration of the specified Elasticsearch
530
- # domain, setting as setting the instance type and the number of
531
- # instances.
532
- # @option params [required, String] :domain_name
533
- # The name of the Elasticsearch domain that you are updating.
534
- # @option params [Types::ElasticsearchClusterConfig] :elasticsearch_cluster_config
535
- # The type and number of instances to instantiate for the domain
536
- # cluster.
537
- # @option params [Types::EBSOptions] :ebs_options
538
- # Specify the type and size of the EBS volume that you want to use.
539
- # @option params [Types::SnapshotOptions] :snapshot_options
540
- # Option to set the time, in UTC format, for the daily automated
541
- # snapshot. Default value is `0` hours.
542
- # @option params [Hash<String,String>] :advanced_options
543
- # Modifies the advanced option to allow references to indices in an HTTP
544
- # request body. Must be `false` when configuring access to individual
545
- # sub-resources. By default, the value is `true`. See [Configuration
546
- # Advanced Options][1] for more information.
547
- #
548
- #
549
- #
550
- # [1]: http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-advanced-options
551
- # @option params [String] :access_policies
552
- # IAM access policy as a JSON-formatted string.
553
- # @return [Types::UpdateElasticsearchDomainConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
554
- #
555
- # * {Types::UpdateElasticsearchDomainConfigResponse#domain_config #DomainConfig} => Types::ElasticsearchDomainConfig
556
- #
557
- # @example Request syntax with placeholder values
558
- # resp = client.update_elasticsearch_domain_config({
559
- # domain_name: "DomainName", # required
560
- # elasticsearch_cluster_config: {
561
- # instance_type: "m3.medium.elasticsearch", # accepts 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
562
- # instance_count: 1,
563
- # dedicated_master_enabled: false,
564
- # zone_awareness_enabled: false,
565
- # dedicated_master_type: "m3.medium.elasticsearch", # accepts 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
566
- # dedicated_master_count: 1,
567
- # },
568
- # ebs_options: {
569
- # ebs_enabled: false,
570
- # volume_type: "standard", # accepts standard, gp2, io1
571
- # volume_size: 1,
572
- # iops: 1,
573
- # },
574
- # snapshot_options: {
575
- # automated_snapshot_start_hour: 1,
576
- # },
577
- # advanced_options: {
578
- # "String" => "String",
579
- # },
580
- # access_policies: "PolicyDocument",
581
- # })
582
- #
583
- # @example Response structure
584
- # resp.domain_config.elasticsearch_version.options #=> String
585
- # resp.domain_config.elasticsearch_version.status.creation_date #=> Time
586
- # resp.domain_config.elasticsearch_version.status.update_date #=> Time
587
- # resp.domain_config.elasticsearch_version.status.update_version #=> Integer
588
- # resp.domain_config.elasticsearch_version.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
589
- # resp.domain_config.elasticsearch_version.status.pending_deletion #=> Boolean
590
- # resp.domain_config.elasticsearch_cluster_config.options.instance_type #=> String, one of "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"
591
- # resp.domain_config.elasticsearch_cluster_config.options.instance_count #=> Integer
592
- # resp.domain_config.elasticsearch_cluster_config.options.dedicated_master_enabled #=> Boolean
593
- # resp.domain_config.elasticsearch_cluster_config.options.zone_awareness_enabled #=> Boolean
594
- # resp.domain_config.elasticsearch_cluster_config.options.dedicated_master_type #=> String, one of "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"
595
- # resp.domain_config.elasticsearch_cluster_config.options.dedicated_master_count #=> Integer
596
- # resp.domain_config.elasticsearch_cluster_config.status.creation_date #=> Time
597
- # resp.domain_config.elasticsearch_cluster_config.status.update_date #=> Time
598
- # resp.domain_config.elasticsearch_cluster_config.status.update_version #=> Integer
599
- # resp.domain_config.elasticsearch_cluster_config.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
600
- # resp.domain_config.elasticsearch_cluster_config.status.pending_deletion #=> Boolean
601
- # resp.domain_config.ebs_options.options.ebs_enabled #=> Boolean
602
- # resp.domain_config.ebs_options.options.volume_type #=> String, one of "standard", "gp2", "io1"
603
- # resp.domain_config.ebs_options.options.volume_size #=> Integer
604
- # resp.domain_config.ebs_options.options.iops #=> Integer
605
- # resp.domain_config.ebs_options.status.creation_date #=> Time
606
- # resp.domain_config.ebs_options.status.update_date #=> Time
607
- # resp.domain_config.ebs_options.status.update_version #=> Integer
608
- # resp.domain_config.ebs_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
609
- # resp.domain_config.ebs_options.status.pending_deletion #=> Boolean
610
- # resp.domain_config.access_policies.options #=> String
611
- # resp.domain_config.access_policies.status.creation_date #=> Time
612
- # resp.domain_config.access_policies.status.update_date #=> Time
613
- # resp.domain_config.access_policies.status.update_version #=> Integer
614
- # resp.domain_config.access_policies.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
615
- # resp.domain_config.access_policies.status.pending_deletion #=> Boolean
616
- # resp.domain_config.snapshot_options.options.automated_snapshot_start_hour #=> Integer
617
- # resp.domain_config.snapshot_options.status.creation_date #=> Time
618
- # resp.domain_config.snapshot_options.status.update_date #=> Time
619
- # resp.domain_config.snapshot_options.status.update_version #=> Integer
620
- # resp.domain_config.snapshot_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
621
- # resp.domain_config.snapshot_options.status.pending_deletion #=> Boolean
622
- # resp.domain_config.advanced_options.options #=> Hash
623
- # resp.domain_config.advanced_options.options["String"] #=> String
624
- # resp.domain_config.advanced_options.status.creation_date #=> Time
625
- # resp.domain_config.advanced_options.status.update_date #=> Time
626
- # resp.domain_config.advanced_options.status.update_version #=> Integer
627
- # resp.domain_config.advanced_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
628
- # resp.domain_config.advanced_options.status.pending_deletion #=> Boolean
629
- # @overload update_elasticsearch_domain_config(params = {})
630
- # @param [Hash] params ({})
631
- def update_elasticsearch_domain_config(params = {}, options = {})
632
- req = build_request(:update_elasticsearch_domain_config, params)
633
- req.send_request(options)
634
- end
634
+ # List all supported Elasticsearch versions
635
+ #
636
+ # @option params [Integer] :max_results
637
+ # Set this value to limit the number of results returned. Value provided
638
+ # must be greater than 10 else it wont be honored.
639
+ #
640
+ # @option params [String] :next_token
641
+ # Paginated APIs accepts NextToken input to returns next page results
642
+ # and provides a NextToken output in the response which can be used by
643
+ # the client to retrieve more results.
644
+ #
645
+ # @return [Types::ListElasticsearchVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
646
+ #
647
+ # * {Types::ListElasticsearchVersionsResponse#elasticsearch_versions #elasticsearch_versions} => Array&lt;String&gt;
648
+ # * {Types::ListElasticsearchVersionsResponse#next_token #next_token} => String
649
+ #
650
+ # @example Request syntax with placeholder values
651
+ #
652
+ # resp = client.list_elasticsearch_versions({
653
+ # max_results: 1,
654
+ # next_token: "NextToken",
655
+ # })
656
+ #
657
+ # @example Response structure
658
+ #
659
+ # resp.elasticsearch_versions #=> Array
660
+ # resp.elasticsearch_versions[0] #=> String
661
+ # resp.next_token #=> String
662
+ #
663
+ # @overload list_elasticsearch_versions(params = {})
664
+ # @param [Hash] params ({})
665
+ def list_elasticsearch_versions(params = {}, options = {})
666
+ req = build_request(:list_elasticsearch_versions, params)
667
+ req.send_request(options)
668
+ end
635
669
 
636
- # @!endgroup
670
+ # Returns all tags for the given Elasticsearch domain.
671
+ #
672
+ # @option params [required, String] :arn
673
+ # Specify the `ARN` for the Elasticsearch domain to which the tags are
674
+ # attached that you want to view.
675
+ #
676
+ # @return [Types::ListTagsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
677
+ #
678
+ # * {Types::ListTagsResponse#tag_list #tag_list} => Array&lt;Types::Tag&gt;
679
+ #
680
+ # @example Request syntax with placeholder values
681
+ #
682
+ # resp = client.list_tags({
683
+ # arn: "ARN", # required
684
+ # })
685
+ #
686
+ # @example Response structure
687
+ #
688
+ # resp.tag_list #=> Array
689
+ # resp.tag_list[0].key #=> String
690
+ # resp.tag_list[0].value #=> String
691
+ #
692
+ # @overload list_tags(params = {})
693
+ # @param [Hash] params ({})
694
+ def list_tags(params = {}, options = {})
695
+ req = build_request(:list_tags, params)
696
+ req.send_request(options)
697
+ end
637
698
 
638
- # @param params ({})
639
- # @api private
640
- def build_request(operation_name, params = {})
641
- handlers = @handlers.for(operation_name)
642
- context = Seahorse::Client::RequestContext.new(
643
- operation_name: operation_name,
644
- operation: config.api.operation(operation_name),
645
- client: self,
646
- params: params,
647
- config: config)
648
- context[:gem_name] = 'aws-sdk-elasticsearchservice'
649
- context[:gem_version] = '1.0.0.rc1'
650
- Seahorse::Client::Request.new(handlers, context)
651
- end
699
+ # Removes the specified set of tags from the specified Elasticsearch
700
+ # domain.
701
+ #
702
+ # @option params [required, String] :arn
703
+ # Specifies the `ARN` for the Elasticsearch domain from which you want
704
+ # to delete the specified tags.
705
+ #
706
+ # @option params [required, Array<String>] :tag_keys
707
+ # Specifies the `TagKey` list which you want to remove from the
708
+ # Elasticsearch domain.
709
+ #
710
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
711
+ #
712
+ # @example Request syntax with placeholder values
713
+ #
714
+ # resp = client.remove_tags({
715
+ # arn: "ARN", # required
716
+ # tag_keys: ["String"], # required
717
+ # })
718
+ #
719
+ # @overload remove_tags(params = {})
720
+ # @param [Hash] params ({})
721
+ def remove_tags(params = {}, options = {})
722
+ req = build_request(:remove_tags, params)
723
+ req.send_request(options)
724
+ end
652
725
 
653
- # @api private
654
- # @deprecated
655
- def waiter_names
656
- []
657
- end
726
+ # Modifies the cluster configuration of the specified Elasticsearch
727
+ # domain, setting as setting the instance type and the number of
728
+ # instances.
729
+ #
730
+ # @option params [required, String] :domain_name
731
+ # The name of the Elasticsearch domain that you are updating.
732
+ #
733
+ # @option params [Types::ElasticsearchClusterConfig] :elasticsearch_cluster_config
734
+ # The type and number of instances to instantiate for the domain
735
+ # cluster.
736
+ #
737
+ # @option params [Types::EBSOptions] :ebs_options
738
+ # Specify the type and size of the EBS volume that you want to use.
739
+ #
740
+ # @option params [Types::SnapshotOptions] :snapshot_options
741
+ # Option to set the time, in UTC format, for the daily automated
742
+ # snapshot. Default value is `0` hours.
743
+ #
744
+ # @option params [Hash<String,String>] :advanced_options
745
+ # Modifies the advanced option to allow references to indices in an HTTP
746
+ # request body. Must be `false` when configuring access to individual
747
+ # sub-resources. By default, the value is `true`. See [Configuration
748
+ # Advanced Options][1] for more information.
749
+ #
750
+ #
751
+ #
752
+ # [1]: http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-advanced-options
753
+ #
754
+ # @option params [String] :access_policies
755
+ # IAM access policy as a JSON-formatted string.
756
+ #
757
+ # @return [Types::UpdateElasticsearchDomainConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
758
+ #
759
+ # * {Types::UpdateElasticsearchDomainConfigResponse#domain_config #domain_config} => Types::ElasticsearchDomainConfig
760
+ #
761
+ # @example Request syntax with placeholder values
762
+ #
763
+ # resp = client.update_elasticsearch_domain_config({
764
+ # domain_name: "DomainName", # required
765
+ # elasticsearch_cluster_config: {
766
+ # instance_type: "m3.medium.elasticsearch", # accepts 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
767
+ # instance_count: 1,
768
+ # dedicated_master_enabled: false,
769
+ # zone_awareness_enabled: false,
770
+ # dedicated_master_type: "m3.medium.elasticsearch", # accepts 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
771
+ # dedicated_master_count: 1,
772
+ # },
773
+ # ebs_options: {
774
+ # ebs_enabled: false,
775
+ # volume_type: "standard", # accepts standard, gp2, io1
776
+ # volume_size: 1,
777
+ # iops: 1,
778
+ # },
779
+ # snapshot_options: {
780
+ # automated_snapshot_start_hour: 1,
781
+ # },
782
+ # advanced_options: {
783
+ # "String" => "String",
784
+ # },
785
+ # access_policies: "PolicyDocument",
786
+ # })
787
+ #
788
+ # @example Response structure
789
+ #
790
+ # resp.domain_config.elasticsearch_version.options #=> String
791
+ # resp.domain_config.elasticsearch_version.status.creation_date #=> Time
792
+ # resp.domain_config.elasticsearch_version.status.update_date #=> Time
793
+ # resp.domain_config.elasticsearch_version.status.update_version #=> Integer
794
+ # resp.domain_config.elasticsearch_version.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
795
+ # resp.domain_config.elasticsearch_version.status.pending_deletion #=> Boolean
796
+ # resp.domain_config.elasticsearch_cluster_config.options.instance_type #=> String, one of "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"
797
+ # resp.domain_config.elasticsearch_cluster_config.options.instance_count #=> Integer
798
+ # resp.domain_config.elasticsearch_cluster_config.options.dedicated_master_enabled #=> Boolean
799
+ # resp.domain_config.elasticsearch_cluster_config.options.zone_awareness_enabled #=> Boolean
800
+ # resp.domain_config.elasticsearch_cluster_config.options.dedicated_master_type #=> String, one of "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"
801
+ # resp.domain_config.elasticsearch_cluster_config.options.dedicated_master_count #=> Integer
802
+ # resp.domain_config.elasticsearch_cluster_config.status.creation_date #=> Time
803
+ # resp.domain_config.elasticsearch_cluster_config.status.update_date #=> Time
804
+ # resp.domain_config.elasticsearch_cluster_config.status.update_version #=> Integer
805
+ # resp.domain_config.elasticsearch_cluster_config.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
806
+ # resp.domain_config.elasticsearch_cluster_config.status.pending_deletion #=> Boolean
807
+ # resp.domain_config.ebs_options.options.ebs_enabled #=> Boolean
808
+ # resp.domain_config.ebs_options.options.volume_type #=> String, one of "standard", "gp2", "io1"
809
+ # resp.domain_config.ebs_options.options.volume_size #=> Integer
810
+ # resp.domain_config.ebs_options.options.iops #=> Integer
811
+ # resp.domain_config.ebs_options.status.creation_date #=> Time
812
+ # resp.domain_config.ebs_options.status.update_date #=> Time
813
+ # resp.domain_config.ebs_options.status.update_version #=> Integer
814
+ # resp.domain_config.ebs_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
815
+ # resp.domain_config.ebs_options.status.pending_deletion #=> Boolean
816
+ # resp.domain_config.access_policies.options #=> String
817
+ # resp.domain_config.access_policies.status.creation_date #=> Time
818
+ # resp.domain_config.access_policies.status.update_date #=> Time
819
+ # resp.domain_config.access_policies.status.update_version #=> Integer
820
+ # resp.domain_config.access_policies.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
821
+ # resp.domain_config.access_policies.status.pending_deletion #=> Boolean
822
+ # resp.domain_config.snapshot_options.options.automated_snapshot_start_hour #=> Integer
823
+ # resp.domain_config.snapshot_options.status.creation_date #=> Time
824
+ # resp.domain_config.snapshot_options.status.update_date #=> Time
825
+ # resp.domain_config.snapshot_options.status.update_version #=> Integer
826
+ # resp.domain_config.snapshot_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
827
+ # resp.domain_config.snapshot_options.status.pending_deletion #=> Boolean
828
+ # resp.domain_config.advanced_options.options #=> Hash
829
+ # resp.domain_config.advanced_options.options["String"] #=> String
830
+ # resp.domain_config.advanced_options.status.creation_date #=> Time
831
+ # resp.domain_config.advanced_options.status.update_date #=> Time
832
+ # resp.domain_config.advanced_options.status.update_version #=> Integer
833
+ # resp.domain_config.advanced_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
834
+ # resp.domain_config.advanced_options.status.pending_deletion #=> Boolean
835
+ #
836
+ # @overload update_elasticsearch_domain_config(params = {})
837
+ # @param [Hash] params ({})
838
+ def update_elasticsearch_domain_config(params = {}, options = {})
839
+ req = build_request(:update_elasticsearch_domain_config, params)
840
+ req.send_request(options)
841
+ end
658
842
 
659
- class << self
843
+ # @!endgroup
660
844
 
661
- # @api private
662
- attr_reader :identifier
845
+ # @param params ({})
846
+ # @api private
847
+ def build_request(operation_name, params = {})
848
+ handlers = @handlers.for(operation_name)
849
+ context = Seahorse::Client::RequestContext.new(
850
+ operation_name: operation_name,
851
+ operation: config.api.operation(operation_name),
852
+ client: self,
853
+ params: params,
854
+ config: config)
855
+ context[:gem_name] = 'aws-sdk-elasticsearchservice'
856
+ context[:gem_version] = '1.0.0.rc2'
857
+ Seahorse::Client::Request.new(handlers, context)
858
+ end
859
+
860
+ # @api private
861
+ # @deprecated
862
+ def waiter_names
863
+ []
864
+ end
663
865
 
664
- # @api private
665
- def errors_module
666
- Errors
667
- end
866
+ class << self
668
867
 
868
+ # @api private
869
+ attr_reader :identifier
870
+
871
+ # @api private
872
+ def errors_module
873
+ Errors
669
874
  end
875
+
670
876
  end
671
877
  end
672
878
  end