aws-sdk-elasticsearchservice 1.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/aws-sdk-elasticsearchservice/client.rb +672 -0
- data/lib/aws-sdk-elasticsearchservice/client_api.rb +370 -0
- data/lib/aws-sdk-elasticsearchservice/customizations.rb +7 -0
- data/lib/aws-sdk-elasticsearchservice/errors.rb +23 -0
- data/lib/aws-sdk-elasticsearchservice/resource.rb +25 -0
- data/lib/aws-sdk-elasticsearchservice/types.rb +818 -0
- data/lib/aws-sdk-elasticsearchservice.rb +47 -0
- metadata +80 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: fd0cb2c9df5c7b233ad6b47f2322920546827721
|
4
|
+
data.tar.gz: 1fac4c09b18f807642109f1528dbffcbaaff1f05
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: baad3718e0d2f9fde95f8d2021b1b2570330fc1b11af8f7ffb0ab26f8ea6f6031afdc5fb55a6289d6890f2f086f610869c74ea1a4f1bec809ecda18724cf9f7d
|
7
|
+
data.tar.gz: 290379e84f1c2cffa39567593e39f3f4497457d41dd123061808ede5167f590b8798992ff0e6330af987b17270fb15de6fa884b83e9a097ccba17c03000583ee
|
@@ -0,0 +1,672 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing for info on making contributions:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
require 'seahorse/client/plugins/content_length.rb'
|
9
|
+
require 'aws-sdk-core/plugins/credentials_configuration.rb'
|
10
|
+
require 'aws-sdk-core/plugins/logging.rb'
|
11
|
+
require 'aws-sdk-core/plugins/param_converter.rb'
|
12
|
+
require 'aws-sdk-core/plugins/param_validator.rb'
|
13
|
+
require 'aws-sdk-core/plugins/user_agent.rb'
|
14
|
+
require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
|
15
|
+
require 'aws-sdk-core/plugins/retry_errors.rb'
|
16
|
+
require 'aws-sdk-core/plugins/global_configuration.rb'
|
17
|
+
require 'aws-sdk-core/plugins/regional_endpoint.rb'
|
18
|
+
require 'aws-sdk-core/plugins/response_paging.rb'
|
19
|
+
require 'aws-sdk-core/plugins/stub_responses.rb'
|
20
|
+
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
21
|
+
require 'aws-sdk-core/plugins/signature_v4.rb'
|
22
|
+
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
23
|
+
|
24
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:elasticsearchservice)
|
25
|
+
|
26
|
+
module Aws
|
27
|
+
module ElasticsearchService
|
28
|
+
class Client < Seahorse::Client::Base
|
29
|
+
|
30
|
+
include Aws::ClientStubs
|
31
|
+
|
32
|
+
@identifier = :elasticsearchservice
|
33
|
+
|
34
|
+
set_api(ClientApi::API)
|
35
|
+
|
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)
|
51
|
+
|
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
|
130
|
+
|
131
|
+
# @!group API Operations
|
132
|
+
|
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
|
163
|
+
|
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
|
266
|
+
|
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
|
310
|
+
|
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
|
354
|
+
|
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
|
421
|
+
|
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<Types::ElasticsearchDomainStatus>
|
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
|
+
|
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<Types::DomainInfo>
|
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
|
482
|
+
|
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<Types::Tag>
|
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
|
506
|
+
|
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
|
528
|
+
|
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
|
635
|
+
|
636
|
+
# @!endgroup
|
637
|
+
|
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
|
652
|
+
|
653
|
+
# @api private
|
654
|
+
# @deprecated
|
655
|
+
def waiter_names
|
656
|
+
[]
|
657
|
+
end
|
658
|
+
|
659
|
+
class << self
|
660
|
+
|
661
|
+
# @api private
|
662
|
+
attr_reader :identifier
|
663
|
+
|
664
|
+
# @api private
|
665
|
+
def errors_module
|
666
|
+
Errors
|
667
|
+
end
|
668
|
+
|
669
|
+
end
|
670
|
+
end
|
671
|
+
end
|
672
|
+
end
|