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 +4 -4
- data/lib/aws-sdk-elasticsearchservice.rb +2 -2
- data/lib/aws-sdk-elasticsearchservice/client.rb +827 -621
- data/lib/aws-sdk-elasticsearchservice/client_api.rb +502 -360
- data/lib/aws-sdk-elasticsearchservice/errors.rb +4 -13
- data/lib/aws-sdk-elasticsearchservice/resource.rb +12 -14
- data/lib/aws-sdk-elasticsearchservice/types.rb +1177 -808
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1469285f9f0d81ef514fc603b890512da7d5d73
|
4
|
+
data.tar.gz: f5d07e7c507f9696f6d6e1d9ab5e6b5108f26cc6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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.
|
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
|
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
|
-
|
28
|
-
class Client < Seahorse::Client::Base
|
26
|
+
module Aws::ElasticsearchService
|
27
|
+
class Client < Seahorse::Client::Base
|
29
28
|
|
30
|
-
|
29
|
+
include Aws::ClientStubs
|
31
30
|
|
32
|
-
|
31
|
+
@identifier = :elasticsearchservice
|
33
32
|
|
34
|
-
|
33
|
+
set_api(ClientApi::API)
|
35
34
|
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
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
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
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
|
-
|
144
|
+
# @!group API Operations
|
132
145
|
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
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
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
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
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
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
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
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
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
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
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
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<Types::ElasticsearchDomainStatus>
|
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
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
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<String,Types::Limits>
|
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
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
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<Types::DomainInfo>
|
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
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
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<String>
|
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
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
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<String>
|
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
|
-
|
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<Types::Tag>
|
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
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
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
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
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
|
-
|
843
|
+
# @!endgroup
|
660
844
|
|
661
|
-
|
662
|
-
|
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
|
-
|
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
|