aws-sdk 1.5.8 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. data/lib/aws.rb +2 -0
  2. data/lib/aws/api_config/Route53-2012-02-29.yml +348 -0
  3. data/lib/aws/auto_scaling/client.rb +362 -588
  4. data/lib/aws/cloud_formation/client.rb +155 -224
  5. data/lib/aws/cloud_watch/client.rb +156 -229
  6. data/lib/aws/core.rb +67 -52
  7. data/lib/aws/core/client.rb +81 -82
  8. data/lib/aws/core/collection/with_limit_and_next_token.rb +2 -2
  9. data/lib/aws/core/configuration.rb +75 -72
  10. data/lib/aws/core/http/net_http_handler.rb +3 -3
  11. data/lib/aws/core/http/request.rb +107 -138
  12. data/lib/aws/core/inflection.rb +3 -3
  13. data/lib/aws/core/json_client.rb +106 -0
  14. data/lib/aws/core/option_grammar.rb +10 -1
  15. data/lib/aws/core/options/validator.rb +140 -0
  16. data/lib/aws/core/options/xml_serializer.rb +98 -0
  17. data/lib/aws/core/query_client.rb +131 -0
  18. data/lib/aws/core/rest_client.rb +90 -0
  19. data/lib/aws/core/rest_client/input_handler.rb +145 -0
  20. data/lib/aws/core/rest_client/output_handler.rb +43 -0
  21. data/lib/aws/core/signature/version_2.rb +7 -7
  22. data/lib/aws/core/signature/version_3.rb +5 -1
  23. data/lib/aws/core/signature/version_3_https.rb +51 -0
  24. data/lib/aws/core/signature/version_4.rb +5 -22
  25. data/lib/aws/core/signer.rb +1 -1
  26. data/lib/aws/core/uri_escape.rb +2 -0
  27. data/lib/aws/core/xml/frame.rb +8 -8
  28. data/lib/aws/core/xml/grammar.rb +8 -3
  29. data/lib/aws/dynamo_db/client.rb +600 -662
  30. data/lib/aws/ec2/client.rb +2688 -3492
  31. data/lib/aws/ec2/request.rb +0 -1
  32. data/lib/aws/elb/client.rb +280 -407
  33. data/lib/aws/emr/client.rb +7 -7
  34. data/lib/aws/iam/client.rb +822 -1268
  35. data/lib/aws/route_53.rb +71 -0
  36. data/lib/aws/route_53/client.rb +272 -0
  37. data/lib/aws/route_53/config.rb +18 -0
  38. data/lib/aws/route_53/errors.rb +22 -0
  39. data/lib/aws/route_53/request.rb +23 -0
  40. data/lib/aws/s3/object_version_collection.rb +6 -6
  41. data/lib/aws/s3/paginated_collection.rb +1 -1
  42. data/lib/aws/s3/request.rb +10 -5
  43. data/lib/aws/simple_db/client.rb +184 -234
  44. data/lib/aws/simple_email_service/client.rb +147 -238
  45. data/lib/aws/simple_workflow/client.rb +997 -1191
  46. data/lib/aws/sns/client.rb +176 -264
  47. data/lib/aws/sqs/client.rb +162 -253
  48. data/lib/aws/sqs/queue.rb +1 -1
  49. data/lib/aws/sqs/request.rb +4 -0
  50. data/lib/aws/sts/client.rb +57 -66
  51. metadata +95 -71
  52. data/lib/aws/core/client/query_json.rb +0 -112
  53. data/lib/aws/core/client/query_xml.rb +0 -122
@@ -29,7 +29,7 @@ module AWS
29
29
  response = list_request(options)
30
30
 
31
31
  each_member_in_page(response, &block)
32
-
32
+
33
33
  response.data[:truncated] ? next_markers(response) : nil
34
34
 
35
35
  end
@@ -60,15 +60,20 @@ module AWS
60
60
  end
61
61
  end
62
62
 
63
- def path
63
+ def uri
64
+
64
65
  parts = []
65
66
  parts << bucket if bucket and path_style?
66
67
  parts << escape_path(key) if key
67
- "/#{parts.join('/')}"
68
- end
69
68
 
70
- def querystring
71
- url_encoded_params
69
+ path = '/' + parts.join('/')
70
+ querystring = url_encoded_params
71
+
72
+ uri = ''
73
+ uri << path
74
+ uri << "?#{querystring}" if querystring
75
+ uri
76
+
72
77
  end
73
78
 
74
79
  # @param [String, IO] body The http request body. This can be a string or
@@ -19,7 +19,7 @@ module AWS
19
19
 
20
20
  API_VERSION = '2009-04-15'
21
21
 
22
- extend Core::Client::QueryXML
22
+ extend Core::QueryClient
23
23
 
24
24
  # @private
25
25
  REGION_US_E1 = 'sdb.amazonaws.com'
@@ -60,286 +60,236 @@ module AWS
60
60
 
61
61
  # Calls the BatchDeleteAttributes API operation.
62
62
  # @method batch_delete_attributes(options = {})
63
- #
64
- # === Options:
65
- #
66
- # * +:domain_name+ - *required* - (String) The name of the domain in
67
- # which the attributes are being deleted.
68
- # * +:items+ - *required* - (Array<Hash>) A list of items on which to
69
- # perform the operation.
70
- # * +:name+ - *required* - (String)
71
- # * +:attributes+ - (Array<Hash>)
72
- # * +:name+ - *required* - (String) The name of the attribute.
73
- # * +:value+ - *required* - (String) The value of the attribute.
74
- #
75
- # === Response Structure:
76
- #
77
- # * +:response_metadata+ - (Hash)
78
- # * +:box_usage+ - (Numeric)
79
- # * +:response_id+ - (String)
80
- #
63
+ # @param [Hash] options
64
+ # * +:domain_name+ - *required* - (String) The name of the domain in
65
+ # which the attributes are being deleted.
66
+ # * +:items+ - *required* - (Array<Hash>) A list of items on which to
67
+ # perform the operation.
68
+ # * +:name+ - *required* - (String)
69
+ # * +:attributes+ - (Array<Hash>)
70
+ # * +:name+ - *required* - (String) The name of the attribute.
71
+ # * +:value+ - *required* - (String) The value of the attribute.
81
72
  # @return [Core::Response]
82
- #
73
+ # The #data method of the response object returns
74
+ # a hash with the following structure:
75
+ # * +:response_metadata+ - (Hash)
76
+ # * +:box_usage+ - (Numeric)
77
+ # * +:response_id+ - (String)
83
78
  define_client_method :batch_delete_attributes, 'BatchDeleteAttributes'
84
79
 
85
80
  # Calls the BatchPutAttributes API operation.
86
81
  # @method batch_put_attributes(options = {})
87
- #
88
- # === Options:
89
- #
90
- # * +:domain_name+ - *required* - (String) The name of the domain in
91
- # which the attributes are being stored.
92
- # * +:items+ - *required* - (Array<Hash>) A list of items on which to
93
- # perform the operation.
94
- # * +:name+ - *required* - (String) The name of the replaceable item.
95
- # * +:attributes+ - *required* - (Array<Hash>) The list of attributes
96
- # for a replaceable item.
97
- # * +:name+ - *required* - (String) The name of the replaceable
98
- # attribute.
99
- # * +:value+ - *required* - (String) The value of the replaceable
100
- # attribute.
101
- # * +:replace+ - (Boolean) A flag specifying whether or not to
102
- # replace the attribute/value pair or to add a new attribute/value
103
- # pair. The default setting is +false+ .
104
- #
105
- # === Response Structure:
106
- #
107
- # * +:response_metadata+ - (Hash)
108
- # * +:box_usage+ - (Numeric)
109
- # * +:response_id+ - (String)
110
- #
82
+ # @param [Hash] options
83
+ # * +:domain_name+ - *required* - (String) The name of the domain in
84
+ # which the attributes are being stored.
85
+ # * +:items+ - *required* - (Array<Hash>) A list of items on which to
86
+ # perform the operation.
87
+ # * +:name+ - *required* - (String) The name of the replaceable item.
88
+ # * +:attributes+ - *required* - (Array<Hash>) The list of attributes
89
+ # for a replaceable item.
90
+ # * +:name+ - *required* - (String) The name of the replaceable
91
+ # attribute.
92
+ # * +:value+ - *required* - (String) The value of the replaceable
93
+ # attribute.
94
+ # * +:replace+ - (Boolean) A flag specifying whether or not to
95
+ # replace the attribute/value pair or to add a new
96
+ # attribute/value pair. The default setting is +false+ .
111
97
  # @return [Core::Response]
112
- #
98
+ # The #data method of the response object returns
99
+ # a hash with the following structure:
100
+ # * +:response_metadata+ - (Hash)
101
+ # * +:box_usage+ - (Numeric)
102
+ # * +:response_id+ - (String)
113
103
  define_client_method :batch_put_attributes, 'BatchPutAttributes'
114
104
 
115
105
  # Calls the CreateDomain API operation.
116
106
  # @method create_domain(options = {})
117
- #
118
- # === Options:
119
- #
120
- # * +:domain_name+ - *required* - (String) The name of the domain to
121
- # create. The name can range between 3 and 255 characters and can
122
- # contain the following characters: a-z, A-Z, 0-9, '_', '-', and '.'.
123
- #
124
- # === Response Structure:
125
- #
126
- # * +:response_metadata+ - (Hash)
127
- # * +:box_usage+ - (Numeric)
128
- # * +:response_id+ - (String)
129
- #
107
+ # @param [Hash] options
108
+ # * +:domain_name+ - *required* - (String) The name of the domain to
109
+ # create. The name can range between 3 and 255 characters and can
110
+ # contain the following characters: a-z, A-Z, 0-9, '_', '-', and '.'.
130
111
  # @return [Core::Response]
131
- #
112
+ # The #data method of the response object returns
113
+ # a hash with the following structure:
114
+ # * +:response_metadata+ - (Hash)
115
+ # * +:box_usage+ - (Numeric)
116
+ # * +:response_id+ - (String)
132
117
  define_client_method :create_domain, 'CreateDomain'
133
118
 
134
119
  # Calls the DeleteAttributes API operation.
135
120
  # @method delete_attributes(options = {})
136
- #
137
- # === Options:
138
- #
139
- # * +:domain_name+ - *required* - (String) The name of the domain in
140
- # which to perform the operation.
141
- # * +:item_name+ - *required* - (String) The name of the item. Similar to
142
- # rows on a spreadsheet, items represent individual objects that
143
- # contain one or more value-attribute pairs.
144
- # * +:attributes+ - (Array<Hash>) A list of Attributes. Similar to
145
- # columns on a spreadsheet, attributes represent categories of data
146
- # that can be assigned to items.
147
- # * +:name+ - *required* - (String) The name of the attribute.
148
- # * +:value+ - (String) The value of the attribute.
149
- # * +:expected+ - (Hash) The update condition which, if specified,
150
- # determines whether the specified attributes will be deleted or not.
151
- # The update condition must be satisfied in order for this request to
152
- # be processed and the attributes to be deleted.
153
- # * +:name+ - (String) The name of the attribute involved in the
154
- # condition.
155
- # * +:value+ - (String) The value of an attribute. This value can only
156
- # be specified when the Exists parameter is equal to +true+ .
157
- # * +:exists+ - (Boolean) A value specifying whether or not the
158
- # specified attribute must exist with the specified value in order
159
- # for the update condition to be satisfied. Specify +true+ if the
160
- # attribute must exist for the update condition to be satisfied.
161
- # Specify +false+ if the attribute should not exist in order for the
162
- # update condition to be satisfied.
163
- #
164
- # === Response Structure:
165
- #
166
- # * +:response_metadata+ - (Hash)
167
- # * +:box_usage+ - (Numeric)
168
- # * +:response_id+ - (String)
169
- #
121
+ # @param [Hash] options
122
+ # * +:domain_name+ - *required* - (String) The name of the domain in
123
+ # which to perform the operation.
124
+ # * +:item_name+ - *required* - (String) The name of the item. Similar
125
+ # to rows on a spreadsheet, items represent individual objects that
126
+ # contain one or more value-attribute pairs.
127
+ # * +:attributes+ - (Array<Hash>) A list of Attributes. Similar to
128
+ # columns on a spreadsheet, attributes represent categories of data
129
+ # that can be assigned to items.
130
+ # * +:name+ - *required* - (String) The name of the attribute.
131
+ # * +:value+ - (String) The value of the attribute.
132
+ # * +:expected+ - (Hash) The update condition which, if specified,
133
+ # determines whether the specified attributes will be deleted or not.
134
+ # The update condition must be satisfied in order for this request to
135
+ # be processed and the attributes to be deleted.
136
+ # * +:name+ - (String) The name of the attribute involved in the
137
+ # condition.
138
+ # * +:value+ - (String) The value of an attribute. This value can
139
+ # only be specified when the Exists parameter is equal to +true+ .
140
+ # * +:exists+ - (Boolean) A value specifying whether or not the
141
+ # specified attribute must exist with the specified value in order
142
+ # for the update condition to be satisfied. Specify +true+ if the
143
+ # attribute must exist for the update condition to be satisfied.
144
+ # Specify +false+ if the attribute should not exist in order for
145
+ # the update condition to be satisfied.
170
146
  # @return [Core::Response]
171
- #
147
+ # The #data method of the response object returns
148
+ # a hash with the following structure:
149
+ # * +:response_metadata+ - (Hash)
150
+ # * +:box_usage+ - (Numeric)
151
+ # * +:response_id+ - (String)
172
152
  define_client_method :delete_attributes, 'DeleteAttributes'
173
153
 
174
154
  # Calls the DeleteDomain API operation.
175
155
  # @method delete_domain(options = {})
176
- #
177
- # === Options:
178
- #
179
- # * +:domain_name+ - *required* - (String) The name of the domain to
180
- # delete.
181
- #
182
- # === Response Structure:
183
- #
184
- # * +:response_metadata+ - (Hash)
185
- # * +:box_usage+ - (Numeric)
186
- # * +:response_id+ - (String)
187
- #
156
+ # @param [Hash] options
157
+ # * +:domain_name+ - *required* - (String) The name of the domain to
158
+ # delete.
188
159
  # @return [Core::Response]
189
- #
160
+ # The #data method of the response object returns
161
+ # a hash with the following structure:
162
+ # * +:response_metadata+ - (Hash)
163
+ # * +:box_usage+ - (Numeric)
164
+ # * +:response_id+ - (String)
190
165
  define_client_method :delete_domain, 'DeleteDomain'
191
166
 
192
167
  # Calls the DomainMetadata API operation.
193
168
  # @method domain_metadata(options = {})
194
- #
195
- # === Options:
196
- #
197
- # * +:domain_name+ - *required* - (String) The name of the domain for
198
- # which to display the metadata of.
199
- #
200
- # === Response Structure:
201
- #
202
- # * +:item_count+ - (Integer)
203
- # * +:item_names_size_bytes+ - (Integer)
204
- # * +:attribute_name_count+ - (Integer)
205
- # * +:attribute_names_size_bytes+ - (Integer)
206
- # * +:attribute_value_count+ - (Integer)
207
- # * +:attribute_values_size_bytes+ - (Integer)
208
- # * +:timestamp+ - (Integer)
209
- # * +:response_metadata+ - (Hash)
210
- # * +:box_usage+ - (Numeric)
211
- # * +:response_id+ - (String)
212
- #
169
+ # @param [Hash] options
170
+ # * +:domain_name+ - *required* - (String) The name of the domain for
171
+ # which to display the metadata of.
213
172
  # @return [Core::Response]
214
- #
173
+ # The #data method of the response object returns
174
+ # a hash with the following structure:
175
+ # * +:item_count+ - (Integer)
176
+ # * +:item_names_size_bytes+ - (Integer)
177
+ # * +:attribute_name_count+ - (Integer)
178
+ # * +:attribute_names_size_bytes+ - (Integer)
179
+ # * +:attribute_value_count+ - (Integer)
180
+ # * +:attribute_values_size_bytes+ - (Integer)
181
+ # * +:timestamp+ - (Integer)
182
+ # * +:response_metadata+ - (Hash)
183
+ # * +:box_usage+ - (Numeric)
184
+ # * +:response_id+ - (String)
215
185
  define_client_method :domain_metadata, 'DomainMetadata'
216
186
 
217
187
  # Calls the GetAttributes API operation.
218
188
  # @method get_attributes(options = {})
219
- #
220
- # === Options:
221
- #
222
- # * +:domain_name+ - *required* - (String) The name of the domain in
223
- # which to perform the operation.
224
- # * +:item_name+ - *required* - (String) The name of the item.
225
- # * +:attribute_names+ - (Array<String>) The names of the attributes.
226
- # * +:consistent_read+ - (Boolean) Determines whether or not strong
227
- # consistency should be enforced when data is read from SimpleDB. If
228
- # +true+ , any data previously written to SimpleDB will be returned.
229
- # Otherwise, results will be consistent eventually, and the client may
230
- # not see data that was written immediately before your read.
231
- #
232
- # === Response Structure:
233
- #
234
- # * +:attributes+ - (Array<Hash>)
235
- # * +:name+ - (String)
236
- # * +:alternate_name_encoding+ - (String)
237
- # * +:value+ - (String)
238
- # * +:alternate_value_encoding+ - (String)
239
- # * +:response_metadata+ - (Hash)
240
- # * +:box_usage+ - (Numeric)
241
- # * +:response_id+ - (String)
242
- #
189
+ # @param [Hash] options
190
+ # * +:domain_name+ - *required* - (String) The name of the domain in
191
+ # which to perform the operation.
192
+ # * +:item_name+ - *required* - (String) The name of the item.
193
+ # * +:attribute_names+ - (Array<String>) The names of the attributes.
194
+ # * +:consistent_read+ - (Boolean) Determines whether or not strong
195
+ # consistency should be enforced when data is read from SimpleDB. If
196
+ # +true+ , any data previously written to SimpleDB will be returned.
197
+ # Otherwise, results will be consistent eventually, and the client
198
+ # may not see data that was written immediately before your read.
243
199
  # @return [Core::Response]
244
- #
200
+ # The #data method of the response object returns
201
+ # a hash with the following structure:
202
+ # * +:attributes+ - (Array<Hash>)
203
+ # * +:name+ - (String)
204
+ # * +:alternate_name_encoding+ - (String)
205
+ # * +:value+ - (String)
206
+ # * +:alternate_value_encoding+ - (String)
207
+ # * +:response_metadata+ - (Hash)
208
+ # * +:box_usage+ - (Numeric)
209
+ # * +:response_id+ - (String)
245
210
  define_client_method :get_attributes, 'GetAttributes'
246
211
 
247
212
  # Calls the ListDomains API operation.
248
213
  # @method list_domains(options = {})
249
- #
250
- # === Options:
251
- #
252
- # * +:max_number_of_domains+ - (Integer) The maximum number of domain
253
- # names you want returned. The range is 1 to 100. The default setting
254
- # is 100.
255
- # * +:next_token+ - (String) A string informing Amazon SimpleDB where to
256
- # start the next list of domain names.
257
- #
258
- # === Response Structure:
259
- #
260
- # * +:domain_names+ - (Array<String>)
261
- # * +:next_token+ - (String)
262
- # * +:response_metadata+ - (Hash)
263
- # * +:box_usage+ - (Numeric)
264
- # * +:response_id+ - (String)
265
- #
214
+ # @param [Hash] options
215
+ # * +:max_number_of_domains+ - (Integer) The maximum number of domain
216
+ # names you want returned. The range is 1 to 100. The default setting
217
+ # is 100.
218
+ # * +:next_token+ - (String) A string informing Amazon SimpleDB where
219
+ # to start the next list of domain names.
266
220
  # @return [Core::Response]
267
- #
221
+ # The #data method of the response object returns
222
+ # a hash with the following structure:
223
+ # * +:domain_names+ - (Array<String>)
224
+ # * +:next_token+ - (String)
225
+ # * +:response_metadata+ - (Hash)
226
+ # * +:box_usage+ - (Numeric)
227
+ # * +:response_id+ - (String)
268
228
  define_client_method :list_domains, 'ListDomains'
269
229
 
270
230
  # Calls the PutAttributes API operation.
271
231
  # @method put_attributes(options = {})
272
- #
273
- # === Options:
274
- #
275
- # * +:domain_name+ - *required* - (String) The name of the domain in
276
- # which to perform the operation.
277
- # * +:item_name+ - *required* - (String) The name of the item.
278
- # * +:attributes+ - *required* - (Array<Hash>) The list of attributes.
279
- # * +:name+ - *required* - (String) The name of the replaceable
280
- # attribute.
281
- # * +:value+ - *required* - (String) The value of the replaceable
282
- # attribute.
283
- # * +:replace+ - (Boolean) A flag specifying whether or not to replace
284
- # the attribute/value pair or to add a new attribute/value pair. The
285
- # default setting is +false+ .
286
- # * +:expected+ - (Hash) The update condition which, if specified,
287
- # determines whether the specified attributes will be updated or not.
288
- # The update condition must be satisfied in order for this request to
289
- # be processed and the attributes to be updated.
290
- # * +:name+ - (String) The name of the attribute involved in the
291
- # condition.
292
- # * +:value+ - (String) The value of an attribute. This value can only
293
- # be specified when the Exists parameter is equal to +true+ .
294
- # * +:exists+ - (Boolean) A value specifying whether or not the
295
- # specified attribute must exist with the specified value in order
296
- # for the update condition to be satisfied. Specify +true+ if the
297
- # attribute must exist for the update condition to be satisfied.
298
- # Specify +false+ if the attribute should not exist in order for the
299
- # update condition to be satisfied.
300
- #
301
- # === Response Structure:
302
- #
303
- # * +:response_metadata+ - (Hash)
304
- # * +:box_usage+ - (Numeric)
305
- # * +:response_id+ - (String)
306
- #
232
+ # @param [Hash] options
233
+ # * +:domain_name+ - *required* - (String) The name of the domain in
234
+ # which to perform the operation.
235
+ # * +:item_name+ - *required* - (String) The name of the item.
236
+ # * +:attributes+ - *required* - (Array<Hash>) The list of attributes.
237
+ # * +:name+ - *required* - (String) The name of the replaceable
238
+ # attribute.
239
+ # * +:value+ - *required* - (String) The value of the replaceable
240
+ # attribute.
241
+ # * +:replace+ - (Boolean) A flag specifying whether or not to
242
+ # replace the attribute/value pair or to add a new attribute/value
243
+ # pair. The default setting is +false+ .
244
+ # * +:expected+ - (Hash) The update condition which, if specified,
245
+ # determines whether the specified attributes will be updated or not.
246
+ # The update condition must be satisfied in order for this request to
247
+ # be processed and the attributes to be updated.
248
+ # * +:name+ - (String) The name of the attribute involved in the
249
+ # condition.
250
+ # * +:value+ - (String) The value of an attribute. This value can
251
+ # only be specified when the Exists parameter is equal to +true+ .
252
+ # * +:exists+ - (Boolean) A value specifying whether or not the
253
+ # specified attribute must exist with the specified value in order
254
+ # for the update condition to be satisfied. Specify +true+ if the
255
+ # attribute must exist for the update condition to be satisfied.
256
+ # Specify +false+ if the attribute should not exist in order for
257
+ # the update condition to be satisfied.
307
258
  # @return [Core::Response]
308
- #
259
+ # The #data method of the response object returns
260
+ # a hash with the following structure:
261
+ # * +:response_metadata+ - (Hash)
262
+ # * +:box_usage+ - (Numeric)
263
+ # * +:response_id+ - (String)
309
264
  define_client_method :put_attributes, 'PutAttributes'
310
265
 
311
266
  # Calls the Select API operation.
312
267
  # @method select(options = {})
313
- #
314
- # === Options:
315
- #
316
- # * +:select_expression+ - *required* - (String) The expression used to
317
- # query the domain.
318
- # * +:next_token+ - (String) A string informing Amazon SimpleDB where to
319
- # start the next list of ItemNames.
320
- # * +:consistent_read+ - (Boolean) Determines whether or not strong
321
- # consistency should be enforced when data is read from SimpleDB. If
322
- # +true+ , any data previously written to SimpleDB will be returned.
323
- # Otherwise, results will be consistent eventually, and the client may
324
- # not see data that was written immediately before your read.
325
- #
326
- # === Response Structure:
327
- #
328
- # * +:items+ - (Array<Hash>)
329
- # * +:name+ - (String)
330
- # * +:alternate_name_encoding+ - (String)
331
- # * +:attributes+ - (Array<Hash>)
268
+ # @param [Hash] options
269
+ # * +:select_expression+ - *required* - (String) The expression used to
270
+ # query the domain.
271
+ # * +:next_token+ - (String) A string informing Amazon SimpleDB where
272
+ # to start the next list of ItemNames.
273
+ # * +:consistent_read+ - (Boolean) Determines whether or not strong
274
+ # consistency should be enforced when data is read from SimpleDB. If
275
+ # +true+ , any data previously written to SimpleDB will be returned.
276
+ # Otherwise, results will be consistent eventually, and the client
277
+ # may not see data that was written immediately before your read.
278
+ # @return [Core::Response]
279
+ # The #data method of the response object returns
280
+ # a hash with the following structure:
281
+ # * +:items+ - (Array<Hash>)
332
282
  # * +:name+ - (String)
333
283
  # * +:alternate_name_encoding+ - (String)
334
- # * +:value+ - (String)
335
- # * +:alternate_value_encoding+ - (String)
336
- # * +:next_token+ - (String)
337
- # * +:response_metadata+ - (Hash)
338
- # * +:box_usage+ - (Numeric)
339
- # * +:response_id+ - (String)
340
- #
341
- # @return [Core::Response]
342
- #
284
+ # * +:attributes+ - (Array<Hash>)
285
+ # * +:name+ - (String)
286
+ # * +:alternate_name_encoding+ - (String)
287
+ # * +:value+ - (String)
288
+ # * +:alternate_value_encoding+ - (String)
289
+ # * +:next_token+ - (String)
290
+ # * +:response_metadata+ - (Hash)
291
+ # * +:box_usage+ - (Numeric)
292
+ # * +:response_id+ - (String)
343
293
  define_client_method :select, 'Select'
344
294
 
345
295
  ## end client methods ##