aws-sdk 1.13.0 → 1.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +3 -3
  3. data/lib/aws/api_config/OpsWorks-2013-02-18.yml +55 -0
  4. data/lib/aws/api_config/SNS-2010-03-31.yml +0 -3
  5. data/lib/aws/api_config/SimpleWorkflow-2012-01-25.yml +30 -0
  6. data/lib/aws/auto_scaling/client.rb +0 -530
  7. data/lib/aws/cloud_formation/client.rb +0 -356
  8. data/lib/aws/cloud_front/client.rb +0 -1567
  9. data/lib/aws/cloud_search/client.rb +0 -578
  10. data/lib/aws/cloud_watch/client.rb +0 -445
  11. data/lib/aws/data_pipeline/client.rb +0 -396
  12. data/lib/aws/direct_connect/client.rb +0 -248
  13. data/lib/aws/dynamo_db.rb +0 -1
  14. data/lib/aws/dynamo_db/client.rb +70 -1
  15. data/lib/aws/dynamo_db/client_v2.rb +1 -1
  16. data/lib/aws/ec2/client.rb +0 -3942
  17. data/lib/aws/ec2/reserved_instances_offering_collection.rb +9 -3
  18. data/lib/aws/ec2/tag_collection.rb +1 -1
  19. data/lib/aws/elastic_beanstalk/client.rb +0 -898
  20. data/lib/aws/elastic_transcoder/client.rb +0 -1755
  21. data/lib/aws/elasticache/client.rb +0 -947
  22. data/lib/aws/elb/client.rb +0 -509
  23. data/lib/aws/emr/client.rb +0 -314
  24. data/lib/aws/glacier/client.rb +0 -278
  25. data/lib/aws/iam/client.rb +0 -1155
  26. data/lib/aws/import_export/client.rb +0 -96
  27. data/lib/aws/ops_works/client.rb +0 -1255
  28. data/lib/aws/rds/client.rb +0 -2367
  29. data/lib/aws/redshift/client.rb +0 -1458
  30. data/lib/aws/route_53/client.rb +0 -420
  31. data/lib/aws/simple_db/client.rb +2 -250
  32. data/lib/aws/simple_email_service/client.rb +0 -282
  33. data/lib/aws/simple_workflow/client.rb +0 -1248
  34. data/lib/aws/sns/client.rb +0 -283
  35. data/lib/aws/sns/message.rb +1 -1
  36. data/lib/aws/sqs/client.rb +0 -255
  37. data/lib/aws/storage_gateway/client.rb +0 -582
  38. data/lib/aws/sts/client.rb +0 -183
  39. data/lib/aws/support/client.rb +0 -232
  40. data/lib/aws/version.rb +1 -1
  41. metadata +2 -3
  42. data/lib/aws/dynamo_db/client_base.rb +0 -92
@@ -26,426 +26,6 @@ module AWS
26
26
 
27
27
  class Client::V20121212 < Client
28
28
 
29
- # client methods #
30
-
31
- # @!method change_resource_record_sets(options = {})
32
- # Calls the POST ChangeResourceRecordSets API operation.
33
- # @param [Hash] options
34
- #
35
- # * `:hosted_zone_id` - *required* - (String) Alias resource record
36
- # sets only: The value of the hosted zone ID,
37
- # CanonicalHostedZoneNameId, for the LoadBalancer. Currently, Route
38
- # 53 supports alias resource record sets only for Elastic Load
39
- # Balancing. For more information, an example, and several ways to
40
- # get the hosted zone ID for the LoadBalancer, see Creating Alias
41
- # Resource Record Sets for Elastic Load Balancing in the Amazon Route
42
- # 53 Developer Guide.
43
- # * `:change_batch` - *required* - (Hash) A complex type that contains
44
- # an optional comment and the Changes element.
45
- # * `:comment` - (String) Optional: Any comments you want to include
46
- # about a change batch request.
47
- # * `:changes` - *required* - (Array<Hash>) A complex type that
48
- # contains one Change element for each resource record set that you
49
- # want to create or delete.
50
- # * `:action` - *required* - (String) The action to perform. Valid
51
- # values: CREATE | DELETE Valid values include:
52
- # * `CREATE`
53
- # * `DELETE`
54
- # * `:resource_record_set` - *required* - (Hash) Information about
55
- # the resource record set to create or delete.
56
- # * `:name` - *required* - (String) The domain name of the
57
- # current resource record set.
58
- # * `:type` - *required* - (String) The type of the current
59
- # resource record set. Valid values include:
60
- # * `SOA`
61
- # * `A`
62
- # * `TXT`
63
- # * `NS`
64
- # * `CNAME`
65
- # * `MX`
66
- # * `PTR`
67
- # * `SRV`
68
- # * `SPF`
69
- # * `AAAA`
70
- # * `:set_identifier` - (String) Weighted resource record sets
71
- # only: An identifier that differentiates among multiple
72
- # resource record sets that have the same combination of DNS
73
- # name and type.
74
- # * `:weight` - (Integer) Weighted resource record sets only:
75
- # Among resource record sets that have the same combination of
76
- # DNS name and type, a value that determines what portion of
77
- # traffic for the current resource record set is routed to the
78
- # associated location.
79
- # * `:region` - (String) Regional resource record sets only:
80
- # Among resource record sets that have the same combination of
81
- # DNS name and type, a value that specifies the AWS region for
82
- # the current resource record set. Valid values include:
83
- # * `us-east-1`
84
- # * `us-west-1`
85
- # * `us-west-2`
86
- # * `eu-west-1`
87
- # * `ap-southeast-1`
88
- # * `ap-southeast-2`
89
- # * `ap-northeast-1`
90
- # * `sa-east-1`
91
- # * `:failover` - (String) Failover resource record sets only:
92
- # Among resource record sets that have the same combination of
93
- # DNS name and type, a value that indicates whether the current
94
- # resource record set is a primary or secondary resource record
95
- # set. A failover set may contain at most one resource record
96
- # set marked as primary and one resource record set marked as
97
- # secondary. A resource record set marked as primary will be
98
- # returned if any of the following are `true` : (1) an
99
- # associated health check is passing, (2) if the resource
100
- # record set is an alias with the evaluate target health and at
101
- # least one target resource record set is healthy, (3) both the
102
- # primary and secondary resource record set are failing health
103
- # checks or (4) there is no secondary resource record set. A
104
- # secondary resource record set will be returned if: (1) the
105
- # primary is failing a health check and either the secondary is
106
- # passing a health check or has no associated health check, or
107
- # (2) there is no primary resource record set. Valid values:
108
- # PRIMARY | SECONDARY Valid values include:
109
- # * `PRIMARY`
110
- # * `SECONDARY`
111
- # * `:ttl` - (Integer) The cache time to live for the current
112
- # resource record set.
113
- # * `:resource_records` - (Array<Hash>) A complex type that
114
- # contains the resource records for the current resource record
115
- # set.
116
- # * `:value` - *required* - (String) The value of the Value
117
- # element for the current resource record set.
118
- # * `:alias_target` - (Hash) Alias resource record sets only:
119
- # Information about the Elastic Load Balancing LoadBalancer to
120
- # which you are redirecting traffic.
121
- # * `:hosted_zone_id` - *required* - (String) Alias resource
122
- # record sets only: The value of the hosted zone ID,
123
- # CanonicalHostedZoneNameId, for the LoadBalancer. Currently,
124
- # Route 53 supports alias resource record sets only for
125
- # Elastic Load Balancing. For more information, an example,
126
- # and several ways to get the hosted zone ID for the
127
- # LoadBalancer, see Creating Alias Resource Record Sets for
128
- # Elastic Load Balancing in the Amazon Route 53 Developer
129
- # Guide.
130
- # * `:dns_name` - *required* - (String) Alias resource record
131
- # sets only: The external DNS name associated with the
132
- # LoadBalancer. Currently, Route 53 supports alias resource
133
- # record sets only for Elastic Load Balancing. For more
134
- # information, an example, and several ways to get the hosted
135
- # zone ID for the LoadBalancer, see Creating Alias Resource
136
- # Record Sets for Elastic Load Balancing in the Amazon Route
137
- # 53 Developer Guide.
138
- # * `:evaluate_target_health` - *required* - (Boolean) Alias
139
- # resource record sets only: A boolean value that indicates
140
- # whether this Resource Record Set should respect the health
141
- # status of any health checks associated with the ALIAS
142
- # target record which it is linked to. Currently, Route 53
143
- # supports health checks only for Elastic Load Balancing. For
144
- # more information, an example, see Creating Alias Resource
145
- # Record Sets for Elastic Load Balancing in the Amazon Route
146
- # 53 Developer Guide.
147
- # * `:health_check_id` - (String) Health Check resource record
148
- # sets only, not required for alias resource record sets: An
149
- # identifier that is used to identify health check associated
150
- # with the resource record set.
151
- # @return [Core::Response]
152
- # The #data method of the response object returns
153
- # a hash with the following structure:
154
- #
155
- # * `:change_info` - (Hash)
156
- # * `:id` - (String)
157
- # * `:status` - (String)
158
- # * `:submitted_at` - (Time)
159
- # * `:comment` - (String)
160
-
161
- # @!method create_health_check(options = {})
162
- # Calls the POST CreateHealthCheck API operation.
163
- # @param [Hash] options
164
- #
165
- # * `:caller_reference` - *required* - (String) A unique string that
166
- # identifies the request and that allows failed CreateHealthCheck
167
- # requests to be retried without the risk of executing the operation
168
- # twice. You must use a unique CallerReference string every time you
169
- # create a health check. CallerReference can be any unique string;
170
- # you might choose to use a string that identifies your project.
171
- # Valid characters are any Unicode code points that are legal in an
172
- # XML 1.0 document. The UTF-8 encoding of the value must be less than
173
- # 128 bytes.
174
- # * `:health_check_config` - *required* - (Hash) A complex type that
175
- # contains health check configuration.
176
- # * `:ip_address` - *required* - (String) IP Address of the instance
177
- # being checked.
178
- # * `:port` - (Integer) Port on which connection will be opened to
179
- # the instance to health check. For HTTP this defaults to 80 if the
180
- # port is not specified.
181
- # * `:type` - *required* - (String) The type of health check to be
182
- # performed. Currently supported protocols are TCP and HTTP. Valid
183
- # values include:
184
- # * `HTTP`
185
- # * `TCP`
186
- # * `:resource_path` - (String) Path to ping on the instance to check
187
- # the health. Required only for HTTP health checks, HTTP request is
188
- # issued to the instance on the given port and path.
189
- # * `:fully_qualified_domain_name` - (String) Fully qualified domain
190
- # name of the instance to be health checked.
191
- # @return [Core::Response]
192
- # The #data method of the response object returns
193
- # a hash with the following structure:
194
- #
195
- # * `:health_check` - (Hash)
196
- # * `:id` - (String)
197
- # * `:caller_reference` - (String)
198
- # * `:health_check_config` - (Hash)
199
- # * `:ip_address` - (String)
200
- # * `:port` - (Integer)
201
- # * `:type` - (String)
202
- # * `:resource_path` - (String)
203
- # * `:fully_qualified_domain_name` - (String)
204
-
205
- # @!method create_hosted_zone(options = {})
206
- # Calls the POST CreateHostedZone API operation.
207
- # @param [Hash] options
208
- #
209
- # * `:name` - *required* - (String) The name of the domain. This must
210
- # be a fully-specified domain, for example, www.example.com. The
211
- # trailing dot is optional; Route 53 assumes that the domain name is
212
- # fully qualified. This means that Route 53 treats www.example.com
213
- # (without a trailing dot) and www.example.com. (with a trailing dot)
214
- # as identical. This is the name you have registered with your DNS
215
- # registrar. You should ask your registrar to change the
216
- # authoritative name servers for your domain to the set of
217
- # NameServers elements returned in DelegationSet.
218
- # * `:caller_reference` - *required* - (String) A unique string that
219
- # identifies the request and that allows failed CreateHostedZone
220
- # requests to be retried without the risk of executing the operation
221
- # twice. You must use a unique CallerReference string every time you
222
- # create a hosted zone. CallerReference can be any unique string; you
223
- # might choose to use a string that identifies your project, such as
224
- # DNSMigration_01. Valid characters are any Unicode code points that
225
- # are legal in an XML 1.0 document. The UTF-8 encoding of the value
226
- # must be less than 128 bytes.
227
- # * `:hosted_zone_config` - (Hash) A complex type that contains an
228
- # optional comment about your hosted zone.
229
- # * `:comment` - (String) An optional comment about your hosted zone.
230
- # If you don't want to specify a comment, you can omit the
231
- # HostedZoneConfig and Comment elements from the XML document.
232
- # @return [Core::Response]
233
- # The #data method of the response object returns
234
- # a hash with the following structure:
235
- #
236
- # * `:hosted_zone` - (Hash)
237
- # * `:id` - (String)
238
- # * `:name` - (String)
239
- # * `:caller_reference` - (String)
240
- # * `:config` - (Hash)
241
- # * `:comment` - (String)
242
- # * `:resource_record_set_count` - (Integer)
243
- # * `:change_info` - (Hash)
244
- # * `:id` - (String)
245
- # * `:status` - (String)
246
- # * `:submitted_at` - (Time)
247
- # * `:comment` - (String)
248
- # * `:delegation_set` - (Hash)
249
- # * `:name_servers` - (Array<String>)
250
-
251
- # @!method delete_health_check(options = {})
252
- # Calls the DELETE DeleteHealthCheck API operation.
253
- # @param [Hash] options
254
- #
255
- # * `:health_check_id` - *required* - (String) The ID of the health
256
- # check to delete.
257
- # @return [Core::Response]
258
-
259
- # @!method delete_hosted_zone(options = {})
260
- # Calls the DELETE DeleteHostedZone API operation.
261
- # @param [Hash] options
262
- #
263
- # * `:id` - *required* - (String) The ID of the request. Include this
264
- # ID in a call to GetChange to track when the change has propagated
265
- # to all Route 53 DNS servers.
266
- # @return [Core::Response]
267
- # The #data method of the response object returns
268
- # a hash with the following structure:
269
- #
270
- # * `:change_info` - (Hash)
271
- # * `:id` - (String)
272
- # * `:status` - (String)
273
- # * `:submitted_at` - (Time)
274
- # * `:comment` - (String)
275
-
276
- # @!method get_change(options = {})
277
- # Calls the GET GetChange API operation.
278
- # @param [Hash] options
279
- #
280
- # * `:id` - *required* - (String) The ID of the change batch request.
281
- # The value that you specify here is the value that
282
- # ChangeResourceRecordSets returned in the Id element when you
283
- # submitted the request.
284
- # @return [Core::Response]
285
- # The #data method of the response object returns
286
- # a hash with the following structure:
287
- #
288
- # * `:change_info` - (Hash)
289
- # * `:id` - (String)
290
- # * `:status` - (String)
291
- # * `:submitted_at` - (Time)
292
- # * `:comment` - (String)
293
-
294
- # @!method get_health_check(options = {})
295
- # Calls the GET GetHealthCheck API operation.
296
- # @param [Hash] options
297
- #
298
- # * `:health_check_id` - *required* - (String) The ID of the health
299
- # check to retrieve.
300
- # @return [Core::Response]
301
- # The #data method of the response object returns
302
- # a hash with the following structure:
303
- #
304
- # * `:health_check` - (Hash)
305
- # * `:id` - (String)
306
- # * `:caller_reference` - (String)
307
- # * `:health_check_config` - (Hash)
308
- # * `:ip_address` - (String)
309
- # * `:port` - (Integer)
310
- # * `:type` - (String)
311
- # * `:resource_path` - (String)
312
- # * `:fully_qualified_domain_name` - (String)
313
-
314
- # @!method get_hosted_zone(options = {})
315
- # Calls the GET GetHostedZone API operation.
316
- # @param [Hash] options
317
- #
318
- # * `:id` - *required* - (String) The ID of the hosted zone for which
319
- # you want to get a list of the name servers in the delegation set.
320
- # @return [Core::Response]
321
- # The #data method of the response object returns
322
- # a hash with the following structure:
323
- #
324
- # * `:hosted_zone` - (Hash)
325
- # * `:id` - (String)
326
- # * `:name` - (String)
327
- # * `:caller_reference` - (String)
328
- # * `:config` - (Hash)
329
- # * `:comment` - (String)
330
- # * `:resource_record_set_count` - (Integer)
331
- # * `:delegation_set` - (Hash)
332
- # * `:name_servers` - (Array<String>)
333
-
334
- # @!method list_health_checks(options = {})
335
- # Calls the GET ListHealthChecks API operation.
336
- # @param [Hash] options
337
- #
338
- # * `:marker` - (String) If the request returned more than one page of
339
- # results, submit another request and specify the value of NextMarker
340
- # from the last response in the marker parameter to get the next page
341
- # of results.
342
- # * `:max_items` - (Integer) Specify the maximum number of health
343
- # checks to return per page of results.
344
- # @return [Core::Response]
345
- # The #data method of the response object returns
346
- # a hash with the following structure:
347
- #
348
- # * `:health_checks` - (Array<Hash>)
349
- # * `:id` - (String)
350
- # * `:caller_reference` - (String)
351
- # * `:health_check_config` - (Hash)
352
- # * `:ip_address` - (String)
353
- # * `:port` - (Integer)
354
- # * `:type` - (String)
355
- # * `:resource_path` - (String)
356
- # * `:fully_qualified_domain_name` - (String)
357
- # * `:marker` - (String)
358
- # * `:is_truncated` - (Boolean)
359
- # * `:next_marker` - (String)
360
- # * `:max_items` - (String)
361
-
362
- # @!method list_hosted_zones(options = {})
363
- # Calls the GET ListHostedZones API operation.
364
- # @param [Hash] options
365
- #
366
- # * `:marker` - (String) If the request returned more than one page of
367
- # results, submit another request and specify the value of NextMarker
368
- # from the last response in the marker parameter to get the next page
369
- # of results.
370
- # * `:max_items` - (Integer) Specify the maximum number of hosted zones
371
- # to return per page of results.
372
- # @return [Core::Response]
373
- # The #data method of the response object returns
374
- # a hash with the following structure:
375
- #
376
- # * `:hosted_zones` - (Array<Hash>)
377
- # * `:id` - (String)
378
- # * `:name` - (String)
379
- # * `:caller_reference` - (String)
380
- # * `:config` - (Hash)
381
- # * `:comment` - (String)
382
- # * `:resource_record_set_count` - (Integer)
383
- # * `:marker` - (String)
384
- # * `:is_truncated` - (Boolean)
385
- # * `:next_marker` - (String)
386
- # * `:max_items` - (Integer)
387
-
388
- # @!method list_resource_record_sets(options = {})
389
- # Calls the GET ListResourceRecordSets API operation.
390
- # @param [Hash] options
391
- #
392
- # * `:hosted_zone_id` - *required* - (String) The ID of the hosted zone
393
- # that contains the resource record sets that you want to get.
394
- # * `:start_record_name` - (String) The first name in the lexicographic
395
- # ordering of domain names that you want the ListResourceRecordSets
396
- # request to list.
397
- # * `:start_record_type` - (String) The DNS type at which to begin the
398
- # listing of resource record sets. Valid values: A | AAAA | CNAME |
399
- # MX | NS | PTR | SOA | SPF | SRV | TXT Values for Weighted Resource
400
- # Record Sets: A | AAAA | CNAME | TXT Values for Alias Resource
401
- # Record Sets: A | AAAA Constraint: Specifying type without
402
- # specifying name returns an InvalidInput error. Valid values
403
- # include:
404
- # * `SOA`
405
- # * `A`
406
- # * `TXT`
407
- # * `NS`
408
- # * `CNAME`
409
- # * `MX`
410
- # * `PTR`
411
- # * `SRV`
412
- # * `SPF`
413
- # * `AAAA`
414
- # * `:start_record_identifier` - (String) Weighted resource record sets
415
- # only: If results were truncated for a given DNS name and type,
416
- # specify the value of
417
- # ListResourceRecordSetsResponse$NextRecordIdentifier from the
418
- # previous response to get the next resource record set that has the
419
- # current DNS name and type.
420
- # * `:max_items` - (Integer) The maximum number of records you want in
421
- # the response body.
422
- # @return [Core::Response]
423
- # The #data method of the response object returns
424
- # a hash with the following structure:
425
- #
426
- # * `:resource_record_sets` - (Array<Hash>)
427
- # * `:name` - (String)
428
- # * `:type` - (String)
429
- # * `:set_identifier` - (String)
430
- # * `:weight` - (Integer)
431
- # * `:region` - (String)
432
- # * `:failover` - (String)
433
- # * `:ttl` - (Integer)
434
- # * `:resource_records` - (Array<Hash>)
435
- # * `:value` - (String)
436
- # * `:alias_target` - (Hash)
437
- # * `:hosted_zone_id` - (String)
438
- # * `:dns_name` - (String)
439
- # * `:evaluate_target_health` - (Boolean)
440
- # * `:health_check_id` - (String)
441
- # * `:is_truncated` - (Boolean)
442
- # * `:next_record_name` - (String)
443
- # * `:next_record_type` - (String)
444
- # * `:next_record_identifier` - (String)
445
- # * `:max_items` - (Integer)
446
-
447
- # end client methods #
448
-
449
29
  define_client_methods('2012-12-12')
450
30
 
451
31
  end
@@ -39,10 +39,6 @@ module AWS
39
39
  :select,
40
40
  ]
41
41
 
42
- end
43
-
44
- class Client::V20090415 < Client
45
-
46
42
  # @param [String] name
47
43
  # @return [Boolean] Returns true if the given name is a valid
48
44
  # Amazon SimpleDB domain name.
@@ -58,253 +54,9 @@ module AWS
58
54
  name.to_s =~ /^[a-z_\-\.]{3,255}$/i ? true : false
59
55
  end
60
56
 
61
- # client methods #
62
-
63
- # @!method batch_delete_attributes(options = {})
64
- # Calls the BatchDeleteAttributes API operation.
65
- # @param [Hash] options
66
- #
67
- # * `:domain_name` - *required* - (String) The name of the domain in
68
- # which the attributes are being deleted.
69
- # * `:items` - *required* - (Array<Hash>) A list of items on which to
70
- # perform the operation.
71
- # * `:name` - *required* - (String)
72
- # * `:attributes` - (Array<Hash>)
73
- # * `:name` - *required* - (String) The name of the attribute.
74
- # * `:value` - *required* - (String) The value of the attribute.
75
- # @return [Core::Response]
76
- # The #data method of the response object returns
77
- # a hash with the following structure:
78
- #
79
- # * `:response_metadata` - (Hash)
80
- # * `:box_usage` - (Numeric)
81
- # * `:response_id` - (String)
82
-
83
- # @!method batch_put_attributes(options = {})
84
- # Calls the BatchPutAttributes API operation.
85
- # @param [Hash] options
86
- #
87
- # * `:domain_name` - *required* - (String) The name of the domain in
88
- # which the attributes are being stored.
89
- # * `:items` - *required* - (Array<Hash>) A list of items on which to
90
- # perform the operation.
91
- # * `:name` - *required* - (String) The name of the replaceable item.
92
- # * `:attributes` - *required* - (Array<Hash>) The list of attributes
93
- # for a replaceable item.
94
- # * `:name` - *required* - (String) The name of the replaceable
95
- # attribute.
96
- # * `:value` - *required* - (String) The value of the replaceable
97
- # attribute.
98
- # * `:replace` - (Boolean) A flag specifying whether or not to
99
- # replace the attribute/value pair or to add a new
100
- # attribute/value pair. The default setting is `false` .
101
- # @return [Core::Response]
102
- # The #data method of the response object returns
103
- # a hash with the following structure:
104
- #
105
- # * `:response_metadata` - (Hash)
106
- # * `:box_usage` - (Numeric)
107
- # * `:response_id` - (String)
108
-
109
- # @!method create_domain(options = {})
110
- # Calls the CreateDomain API operation.
111
- # @param [Hash] options
112
- #
113
- # * `:domain_name` - *required* - (String) The name of the domain to
114
- # create. The name can range between 3 and 255 characters and can
115
- # contain the following characters: a-z, A-Z, 0-9, '_', '-', and '.'.
116
- # @return [Core::Response]
117
- # The #data method of the response object returns
118
- # a hash with the following structure:
119
- #
120
- # * `:response_metadata` - (Hash)
121
- # * `:box_usage` - (Numeric)
122
- # * `:response_id` - (String)
123
-
124
- # @!method delete_attributes(options = {})
125
- # Calls the DeleteAttributes API operation.
126
- # @param [Hash] options
127
- #
128
- # * `:domain_name` - *required* - (String) The name of the domain in
129
- # which to perform the operation.
130
- # * `:item_name` - *required* - (String) The name of the item. Similar
131
- # to rows on a spreadsheet, items represent individual objects that
132
- # contain one or more value-attribute pairs.
133
- # * `:attributes` - (Array<Hash>) A list of Attributes. Similar to
134
- # columns on a spreadsheet, attributes represent categories of data
135
- # that can be assigned to items.
136
- # * `:name` - *required* - (String) The name of the attribute.
137
- # * `:value` - (String) The value of the attribute.
138
- # * `:expected` - (Hash) The update condition which, if specified,
139
- # determines whether the specified attributes will be deleted or not.
140
- # The update condition must be satisfied in order for this request to
141
- # be processed and the attributes to be deleted.
142
- # * `:name` - (String) The name of the attribute involved in the
143
- # condition.
144
- # * `:value` - (String) The value of an attribute. This value can
145
- # only be specified when the Exists parameter is equal to `true` .
146
- # * `:exists` - (Boolean) A value specifying whether or not the
147
- # specified attribute must exist with the specified value in order
148
- # for the update condition to be satisfied. Specify `true` if the
149
- # attribute must exist for the update condition to be satisfied.
150
- # Specify `false` if the attribute should not exist in order for
151
- # the update condition to be satisfied.
152
- # @return [Core::Response]
153
- # The #data method of the response object returns
154
- # a hash with the following structure:
155
- #
156
- # * `:response_metadata` - (Hash)
157
- # * `:box_usage` - (Numeric)
158
- # * `:response_id` - (String)
159
-
160
- # @!method delete_domain(options = {})
161
- # Calls the DeleteDomain API operation.
162
- # @param [Hash] options
163
- #
164
- # * `:domain_name` - *required* - (String) The name of the domain to
165
- # delete.
166
- # @return [Core::Response]
167
- # The #data method of the response object returns
168
- # a hash with the following structure:
169
- #
170
- # * `:response_metadata` - (Hash)
171
- # * `:box_usage` - (Numeric)
172
- # * `:response_id` - (String)
173
-
174
- # @!method domain_metadata(options = {})
175
- # Calls the DomainMetadata API operation.
176
- # @param [Hash] options
177
- #
178
- # * `:domain_name` - *required* - (String) The name of the domain for
179
- # which to display the metadata of.
180
- # @return [Core::Response]
181
- # The #data method of the response object returns
182
- # a hash with the following structure:
183
- #
184
- # * `:item_count` - (Integer)
185
- # * `:item_names_size_bytes` - (Integer)
186
- # * `:attribute_name_count` - (Integer)
187
- # * `:attribute_names_size_bytes` - (Integer)
188
- # * `:attribute_value_count` - (Integer)
189
- # * `:attribute_values_size_bytes` - (Integer)
190
- # * `:timestamp` - (Integer)
191
- # * `:response_metadata` - (Hash)
192
- # * `:box_usage` - (Numeric)
193
- # * `:response_id` - (String)
194
-
195
- # @!method get_attributes(options = {})
196
- # Calls the GetAttributes API operation.
197
- # @param [Hash] options
198
- #
199
- # * `:domain_name` - *required* - (String) The name of the domain in
200
- # which to perform the operation.
201
- # * `:item_name` - *required* - (String) The name of the item.
202
- # * `:attribute_names` - (Array<String>) The names of the attributes.
203
- # * `:consistent_read` - (Boolean) Determines whether or not strong
204
- # consistency should be enforced when data is read from SimpleDB. If
205
- # `true` , any data previously written to SimpleDB will be returned.
206
- # Otherwise, results will be consistent eventually, and the client
207
- # may not see data that was written immediately before your read.
208
- # @return [Core::Response]
209
- # The #data method of the response object returns
210
- # a hash with the following structure:
211
- #
212
- # * `:attributes` - (Array<Hash>)
213
- # * `:name` - (String)
214
- # * `:alternate_name_encoding` - (String)
215
- # * `:value` - (String)
216
- # * `:alternate_value_encoding` - (String)
217
- # * `:response_metadata` - (Hash)
218
- # * `:box_usage` - (Numeric)
219
- # * `:response_id` - (String)
220
-
221
- # @!method list_domains(options = {})
222
- # Calls the ListDomains API operation.
223
- # @param [Hash] options
224
- #
225
- # * `:max_number_of_domains` - (Integer) The maximum number of domain
226
- # names you want returned. The range is 1 to 100. The default setting
227
- # is 100.
228
- # * `:next_token` - (String) A string informing Amazon SimpleDB where
229
- # to start the next list of domain names.
230
- # @return [Core::Response]
231
- # The #data method of the response object returns
232
- # a hash with the following structure:
233
- #
234
- # * `:domain_names` - (Array<String>)
235
- # * `:next_token` - (String)
236
- # * `:response_metadata` - (Hash)
237
- # * `:box_usage` - (Numeric)
238
- # * `:response_id` - (String)
239
-
240
- # @!method put_attributes(options = {})
241
- # Calls the PutAttributes API operation.
242
- # @param [Hash] options
243
- #
244
- # * `:domain_name` - *required* - (String) The name of the domain in
245
- # which to perform the operation.
246
- # * `:item_name` - *required* - (String) The name of the item.
247
- # * `:attributes` - *required* - (Array<Hash>) The list of attributes.
248
- # * `:name` - *required* - (String) The name of the replaceable
249
- # attribute.
250
- # * `:value` - *required* - (String) The value of the replaceable
251
- # attribute.
252
- # * `:replace` - (Boolean) A flag specifying whether or not to
253
- # replace the attribute/value pair or to add a new attribute/value
254
- # pair. The default setting is `false` .
255
- # * `:expected` - (Hash) The update condition which, if specified,
256
- # determines whether the specified attributes will be updated or not.
257
- # The update condition must be satisfied in order for this request to
258
- # be processed and the attributes to be updated.
259
- # * `:name` - (String) The name of the attribute involved in the
260
- # condition.
261
- # * `:value` - (String) The value of an attribute. This value can
262
- # only be specified when the Exists parameter is equal to `true` .
263
- # * `:exists` - (Boolean) A value specifying whether or not the
264
- # specified attribute must exist with the specified value in order
265
- # for the update condition to be satisfied. Specify `true` if the
266
- # attribute must exist for the update condition to be satisfied.
267
- # Specify `false` if the attribute should not exist in order for
268
- # the update condition to be satisfied.
269
- # @return [Core::Response]
270
- # The #data method of the response object returns
271
- # a hash with the following structure:
272
- #
273
- # * `:response_metadata` - (Hash)
274
- # * `:box_usage` - (Numeric)
275
- # * `:response_id` - (String)
276
-
277
- # @!method select(options = {})
278
- # Calls the Select API operation.
279
- # @param [Hash] options
280
- #
281
- # * `:select_expression` - *required* - (String) The expression used to
282
- # query the domain.
283
- # * `:next_token` - (String) A string informing Amazon SimpleDB where
284
- # to start the next list of ItemNames.
285
- # * `:consistent_read` - (Boolean) Determines whether or not strong
286
- # consistency should be enforced when data is read from SimpleDB. If
287
- # `true` , any data previously written to SimpleDB will be returned.
288
- # Otherwise, results will be consistent eventually, and the client
289
- # may not see data that was written immediately before your read.
290
- # @return [Core::Response]
291
- # The #data method of the response object returns
292
- # a hash with the following structure:
293
- #
294
- # * `:items` - (Array<Hash>)
295
- # * `:name` - (String)
296
- # * `:alternate_name_encoding` - (String)
297
- # * `:attributes` - (Array<Hash>)
298
- # * `:name` - (String)
299
- # * `:alternate_name_encoding` - (String)
300
- # * `:value` - (String)
301
- # * `:alternate_value_encoding` - (String)
302
- # * `:next_token` - (String)
303
- # * `:response_metadata` - (Hash)
304
- # * `:box_usage` - (Numeric)
305
- # * `:response_id` - (String)
57
+ end
306
58
 
307
- # end client methods #
59
+ class Client::V20090415 < Client
308
60
 
309
61
  define_client_methods('2009-04-15')
310
62