aws-sdk 1.5.8 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/aws.rb +2 -0
- data/lib/aws/api_config/Route53-2012-02-29.yml +348 -0
- data/lib/aws/auto_scaling/client.rb +362 -588
- data/lib/aws/cloud_formation/client.rb +155 -224
- data/lib/aws/cloud_watch/client.rb +156 -229
- data/lib/aws/core.rb +67 -52
- data/lib/aws/core/client.rb +81 -82
- data/lib/aws/core/collection/with_limit_and_next_token.rb +2 -2
- data/lib/aws/core/configuration.rb +75 -72
- data/lib/aws/core/http/net_http_handler.rb +3 -3
- data/lib/aws/core/http/request.rb +107 -138
- data/lib/aws/core/inflection.rb +3 -3
- data/lib/aws/core/json_client.rb +106 -0
- data/lib/aws/core/option_grammar.rb +10 -1
- data/lib/aws/core/options/validator.rb +140 -0
- data/lib/aws/core/options/xml_serializer.rb +98 -0
- data/lib/aws/core/query_client.rb +131 -0
- data/lib/aws/core/rest_client.rb +90 -0
- data/lib/aws/core/rest_client/input_handler.rb +145 -0
- data/lib/aws/core/rest_client/output_handler.rb +43 -0
- data/lib/aws/core/signature/version_2.rb +7 -7
- data/lib/aws/core/signature/version_3.rb +5 -1
- data/lib/aws/core/signature/version_3_https.rb +51 -0
- data/lib/aws/core/signature/version_4.rb +5 -22
- data/lib/aws/core/signer.rb +1 -1
- data/lib/aws/core/uri_escape.rb +2 -0
- data/lib/aws/core/xml/frame.rb +8 -8
- data/lib/aws/core/xml/grammar.rb +8 -3
- data/lib/aws/dynamo_db/client.rb +600 -662
- data/lib/aws/ec2/client.rb +2688 -3492
- data/lib/aws/ec2/request.rb +0 -1
- data/lib/aws/elb/client.rb +280 -407
- data/lib/aws/emr/client.rb +7 -7
- data/lib/aws/iam/client.rb +822 -1268
- data/lib/aws/route_53.rb +71 -0
- data/lib/aws/route_53/client.rb +272 -0
- data/lib/aws/route_53/config.rb +18 -0
- data/lib/aws/route_53/errors.rb +22 -0
- data/lib/aws/route_53/request.rb +23 -0
- data/lib/aws/s3/object_version_collection.rb +6 -6
- data/lib/aws/s3/paginated_collection.rb +1 -1
- data/lib/aws/s3/request.rb +10 -5
- data/lib/aws/simple_db/client.rb +184 -234
- data/lib/aws/simple_email_service/client.rb +147 -238
- data/lib/aws/simple_workflow/client.rb +997 -1191
- data/lib/aws/sns/client.rb +176 -264
- data/lib/aws/sqs/client.rb +162 -253
- data/lib/aws/sqs/queue.rb +1 -1
- data/lib/aws/sqs/request.rb +4 -0
- data/lib/aws/sts/client.rb +57 -66
- metadata +95 -71
- data/lib/aws/core/client/query_json.rb +0 -112
- data/lib/aws/core/client/query_xml.rb +0 -122
data/lib/aws/s3/request.rb
CHANGED
@@ -60,15 +60,20 @@ module AWS
|
|
60
60
|
end
|
61
61
|
end
|
62
62
|
|
63
|
-
def
|
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
|
-
|
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
|
data/lib/aws/simple_db/client.rb
CHANGED
@@ -19,7 +19,7 @@ module AWS
|
|
19
19
|
|
20
20
|
API_VERSION = '2009-04-15'
|
21
21
|
|
22
|
-
extend Core::
|
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
|
-
#
|
65
|
-
#
|
66
|
-
#
|
67
|
-
#
|
68
|
-
#
|
69
|
-
#
|
70
|
-
#
|
71
|
-
#
|
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
|
-
#
|
89
|
-
#
|
90
|
-
#
|
91
|
-
#
|
92
|
-
#
|
93
|
-
#
|
94
|
-
#
|
95
|
-
#
|
96
|
-
#
|
97
|
-
#
|
98
|
-
#
|
99
|
-
#
|
100
|
-
#
|
101
|
-
#
|
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
|
-
#
|
119
|
-
#
|
120
|
-
#
|
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
|
-
#
|
138
|
-
#
|
139
|
-
#
|
140
|
-
#
|
141
|
-
#
|
142
|
-
#
|
143
|
-
#
|
144
|
-
#
|
145
|
-
#
|
146
|
-
#
|
147
|
-
# * +:
|
148
|
-
#
|
149
|
-
#
|
150
|
-
#
|
151
|
-
#
|
152
|
-
#
|
153
|
-
#
|
154
|
-
#
|
155
|
-
#
|
156
|
-
#
|
157
|
-
#
|
158
|
-
#
|
159
|
-
#
|
160
|
-
#
|
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
|
-
#
|
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
|
-
#
|
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
|
-
#
|
221
|
-
#
|
222
|
-
#
|
223
|
-
#
|
224
|
-
#
|
225
|
-
#
|
226
|
-
#
|
227
|
-
#
|
228
|
-
#
|
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
|
-
#
|
251
|
-
#
|
252
|
-
#
|
253
|
-
#
|
254
|
-
#
|
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
|
-
#
|
274
|
-
#
|
275
|
-
#
|
276
|
-
#
|
277
|
-
#
|
278
|
-
#
|
279
|
-
#
|
280
|
-
#
|
281
|
-
#
|
282
|
-
#
|
283
|
-
#
|
284
|
-
#
|
285
|
-
#
|
286
|
-
#
|
287
|
-
#
|
288
|
-
#
|
289
|
-
#
|
290
|
-
#
|
291
|
-
#
|
292
|
-
#
|
293
|
-
#
|
294
|
-
#
|
295
|
-
#
|
296
|
-
#
|
297
|
-
#
|
298
|
-
# 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
|
-
#
|
315
|
-
#
|
316
|
-
#
|
317
|
-
#
|
318
|
-
#
|
319
|
-
#
|
320
|
-
#
|
321
|
-
#
|
322
|
-
#
|
323
|
-
#
|
324
|
-
#
|
325
|
-
#
|
326
|
-
#
|
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
|
-
# * +:
|
335
|
-
#
|
336
|
-
#
|
337
|
-
#
|
338
|
-
#
|
339
|
-
# * +:
|
340
|
-
#
|
341
|
-
#
|
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 ##
|