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.
@@ -1,370 +1,512 @@
1
1
  # WARNING ABOUT GENERATED CODE
2
2
  #
3
- # This file is generated. See the contributing for info on making contributions:
3
+ # This file is generated. See the contributing guide for more information:
4
4
  # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
5
  #
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
- module Aws
9
- module ElasticsearchService
10
- # @api private
11
- module ClientApi
12
-
13
- include Seahorse::Model
14
-
15
- ARN = Shapes::StringShape.new(name: 'ARN')
16
- AccessPoliciesStatus = Shapes::StructureShape.new(name: 'AccessPoliciesStatus')
17
- AddTagsRequest = Shapes::StructureShape.new(name: 'AddTagsRequest')
18
- AdvancedOptions = Shapes::MapShape.new(name: 'AdvancedOptions')
19
- AdvancedOptionsStatus = Shapes::StructureShape.new(name: 'AdvancedOptionsStatus')
20
- BaseException = Shapes::StructureShape.new(name: 'BaseException')
21
- Boolean = Shapes::BooleanShape.new(name: 'Boolean')
22
- CreateElasticsearchDomainRequest = Shapes::StructureShape.new(name: 'CreateElasticsearchDomainRequest')
23
- CreateElasticsearchDomainResponse = Shapes::StructureShape.new(name: 'CreateElasticsearchDomainResponse')
24
- DeleteElasticsearchDomainRequest = Shapes::StructureShape.new(name: 'DeleteElasticsearchDomainRequest')
25
- DeleteElasticsearchDomainResponse = Shapes::StructureShape.new(name: 'DeleteElasticsearchDomainResponse')
26
- DescribeElasticsearchDomainConfigRequest = Shapes::StructureShape.new(name: 'DescribeElasticsearchDomainConfigRequest')
27
- DescribeElasticsearchDomainConfigResponse = Shapes::StructureShape.new(name: 'DescribeElasticsearchDomainConfigResponse')
28
- DescribeElasticsearchDomainRequest = Shapes::StructureShape.new(name: 'DescribeElasticsearchDomainRequest')
29
- DescribeElasticsearchDomainResponse = Shapes::StructureShape.new(name: 'DescribeElasticsearchDomainResponse')
30
- DescribeElasticsearchDomainsRequest = Shapes::StructureShape.new(name: 'DescribeElasticsearchDomainsRequest')
31
- DescribeElasticsearchDomainsResponse = Shapes::StructureShape.new(name: 'DescribeElasticsearchDomainsResponse')
32
- DisabledOperationException = Shapes::StructureShape.new(name: 'DisabledOperationException')
33
- DomainId = Shapes::StringShape.new(name: 'DomainId')
34
- DomainInfo = Shapes::StructureShape.new(name: 'DomainInfo')
35
- DomainInfoList = Shapes::ListShape.new(name: 'DomainInfoList')
36
- DomainName = Shapes::StringShape.new(name: 'DomainName')
37
- DomainNameList = Shapes::ListShape.new(name: 'DomainNameList')
38
- EBSOptions = Shapes::StructureShape.new(name: 'EBSOptions')
39
- EBSOptionsStatus = Shapes::StructureShape.new(name: 'EBSOptionsStatus')
40
- ESPartitionInstanceType = Shapes::StringShape.new(name: 'ESPartitionInstanceType')
41
- ElasticsearchClusterConfig = Shapes::StructureShape.new(name: 'ElasticsearchClusterConfig')
42
- ElasticsearchClusterConfigStatus = Shapes::StructureShape.new(name: 'ElasticsearchClusterConfigStatus')
43
- ElasticsearchDomainConfig = Shapes::StructureShape.new(name: 'ElasticsearchDomainConfig')
44
- ElasticsearchDomainStatus = Shapes::StructureShape.new(name: 'ElasticsearchDomainStatus')
45
- ElasticsearchDomainStatusList = Shapes::ListShape.new(name: 'ElasticsearchDomainStatusList')
46
- ElasticsearchVersionStatus = Shapes::StructureShape.new(name: 'ElasticsearchVersionStatus')
47
- ElasticsearchVersionString = Shapes::StringShape.new(name: 'ElasticsearchVersionString')
48
- ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
49
- IntegerClass = Shapes::IntegerShape.new(name: 'IntegerClass')
50
- InternalException = Shapes::StructureShape.new(name: 'InternalException')
51
- InvalidTypeException = Shapes::StructureShape.new(name: 'InvalidTypeException')
52
- LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
53
- ListDomainNamesResponse = Shapes::StructureShape.new(name: 'ListDomainNamesResponse')
54
- ListTagsRequest = Shapes::StructureShape.new(name: 'ListTagsRequest')
55
- ListTagsResponse = Shapes::StructureShape.new(name: 'ListTagsResponse')
56
- OptionState = Shapes::StringShape.new(name: 'OptionState')
57
- OptionStatus = Shapes::StructureShape.new(name: 'OptionStatus')
58
- PolicyDocument = Shapes::StringShape.new(name: 'PolicyDocument')
59
- RemoveTagsRequest = Shapes::StructureShape.new(name: 'RemoveTagsRequest')
60
- ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
61
- ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
62
- ServiceUrl = Shapes::StringShape.new(name: 'ServiceUrl')
63
- SnapshotOptions = Shapes::StructureShape.new(name: 'SnapshotOptions')
64
- SnapshotOptionsStatus = Shapes::StructureShape.new(name: 'SnapshotOptionsStatus')
65
- String = Shapes::StringShape.new(name: 'String')
66
- StringList = Shapes::ListShape.new(name: 'StringList')
67
- Tag = Shapes::StructureShape.new(name: 'Tag')
68
- TagKey = Shapes::StringShape.new(name: 'TagKey')
69
- TagList = Shapes::ListShape.new(name: 'TagList')
70
- TagValue = Shapes::StringShape.new(name: 'TagValue')
71
- UIntValue = Shapes::IntegerShape.new(name: 'UIntValue')
72
- UpdateElasticsearchDomainConfigRequest = Shapes::StructureShape.new(name: 'UpdateElasticsearchDomainConfigRequest')
73
- UpdateElasticsearchDomainConfigResponse = Shapes::StructureShape.new(name: 'UpdateElasticsearchDomainConfigResponse')
74
- UpdateTimestamp = Shapes::TimestampShape.new(name: 'UpdateTimestamp')
75
- ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
76
- VolumeType = Shapes::StringShape.new(name: 'VolumeType')
77
-
78
- AccessPoliciesStatus.add_member(:options, Shapes::ShapeRef.new(shape: PolicyDocument, required: true, location_name: "Options"))
79
- AccessPoliciesStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, required: true, location_name: "Status"))
80
- AccessPoliciesStatus.struct_class = Types::AccessPoliciesStatus
81
-
82
- AddTagsRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "ARN"))
83
- AddTagsRequest.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "TagList"))
84
- AddTagsRequest.struct_class = Types::AddTagsRequest
85
-
86
- AdvancedOptions.key = Shapes::ShapeRef.new(shape: String)
87
- AdvancedOptions.value = Shapes::ShapeRef.new(shape: String)
88
-
89
- AdvancedOptionsStatus.add_member(:options, Shapes::ShapeRef.new(shape: AdvancedOptions, required: true, location_name: "Options"))
90
- AdvancedOptionsStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, required: true, location_name: "Status"))
91
- AdvancedOptionsStatus.struct_class = Types::AdvancedOptionsStatus
92
-
93
- CreateElasticsearchDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
94
- CreateElasticsearchDomainRequest.add_member(:elasticsearch_version, Shapes::ShapeRef.new(shape: ElasticsearchVersionString, location_name: "ElasticsearchVersion"))
95
- CreateElasticsearchDomainRequest.add_member(:elasticsearch_cluster_config, Shapes::ShapeRef.new(shape: ElasticsearchClusterConfig, location_name: "ElasticsearchClusterConfig"))
96
- CreateElasticsearchDomainRequest.add_member(:ebs_options, Shapes::ShapeRef.new(shape: EBSOptions, location_name: "EBSOptions"))
97
- CreateElasticsearchDomainRequest.add_member(:access_policies, Shapes::ShapeRef.new(shape: PolicyDocument, location_name: "AccessPolicies"))
98
- CreateElasticsearchDomainRequest.add_member(:snapshot_options, Shapes::ShapeRef.new(shape: SnapshotOptions, location_name: "SnapshotOptions"))
99
- CreateElasticsearchDomainRequest.add_member(:advanced_options, Shapes::ShapeRef.new(shape: AdvancedOptions, location_name: "AdvancedOptions"))
100
- CreateElasticsearchDomainRequest.struct_class = Types::CreateElasticsearchDomainRequest
101
-
102
- CreateElasticsearchDomainResponse.add_member(:domain_status, Shapes::ShapeRef.new(shape: ElasticsearchDomainStatus, location_name: "DomainStatus"))
103
- CreateElasticsearchDomainResponse.struct_class = Types::CreateElasticsearchDomainResponse
104
-
105
- DeleteElasticsearchDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
106
- DeleteElasticsearchDomainRequest.struct_class = Types::DeleteElasticsearchDomainRequest
107
-
108
- DeleteElasticsearchDomainResponse.add_member(:domain_status, Shapes::ShapeRef.new(shape: ElasticsearchDomainStatus, location_name: "DomainStatus"))
109
- DeleteElasticsearchDomainResponse.struct_class = Types::DeleteElasticsearchDomainResponse
110
-
111
- DescribeElasticsearchDomainConfigRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
112
- DescribeElasticsearchDomainConfigRequest.struct_class = Types::DescribeElasticsearchDomainConfigRequest
113
-
114
- DescribeElasticsearchDomainConfigResponse.add_member(:domain_config, Shapes::ShapeRef.new(shape: ElasticsearchDomainConfig, required: true, location_name: "DomainConfig"))
115
- DescribeElasticsearchDomainConfigResponse.struct_class = Types::DescribeElasticsearchDomainConfigResponse
116
-
117
- DescribeElasticsearchDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
118
- DescribeElasticsearchDomainRequest.struct_class = Types::DescribeElasticsearchDomainRequest
119
-
120
- DescribeElasticsearchDomainResponse.add_member(:domain_status, Shapes::ShapeRef.new(shape: ElasticsearchDomainStatus, required: true, location_name: "DomainStatus"))
121
- DescribeElasticsearchDomainResponse.struct_class = Types::DescribeElasticsearchDomainResponse
122
-
123
- DescribeElasticsearchDomainsRequest.add_member(:domain_names, Shapes::ShapeRef.new(shape: DomainNameList, required: true, location_name: "DomainNames"))
124
- DescribeElasticsearchDomainsRequest.struct_class = Types::DescribeElasticsearchDomainsRequest
125
-
126
- DescribeElasticsearchDomainsResponse.add_member(:domain_status_list, Shapes::ShapeRef.new(shape: ElasticsearchDomainStatusList, required: true, location_name: "DomainStatusList"))
127
- DescribeElasticsearchDomainsResponse.struct_class = Types::DescribeElasticsearchDomainsResponse
128
-
129
- DomainInfo.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "DomainName"))
130
- DomainInfo.struct_class = Types::DomainInfo
131
-
132
- DomainInfoList.member = Shapes::ShapeRef.new(shape: DomainInfo)
133
-
134
- DomainNameList.member = Shapes::ShapeRef.new(shape: DomainName)
135
-
136
- EBSOptions.add_member(:ebs_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "EBSEnabled"))
137
- EBSOptions.add_member(:volume_type, Shapes::ShapeRef.new(shape: VolumeType, location_name: "VolumeType"))
138
- EBSOptions.add_member(:volume_size, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "VolumeSize"))
139
- EBSOptions.add_member(:iops, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "Iops"))
140
- EBSOptions.struct_class = Types::EBSOptions
141
-
142
- EBSOptionsStatus.add_member(:options, Shapes::ShapeRef.new(shape: EBSOptions, required: true, location_name: "Options"))
143
- EBSOptionsStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, required: true, location_name: "Status"))
144
- EBSOptionsStatus.struct_class = Types::EBSOptionsStatus
145
-
146
- ElasticsearchClusterConfig.add_member(:instance_type, Shapes::ShapeRef.new(shape: ESPartitionInstanceType, location_name: "InstanceType"))
147
- ElasticsearchClusterConfig.add_member(:instance_count, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "InstanceCount"))
148
- ElasticsearchClusterConfig.add_member(:dedicated_master_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "DedicatedMasterEnabled"))
149
- ElasticsearchClusterConfig.add_member(:zone_awareness_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "ZoneAwarenessEnabled"))
150
- ElasticsearchClusterConfig.add_member(:dedicated_master_type, Shapes::ShapeRef.new(shape: ESPartitionInstanceType, location_name: "DedicatedMasterType"))
151
- ElasticsearchClusterConfig.add_member(:dedicated_master_count, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "DedicatedMasterCount"))
152
- ElasticsearchClusterConfig.struct_class = Types::ElasticsearchClusterConfig
153
-
154
- ElasticsearchClusterConfigStatus.add_member(:options, Shapes::ShapeRef.new(shape: ElasticsearchClusterConfig, required: true, location_name: "Options"))
155
- ElasticsearchClusterConfigStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, required: true, location_name: "Status"))
156
- ElasticsearchClusterConfigStatus.struct_class = Types::ElasticsearchClusterConfigStatus
157
-
158
- ElasticsearchDomainConfig.add_member(:elasticsearch_version, Shapes::ShapeRef.new(shape: ElasticsearchVersionStatus, location_name: "ElasticsearchVersion"))
159
- ElasticsearchDomainConfig.add_member(:elasticsearch_cluster_config, Shapes::ShapeRef.new(shape: ElasticsearchClusterConfigStatus, location_name: "ElasticsearchClusterConfig"))
160
- ElasticsearchDomainConfig.add_member(:ebs_options, Shapes::ShapeRef.new(shape: EBSOptionsStatus, location_name: "EBSOptions"))
161
- ElasticsearchDomainConfig.add_member(:access_policies, Shapes::ShapeRef.new(shape: AccessPoliciesStatus, location_name: "AccessPolicies"))
162
- ElasticsearchDomainConfig.add_member(:snapshot_options, Shapes::ShapeRef.new(shape: SnapshotOptionsStatus, location_name: "SnapshotOptions"))
163
- ElasticsearchDomainConfig.add_member(:advanced_options, Shapes::ShapeRef.new(shape: AdvancedOptionsStatus, location_name: "AdvancedOptions"))
164
- ElasticsearchDomainConfig.struct_class = Types::ElasticsearchDomainConfig
165
-
166
- ElasticsearchDomainStatus.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId"))
167
- ElasticsearchDomainStatus.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
168
- ElasticsearchDomainStatus.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "ARN"))
169
- ElasticsearchDomainStatus.add_member(:created, Shapes::ShapeRef.new(shape: Boolean, location_name: "Created"))
170
- ElasticsearchDomainStatus.add_member(:deleted, Shapes::ShapeRef.new(shape: Boolean, location_name: "Deleted"))
171
- ElasticsearchDomainStatus.add_member(:endpoint, Shapes::ShapeRef.new(shape: ServiceUrl, location_name: "Endpoint"))
172
- ElasticsearchDomainStatus.add_member(:processing, Shapes::ShapeRef.new(shape: Boolean, location_name: "Processing"))
173
- ElasticsearchDomainStatus.add_member(:elasticsearch_version, Shapes::ShapeRef.new(shape: ElasticsearchVersionString, location_name: "ElasticsearchVersion"))
174
- ElasticsearchDomainStatus.add_member(:elasticsearch_cluster_config, Shapes::ShapeRef.new(shape: ElasticsearchClusterConfig, required: true, location_name: "ElasticsearchClusterConfig"))
175
- ElasticsearchDomainStatus.add_member(:ebs_options, Shapes::ShapeRef.new(shape: EBSOptions, location_name: "EBSOptions"))
176
- ElasticsearchDomainStatus.add_member(:access_policies, Shapes::ShapeRef.new(shape: PolicyDocument, location_name: "AccessPolicies"))
177
- ElasticsearchDomainStatus.add_member(:snapshot_options, Shapes::ShapeRef.new(shape: SnapshotOptions, location_name: "SnapshotOptions"))
178
- ElasticsearchDomainStatus.add_member(:advanced_options, Shapes::ShapeRef.new(shape: AdvancedOptions, location_name: "AdvancedOptions"))
179
- ElasticsearchDomainStatus.struct_class = Types::ElasticsearchDomainStatus
180
-
181
- ElasticsearchDomainStatusList.member = Shapes::ShapeRef.new(shape: ElasticsearchDomainStatus)
182
-
183
- ElasticsearchVersionStatus.add_member(:options, Shapes::ShapeRef.new(shape: ElasticsearchVersionString, required: true, location_name: "Options"))
184
- ElasticsearchVersionStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, required: true, location_name: "Status"))
185
- ElasticsearchVersionStatus.struct_class = Types::ElasticsearchVersionStatus
186
-
187
- ListDomainNamesResponse.add_member(:domain_names, Shapes::ShapeRef.new(shape: DomainInfoList, location_name: "DomainNames"))
188
- ListDomainNamesResponse.struct_class = Types::ListDomainNamesResponse
189
-
190
- ListTagsRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "querystring", location_name: "arn"))
191
- ListTagsRequest.struct_class = Types::ListTagsRequest
192
-
193
- ListTagsResponse.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
194
- ListTagsResponse.struct_class = Types::ListTagsResponse
195
-
196
- OptionStatus.add_member(:creation_date, Shapes::ShapeRef.new(shape: UpdateTimestamp, required: true, location_name: "CreationDate"))
197
- OptionStatus.add_member(:update_date, Shapes::ShapeRef.new(shape: UpdateTimestamp, required: true, location_name: "UpdateDate"))
198
- OptionStatus.add_member(:update_version, Shapes::ShapeRef.new(shape: UIntValue, location_name: "UpdateVersion"))
199
- OptionStatus.add_member(:state, Shapes::ShapeRef.new(shape: OptionState, required: true, location_name: "State"))
200
- OptionStatus.add_member(:pending_deletion, Shapes::ShapeRef.new(shape: Boolean, location_name: "PendingDeletion"))
201
- OptionStatus.struct_class = Types::OptionStatus
202
-
203
- RemoveTagsRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "ARN"))
204
- RemoveTagsRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "TagKeys"))
205
- RemoveTagsRequest.struct_class = Types::RemoveTagsRequest
206
-
207
- SnapshotOptions.add_member(:automated_snapshot_start_hour, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "AutomatedSnapshotStartHour"))
208
- SnapshotOptions.struct_class = Types::SnapshotOptions
209
-
210
- SnapshotOptionsStatus.add_member(:options, Shapes::ShapeRef.new(shape: SnapshotOptions, required: true, location_name: "Options"))
211
- SnapshotOptionsStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, required: true, location_name: "Status"))
212
- SnapshotOptionsStatus.struct_class = Types::SnapshotOptionsStatus
213
-
214
- StringList.member = Shapes::ShapeRef.new(shape: String)
215
-
216
- Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
217
- Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
218
- Tag.struct_class = Types::Tag
219
-
220
- TagList.member = Shapes::ShapeRef.new(shape: Tag)
221
-
222
- UpdateElasticsearchDomainConfigRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
223
- UpdateElasticsearchDomainConfigRequest.add_member(:elasticsearch_cluster_config, Shapes::ShapeRef.new(shape: ElasticsearchClusterConfig, location_name: "ElasticsearchClusterConfig"))
224
- UpdateElasticsearchDomainConfigRequest.add_member(:ebs_options, Shapes::ShapeRef.new(shape: EBSOptions, location_name: "EBSOptions"))
225
- UpdateElasticsearchDomainConfigRequest.add_member(:snapshot_options, Shapes::ShapeRef.new(shape: SnapshotOptions, location_name: "SnapshotOptions"))
226
- UpdateElasticsearchDomainConfigRequest.add_member(:advanced_options, Shapes::ShapeRef.new(shape: AdvancedOptions, location_name: "AdvancedOptions"))
227
- UpdateElasticsearchDomainConfigRequest.add_member(:access_policies, Shapes::ShapeRef.new(shape: PolicyDocument, location_name: "AccessPolicies"))
228
- UpdateElasticsearchDomainConfigRequest.struct_class = Types::UpdateElasticsearchDomainConfigRequest
229
-
230
- UpdateElasticsearchDomainConfigResponse.add_member(:domain_config, Shapes::ShapeRef.new(shape: ElasticsearchDomainConfig, required: true, location_name: "DomainConfig"))
231
- UpdateElasticsearchDomainConfigResponse.struct_class = Types::UpdateElasticsearchDomainConfigResponse
232
-
233
-
234
- # @api private
235
- API = Seahorse::Model::Api.new.tap do |api|
236
-
237
- api.version = "2015-01-01"
238
-
239
- api.metadata = {
240
- "endpointPrefix" => "es",
241
- "protocol" => "rest-json",
242
- "serviceFullName" => "Amazon Elasticsearch Service",
243
- "signatureVersion" => "v4",
244
- }
245
-
246
- api.add_operation(:add_tags, Seahorse::Model::Operation.new.tap do |o|
247
- o.name = "AddTags"
248
- o.http_method = "POST"
249
- o.http_request_uri = "/2015-01-01/tags"
250
- o.input = Shapes::ShapeRef.new(shape: AddTagsRequest)
251
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
252
- o.errors << Shapes::ShapeRef.new(shape: BaseException)
253
- o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
254
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
255
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
256
- end)
257
-
258
- api.add_operation(:create_elasticsearch_domain, Seahorse::Model::Operation.new.tap do |o|
259
- o.name = "CreateElasticsearchDomain"
260
- o.http_method = "POST"
261
- o.http_request_uri = "/2015-01-01/es/domain"
262
- o.input = Shapes::ShapeRef.new(shape: CreateElasticsearchDomainRequest)
263
- o.output = Shapes::ShapeRef.new(shape: CreateElasticsearchDomainResponse)
264
- o.errors << Shapes::ShapeRef.new(shape: BaseException)
265
- o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
266
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
267
- o.errors << Shapes::ShapeRef.new(shape: InvalidTypeException)
268
- o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
269
- o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
270
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
271
- end)
272
-
273
- api.add_operation(:delete_elasticsearch_domain, Seahorse::Model::Operation.new.tap do |o|
274
- o.name = "DeleteElasticsearchDomain"
275
- o.http_method = "DELETE"
276
- o.http_request_uri = "/2015-01-01/es/domain/{DomainName}"
277
- o.input = Shapes::ShapeRef.new(shape: DeleteElasticsearchDomainRequest)
278
- o.output = Shapes::ShapeRef.new(shape: DeleteElasticsearchDomainResponse)
279
- o.errors << Shapes::ShapeRef.new(shape: BaseException)
280
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
281
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
282
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
283
- end)
284
-
285
- api.add_operation(:describe_elasticsearch_domain, Seahorse::Model::Operation.new.tap do |o|
286
- o.name = "DescribeElasticsearchDomain"
287
- o.http_method = "GET"
288
- o.http_request_uri = "/2015-01-01/es/domain/{DomainName}"
289
- o.input = Shapes::ShapeRef.new(shape: DescribeElasticsearchDomainRequest)
290
- o.output = Shapes::ShapeRef.new(shape: DescribeElasticsearchDomainResponse)
291
- o.errors << Shapes::ShapeRef.new(shape: BaseException)
292
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
293
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
294
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
295
- end)
296
-
297
- api.add_operation(:describe_elasticsearch_domain_config, Seahorse::Model::Operation.new.tap do |o|
298
- o.name = "DescribeElasticsearchDomainConfig"
299
- o.http_method = "GET"
300
- o.http_request_uri = "/2015-01-01/es/domain/{DomainName}/config"
301
- o.input = Shapes::ShapeRef.new(shape: DescribeElasticsearchDomainConfigRequest)
302
- o.output = Shapes::ShapeRef.new(shape: DescribeElasticsearchDomainConfigResponse)
303
- o.errors << Shapes::ShapeRef.new(shape: BaseException)
304
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
305
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
306
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
307
- end)
308
-
309
- api.add_operation(:describe_elasticsearch_domains, Seahorse::Model::Operation.new.tap do |o|
310
- o.name = "DescribeElasticsearchDomains"
311
- o.http_method = "POST"
312
- o.http_request_uri = "/2015-01-01/es/domain-info"
313
- o.input = Shapes::ShapeRef.new(shape: DescribeElasticsearchDomainsRequest)
314
- o.output = Shapes::ShapeRef.new(shape: DescribeElasticsearchDomainsResponse)
315
- o.errors << Shapes::ShapeRef.new(shape: BaseException)
316
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
317
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
318
- end)
319
-
320
- api.add_operation(:list_domain_names, Seahorse::Model::Operation.new.tap do |o|
321
- o.name = "ListDomainNames"
322
- o.http_method = "GET"
323
- o.http_request_uri = "/2015-01-01/domain"
324
- o.input = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
325
- o.output = Shapes::ShapeRef.new(shape: ListDomainNamesResponse)
326
- o.errors << Shapes::ShapeRef.new(shape: BaseException)
327
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
328
- end)
329
-
330
- api.add_operation(:list_tags, Seahorse::Model::Operation.new.tap do |o|
331
- o.name = "ListTags"
332
- o.http_method = "GET"
333
- o.http_request_uri = "/2015-01-01/tags/"
334
- o.input = Shapes::ShapeRef.new(shape: ListTagsRequest)
335
- o.output = Shapes::ShapeRef.new(shape: ListTagsResponse)
336
- o.errors << Shapes::ShapeRef.new(shape: BaseException)
337
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
338
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
339
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
340
- end)
341
-
342
- api.add_operation(:remove_tags, Seahorse::Model::Operation.new.tap do |o|
343
- o.name = "RemoveTags"
344
- o.http_method = "POST"
345
- o.http_request_uri = "/2015-01-01/tags-removal"
346
- o.input = Shapes::ShapeRef.new(shape: RemoveTagsRequest)
347
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
348
- o.errors << Shapes::ShapeRef.new(shape: BaseException)
349
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
350
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
351
- end)
352
-
353
- api.add_operation(:update_elasticsearch_domain_config, Seahorse::Model::Operation.new.tap do |o|
354
- o.name = "UpdateElasticsearchDomainConfig"
355
- o.http_method = "POST"
356
- o.http_request_uri = "/2015-01-01/es/domain/{DomainName}/config"
357
- o.input = Shapes::ShapeRef.new(shape: UpdateElasticsearchDomainConfigRequest)
358
- o.output = Shapes::ShapeRef.new(shape: UpdateElasticsearchDomainConfigResponse)
359
- o.errors << Shapes::ShapeRef.new(shape: BaseException)
360
- o.errors << Shapes::ShapeRef.new(shape: InternalException)
361
- o.errors << Shapes::ShapeRef.new(shape: InvalidTypeException)
362
- o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
363
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
364
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
365
- end)
366
- end
8
+ module Aws::ElasticsearchService
9
+ # @api private
10
+ module ClientApi
11
+
12
+ include Seahorse::Model
13
+
14
+ ARN = Shapes::StringShape.new(name: 'ARN')
15
+ AccessPoliciesStatus = Shapes::StructureShape.new(name: 'AccessPoliciesStatus')
16
+ AddTagsRequest = Shapes::StructureShape.new(name: 'AddTagsRequest')
17
+ AdditionalLimit = Shapes::StructureShape.new(name: 'AdditionalLimit')
18
+ AdditionalLimitList = Shapes::ListShape.new(name: 'AdditionalLimitList')
19
+ AdvancedOptions = Shapes::MapShape.new(name: 'AdvancedOptions')
20
+ AdvancedOptionsStatus = Shapes::StructureShape.new(name: 'AdvancedOptionsStatus')
21
+ BaseException = Shapes::StructureShape.new(name: 'BaseException')
22
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
23
+ CreateElasticsearchDomainRequest = Shapes::StructureShape.new(name: 'CreateElasticsearchDomainRequest')
24
+ CreateElasticsearchDomainResponse = Shapes::StructureShape.new(name: 'CreateElasticsearchDomainResponse')
25
+ DeleteElasticsearchDomainRequest = Shapes::StructureShape.new(name: 'DeleteElasticsearchDomainRequest')
26
+ DeleteElasticsearchDomainResponse = Shapes::StructureShape.new(name: 'DeleteElasticsearchDomainResponse')
27
+ DescribeElasticsearchDomainConfigRequest = Shapes::StructureShape.new(name: 'DescribeElasticsearchDomainConfigRequest')
28
+ DescribeElasticsearchDomainConfigResponse = Shapes::StructureShape.new(name: 'DescribeElasticsearchDomainConfigResponse')
29
+ DescribeElasticsearchDomainRequest = Shapes::StructureShape.new(name: 'DescribeElasticsearchDomainRequest')
30
+ DescribeElasticsearchDomainResponse = Shapes::StructureShape.new(name: 'DescribeElasticsearchDomainResponse')
31
+ DescribeElasticsearchDomainsRequest = Shapes::StructureShape.new(name: 'DescribeElasticsearchDomainsRequest')
32
+ DescribeElasticsearchDomainsResponse = Shapes::StructureShape.new(name: 'DescribeElasticsearchDomainsResponse')
33
+ DescribeElasticsearchInstanceTypeLimitsRequest = Shapes::StructureShape.new(name: 'DescribeElasticsearchInstanceTypeLimitsRequest')
34
+ DescribeElasticsearchInstanceTypeLimitsResponse = Shapes::StructureShape.new(name: 'DescribeElasticsearchInstanceTypeLimitsResponse')
35
+ DisabledOperationException = Shapes::StructureShape.new(name: 'DisabledOperationException')
36
+ DomainId = Shapes::StringShape.new(name: 'DomainId')
37
+ DomainInfo = Shapes::StructureShape.new(name: 'DomainInfo')
38
+ DomainInfoList = Shapes::ListShape.new(name: 'DomainInfoList')
39
+ DomainName = Shapes::StringShape.new(name: 'DomainName')
40
+ DomainNameList = Shapes::ListShape.new(name: 'DomainNameList')
41
+ EBSOptions = Shapes::StructureShape.new(name: 'EBSOptions')
42
+ EBSOptionsStatus = Shapes::StructureShape.new(name: 'EBSOptionsStatus')
43
+ ESPartitionInstanceType = Shapes::StringShape.new(name: 'ESPartitionInstanceType')
44
+ ElasticsearchClusterConfig = Shapes::StructureShape.new(name: 'ElasticsearchClusterConfig')
45
+ ElasticsearchClusterConfigStatus = Shapes::StructureShape.new(name: 'ElasticsearchClusterConfigStatus')
46
+ ElasticsearchDomainConfig = Shapes::StructureShape.new(name: 'ElasticsearchDomainConfig')
47
+ ElasticsearchDomainStatus = Shapes::StructureShape.new(name: 'ElasticsearchDomainStatus')
48
+ ElasticsearchDomainStatusList = Shapes::ListShape.new(name: 'ElasticsearchDomainStatusList')
49
+ ElasticsearchInstanceTypeList = Shapes::ListShape.new(name: 'ElasticsearchInstanceTypeList')
50
+ ElasticsearchVersionList = Shapes::ListShape.new(name: 'ElasticsearchVersionList')
51
+ ElasticsearchVersionStatus = Shapes::StructureShape.new(name: 'ElasticsearchVersionStatus')
52
+ ElasticsearchVersionString = Shapes::StringShape.new(name: 'ElasticsearchVersionString')
53
+ ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
54
+ InstanceCountLimits = Shapes::StructureShape.new(name: 'InstanceCountLimits')
55
+ InstanceLimits = Shapes::StructureShape.new(name: 'InstanceLimits')
56
+ InstanceRole = Shapes::StringShape.new(name: 'InstanceRole')
57
+ IntegerClass = Shapes::IntegerShape.new(name: 'IntegerClass')
58
+ InternalException = Shapes::StructureShape.new(name: 'InternalException')
59
+ InvalidTypeException = Shapes::StructureShape.new(name: 'InvalidTypeException')
60
+ LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
61
+ LimitName = Shapes::StringShape.new(name: 'LimitName')
62
+ LimitValue = Shapes::StringShape.new(name: 'LimitValue')
63
+ LimitValueList = Shapes::ListShape.new(name: 'LimitValueList')
64
+ Limits = Shapes::StructureShape.new(name: 'Limits')
65
+ LimitsByRole = Shapes::MapShape.new(name: 'LimitsByRole')
66
+ ListDomainNamesResponse = Shapes::StructureShape.new(name: 'ListDomainNamesResponse')
67
+ ListElasticsearchInstanceTypesRequest = Shapes::StructureShape.new(name: 'ListElasticsearchInstanceTypesRequest')
68
+ ListElasticsearchInstanceTypesResponse = Shapes::StructureShape.new(name: 'ListElasticsearchInstanceTypesResponse')
69
+ ListElasticsearchVersionsRequest = Shapes::StructureShape.new(name: 'ListElasticsearchVersionsRequest')
70
+ ListElasticsearchVersionsResponse = Shapes::StructureShape.new(name: 'ListElasticsearchVersionsResponse')
71
+ ListTagsRequest = Shapes::StructureShape.new(name: 'ListTagsRequest')
72
+ ListTagsResponse = Shapes::StructureShape.new(name: 'ListTagsResponse')
73
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
74
+ MaximumInstanceCount = Shapes::IntegerShape.new(name: 'MaximumInstanceCount')
75
+ MinimumInstanceCount = Shapes::IntegerShape.new(name: 'MinimumInstanceCount')
76
+ NextToken = Shapes::StringShape.new(name: 'NextToken')
77
+ OptionState = Shapes::StringShape.new(name: 'OptionState')
78
+ OptionStatus = Shapes::StructureShape.new(name: 'OptionStatus')
79
+ PolicyDocument = Shapes::StringShape.new(name: 'PolicyDocument')
80
+ RemoveTagsRequest = Shapes::StructureShape.new(name: 'RemoveTagsRequest')
81
+ ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
82
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
83
+ ServiceUrl = Shapes::StringShape.new(name: 'ServiceUrl')
84
+ SnapshotOptions = Shapes::StructureShape.new(name: 'SnapshotOptions')
85
+ SnapshotOptionsStatus = Shapes::StructureShape.new(name: 'SnapshotOptionsStatus')
86
+ StorageSubTypeName = Shapes::StringShape.new(name: 'StorageSubTypeName')
87
+ StorageType = Shapes::StructureShape.new(name: 'StorageType')
88
+ StorageTypeLimit = Shapes::StructureShape.new(name: 'StorageTypeLimit')
89
+ StorageTypeLimitList = Shapes::ListShape.new(name: 'StorageTypeLimitList')
90
+ StorageTypeList = Shapes::ListShape.new(name: 'StorageTypeList')
91
+ StorageTypeName = Shapes::StringShape.new(name: 'StorageTypeName')
92
+ String = Shapes::StringShape.new(name: 'String')
93
+ StringList = Shapes::ListShape.new(name: 'StringList')
94
+ Tag = Shapes::StructureShape.new(name: 'Tag')
95
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
96
+ TagList = Shapes::ListShape.new(name: 'TagList')
97
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
98
+ UIntValue = Shapes::IntegerShape.new(name: 'UIntValue')
99
+ UpdateElasticsearchDomainConfigRequest = Shapes::StructureShape.new(name: 'UpdateElasticsearchDomainConfigRequest')
100
+ UpdateElasticsearchDomainConfigResponse = Shapes::StructureShape.new(name: 'UpdateElasticsearchDomainConfigResponse')
101
+ UpdateTimestamp = Shapes::TimestampShape.new(name: 'UpdateTimestamp')
102
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
103
+ VolumeType = Shapes::StringShape.new(name: 'VolumeType')
104
+
105
+ AccessPoliciesStatus.add_member(:options, Shapes::ShapeRef.new(shape: PolicyDocument, required: true, location_name: "Options"))
106
+ AccessPoliciesStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, required: true, location_name: "Status"))
107
+ AccessPoliciesStatus.struct_class = Types::AccessPoliciesStatus
108
+
109
+ AddTagsRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "ARN"))
110
+ AddTagsRequest.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "TagList"))
111
+ AddTagsRequest.struct_class = Types::AddTagsRequest
112
+
113
+ AdditionalLimit.add_member(:limit_name, Shapes::ShapeRef.new(shape: LimitName, location_name: "LimitName"))
114
+ AdditionalLimit.add_member(:limit_values, Shapes::ShapeRef.new(shape: LimitValueList, location_name: "LimitValues"))
115
+ AdditionalLimit.struct_class = Types::AdditionalLimit
116
+
117
+ AdditionalLimitList.member = Shapes::ShapeRef.new(shape: AdditionalLimit)
118
+
119
+ AdvancedOptions.key = Shapes::ShapeRef.new(shape: String)
120
+ AdvancedOptions.value = Shapes::ShapeRef.new(shape: String)
121
+
122
+ AdvancedOptionsStatus.add_member(:options, Shapes::ShapeRef.new(shape: AdvancedOptions, required: true, location_name: "Options"))
123
+ AdvancedOptionsStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, required: true, location_name: "Status"))
124
+ AdvancedOptionsStatus.struct_class = Types::AdvancedOptionsStatus
125
+
126
+ CreateElasticsearchDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
127
+ CreateElasticsearchDomainRequest.add_member(:elasticsearch_version, Shapes::ShapeRef.new(shape: ElasticsearchVersionString, location_name: "ElasticsearchVersion"))
128
+ CreateElasticsearchDomainRequest.add_member(:elasticsearch_cluster_config, Shapes::ShapeRef.new(shape: ElasticsearchClusterConfig, location_name: "ElasticsearchClusterConfig"))
129
+ CreateElasticsearchDomainRequest.add_member(:ebs_options, Shapes::ShapeRef.new(shape: EBSOptions, location_name: "EBSOptions"))
130
+ CreateElasticsearchDomainRequest.add_member(:access_policies, Shapes::ShapeRef.new(shape: PolicyDocument, location_name: "AccessPolicies"))
131
+ CreateElasticsearchDomainRequest.add_member(:snapshot_options, Shapes::ShapeRef.new(shape: SnapshotOptions, location_name: "SnapshotOptions"))
132
+ CreateElasticsearchDomainRequest.add_member(:advanced_options, Shapes::ShapeRef.new(shape: AdvancedOptions, location_name: "AdvancedOptions"))
133
+ CreateElasticsearchDomainRequest.struct_class = Types::CreateElasticsearchDomainRequest
134
+
135
+ CreateElasticsearchDomainResponse.add_member(:domain_status, Shapes::ShapeRef.new(shape: ElasticsearchDomainStatus, location_name: "DomainStatus"))
136
+ CreateElasticsearchDomainResponse.struct_class = Types::CreateElasticsearchDomainResponse
137
+
138
+ DeleteElasticsearchDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
139
+ DeleteElasticsearchDomainRequest.struct_class = Types::DeleteElasticsearchDomainRequest
140
+
141
+ DeleteElasticsearchDomainResponse.add_member(:domain_status, Shapes::ShapeRef.new(shape: ElasticsearchDomainStatus, location_name: "DomainStatus"))
142
+ DeleteElasticsearchDomainResponse.struct_class = Types::DeleteElasticsearchDomainResponse
143
+
144
+ DescribeElasticsearchDomainConfigRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
145
+ DescribeElasticsearchDomainConfigRequest.struct_class = Types::DescribeElasticsearchDomainConfigRequest
146
+
147
+ DescribeElasticsearchDomainConfigResponse.add_member(:domain_config, Shapes::ShapeRef.new(shape: ElasticsearchDomainConfig, required: true, location_name: "DomainConfig"))
148
+ DescribeElasticsearchDomainConfigResponse.struct_class = Types::DescribeElasticsearchDomainConfigResponse
149
+
150
+ DescribeElasticsearchDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
151
+ DescribeElasticsearchDomainRequest.struct_class = Types::DescribeElasticsearchDomainRequest
152
+
153
+ DescribeElasticsearchDomainResponse.add_member(:domain_status, Shapes::ShapeRef.new(shape: ElasticsearchDomainStatus, required: true, location_name: "DomainStatus"))
154
+ DescribeElasticsearchDomainResponse.struct_class = Types::DescribeElasticsearchDomainResponse
155
+
156
+ DescribeElasticsearchDomainsRequest.add_member(:domain_names, Shapes::ShapeRef.new(shape: DomainNameList, required: true, location_name: "DomainNames"))
157
+ DescribeElasticsearchDomainsRequest.struct_class = Types::DescribeElasticsearchDomainsRequest
158
+
159
+ DescribeElasticsearchDomainsResponse.add_member(:domain_status_list, Shapes::ShapeRef.new(shape: ElasticsearchDomainStatusList, required: true, location_name: "DomainStatusList"))
160
+ DescribeElasticsearchDomainsResponse.struct_class = Types::DescribeElasticsearchDomainsResponse
161
+
162
+ DescribeElasticsearchInstanceTypeLimitsRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location: "querystring", location_name: "domainName"))
163
+ DescribeElasticsearchInstanceTypeLimitsRequest.add_member(:instance_type, Shapes::ShapeRef.new(shape: ESPartitionInstanceType, required: true, location: "uri", location_name: "InstanceType"))
164
+ DescribeElasticsearchInstanceTypeLimitsRequest.add_member(:elasticsearch_version, Shapes::ShapeRef.new(shape: ElasticsearchVersionString, required: true, location: "uri", location_name: "ElasticsearchVersion"))
165
+ DescribeElasticsearchInstanceTypeLimitsRequest.struct_class = Types::DescribeElasticsearchInstanceTypeLimitsRequest
166
+
167
+ DescribeElasticsearchInstanceTypeLimitsResponse.add_member(:limits_by_role, Shapes::ShapeRef.new(shape: LimitsByRole, location_name: "LimitsByRole"))
168
+ DescribeElasticsearchInstanceTypeLimitsResponse.struct_class = Types::DescribeElasticsearchInstanceTypeLimitsResponse
169
+
170
+ DomainInfo.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "DomainName"))
171
+ DomainInfo.struct_class = Types::DomainInfo
172
+
173
+ DomainInfoList.member = Shapes::ShapeRef.new(shape: DomainInfo)
174
+
175
+ DomainNameList.member = Shapes::ShapeRef.new(shape: DomainName)
176
+
177
+ EBSOptions.add_member(:ebs_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "EBSEnabled"))
178
+ EBSOptions.add_member(:volume_type, Shapes::ShapeRef.new(shape: VolumeType, location_name: "VolumeType"))
179
+ EBSOptions.add_member(:volume_size, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "VolumeSize"))
180
+ EBSOptions.add_member(:iops, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "Iops"))
181
+ EBSOptions.struct_class = Types::EBSOptions
182
+
183
+ EBSOptionsStatus.add_member(:options, Shapes::ShapeRef.new(shape: EBSOptions, required: true, location_name: "Options"))
184
+ EBSOptionsStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, required: true, location_name: "Status"))
185
+ EBSOptionsStatus.struct_class = Types::EBSOptionsStatus
186
+
187
+ ElasticsearchClusterConfig.add_member(:instance_type, Shapes::ShapeRef.new(shape: ESPartitionInstanceType, location_name: "InstanceType"))
188
+ ElasticsearchClusterConfig.add_member(:instance_count, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "InstanceCount"))
189
+ ElasticsearchClusterConfig.add_member(:dedicated_master_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "DedicatedMasterEnabled"))
190
+ ElasticsearchClusterConfig.add_member(:zone_awareness_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "ZoneAwarenessEnabled"))
191
+ ElasticsearchClusterConfig.add_member(:dedicated_master_type, Shapes::ShapeRef.new(shape: ESPartitionInstanceType, location_name: "DedicatedMasterType"))
192
+ ElasticsearchClusterConfig.add_member(:dedicated_master_count, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "DedicatedMasterCount"))
193
+ ElasticsearchClusterConfig.struct_class = Types::ElasticsearchClusterConfig
194
+
195
+ ElasticsearchClusterConfigStatus.add_member(:options, Shapes::ShapeRef.new(shape: ElasticsearchClusterConfig, required: true, location_name: "Options"))
196
+ ElasticsearchClusterConfigStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, required: true, location_name: "Status"))
197
+ ElasticsearchClusterConfigStatus.struct_class = Types::ElasticsearchClusterConfigStatus
198
+
199
+ ElasticsearchDomainConfig.add_member(:elasticsearch_version, Shapes::ShapeRef.new(shape: ElasticsearchVersionStatus, location_name: "ElasticsearchVersion"))
200
+ ElasticsearchDomainConfig.add_member(:elasticsearch_cluster_config, Shapes::ShapeRef.new(shape: ElasticsearchClusterConfigStatus, location_name: "ElasticsearchClusterConfig"))
201
+ ElasticsearchDomainConfig.add_member(:ebs_options, Shapes::ShapeRef.new(shape: EBSOptionsStatus, location_name: "EBSOptions"))
202
+ ElasticsearchDomainConfig.add_member(:access_policies, Shapes::ShapeRef.new(shape: AccessPoliciesStatus, location_name: "AccessPolicies"))
203
+ ElasticsearchDomainConfig.add_member(:snapshot_options, Shapes::ShapeRef.new(shape: SnapshotOptionsStatus, location_name: "SnapshotOptions"))
204
+ ElasticsearchDomainConfig.add_member(:advanced_options, Shapes::ShapeRef.new(shape: AdvancedOptionsStatus, location_name: "AdvancedOptions"))
205
+ ElasticsearchDomainConfig.struct_class = Types::ElasticsearchDomainConfig
206
+
207
+ ElasticsearchDomainStatus.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId"))
208
+ ElasticsearchDomainStatus.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
209
+ ElasticsearchDomainStatus.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "ARN"))
210
+ ElasticsearchDomainStatus.add_member(:created, Shapes::ShapeRef.new(shape: Boolean, location_name: "Created"))
211
+ ElasticsearchDomainStatus.add_member(:deleted, Shapes::ShapeRef.new(shape: Boolean, location_name: "Deleted"))
212
+ ElasticsearchDomainStatus.add_member(:endpoint, Shapes::ShapeRef.new(shape: ServiceUrl, location_name: "Endpoint"))
213
+ ElasticsearchDomainStatus.add_member(:processing, Shapes::ShapeRef.new(shape: Boolean, location_name: "Processing"))
214
+ ElasticsearchDomainStatus.add_member(:elasticsearch_version, Shapes::ShapeRef.new(shape: ElasticsearchVersionString, location_name: "ElasticsearchVersion"))
215
+ ElasticsearchDomainStatus.add_member(:elasticsearch_cluster_config, Shapes::ShapeRef.new(shape: ElasticsearchClusterConfig, required: true, location_name: "ElasticsearchClusterConfig"))
216
+ ElasticsearchDomainStatus.add_member(:ebs_options, Shapes::ShapeRef.new(shape: EBSOptions, location_name: "EBSOptions"))
217
+ ElasticsearchDomainStatus.add_member(:access_policies, Shapes::ShapeRef.new(shape: PolicyDocument, location_name: "AccessPolicies"))
218
+ ElasticsearchDomainStatus.add_member(:snapshot_options, Shapes::ShapeRef.new(shape: SnapshotOptions, location_name: "SnapshotOptions"))
219
+ ElasticsearchDomainStatus.add_member(:advanced_options, Shapes::ShapeRef.new(shape: AdvancedOptions, location_name: "AdvancedOptions"))
220
+ ElasticsearchDomainStatus.struct_class = Types::ElasticsearchDomainStatus
221
+
222
+ ElasticsearchDomainStatusList.member = Shapes::ShapeRef.new(shape: ElasticsearchDomainStatus)
223
+
224
+ ElasticsearchInstanceTypeList.member = Shapes::ShapeRef.new(shape: ESPartitionInstanceType)
225
+
226
+ ElasticsearchVersionList.member = Shapes::ShapeRef.new(shape: ElasticsearchVersionString)
227
+
228
+ ElasticsearchVersionStatus.add_member(:options, Shapes::ShapeRef.new(shape: ElasticsearchVersionString, required: true, location_name: "Options"))
229
+ ElasticsearchVersionStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, required: true, location_name: "Status"))
230
+ ElasticsearchVersionStatus.struct_class = Types::ElasticsearchVersionStatus
231
+
232
+ InstanceCountLimits.add_member(:minimum_instance_count, Shapes::ShapeRef.new(shape: MinimumInstanceCount, location_name: "MinimumInstanceCount"))
233
+ InstanceCountLimits.add_member(:maximum_instance_count, Shapes::ShapeRef.new(shape: MaximumInstanceCount, location_name: "MaximumInstanceCount"))
234
+ InstanceCountLimits.struct_class = Types::InstanceCountLimits
235
+
236
+ InstanceLimits.add_member(:instance_count_limits, Shapes::ShapeRef.new(shape: InstanceCountLimits, location_name: "InstanceCountLimits"))
237
+ InstanceLimits.struct_class = Types::InstanceLimits
238
+
239
+ LimitValueList.member = Shapes::ShapeRef.new(shape: LimitValue)
240
+
241
+ Limits.add_member(:storage_types, Shapes::ShapeRef.new(shape: StorageTypeList, location_name: "StorageTypes"))
242
+ Limits.add_member(:instance_limits, Shapes::ShapeRef.new(shape: InstanceLimits, location_name: "InstanceLimits"))
243
+ Limits.add_member(:additional_limits, Shapes::ShapeRef.new(shape: AdditionalLimitList, location_name: "AdditionalLimits"))
244
+ Limits.struct_class = Types::Limits
245
+
246
+ LimitsByRole.key = Shapes::ShapeRef.new(shape: InstanceRole)
247
+ LimitsByRole.value = Shapes::ShapeRef.new(shape: Limits)
248
+
249
+ ListDomainNamesResponse.add_member(:domain_names, Shapes::ShapeRef.new(shape: DomainInfoList, location_name: "DomainNames"))
250
+ ListDomainNamesResponse.struct_class = Types::ListDomainNamesResponse
251
+
252
+ ListElasticsearchInstanceTypesRequest.add_member(:elasticsearch_version, Shapes::ShapeRef.new(shape: ElasticsearchVersionString, required: true, location: "uri", location_name: "ElasticsearchVersion"))
253
+ ListElasticsearchInstanceTypesRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location: "querystring", location_name: "domainName"))
254
+ ListElasticsearchInstanceTypesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
255
+ ListElasticsearchInstanceTypesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
256
+ ListElasticsearchInstanceTypesRequest.struct_class = Types::ListElasticsearchInstanceTypesRequest
257
+
258
+ ListElasticsearchInstanceTypesResponse.add_member(:elasticsearch_instance_types, Shapes::ShapeRef.new(shape: ElasticsearchInstanceTypeList, location_name: "ElasticsearchInstanceTypes"))
259
+ ListElasticsearchInstanceTypesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
260
+ ListElasticsearchInstanceTypesResponse.struct_class = Types::ListElasticsearchInstanceTypesResponse
261
+
262
+ ListElasticsearchVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
263
+ ListElasticsearchVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
264
+ ListElasticsearchVersionsRequest.struct_class = Types::ListElasticsearchVersionsRequest
265
+
266
+ ListElasticsearchVersionsResponse.add_member(:elasticsearch_versions, Shapes::ShapeRef.new(shape: ElasticsearchVersionList, location_name: "ElasticsearchVersions"))
267
+ ListElasticsearchVersionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
268
+ ListElasticsearchVersionsResponse.struct_class = Types::ListElasticsearchVersionsResponse
269
+
270
+ ListTagsRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "querystring", location_name: "arn"))
271
+ ListTagsRequest.struct_class = Types::ListTagsRequest
367
272
 
273
+ ListTagsResponse.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
274
+ ListTagsResponse.struct_class = Types::ListTagsResponse
275
+
276
+ OptionStatus.add_member(:creation_date, Shapes::ShapeRef.new(shape: UpdateTimestamp, required: true, location_name: "CreationDate"))
277
+ OptionStatus.add_member(:update_date, Shapes::ShapeRef.new(shape: UpdateTimestamp, required: true, location_name: "UpdateDate"))
278
+ OptionStatus.add_member(:update_version, Shapes::ShapeRef.new(shape: UIntValue, location_name: "UpdateVersion"))
279
+ OptionStatus.add_member(:state, Shapes::ShapeRef.new(shape: OptionState, required: true, location_name: "State"))
280
+ OptionStatus.add_member(:pending_deletion, Shapes::ShapeRef.new(shape: Boolean, location_name: "PendingDeletion"))
281
+ OptionStatus.struct_class = Types::OptionStatus
282
+
283
+ RemoveTagsRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "ARN"))
284
+ RemoveTagsRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "TagKeys"))
285
+ RemoveTagsRequest.struct_class = Types::RemoveTagsRequest
286
+
287
+ SnapshotOptions.add_member(:automated_snapshot_start_hour, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "AutomatedSnapshotStartHour"))
288
+ SnapshotOptions.struct_class = Types::SnapshotOptions
289
+
290
+ SnapshotOptionsStatus.add_member(:options, Shapes::ShapeRef.new(shape: SnapshotOptions, required: true, location_name: "Options"))
291
+ SnapshotOptionsStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, required: true, location_name: "Status"))
292
+ SnapshotOptionsStatus.struct_class = Types::SnapshotOptionsStatus
293
+
294
+ StorageType.add_member(:storage_type_name, Shapes::ShapeRef.new(shape: StorageTypeName, location_name: "StorageTypeName"))
295
+ StorageType.add_member(:storage_sub_type_name, Shapes::ShapeRef.new(shape: StorageSubTypeName, location_name: "StorageSubTypeName"))
296
+ StorageType.add_member(:storage_type_limits, Shapes::ShapeRef.new(shape: StorageTypeLimitList, location_name: "StorageTypeLimits"))
297
+ StorageType.struct_class = Types::StorageType
298
+
299
+ StorageTypeLimit.add_member(:limit_name, Shapes::ShapeRef.new(shape: LimitName, location_name: "LimitName"))
300
+ StorageTypeLimit.add_member(:limit_values, Shapes::ShapeRef.new(shape: LimitValueList, location_name: "LimitValues"))
301
+ StorageTypeLimit.struct_class = Types::StorageTypeLimit
302
+
303
+ StorageTypeLimitList.member = Shapes::ShapeRef.new(shape: StorageTypeLimit)
304
+
305
+ StorageTypeList.member = Shapes::ShapeRef.new(shape: StorageType)
306
+
307
+ StringList.member = Shapes::ShapeRef.new(shape: String)
308
+
309
+ Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
310
+ Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
311
+ Tag.struct_class = Types::Tag
312
+
313
+ TagList.member = Shapes::ShapeRef.new(shape: Tag)
314
+
315
+ UpdateElasticsearchDomainConfigRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
316
+ UpdateElasticsearchDomainConfigRequest.add_member(:elasticsearch_cluster_config, Shapes::ShapeRef.new(shape: ElasticsearchClusterConfig, location_name: "ElasticsearchClusterConfig"))
317
+ UpdateElasticsearchDomainConfigRequest.add_member(:ebs_options, Shapes::ShapeRef.new(shape: EBSOptions, location_name: "EBSOptions"))
318
+ UpdateElasticsearchDomainConfigRequest.add_member(:snapshot_options, Shapes::ShapeRef.new(shape: SnapshotOptions, location_name: "SnapshotOptions"))
319
+ UpdateElasticsearchDomainConfigRequest.add_member(:advanced_options, Shapes::ShapeRef.new(shape: AdvancedOptions, location_name: "AdvancedOptions"))
320
+ UpdateElasticsearchDomainConfigRequest.add_member(:access_policies, Shapes::ShapeRef.new(shape: PolicyDocument, location_name: "AccessPolicies"))
321
+ UpdateElasticsearchDomainConfigRequest.struct_class = Types::UpdateElasticsearchDomainConfigRequest
322
+
323
+ UpdateElasticsearchDomainConfigResponse.add_member(:domain_config, Shapes::ShapeRef.new(shape: ElasticsearchDomainConfig, required: true, location_name: "DomainConfig"))
324
+ UpdateElasticsearchDomainConfigResponse.struct_class = Types::UpdateElasticsearchDomainConfigResponse
325
+
326
+
327
+ # @api private
328
+ API = Seahorse::Model::Api.new.tap do |api|
329
+
330
+ api.version = "2015-01-01"
331
+
332
+ api.metadata = {
333
+ "endpointPrefix" => "es",
334
+ "protocol" => "rest-json",
335
+ "serviceFullName" => "Amazon Elasticsearch Service",
336
+ "signatureVersion" => "v4",
337
+ }
338
+
339
+ api.add_operation(:add_tags, Seahorse::Model::Operation.new.tap do |o|
340
+ o.name = "AddTags"
341
+ o.http_method = "POST"
342
+ o.http_request_uri = "/2015-01-01/tags"
343
+ o.input = Shapes::ShapeRef.new(shape: AddTagsRequest)
344
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
345
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
346
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
347
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
348
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
349
+ end)
350
+
351
+ api.add_operation(:create_elasticsearch_domain, Seahorse::Model::Operation.new.tap do |o|
352
+ o.name = "CreateElasticsearchDomain"
353
+ o.http_method = "POST"
354
+ o.http_request_uri = "/2015-01-01/es/domain"
355
+ o.input = Shapes::ShapeRef.new(shape: CreateElasticsearchDomainRequest)
356
+ o.output = Shapes::ShapeRef.new(shape: CreateElasticsearchDomainResponse)
357
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
358
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
359
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
360
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTypeException)
361
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
362
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
363
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
364
+ end)
365
+
366
+ api.add_operation(:delete_elasticsearch_domain, Seahorse::Model::Operation.new.tap do |o|
367
+ o.name = "DeleteElasticsearchDomain"
368
+ o.http_method = "DELETE"
369
+ o.http_request_uri = "/2015-01-01/es/domain/{DomainName}"
370
+ o.input = Shapes::ShapeRef.new(shape: DeleteElasticsearchDomainRequest)
371
+ o.output = Shapes::ShapeRef.new(shape: DeleteElasticsearchDomainResponse)
372
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
373
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
374
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
375
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
376
+ end)
377
+
378
+ api.add_operation(:describe_elasticsearch_domain, Seahorse::Model::Operation.new.tap do |o|
379
+ o.name = "DescribeElasticsearchDomain"
380
+ o.http_method = "GET"
381
+ o.http_request_uri = "/2015-01-01/es/domain/{DomainName}"
382
+ o.input = Shapes::ShapeRef.new(shape: DescribeElasticsearchDomainRequest)
383
+ o.output = Shapes::ShapeRef.new(shape: DescribeElasticsearchDomainResponse)
384
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
385
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
386
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
387
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
388
+ end)
389
+
390
+ api.add_operation(:describe_elasticsearch_domain_config, Seahorse::Model::Operation.new.tap do |o|
391
+ o.name = "DescribeElasticsearchDomainConfig"
392
+ o.http_method = "GET"
393
+ o.http_request_uri = "/2015-01-01/es/domain/{DomainName}/config"
394
+ o.input = Shapes::ShapeRef.new(shape: DescribeElasticsearchDomainConfigRequest)
395
+ o.output = Shapes::ShapeRef.new(shape: DescribeElasticsearchDomainConfigResponse)
396
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
397
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
398
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
399
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
400
+ end)
401
+
402
+ api.add_operation(:describe_elasticsearch_domains, Seahorse::Model::Operation.new.tap do |o|
403
+ o.name = "DescribeElasticsearchDomains"
404
+ o.http_method = "POST"
405
+ o.http_request_uri = "/2015-01-01/es/domain-info"
406
+ o.input = Shapes::ShapeRef.new(shape: DescribeElasticsearchDomainsRequest)
407
+ o.output = Shapes::ShapeRef.new(shape: DescribeElasticsearchDomainsResponse)
408
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
409
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
410
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
411
+ end)
412
+
413
+ api.add_operation(:describe_elasticsearch_instance_type_limits, Seahorse::Model::Operation.new.tap do |o|
414
+ o.name = "DescribeElasticsearchInstanceTypeLimits"
415
+ o.http_method = "GET"
416
+ o.http_request_uri = "/2015-01-01/es/instanceTypeLimits/{ElasticsearchVersion}/{InstanceType}"
417
+ o.input = Shapes::ShapeRef.new(shape: DescribeElasticsearchInstanceTypeLimitsRequest)
418
+ o.output = Shapes::ShapeRef.new(shape: DescribeElasticsearchInstanceTypeLimitsResponse)
419
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
420
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
421
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTypeException)
422
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
423
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
424
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
425
+ end)
426
+
427
+ api.add_operation(:list_domain_names, Seahorse::Model::Operation.new.tap do |o|
428
+ o.name = "ListDomainNames"
429
+ o.http_method = "GET"
430
+ o.http_request_uri = "/2015-01-01/domain"
431
+ o.input = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
432
+ o.output = Shapes::ShapeRef.new(shape: ListDomainNamesResponse)
433
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
434
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
435
+ end)
436
+
437
+ api.add_operation(:list_elasticsearch_instance_types, Seahorse::Model::Operation.new.tap do |o|
438
+ o.name = "ListElasticsearchInstanceTypes"
439
+ o.http_method = "GET"
440
+ o.http_request_uri = "/2015-01-01/es/instanceTypes/{ElasticsearchVersion}"
441
+ o.input = Shapes::ShapeRef.new(shape: ListElasticsearchInstanceTypesRequest)
442
+ o.output = Shapes::ShapeRef.new(shape: ListElasticsearchInstanceTypesResponse)
443
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
444
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
445
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
446
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
447
+ o[:pager] = Aws::Pager.new(
448
+ limit_key: "max_results",
449
+ tokens: {
450
+ "next_token" => "next_token"
451
+ }
452
+ )
453
+ end)
454
+
455
+ api.add_operation(:list_elasticsearch_versions, Seahorse::Model::Operation.new.tap do |o|
456
+ o.name = "ListElasticsearchVersions"
457
+ o.http_method = "GET"
458
+ o.http_request_uri = "/2015-01-01/es/versions"
459
+ o.input = Shapes::ShapeRef.new(shape: ListElasticsearchVersionsRequest)
460
+ o.output = Shapes::ShapeRef.new(shape: ListElasticsearchVersionsResponse)
461
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
462
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
463
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
464
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
465
+ o[:pager] = Aws::Pager.new(
466
+ limit_key: "max_results",
467
+ tokens: {
468
+ "next_token" => "next_token"
469
+ }
470
+ )
471
+ end)
472
+
473
+ api.add_operation(:list_tags, Seahorse::Model::Operation.new.tap do |o|
474
+ o.name = "ListTags"
475
+ o.http_method = "GET"
476
+ o.http_request_uri = "/2015-01-01/tags/"
477
+ o.input = Shapes::ShapeRef.new(shape: ListTagsRequest)
478
+ o.output = Shapes::ShapeRef.new(shape: ListTagsResponse)
479
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
480
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
481
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
482
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
483
+ end)
484
+
485
+ api.add_operation(:remove_tags, Seahorse::Model::Operation.new.tap do |o|
486
+ o.name = "RemoveTags"
487
+ o.http_method = "POST"
488
+ o.http_request_uri = "/2015-01-01/tags-removal"
489
+ o.input = Shapes::ShapeRef.new(shape: RemoveTagsRequest)
490
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
491
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
492
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
493
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
494
+ end)
495
+
496
+ api.add_operation(:update_elasticsearch_domain_config, Seahorse::Model::Operation.new.tap do |o|
497
+ o.name = "UpdateElasticsearchDomainConfig"
498
+ o.http_method = "POST"
499
+ o.http_request_uri = "/2015-01-01/es/domain/{DomainName}/config"
500
+ o.input = Shapes::ShapeRef.new(shape: UpdateElasticsearchDomainConfigRequest)
501
+ o.output = Shapes::ShapeRef.new(shape: UpdateElasticsearchDomainConfigResponse)
502
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
503
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
504
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTypeException)
505
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
506
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
507
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
508
+ end)
368
509
  end
510
+
369
511
  end
370
512
  end