aws-sdk-simpledb 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,440 +1,318 @@
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 SimpleDB
10
- # @api private
11
- module ClientApi
12
-
13
- include Seahorse::Model
14
-
15
- Attribute = Shapes::StructureShape.new(name: 'Attribute')
16
- AttributeDoesNotExist = Shapes::StructureShape.new(name: 'AttributeDoesNotExist')
17
- AttributeList = Shapes::ListShape.new(name: 'AttributeList', flattened: true)
18
- AttributeNameList = Shapes::ListShape.new(name: 'AttributeNameList', flattened: true)
19
- BatchDeleteAttributesRequest = Shapes::StructureShape.new(name: 'BatchDeleteAttributesRequest')
20
- BatchPutAttributesRequest = Shapes::StructureShape.new(name: 'BatchPutAttributesRequest')
21
- Boolean = Shapes::BooleanShape.new(name: 'Boolean')
22
- CreateDomainRequest = Shapes::StructureShape.new(name: 'CreateDomainRequest')
23
- DeletableItem = Shapes::StructureShape.new(name: 'DeletableItem')
24
- DeletableItemList = Shapes::ListShape.new(name: 'DeletableItemList', flattened: true)
25
- DeleteAttributesRequest = Shapes::StructureShape.new(name: 'DeleteAttributesRequest')
26
- DeleteDomainRequest = Shapes::StructureShape.new(name: 'DeleteDomainRequest')
27
- DomainMetadataRequest = Shapes::StructureShape.new(name: 'DomainMetadataRequest')
28
- DomainMetadataResult = Shapes::StructureShape.new(name: 'DomainMetadataResult')
29
- DomainNameList = Shapes::ListShape.new(name: 'DomainNameList', flattened: true)
30
- DuplicateItemName = Shapes::StructureShape.new(name: 'DuplicateItemName')
31
- Float = Shapes::FloatShape.new(name: 'Float')
32
- GetAttributesRequest = Shapes::StructureShape.new(name: 'GetAttributesRequest')
33
- GetAttributesResult = Shapes::StructureShape.new(name: 'GetAttributesResult')
34
- Integer = Shapes::IntegerShape.new(name: 'Integer')
35
- InvalidNextToken = Shapes::StructureShape.new(name: 'InvalidNextToken')
36
- InvalidNumberPredicates = Shapes::StructureShape.new(name: 'InvalidNumberPredicates')
37
- InvalidNumberValueTests = Shapes::StructureShape.new(name: 'InvalidNumberValueTests')
38
- InvalidParameterValue = Shapes::StructureShape.new(name: 'InvalidParameterValue')
39
- InvalidQueryExpression = Shapes::StructureShape.new(name: 'InvalidQueryExpression')
40
- Item = Shapes::StructureShape.new(name: 'Item')
41
- ItemList = Shapes::ListShape.new(name: 'ItemList', flattened: true)
42
- ListDomainsRequest = Shapes::StructureShape.new(name: 'ListDomainsRequest')
43
- ListDomainsResult = Shapes::StructureShape.new(name: 'ListDomainsResult')
44
- Long = Shapes::IntegerShape.new(name: 'Long')
45
- MissingParameter = Shapes::StructureShape.new(name: 'MissingParameter')
46
- NoSuchDomain = Shapes::StructureShape.new(name: 'NoSuchDomain')
47
- NumberDomainAttributesExceeded = Shapes::StructureShape.new(name: 'NumberDomainAttributesExceeded')
48
- NumberDomainBytesExceeded = Shapes::StructureShape.new(name: 'NumberDomainBytesExceeded')
49
- NumberDomainsExceeded = Shapes::StructureShape.new(name: 'NumberDomainsExceeded')
50
- NumberItemAttributesExceeded = Shapes::StructureShape.new(name: 'NumberItemAttributesExceeded')
51
- NumberSubmittedAttributesExceeded = Shapes::StructureShape.new(name: 'NumberSubmittedAttributesExceeded')
52
- NumberSubmittedItemsExceeded = Shapes::StructureShape.new(name: 'NumberSubmittedItemsExceeded')
53
- PutAttributesRequest = Shapes::StructureShape.new(name: 'PutAttributesRequest')
54
- ReplaceableAttribute = Shapes::StructureShape.new(name: 'ReplaceableAttribute')
55
- ReplaceableAttributeList = Shapes::ListShape.new(name: 'ReplaceableAttributeList', flattened: true)
56
- ReplaceableItem = Shapes::StructureShape.new(name: 'ReplaceableItem')
57
- ReplaceableItemList = Shapes::ListShape.new(name: 'ReplaceableItemList', flattened: true)
58
- RequestTimeout = Shapes::StructureShape.new(name: 'RequestTimeout')
59
- SelectRequest = Shapes::StructureShape.new(name: 'SelectRequest')
60
- SelectResult = Shapes::StructureShape.new(name: 'SelectResult')
61
- String = Shapes::StringShape.new(name: 'String')
62
- TooManyRequestedAttributes = Shapes::StructureShape.new(name: 'TooManyRequestedAttributes')
63
- UpdateCondition = Shapes::StructureShape.new(name: 'UpdateCondition')
64
-
65
- Attribute.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
66
- Attribute.add_member(:alternate_name_encoding, Shapes::ShapeRef.new(shape: String, location_name: "AlternateNameEncoding"))
67
- Attribute.add_member(:value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Value"))
68
- Attribute.add_member(:alternate_value_encoding, Shapes::ShapeRef.new(shape: String, location_name: "AlternateValueEncoding"))
69
- Attribute.struct_class = Types::Attribute
70
-
71
- AttributeList.member = Shapes::ShapeRef.new(shape: Attribute, location_name: "Attribute")
72
-
73
- AttributeNameList.member = Shapes::ShapeRef.new(shape: String, location_name: "AttributeName")
74
-
75
- BatchDeleteAttributesRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DomainName"))
76
- BatchDeleteAttributesRequest.add_member(:items, Shapes::ShapeRef.new(shape: DeletableItemList, required: true, location_name: "Items"))
77
- BatchDeleteAttributesRequest.struct_class = Types::BatchDeleteAttributesRequest
78
-
79
- BatchPutAttributesRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DomainName"))
80
- BatchPutAttributesRequest.add_member(:items, Shapes::ShapeRef.new(shape: ReplaceableItemList, required: true, location_name: "Items"))
81
- BatchPutAttributesRequest.struct_class = Types::BatchPutAttributesRequest
82
-
83
- CreateDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DomainName"))
84
- CreateDomainRequest.struct_class = Types::CreateDomainRequest
85
-
86
- DeletableItem.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ItemName"))
87
- DeletableItem.add_member(:attributes, Shapes::ShapeRef.new(shape: AttributeList, location_name: "Attributes"))
88
- DeletableItem.struct_class = Types::DeletableItem
89
-
90
- DeletableItemList.member = Shapes::ShapeRef.new(shape: DeletableItem, location_name: "Item")
91
-
92
- DeleteAttributesRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DomainName"))
93
- DeleteAttributesRequest.add_member(:item_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ItemName"))
94
- DeleteAttributesRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: AttributeList, location_name: "Attributes"))
95
- DeleteAttributesRequest.add_member(:expected, Shapes::ShapeRef.new(shape: UpdateCondition, location_name: "Expected"))
96
- DeleteAttributesRequest.struct_class = Types::DeleteAttributesRequest
97
-
98
- DeleteDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DomainName"))
99
- DeleteDomainRequest.struct_class = Types::DeleteDomainRequest
100
-
101
- DomainMetadataRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DomainName"))
102
- DomainMetadataRequest.struct_class = Types::DomainMetadataRequest
103
-
104
- DomainMetadataResult.add_member(:item_count, Shapes::ShapeRef.new(shape: Integer, location_name: "ItemCount"))
105
- DomainMetadataResult.add_member(:item_names_size_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "ItemNamesSizeBytes"))
106
- DomainMetadataResult.add_member(:attribute_name_count, Shapes::ShapeRef.new(shape: Integer, location_name: "AttributeNameCount"))
107
- DomainMetadataResult.add_member(:attribute_names_size_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "AttributeNamesSizeBytes"))
108
- DomainMetadataResult.add_member(:attribute_value_count, Shapes::ShapeRef.new(shape: Integer, location_name: "AttributeValueCount"))
109
- DomainMetadataResult.add_member(:attribute_values_size_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "AttributeValuesSizeBytes"))
110
- DomainMetadataResult.add_member(:timestamp, Shapes::ShapeRef.new(shape: Integer, location_name: "Timestamp"))
111
- DomainMetadataResult.struct_class = Types::DomainMetadataResult
112
-
113
- DomainNameList.member = Shapes::ShapeRef.new(shape: String, location_name: "DomainName")
114
-
115
- GetAttributesRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DomainName"))
116
- GetAttributesRequest.add_member(:item_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ItemName"))
117
- GetAttributesRequest.add_member(:attribute_names, Shapes::ShapeRef.new(shape: AttributeNameList, location_name: "AttributeNames"))
118
- GetAttributesRequest.add_member(:consistent_read, Shapes::ShapeRef.new(shape: Boolean, location_name: "ConsistentRead"))
119
- GetAttributesRequest.struct_class = Types::GetAttributesRequest
120
-
121
- GetAttributesResult.add_member(:attributes, Shapes::ShapeRef.new(shape: AttributeList, location_name: "Attributes"))
122
- GetAttributesResult.struct_class = Types::GetAttributesResult
123
-
124
- Item.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
125
- Item.add_member(:alternate_name_encoding, Shapes::ShapeRef.new(shape: String, location_name: "AlternateNameEncoding"))
126
- Item.add_member(:attributes, Shapes::ShapeRef.new(shape: AttributeList, required: true, location_name: "Attributes"))
127
- Item.struct_class = Types::Item
128
-
129
- ItemList.member = Shapes::ShapeRef.new(shape: Item, location_name: "Item")
130
-
131
- ListDomainsRequest.add_member(:max_number_of_domains, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxNumberOfDomains"))
132
- ListDomainsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
133
- ListDomainsRequest.struct_class = Types::ListDomainsRequest
134
-
135
- ListDomainsResult.add_member(:domain_names, Shapes::ShapeRef.new(shape: DomainNameList, location_name: "DomainNames"))
136
- ListDomainsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
137
- ListDomainsResult.struct_class = Types::ListDomainsResult
138
-
139
- PutAttributesRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DomainName"))
140
- PutAttributesRequest.add_member(:item_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ItemName"))
141
- PutAttributesRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: ReplaceableAttributeList, required: true, location_name: "Attributes"))
142
- PutAttributesRequest.add_member(:expected, Shapes::ShapeRef.new(shape: UpdateCondition, location_name: "Expected"))
143
- PutAttributesRequest.struct_class = Types::PutAttributesRequest
144
-
145
- ReplaceableAttribute.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
146
- ReplaceableAttribute.add_member(:value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Value"))
147
- ReplaceableAttribute.add_member(:replace, Shapes::ShapeRef.new(shape: Boolean, location_name: "Replace"))
148
- ReplaceableAttribute.struct_class = Types::ReplaceableAttribute
149
-
150
- ReplaceableAttributeList.member = Shapes::ShapeRef.new(shape: ReplaceableAttribute, location_name: "Attribute")
151
-
152
- ReplaceableItem.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ItemName"))
153
- ReplaceableItem.add_member(:attributes, Shapes::ShapeRef.new(shape: ReplaceableAttributeList, required: true, location_name: "Attributes"))
154
- ReplaceableItem.struct_class = Types::ReplaceableItem
155
-
156
- ReplaceableItemList.member = Shapes::ShapeRef.new(shape: ReplaceableItem, location_name: "Item")
157
-
158
- SelectRequest.add_member(:select_expression, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SelectExpression"))
159
- SelectRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
160
- SelectRequest.add_member(:consistent_read, Shapes::ShapeRef.new(shape: Boolean, location_name: "ConsistentRead"))
161
- SelectRequest.struct_class = Types::SelectRequest
162
-
163
- SelectResult.add_member(:items, Shapes::ShapeRef.new(shape: ItemList, location_name: "Items"))
164
- SelectResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
165
- SelectResult.struct_class = Types::SelectResult
166
-
167
- UpdateCondition.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
168
- UpdateCondition.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "Value"))
169
- UpdateCondition.add_member(:exists, Shapes::ShapeRef.new(shape: Boolean, location_name: "Exists"))
170
- UpdateCondition.struct_class = Types::UpdateCondition
171
-
172
-
173
- # @api private
174
- API = Seahorse::Model::Api.new.tap do |api|
175
-
176
- api.version = "2009-04-15"
177
-
178
- api.metadata = {
179
- "endpointPrefix" => "sdb",
180
- "protocol" => "query",
181
- "serviceFullName" => "Amazon SimpleDB",
182
- "signatureVersion" => "v2",
183
- "xmlNamespace" => "http://sdb.amazonaws.com/doc/2009-04-15/",
184
- }
185
-
186
- api.add_operation(:batch_delete_attributes, Seahorse::Model::Operation.new.tap do |o|
187
- o.name = "BatchDeleteAttributes"
188
- o.http_method = "POST"
189
- o.http_request_uri = "/"
190
- o.input = Shapes::ShapeRef.new(shape: BatchDeleteAttributesRequest)
191
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
192
- end)
193
-
194
- api.add_operation(:batch_put_attributes, Seahorse::Model::Operation.new.tap do |o|
195
- o.name = "BatchPutAttributes"
196
- o.http_method = "POST"
197
- o.http_request_uri = "/"
198
- o.input = Shapes::ShapeRef.new(shape: BatchPutAttributesRequest)
199
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
200
- o.errors << Shapes::ShapeRef.new(shape: DuplicateItemName, metadata: {
201
- "error" => {"code"=>"DuplicateItemName", "httpStatusCode"=>400, "senderFault"=>true},
202
- "exception" => true
203
- })
204
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValue, metadata: {
205
- "error" => {"code"=>"InvalidParameterValue", "httpStatusCode"=>400, "senderFault"=>true},
206
- "exception" => true
207
- })
208
- o.errors << Shapes::ShapeRef.new(shape: MissingParameter, metadata: {
209
- "error" => {"code"=>"MissingParameter", "httpStatusCode"=>400, "senderFault"=>true},
210
- "exception" => true
211
- })
212
- o.errors << Shapes::ShapeRef.new(shape: NoSuchDomain, metadata: {
213
- "error" => {"code"=>"NoSuchDomain", "httpStatusCode"=>400, "senderFault"=>true},
214
- "exception" => true
215
- })
216
- o.errors << Shapes::ShapeRef.new(shape: NumberItemAttributesExceeded, metadata: {
217
- "error" => {"code"=>"NumberItemAttributesExceeded", "httpStatusCode"=>409, "senderFault"=>true},
218
- "exception" => true
219
- })
220
- o.errors << Shapes::ShapeRef.new(shape: NumberDomainAttributesExceeded, metadata: {
221
- "error" => {"code"=>"NumberDomainAttributesExceeded", "httpStatusCode"=>409, "senderFault"=>true},
222
- "exception" => true
223
- })
224
- o.errors << Shapes::ShapeRef.new(shape: NumberDomainBytesExceeded, metadata: {
225
- "error" => {"code"=>"NumberDomainBytesExceeded", "httpStatusCode"=>409, "senderFault"=>true},
226
- "exception" => true
227
- })
228
- o.errors << Shapes::ShapeRef.new(shape: NumberSubmittedItemsExceeded, metadata: {
229
- "error" => {"code"=>"NumberSubmittedItemsExceeded", "httpStatusCode"=>409, "senderFault"=>true},
230
- "exception" => true
231
- })
232
- o.errors << Shapes::ShapeRef.new(shape: NumberSubmittedAttributesExceeded, metadata: {
233
- "error" => {"code"=>"NumberSubmittedAttributesExceeded", "httpStatusCode"=>409, "senderFault"=>true},
234
- "exception" => true
235
- })
236
- end)
237
-
238
- api.add_operation(:create_domain, Seahorse::Model::Operation.new.tap do |o|
239
- o.name = "CreateDomain"
240
- o.http_method = "POST"
241
- o.http_request_uri = "/"
242
- o.input = Shapes::ShapeRef.new(shape: CreateDomainRequest)
243
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
244
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValue, metadata: {
245
- "error" => {"code"=>"InvalidParameterValue", "httpStatusCode"=>400, "senderFault"=>true},
246
- "exception" => true
247
- })
248
- o.errors << Shapes::ShapeRef.new(shape: MissingParameter, metadata: {
249
- "error" => {"code"=>"MissingParameter", "httpStatusCode"=>400, "senderFault"=>true},
250
- "exception" => true
251
- })
252
- o.errors << Shapes::ShapeRef.new(shape: NumberDomainsExceeded, metadata: {
253
- "error" => {"code"=>"NumberDomainsExceeded", "httpStatusCode"=>409, "senderFault"=>true},
254
- "exception" => true
255
- })
256
- end)
257
-
258
- api.add_operation(:delete_attributes, Seahorse::Model::Operation.new.tap do |o|
259
- o.name = "DeleteAttributes"
260
- o.http_method = "POST"
261
- o.http_request_uri = "/"
262
- o.input = Shapes::ShapeRef.new(shape: DeleteAttributesRequest)
263
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
264
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValue, metadata: {
265
- "error" => {"code"=>"InvalidParameterValue", "httpStatusCode"=>400, "senderFault"=>true},
266
- "exception" => true
267
- })
268
- o.errors << Shapes::ShapeRef.new(shape: MissingParameter, metadata: {
269
- "error" => {"code"=>"MissingParameter", "httpStatusCode"=>400, "senderFault"=>true},
270
- "exception" => true
271
- })
272
- o.errors << Shapes::ShapeRef.new(shape: NoSuchDomain, metadata: {
273
- "error" => {"code"=>"NoSuchDomain", "httpStatusCode"=>400, "senderFault"=>true},
274
- "exception" => true
275
- })
276
- o.errors << Shapes::ShapeRef.new(shape: AttributeDoesNotExist, metadata: {
277
- "error" => {"code"=>"AttributeDoesNotExist", "httpStatusCode"=>404, "senderFault"=>true},
278
- "exception" => true
279
- })
280
- end)
281
-
282
- api.add_operation(:delete_domain, Seahorse::Model::Operation.new.tap do |o|
283
- o.name = "DeleteDomain"
284
- o.http_method = "POST"
285
- o.http_request_uri = "/"
286
- o.input = Shapes::ShapeRef.new(shape: DeleteDomainRequest)
287
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
288
- o.errors << Shapes::ShapeRef.new(shape: MissingParameter, metadata: {
289
- "error" => {"code"=>"MissingParameter", "httpStatusCode"=>400, "senderFault"=>true},
290
- "exception" => true
291
- })
292
- end)
293
-
294
- api.add_operation(:domain_metadata, Seahorse::Model::Operation.new.tap do |o|
295
- o.name = "DomainMetadata"
296
- o.http_method = "POST"
297
- o.http_request_uri = "/"
298
- o.input = Shapes::ShapeRef.new(shape: DomainMetadataRequest)
299
- o.output = Shapes::ShapeRef.new(shape: DomainMetadataResult)
300
- o.errors << Shapes::ShapeRef.new(shape: MissingParameter, metadata: {
301
- "error" => {"code"=>"MissingParameter", "httpStatusCode"=>400, "senderFault"=>true},
302
- "exception" => true
303
- })
304
- o.errors << Shapes::ShapeRef.new(shape: NoSuchDomain, metadata: {
305
- "error" => {"code"=>"NoSuchDomain", "httpStatusCode"=>400, "senderFault"=>true},
306
- "exception" => true
307
- })
308
- end)
309
-
310
- api.add_operation(:get_attributes, Seahorse::Model::Operation.new.tap do |o|
311
- o.name = "GetAttributes"
312
- o.http_method = "POST"
313
- o.http_request_uri = "/"
314
- o.input = Shapes::ShapeRef.new(shape: GetAttributesRequest)
315
- o.output = Shapes::ShapeRef.new(shape: GetAttributesResult)
316
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValue, metadata: {
317
- "error" => {"code"=>"InvalidParameterValue", "httpStatusCode"=>400, "senderFault"=>true},
318
- "exception" => true
319
- })
320
- o.errors << Shapes::ShapeRef.new(shape: MissingParameter, metadata: {
321
- "error" => {"code"=>"MissingParameter", "httpStatusCode"=>400, "senderFault"=>true},
322
- "exception" => true
323
- })
324
- o.errors << Shapes::ShapeRef.new(shape: NoSuchDomain, metadata: {
325
- "error" => {"code"=>"NoSuchDomain", "httpStatusCode"=>400, "senderFault"=>true},
326
- "exception" => true
327
- })
328
- end)
329
-
330
- api.add_operation(:list_domains, Seahorse::Model::Operation.new.tap do |o|
331
- o.name = "ListDomains"
332
- o.http_method = "POST"
333
- o.http_request_uri = "/"
334
- o.input = Shapes::ShapeRef.new(shape: ListDomainsRequest)
335
- o.output = Shapes::ShapeRef.new(shape: ListDomainsResult)
336
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValue, metadata: {
337
- "error" => {"code"=>"InvalidParameterValue", "httpStatusCode"=>400, "senderFault"=>true},
338
- "exception" => true
339
- })
340
- o.errors << Shapes::ShapeRef.new(shape: InvalidNextToken, metadata: {
341
- "error" => {"code"=>"InvalidNextToken", "httpStatusCode"=>400, "senderFault"=>true},
342
- "exception" => true
343
- })
344
- o[:pager] = Aws::Pager.new(
345
- limit_key: "max_number_of_domains",
346
- tokens: {
347
- "next_token" => "next_token"
348
- }
349
- )
350
- end)
351
-
352
- api.add_operation(:put_attributes, Seahorse::Model::Operation.new.tap do |o|
353
- o.name = "PutAttributes"
354
- o.http_method = "POST"
355
- o.http_request_uri = "/"
356
- o.input = Shapes::ShapeRef.new(shape: PutAttributesRequest)
357
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
358
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValue, metadata: {
359
- "error" => {"code"=>"InvalidParameterValue", "httpStatusCode"=>400, "senderFault"=>true},
360
- "exception" => true
361
- })
362
- o.errors << Shapes::ShapeRef.new(shape: MissingParameter, metadata: {
363
- "error" => {"code"=>"MissingParameter", "httpStatusCode"=>400, "senderFault"=>true},
364
- "exception" => true
365
- })
366
- o.errors << Shapes::ShapeRef.new(shape: NoSuchDomain, metadata: {
367
- "error" => {"code"=>"NoSuchDomain", "httpStatusCode"=>400, "senderFault"=>true},
368
- "exception" => true
369
- })
370
- o.errors << Shapes::ShapeRef.new(shape: NumberDomainAttributesExceeded, metadata: {
371
- "error" => {"code"=>"NumberDomainAttributesExceeded", "httpStatusCode"=>409, "senderFault"=>true},
372
- "exception" => true
373
- })
374
- o.errors << Shapes::ShapeRef.new(shape: NumberDomainBytesExceeded, metadata: {
375
- "error" => {"code"=>"NumberDomainBytesExceeded", "httpStatusCode"=>409, "senderFault"=>true},
376
- "exception" => true
377
- })
378
- o.errors << Shapes::ShapeRef.new(shape: NumberItemAttributesExceeded, metadata: {
379
- "error" => {"code"=>"NumberItemAttributesExceeded", "httpStatusCode"=>409, "senderFault"=>true},
380
- "exception" => true
381
- })
382
- o.errors << Shapes::ShapeRef.new(shape: AttributeDoesNotExist, metadata: {
383
- "error" => {"code"=>"AttributeDoesNotExist", "httpStatusCode"=>404, "senderFault"=>true},
384
- "exception" => true
385
- })
386
- end)
387
-
388
- api.add_operation(:select, Seahorse::Model::Operation.new.tap do |o|
389
- o.name = "Select"
390
- o.http_method = "POST"
391
- o.http_request_uri = "/"
392
- o.input = Shapes::ShapeRef.new(shape: SelectRequest)
393
- o.output = Shapes::ShapeRef.new(shape: SelectResult)
394
- o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValue, metadata: {
395
- "error" => {"code"=>"InvalidParameterValue", "httpStatusCode"=>400, "senderFault"=>true},
396
- "exception" => true
397
- })
398
- o.errors << Shapes::ShapeRef.new(shape: InvalidNextToken, metadata: {
399
- "error" => {"code"=>"InvalidNextToken", "httpStatusCode"=>400, "senderFault"=>true},
400
- "exception" => true
401
- })
402
- o.errors << Shapes::ShapeRef.new(shape: InvalidNumberPredicates, metadata: {
403
- "error" => {"code"=>"InvalidNumberPredicates", "httpStatusCode"=>400, "senderFault"=>true},
404
- "exception" => true
405
- })
406
- o.errors << Shapes::ShapeRef.new(shape: InvalidNumberValueTests, metadata: {
407
- "error" => {"code"=>"InvalidNumberValueTests", "httpStatusCode"=>400, "senderFault"=>true},
408
- "exception" => true
409
- })
410
- o.errors << Shapes::ShapeRef.new(shape: InvalidQueryExpression, metadata: {
411
- "error" => {"code"=>"InvalidQueryExpression", "httpStatusCode"=>400, "senderFault"=>true},
412
- "exception" => true
413
- })
414
- o.errors << Shapes::ShapeRef.new(shape: MissingParameter, metadata: {
415
- "error" => {"code"=>"MissingParameter", "httpStatusCode"=>400, "senderFault"=>true},
416
- "exception" => true
417
- })
418
- o.errors << Shapes::ShapeRef.new(shape: NoSuchDomain, metadata: {
419
- "error" => {"code"=>"NoSuchDomain", "httpStatusCode"=>400, "senderFault"=>true},
420
- "exception" => true
421
- })
422
- o.errors << Shapes::ShapeRef.new(shape: RequestTimeout, metadata: {
423
- "error" => {"code"=>"RequestTimeout", "httpStatusCode"=>408, "senderFault"=>true},
424
- "exception" => true
425
- })
426
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestedAttributes, metadata: {
427
- "error" => {"code"=>"TooManyRequestedAttributes", "httpStatusCode"=>400, "senderFault"=>true},
428
- "exception" => true
429
- })
430
- o[:pager] = Aws::Pager.new(
431
- tokens: {
432
- "next_token" => "next_token"
433
- }
434
- )
435
- end)
436
- end
8
+ module Aws::SimpleDB
9
+ # @api private
10
+ module ClientApi
11
+
12
+ include Seahorse::Model
13
+
14
+ Attribute = Shapes::StructureShape.new(name: 'Attribute')
15
+ AttributeDoesNotExist = Shapes::StructureShape.new(name: 'AttributeDoesNotExist')
16
+ AttributeList = Shapes::ListShape.new(name: 'AttributeList', flattened: true)
17
+ AttributeNameList = Shapes::ListShape.new(name: 'AttributeNameList', flattened: true)
18
+ BatchDeleteAttributesRequest = Shapes::StructureShape.new(name: 'BatchDeleteAttributesRequest')
19
+ BatchPutAttributesRequest = Shapes::StructureShape.new(name: 'BatchPutAttributesRequest')
20
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
21
+ CreateDomainRequest = Shapes::StructureShape.new(name: 'CreateDomainRequest')
22
+ DeletableItem = Shapes::StructureShape.new(name: 'DeletableItem')
23
+ DeletableItemList = Shapes::ListShape.new(name: 'DeletableItemList', flattened: true)
24
+ DeleteAttributesRequest = Shapes::StructureShape.new(name: 'DeleteAttributesRequest')
25
+ DeleteDomainRequest = Shapes::StructureShape.new(name: 'DeleteDomainRequest')
26
+ DomainMetadataRequest = Shapes::StructureShape.new(name: 'DomainMetadataRequest')
27
+ DomainMetadataResult = Shapes::StructureShape.new(name: 'DomainMetadataResult')
28
+ DomainNameList = Shapes::ListShape.new(name: 'DomainNameList', flattened: true)
29
+ DuplicateItemName = Shapes::StructureShape.new(name: 'DuplicateItemName')
30
+ Float = Shapes::FloatShape.new(name: 'Float')
31
+ GetAttributesRequest = Shapes::StructureShape.new(name: 'GetAttributesRequest')
32
+ GetAttributesResult = Shapes::StructureShape.new(name: 'GetAttributesResult')
33
+ Integer = Shapes::IntegerShape.new(name: 'Integer')
34
+ InvalidNextToken = Shapes::StructureShape.new(name: 'InvalidNextToken')
35
+ InvalidNumberPredicates = Shapes::StructureShape.new(name: 'InvalidNumberPredicates')
36
+ InvalidNumberValueTests = Shapes::StructureShape.new(name: 'InvalidNumberValueTests')
37
+ InvalidParameterValue = Shapes::StructureShape.new(name: 'InvalidParameterValue')
38
+ InvalidQueryExpression = Shapes::StructureShape.new(name: 'InvalidQueryExpression')
39
+ Item = Shapes::StructureShape.new(name: 'Item')
40
+ ItemList = Shapes::ListShape.new(name: 'ItemList', flattened: true)
41
+ ListDomainsRequest = Shapes::StructureShape.new(name: 'ListDomainsRequest')
42
+ ListDomainsResult = Shapes::StructureShape.new(name: 'ListDomainsResult')
43
+ Long = Shapes::IntegerShape.new(name: 'Long')
44
+ MissingParameter = Shapes::StructureShape.new(name: 'MissingParameter')
45
+ NoSuchDomain = Shapes::StructureShape.new(name: 'NoSuchDomain')
46
+ NumberDomainAttributesExceeded = Shapes::StructureShape.new(name: 'NumberDomainAttributesExceeded')
47
+ NumberDomainBytesExceeded = Shapes::StructureShape.new(name: 'NumberDomainBytesExceeded')
48
+ NumberDomainsExceeded = Shapes::StructureShape.new(name: 'NumberDomainsExceeded')
49
+ NumberItemAttributesExceeded = Shapes::StructureShape.new(name: 'NumberItemAttributesExceeded')
50
+ NumberSubmittedAttributesExceeded = Shapes::StructureShape.new(name: 'NumberSubmittedAttributesExceeded')
51
+ NumberSubmittedItemsExceeded = Shapes::StructureShape.new(name: 'NumberSubmittedItemsExceeded')
52
+ PutAttributesRequest = Shapes::StructureShape.new(name: 'PutAttributesRequest')
53
+ ReplaceableAttribute = Shapes::StructureShape.new(name: 'ReplaceableAttribute')
54
+ ReplaceableAttributeList = Shapes::ListShape.new(name: 'ReplaceableAttributeList', flattened: true)
55
+ ReplaceableItem = Shapes::StructureShape.new(name: 'ReplaceableItem')
56
+ ReplaceableItemList = Shapes::ListShape.new(name: 'ReplaceableItemList', flattened: true)
57
+ RequestTimeout = Shapes::StructureShape.new(name: 'RequestTimeout')
58
+ SelectRequest = Shapes::StructureShape.new(name: 'SelectRequest')
59
+ SelectResult = Shapes::StructureShape.new(name: 'SelectResult')
60
+ String = Shapes::StringShape.new(name: 'String')
61
+ TooManyRequestedAttributes = Shapes::StructureShape.new(name: 'TooManyRequestedAttributes')
62
+ UpdateCondition = Shapes::StructureShape.new(name: 'UpdateCondition')
63
+
64
+ Attribute.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
65
+ Attribute.add_member(:alternate_name_encoding, Shapes::ShapeRef.new(shape: String, location_name: "AlternateNameEncoding"))
66
+ Attribute.add_member(:value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Value"))
67
+ Attribute.add_member(:alternate_value_encoding, Shapes::ShapeRef.new(shape: String, location_name: "AlternateValueEncoding"))
68
+ Attribute.struct_class = Types::Attribute
69
+
70
+ AttributeList.member = Shapes::ShapeRef.new(shape: Attribute, location_name: "Attribute")
71
+
72
+ AttributeNameList.member = Shapes::ShapeRef.new(shape: String, location_name: "AttributeName")
73
+
74
+ BatchDeleteAttributesRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DomainName"))
75
+ BatchDeleteAttributesRequest.add_member(:items, Shapes::ShapeRef.new(shape: DeletableItemList, required: true, location_name: "Items"))
76
+ BatchDeleteAttributesRequest.struct_class = Types::BatchDeleteAttributesRequest
77
+
78
+ BatchPutAttributesRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DomainName"))
79
+ BatchPutAttributesRequest.add_member(:items, Shapes::ShapeRef.new(shape: ReplaceableItemList, required: true, location_name: "Items"))
80
+ BatchPutAttributesRequest.struct_class = Types::BatchPutAttributesRequest
81
+
82
+ CreateDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DomainName"))
83
+ CreateDomainRequest.struct_class = Types::CreateDomainRequest
84
+
85
+ DeletableItem.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ItemName"))
86
+ DeletableItem.add_member(:attributes, Shapes::ShapeRef.new(shape: AttributeList, location_name: "Attributes"))
87
+ DeletableItem.struct_class = Types::DeletableItem
88
+
89
+ DeletableItemList.member = Shapes::ShapeRef.new(shape: DeletableItem, location_name: "Item")
90
+
91
+ DeleteAttributesRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DomainName"))
92
+ DeleteAttributesRequest.add_member(:item_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ItemName"))
93
+ DeleteAttributesRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: AttributeList, location_name: "Attributes"))
94
+ DeleteAttributesRequest.add_member(:expected, Shapes::ShapeRef.new(shape: UpdateCondition, location_name: "Expected"))
95
+ DeleteAttributesRequest.struct_class = Types::DeleteAttributesRequest
96
+
97
+ DeleteDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DomainName"))
98
+ DeleteDomainRequest.struct_class = Types::DeleteDomainRequest
99
+
100
+ DomainMetadataRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DomainName"))
101
+ DomainMetadataRequest.struct_class = Types::DomainMetadataRequest
102
+
103
+ DomainMetadataResult.add_member(:item_count, Shapes::ShapeRef.new(shape: Integer, location_name: "ItemCount"))
104
+ DomainMetadataResult.add_member(:item_names_size_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "ItemNamesSizeBytes"))
105
+ DomainMetadataResult.add_member(:attribute_name_count, Shapes::ShapeRef.new(shape: Integer, location_name: "AttributeNameCount"))
106
+ DomainMetadataResult.add_member(:attribute_names_size_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "AttributeNamesSizeBytes"))
107
+ DomainMetadataResult.add_member(:attribute_value_count, Shapes::ShapeRef.new(shape: Integer, location_name: "AttributeValueCount"))
108
+ DomainMetadataResult.add_member(:attribute_values_size_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "AttributeValuesSizeBytes"))
109
+ DomainMetadataResult.add_member(:timestamp, Shapes::ShapeRef.new(shape: Integer, location_name: "Timestamp"))
110
+ DomainMetadataResult.struct_class = Types::DomainMetadataResult
111
+
112
+ DomainNameList.member = Shapes::ShapeRef.new(shape: String, location_name: "DomainName")
113
+
114
+ GetAttributesRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DomainName"))
115
+ GetAttributesRequest.add_member(:item_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ItemName"))
116
+ GetAttributesRequest.add_member(:attribute_names, Shapes::ShapeRef.new(shape: AttributeNameList, location_name: "AttributeNames"))
117
+ GetAttributesRequest.add_member(:consistent_read, Shapes::ShapeRef.new(shape: Boolean, location_name: "ConsistentRead"))
118
+ GetAttributesRequest.struct_class = Types::GetAttributesRequest
119
+
120
+ GetAttributesResult.add_member(:attributes, Shapes::ShapeRef.new(shape: AttributeList, location_name: "Attributes"))
121
+ GetAttributesResult.struct_class = Types::GetAttributesResult
122
+
123
+ Item.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
124
+ Item.add_member(:alternate_name_encoding, Shapes::ShapeRef.new(shape: String, location_name: "AlternateNameEncoding"))
125
+ Item.add_member(:attributes, Shapes::ShapeRef.new(shape: AttributeList, required: true, location_name: "Attributes"))
126
+ Item.struct_class = Types::Item
127
+
128
+ ItemList.member = Shapes::ShapeRef.new(shape: Item, location_name: "Item")
129
+
130
+ ListDomainsRequest.add_member(:max_number_of_domains, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxNumberOfDomains"))
131
+ ListDomainsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
132
+ ListDomainsRequest.struct_class = Types::ListDomainsRequest
133
+
134
+ ListDomainsResult.add_member(:domain_names, Shapes::ShapeRef.new(shape: DomainNameList, location_name: "DomainNames"))
135
+ ListDomainsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
136
+ ListDomainsResult.struct_class = Types::ListDomainsResult
137
+
138
+ PutAttributesRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DomainName"))
139
+ PutAttributesRequest.add_member(:item_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ItemName"))
140
+ PutAttributesRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: ReplaceableAttributeList, required: true, location_name: "Attributes"))
141
+ PutAttributesRequest.add_member(:expected, Shapes::ShapeRef.new(shape: UpdateCondition, location_name: "Expected"))
142
+ PutAttributesRequest.struct_class = Types::PutAttributesRequest
143
+
144
+ ReplaceableAttribute.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
145
+ ReplaceableAttribute.add_member(:value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Value"))
146
+ ReplaceableAttribute.add_member(:replace, Shapes::ShapeRef.new(shape: Boolean, location_name: "Replace"))
147
+ ReplaceableAttribute.struct_class = Types::ReplaceableAttribute
148
+
149
+ ReplaceableAttributeList.member = Shapes::ShapeRef.new(shape: ReplaceableAttribute, location_name: "Attribute")
150
+
151
+ ReplaceableItem.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ItemName"))
152
+ ReplaceableItem.add_member(:attributes, Shapes::ShapeRef.new(shape: ReplaceableAttributeList, required: true, location_name: "Attributes"))
153
+ ReplaceableItem.struct_class = Types::ReplaceableItem
154
+
155
+ ReplaceableItemList.member = Shapes::ShapeRef.new(shape: ReplaceableItem, location_name: "Item")
156
+
157
+ SelectRequest.add_member(:select_expression, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SelectExpression"))
158
+ SelectRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
159
+ SelectRequest.add_member(:consistent_read, Shapes::ShapeRef.new(shape: Boolean, location_name: "ConsistentRead"))
160
+ SelectRequest.struct_class = Types::SelectRequest
161
+
162
+ SelectResult.add_member(:items, Shapes::ShapeRef.new(shape: ItemList, location_name: "Items"))
163
+ SelectResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
164
+ SelectResult.struct_class = Types::SelectResult
437
165
 
166
+ UpdateCondition.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
167
+ UpdateCondition.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "Value"))
168
+ UpdateCondition.add_member(:exists, Shapes::ShapeRef.new(shape: Boolean, location_name: "Exists"))
169
+ UpdateCondition.struct_class = Types::UpdateCondition
170
+
171
+
172
+ # @api private
173
+ API = Seahorse::Model::Api.new.tap do |api|
174
+
175
+ api.version = "2009-04-15"
176
+
177
+ api.metadata = {
178
+ "endpointPrefix" => "sdb",
179
+ "protocol" => "query",
180
+ "serviceFullName" => "Amazon SimpleDB",
181
+ "signatureVersion" => "v2",
182
+ "xmlNamespace" => "http://sdb.amazonaws.com/doc/2009-04-15/",
183
+ }
184
+
185
+ api.add_operation(:batch_delete_attributes, Seahorse::Model::Operation.new.tap do |o|
186
+ o.name = "BatchDeleteAttributes"
187
+ o.http_method = "POST"
188
+ o.http_request_uri = "/"
189
+ o.input = Shapes::ShapeRef.new(shape: BatchDeleteAttributesRequest)
190
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
191
+ end)
192
+
193
+ api.add_operation(:batch_put_attributes, Seahorse::Model::Operation.new.tap do |o|
194
+ o.name = "BatchPutAttributes"
195
+ o.http_method = "POST"
196
+ o.http_request_uri = "/"
197
+ o.input = Shapes::ShapeRef.new(shape: BatchPutAttributesRequest)
198
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
199
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateItemName)
200
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValue)
201
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameter)
202
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchDomain)
203
+ o.errors << Shapes::ShapeRef.new(shape: NumberItemAttributesExceeded)
204
+ o.errors << Shapes::ShapeRef.new(shape: NumberDomainAttributesExceeded)
205
+ o.errors << Shapes::ShapeRef.new(shape: NumberDomainBytesExceeded)
206
+ o.errors << Shapes::ShapeRef.new(shape: NumberSubmittedItemsExceeded)
207
+ o.errors << Shapes::ShapeRef.new(shape: NumberSubmittedAttributesExceeded)
208
+ end)
209
+
210
+ api.add_operation(:create_domain, Seahorse::Model::Operation.new.tap do |o|
211
+ o.name = "CreateDomain"
212
+ o.http_method = "POST"
213
+ o.http_request_uri = "/"
214
+ o.input = Shapes::ShapeRef.new(shape: CreateDomainRequest)
215
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
216
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValue)
217
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameter)
218
+ o.errors << Shapes::ShapeRef.new(shape: NumberDomainsExceeded)
219
+ end)
220
+
221
+ api.add_operation(:delete_attributes, Seahorse::Model::Operation.new.tap do |o|
222
+ o.name = "DeleteAttributes"
223
+ o.http_method = "POST"
224
+ o.http_request_uri = "/"
225
+ o.input = Shapes::ShapeRef.new(shape: DeleteAttributesRequest)
226
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
227
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValue)
228
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameter)
229
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchDomain)
230
+ o.errors << Shapes::ShapeRef.new(shape: AttributeDoesNotExist)
231
+ end)
232
+
233
+ api.add_operation(:delete_domain, Seahorse::Model::Operation.new.tap do |o|
234
+ o.name = "DeleteDomain"
235
+ o.http_method = "POST"
236
+ o.http_request_uri = "/"
237
+ o.input = Shapes::ShapeRef.new(shape: DeleteDomainRequest)
238
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
239
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameter)
240
+ end)
241
+
242
+ api.add_operation(:domain_metadata, Seahorse::Model::Operation.new.tap do |o|
243
+ o.name = "DomainMetadata"
244
+ o.http_method = "POST"
245
+ o.http_request_uri = "/"
246
+ o.input = Shapes::ShapeRef.new(shape: DomainMetadataRequest)
247
+ o.output = Shapes::ShapeRef.new(shape: DomainMetadataResult)
248
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameter)
249
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchDomain)
250
+ end)
251
+
252
+ api.add_operation(:get_attributes, Seahorse::Model::Operation.new.tap do |o|
253
+ o.name = "GetAttributes"
254
+ o.http_method = "POST"
255
+ o.http_request_uri = "/"
256
+ o.input = Shapes::ShapeRef.new(shape: GetAttributesRequest)
257
+ o.output = Shapes::ShapeRef.new(shape: GetAttributesResult)
258
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValue)
259
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameter)
260
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchDomain)
261
+ end)
262
+
263
+ api.add_operation(:list_domains, Seahorse::Model::Operation.new.tap do |o|
264
+ o.name = "ListDomains"
265
+ o.http_method = "POST"
266
+ o.http_request_uri = "/"
267
+ o.input = Shapes::ShapeRef.new(shape: ListDomainsRequest)
268
+ o.output = Shapes::ShapeRef.new(shape: ListDomainsResult)
269
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValue)
270
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextToken)
271
+ o[:pager] = Aws::Pager.new(
272
+ limit_key: "max_number_of_domains",
273
+ tokens: {
274
+ "next_token" => "next_token"
275
+ }
276
+ )
277
+ end)
278
+
279
+ api.add_operation(:put_attributes, Seahorse::Model::Operation.new.tap do |o|
280
+ o.name = "PutAttributes"
281
+ o.http_method = "POST"
282
+ o.http_request_uri = "/"
283
+ o.input = Shapes::ShapeRef.new(shape: PutAttributesRequest)
284
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
285
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValue)
286
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameter)
287
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchDomain)
288
+ o.errors << Shapes::ShapeRef.new(shape: NumberDomainAttributesExceeded)
289
+ o.errors << Shapes::ShapeRef.new(shape: NumberDomainBytesExceeded)
290
+ o.errors << Shapes::ShapeRef.new(shape: NumberItemAttributesExceeded)
291
+ o.errors << Shapes::ShapeRef.new(shape: AttributeDoesNotExist)
292
+ end)
293
+
294
+ api.add_operation(:select, Seahorse::Model::Operation.new.tap do |o|
295
+ o.name = "Select"
296
+ o.http_method = "POST"
297
+ o.http_request_uri = "/"
298
+ o.input = Shapes::ShapeRef.new(shape: SelectRequest)
299
+ o.output = Shapes::ShapeRef.new(shape: SelectResult)
300
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValue)
301
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextToken)
302
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNumberPredicates)
303
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNumberValueTests)
304
+ o.errors << Shapes::ShapeRef.new(shape: InvalidQueryExpression)
305
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameter)
306
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchDomain)
307
+ o.errors << Shapes::ShapeRef.new(shape: RequestTimeout)
308
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestedAttributes)
309
+ o[:pager] = Aws::Pager.new(
310
+ tokens: {
311
+ "next_token" => "next_token"
312
+ }
313
+ )
314
+ end)
438
315
  end
316
+
439
317
  end
440
318
  end