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,23 +1,14 @@
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
- module Errors
8
+ module Aws::SimpleDB
9
+ module Errors
11
10
 
12
- extend Aws::Errors::DynamicErrors
11
+ extend Aws::Errors::DynamicErrors
13
12
 
14
- # Raised when calling #load or #data on a resource class that can not be
15
- # loaded. This can happen when:
16
- #
17
- # * A resource class has identifiers, but no data attributes.
18
- # * Resource data is only available when making an API call that
19
- # enumerates all resources of that type.
20
- class ResourceNotLoadable < RuntimeError; end
21
- end
22
13
  end
23
14
  end
@@ -1,25 +1,23 @@
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
- class Resource
8
+ module Aws::SimpleDB
9
+ class Resource
11
10
 
12
- # @param options ({})
13
- # @option options [Client] :client
14
- def initialize(options = {})
15
- @client = options[:client] || Client.new(options)
16
- end
17
-
18
- # @return [Client]
19
- def client
20
- @client
21
- end
11
+ # @param options ({})
12
+ # @option options [Client] :client
13
+ def initialize(options = {})
14
+ @client = options[:client] || Client.new(options)
15
+ end
22
16
 
17
+ # @return [Client]
18
+ def client
19
+ @client
23
20
  end
21
+
24
22
  end
25
23
  end
@@ -1,530 +1,564 @@
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
- module Types
8
+ module Aws::SimpleDB
9
+ module Types
11
10
 
12
- # @note When making an API call, pass Attribute
13
- # data as a hash:
14
- #
15
- # {
16
- # name: "String", # required
17
- # alternate_name_encoding: "String",
18
- # value: "String", # required
19
- # alternate_value_encoding: "String",
20
- # }
21
- # @!attribute [rw] name
22
- # The name of the attribute.
23
- # @return [String]
24
- #
25
- # @!attribute [rw] alternate_name_encoding
26
- # @return [String]
27
- #
28
- # @!attribute [rw] value
29
- # The value of the attribute.
30
- # @return [String]
31
- #
32
- # @!attribute [rw] alternate_value_encoding
33
- # @return [String]
34
- class Attribute < Struct.new(
35
- :name,
36
- :alternate_name_encoding,
37
- :value,
38
- :alternate_value_encoding)
39
- include Aws::Structure
40
- end
41
-
42
- # @note When making an API call, pass BatchDeleteAttributesRequest
43
- # data as a hash:
44
- #
45
- # {
46
- # domain_name: "String", # required
47
- # items: [ # required
48
- # {
49
- # name: "String", # required
50
- # attributes: [
51
- # {
52
- # name: "String", # required
53
- # alternate_name_encoding: "String",
54
- # value: "String", # required
55
- # alternate_value_encoding: "String",
56
- # },
57
- # ],
58
- # },
59
- # ],
60
- # }
61
- # @!attribute [rw] domain_name
62
- # The name of the domain in which the attributes are being deleted.
63
- # @return [String]
64
- #
65
- # @!attribute [rw] items
66
- # A list of items on which to perform the operation.
67
- # @return [Array<Types::DeletableItem>]
68
- class BatchDeleteAttributesRequest < Struct.new(
69
- :domain_name,
70
- :items)
71
- include Aws::Structure
72
- end
11
+ # @note When making an API call, you may pass Attribute
12
+ # data as a hash:
13
+ #
14
+ # {
15
+ # name: "String", # required
16
+ # alternate_name_encoding: "String",
17
+ # value: "String", # required
18
+ # alternate_value_encoding: "String",
19
+ # }
20
+ #
21
+ # @!attribute [rw] name
22
+ # The name of the attribute.
23
+ # @return [String]
24
+ #
25
+ # @!attribute [rw] alternate_name_encoding
26
+ # @return [String]
27
+ #
28
+ # @!attribute [rw] value
29
+ # The value of the attribute.
30
+ # @return [String]
31
+ #
32
+ # @!attribute [rw] alternate_value_encoding
33
+ # @return [String]
34
+ #
35
+ class Attribute < Struct.new(
36
+ :name,
37
+ :alternate_name_encoding,
38
+ :value,
39
+ :alternate_value_encoding)
40
+ include Aws::Structure
41
+ end
73
42
 
74
- # @note When making an API call, pass BatchPutAttributesRequest
75
- # data as a hash:
76
- #
77
- # {
78
- # domain_name: "String", # required
79
- # items: [ # required
80
- # {
81
- # name: "String", # required
82
- # attributes: [ # required
83
- # {
84
- # name: "String", # required
85
- # value: "String", # required
86
- # replace: false,
87
- # },
88
- # ],
89
- # },
90
- # ],
91
- # }
92
- # @!attribute [rw] domain_name
93
- # The name of the domain in which the attributes are being stored.
94
- # @return [String]
95
- #
96
- # @!attribute [rw] items
97
- # A list of items on which to perform the operation.
98
- # @return [Array<Types::ReplaceableItem>]
99
- class BatchPutAttributesRequest < Struct.new(
100
- :domain_name,
101
- :items)
102
- include Aws::Structure
103
- end
43
+ # @note When making an API call, you may pass BatchDeleteAttributesRequest
44
+ # data as a hash:
45
+ #
46
+ # {
47
+ # domain_name: "String", # required
48
+ # items: [ # required
49
+ # {
50
+ # name: "String", # required
51
+ # attributes: [
52
+ # {
53
+ # name: "String", # required
54
+ # alternate_name_encoding: "String",
55
+ # value: "String", # required
56
+ # alternate_value_encoding: "String",
57
+ # },
58
+ # ],
59
+ # },
60
+ # ],
61
+ # }
62
+ #
63
+ # @!attribute [rw] domain_name
64
+ # The name of the domain in which the attributes are being deleted.
65
+ # @return [String]
66
+ #
67
+ # @!attribute [rw] items
68
+ # A list of items on which to perform the operation.
69
+ # @return [Array<Types::DeletableItem>]
70
+ #
71
+ class BatchDeleteAttributesRequest < Struct.new(
72
+ :domain_name,
73
+ :items)
74
+ include Aws::Structure
75
+ end
104
76
 
105
- # @note When making an API call, pass CreateDomainRequest
106
- # data as a hash:
107
- #
108
- # {
109
- # domain_name: "String", # required
110
- # }
111
- # @!attribute [rw] domain_name
112
- # The name of the domain to create. The name can range between 3 and
113
- # 255 characters and can contain the following characters: a-z, A-Z,
114
- # 0-9, '\_', '-', and '.'.
115
- # @return [String]
116
- class CreateDomainRequest < Struct.new(
117
- :domain_name)
118
- include Aws::Structure
119
- end
77
+ # @note When making an API call, you may pass BatchPutAttributesRequest
78
+ # data as a hash:
79
+ #
80
+ # {
81
+ # domain_name: "String", # required
82
+ # items: [ # required
83
+ # {
84
+ # name: "String", # required
85
+ # attributes: [ # required
86
+ # {
87
+ # name: "String", # required
88
+ # value: "String", # required
89
+ # replace: false,
90
+ # },
91
+ # ],
92
+ # },
93
+ # ],
94
+ # }
95
+ #
96
+ # @!attribute [rw] domain_name
97
+ # The name of the domain in which the attributes are being stored.
98
+ # @return [String]
99
+ #
100
+ # @!attribute [rw] items
101
+ # A list of items on which to perform the operation.
102
+ # @return [Array<Types::ReplaceableItem>]
103
+ #
104
+ class BatchPutAttributesRequest < Struct.new(
105
+ :domain_name,
106
+ :items)
107
+ include Aws::Structure
108
+ end
120
109
 
121
- # @note When making an API call, pass DeletableItem
122
- # data as a hash:
123
- #
124
- # {
125
- # name: "String", # required
126
- # attributes: [
127
- # {
128
- # name: "String", # required
129
- # alternate_name_encoding: "String",
130
- # value: "String", # required
131
- # alternate_value_encoding: "String",
132
- # },
133
- # ],
134
- # }
135
- # @!attribute [rw] name
136
- # @return [String]
137
- #
138
- # @!attribute [rw] attributes
139
- # @return [Array<Types::Attribute>]
140
- class DeletableItem < Struct.new(
141
- :name,
142
- :attributes)
143
- include Aws::Structure
144
- end
110
+ # @note When making an API call, you may pass CreateDomainRequest
111
+ # data as a hash:
112
+ #
113
+ # {
114
+ # domain_name: "String", # required
115
+ # }
116
+ #
117
+ # @!attribute [rw] domain_name
118
+ # The name of the domain to create. The name can range between 3 and
119
+ # 255 characters and can contain the following characters: a-z, A-Z,
120
+ # 0-9, '\_', '-', and '.'.
121
+ # @return [String]
122
+ #
123
+ class CreateDomainRequest < Struct.new(
124
+ :domain_name)
125
+ include Aws::Structure
126
+ end
145
127
 
146
- # @note When making an API call, pass DeleteAttributesRequest
147
- # data as a hash:
148
- #
149
- # {
150
- # domain_name: "String", # required
151
- # item_name: "String", # required
152
- # attributes: [
153
- # {
154
- # name: "String", # required
155
- # alternate_name_encoding: "String",
156
- # value: "String", # required
157
- # alternate_value_encoding: "String",
158
- # },
159
- # ],
160
- # expected: {
161
- # name: "String",
162
- # value: "String",
163
- # exists: false,
164
- # },
165
- # }
166
- # @!attribute [rw] domain_name
167
- # The name of the domain in which to perform the operation.
168
- # @return [String]
169
- #
170
- # @!attribute [rw] item_name
171
- # The name of the item. Similar to rows on a spreadsheet, items
172
- # represent individual objects that contain one or more
173
- # value-attribute pairs.
174
- # @return [String]
175
- #
176
- # @!attribute [rw] attributes
177
- # A list of Attributes. Similar to columns on a spreadsheet,
178
- # attributes represent categories of data that can be assigned to
179
- # items.
180
- # @return [Array<Types::Attribute>]
181
- #
182
- # @!attribute [rw] expected
183
- # The update condition which, if specified, determines whether the
184
- # specified attributes will be deleted or not. The update condition
185
- # must be satisfied in order for this request to be processed and the
186
- # attributes to be deleted.
187
- # @return [Types::UpdateCondition]
188
- class DeleteAttributesRequest < Struct.new(
189
- :domain_name,
190
- :item_name,
191
- :attributes,
192
- :expected)
193
- include Aws::Structure
194
- end
128
+ # @note When making an API call, you may pass DeletableItem
129
+ # data as a hash:
130
+ #
131
+ # {
132
+ # name: "String", # required
133
+ # attributes: [
134
+ # {
135
+ # name: "String", # required
136
+ # alternate_name_encoding: "String",
137
+ # value: "String", # required
138
+ # alternate_value_encoding: "String",
139
+ # },
140
+ # ],
141
+ # }
142
+ #
143
+ # @!attribute [rw] name
144
+ # @return [String]
145
+ #
146
+ # @!attribute [rw] attributes
147
+ # @return [Array<Types::Attribute>]
148
+ #
149
+ class DeletableItem < Struct.new(
150
+ :name,
151
+ :attributes)
152
+ include Aws::Structure
153
+ end
195
154
 
196
- # @note When making an API call, pass DeleteDomainRequest
197
- # data as a hash:
198
- #
199
- # {
200
- # domain_name: "String", # required
201
- # }
202
- # @!attribute [rw] domain_name
203
- # The name of the domain to delete.
204
- # @return [String]
205
- class DeleteDomainRequest < Struct.new(
206
- :domain_name)
207
- include Aws::Structure
208
- end
155
+ # @note When making an API call, you may pass DeleteAttributesRequest
156
+ # data as a hash:
157
+ #
158
+ # {
159
+ # domain_name: "String", # required
160
+ # item_name: "String", # required
161
+ # attributes: [
162
+ # {
163
+ # name: "String", # required
164
+ # alternate_name_encoding: "String",
165
+ # value: "String", # required
166
+ # alternate_value_encoding: "String",
167
+ # },
168
+ # ],
169
+ # expected: {
170
+ # name: "String",
171
+ # value: "String",
172
+ # exists: false,
173
+ # },
174
+ # }
175
+ #
176
+ # @!attribute [rw] domain_name
177
+ # The name of the domain in which to perform the operation.
178
+ # @return [String]
179
+ #
180
+ # @!attribute [rw] item_name
181
+ # The name of the item. Similar to rows on a spreadsheet, items
182
+ # represent individual objects that contain one or more
183
+ # value-attribute pairs.
184
+ # @return [String]
185
+ #
186
+ # @!attribute [rw] attributes
187
+ # A list of Attributes. Similar to columns on a spreadsheet,
188
+ # attributes represent categories of data that can be assigned to
189
+ # items.
190
+ # @return [Array<Types::Attribute>]
191
+ #
192
+ # @!attribute [rw] expected
193
+ # The update condition which, if specified, determines whether the
194
+ # specified attributes will be deleted or not. The update condition
195
+ # must be satisfied in order for this request to be processed and the
196
+ # attributes to be deleted.
197
+ # @return [Types::UpdateCondition]
198
+ #
199
+ class DeleteAttributesRequest < Struct.new(
200
+ :domain_name,
201
+ :item_name,
202
+ :attributes,
203
+ :expected)
204
+ include Aws::Structure
205
+ end
209
206
 
210
- # @note When making an API call, pass DomainMetadataRequest
211
- # data as a hash:
212
- #
213
- # {
214
- # domain_name: "String", # required
215
- # }
216
- # @!attribute [rw] domain_name
217
- # The name of the domain for which to display the metadata of.
218
- # @return [String]
219
- class DomainMetadataRequest < Struct.new(
220
- :domain_name)
221
- include Aws::Structure
222
- end
207
+ # @note When making an API call, you may pass DeleteDomainRequest
208
+ # data as a hash:
209
+ #
210
+ # {
211
+ # domain_name: "String", # required
212
+ # }
213
+ #
214
+ # @!attribute [rw] domain_name
215
+ # The name of the domain to delete.
216
+ # @return [String]
217
+ #
218
+ class DeleteDomainRequest < Struct.new(
219
+ :domain_name)
220
+ include Aws::Structure
221
+ end
223
222
 
224
- # @!attribute [rw] item_count
225
- # The number of all items in the domain.
226
- # @return [Integer]
227
- #
228
- # @!attribute [rw] item_names_size_bytes
229
- # The total size of all item names in the domain, in bytes.
230
- # @return [Integer]
231
- #
232
- # @!attribute [rw] attribute_name_count
233
- # The number of unique attribute names in the domain.
234
- # @return [Integer]
235
- #
236
- # @!attribute [rw] attribute_names_size_bytes
237
- # The total size of all unique attribute names in the domain, in
238
- # bytes.
239
- # @return [Integer]
240
- #
241
- # @!attribute [rw] attribute_value_count
242
- # The number of all attribute name/value pairs in the domain.
243
- # @return [Integer]
244
- #
245
- # @!attribute [rw] attribute_values_size_bytes
246
- # The total size of all attribute values in the domain, in bytes.
247
- # @return [Integer]
248
- #
249
- # @!attribute [rw] timestamp
250
- # The data and time when metadata was calculated, in Epoch (UNIX)
251
- # seconds.
252
- # @return [Integer]
253
- class DomainMetadataResult < Struct.new(
254
- :item_count,
255
- :item_names_size_bytes,
256
- :attribute_name_count,
257
- :attribute_names_size_bytes,
258
- :attribute_value_count,
259
- :attribute_values_size_bytes,
260
- :timestamp)
261
- include Aws::Structure
262
- end
223
+ # @note When making an API call, you may pass DomainMetadataRequest
224
+ # data as a hash:
225
+ #
226
+ # {
227
+ # domain_name: "String", # required
228
+ # }
229
+ #
230
+ # @!attribute [rw] domain_name
231
+ # The name of the domain for which to display the metadata of.
232
+ # @return [String]
233
+ #
234
+ class DomainMetadataRequest < Struct.new(
235
+ :domain_name)
236
+ include Aws::Structure
237
+ end
263
238
 
264
- # @note When making an API call, pass GetAttributesRequest
265
- # data as a hash:
266
- #
267
- # {
268
- # domain_name: "String", # required
269
- # item_name: "String", # required
270
- # attribute_names: ["String"],
271
- # consistent_read: false,
272
- # }
273
- # @!attribute [rw] domain_name
274
- # The name of the domain in which to perform the operation.
275
- # @return [String]
276
- #
277
- # @!attribute [rw] item_name
278
- # The name of the item.
279
- # @return [String]
280
- #
281
- # @!attribute [rw] attribute_names
282
- # The names of the attributes.
283
- # @return [Array<String>]
284
- #
285
- # @!attribute [rw] consistent_read
286
- # Determines whether or not strong consistency should be enforced when data is read from SimpleDB. If `true`, any data previously written to SimpleDB will be returned. Otherwise, results will be consistent eventually, and the client may not see data that was written immediately before your read.
287
- # @return [Boolean]
288
- class GetAttributesRequest < Struct.new(
289
- :domain_name,
290
- :item_name,
291
- :attribute_names,
292
- :consistent_read)
293
- include Aws::Structure
294
- end
239
+ # @!attribute [rw] item_count
240
+ # The number of all items in the domain.
241
+ # @return [Integer]
242
+ #
243
+ # @!attribute [rw] item_names_size_bytes
244
+ # The total size of all item names in the domain, in bytes.
245
+ # @return [Integer]
246
+ #
247
+ # @!attribute [rw] attribute_name_count
248
+ # The number of unique attribute names in the domain.
249
+ # @return [Integer]
250
+ #
251
+ # @!attribute [rw] attribute_names_size_bytes
252
+ # The total size of all unique attribute names in the domain, in
253
+ # bytes.
254
+ # @return [Integer]
255
+ #
256
+ # @!attribute [rw] attribute_value_count
257
+ # The number of all attribute name/value pairs in the domain.
258
+ # @return [Integer]
259
+ #
260
+ # @!attribute [rw] attribute_values_size_bytes
261
+ # The total size of all attribute values in the domain, in bytes.
262
+ # @return [Integer]
263
+ #
264
+ # @!attribute [rw] timestamp
265
+ # The data and time when metadata was calculated, in Epoch (UNIX)
266
+ # seconds.
267
+ # @return [Integer]
268
+ #
269
+ class DomainMetadataResult < Struct.new(
270
+ :item_count,
271
+ :item_names_size_bytes,
272
+ :attribute_name_count,
273
+ :attribute_names_size_bytes,
274
+ :attribute_value_count,
275
+ :attribute_values_size_bytes,
276
+ :timestamp)
277
+ include Aws::Structure
278
+ end
295
279
 
296
- # @!attribute [rw] attributes
297
- # The list of attributes returned by the operation.
298
- # @return [Array<Types::Attribute>]
299
- class GetAttributesResult < Struct.new(
300
- :attributes)
301
- include Aws::Structure
302
- end
280
+ # @note When making an API call, you may pass GetAttributesRequest
281
+ # data as a hash:
282
+ #
283
+ # {
284
+ # domain_name: "String", # required
285
+ # item_name: "String", # required
286
+ # attribute_names: ["String"],
287
+ # consistent_read: false,
288
+ # }
289
+ #
290
+ # @!attribute [rw] domain_name
291
+ # The name of the domain in which to perform the operation.
292
+ # @return [String]
293
+ #
294
+ # @!attribute [rw] item_name
295
+ # The name of the item.
296
+ # @return [String]
297
+ #
298
+ # @!attribute [rw] attribute_names
299
+ # The names of the attributes.
300
+ # @return [Array<String>]
301
+ #
302
+ # @!attribute [rw] consistent_read
303
+ # Determines whether or not strong consistency should be enforced when data is read from SimpleDB. If `true`, any data previously written to SimpleDB will be returned. Otherwise, results will be consistent eventually, and the client may not see data that was written immediately before your read.
304
+ # @return [Boolean]
305
+ #
306
+ class GetAttributesRequest < Struct.new(
307
+ :domain_name,
308
+ :item_name,
309
+ :attribute_names,
310
+ :consistent_read)
311
+ include Aws::Structure
312
+ end
303
313
 
304
- # @!attribute [rw] name
305
- # The name of the item.
306
- # @return [String]
307
- #
308
- # @!attribute [rw] alternate_name_encoding
309
- # @return [String]
310
- #
311
- # @!attribute [rw] attributes
312
- # A list of attributes.
313
- # @return [Array<Types::Attribute>]
314
- class Item < Struct.new(
315
- :name,
316
- :alternate_name_encoding,
317
- :attributes)
318
- include Aws::Structure
319
- end
314
+ # @!attribute [rw] attributes
315
+ # The list of attributes returned by the operation.
316
+ # @return [Array<Types::Attribute>]
317
+ #
318
+ class GetAttributesResult < Struct.new(
319
+ :attributes)
320
+ include Aws::Structure
321
+ end
320
322
 
321
- # @note When making an API call, pass ListDomainsRequest
322
- # data as a hash:
323
- #
324
- # {
325
- # max_number_of_domains: 1,
326
- # next_token: "String",
327
- # }
328
- # @!attribute [rw] max_number_of_domains
329
- # The maximum number of domain names you want returned. The range is 1
330
- # to 100. The default setting is 100.
331
- # @return [Integer]
332
- #
333
- # @!attribute [rw] next_token
334
- # A string informing Amazon SimpleDB where to start the next list of
335
- # domain names.
336
- # @return [String]
337
- class ListDomainsRequest < Struct.new(
338
- :max_number_of_domains,
339
- :next_token)
340
- include Aws::Structure
341
- end
323
+ # @!attribute [rw] name
324
+ # The name of the item.
325
+ # @return [String]
326
+ #
327
+ # @!attribute [rw] alternate_name_encoding
328
+ # @return [String]
329
+ #
330
+ # @!attribute [rw] attributes
331
+ # A list of attributes.
332
+ # @return [Array<Types::Attribute>]
333
+ #
334
+ class Item < Struct.new(
335
+ :name,
336
+ :alternate_name_encoding,
337
+ :attributes)
338
+ include Aws::Structure
339
+ end
342
340
 
343
- # @!attribute [rw] domain_names
344
- # A list of domain names that match the expression.
345
- # @return [Array<String>]
346
- #
347
- # @!attribute [rw] next_token
348
- # An opaque token indicating that there are more domains than the specified `MaxNumberOfDomains` still available.
349
- # @return [String]
350
- class ListDomainsResult < Struct.new(
351
- :domain_names,
352
- :next_token)
353
- include Aws::Structure
354
- end
341
+ # @note When making an API call, you may pass ListDomainsRequest
342
+ # data as a hash:
343
+ #
344
+ # {
345
+ # max_number_of_domains: 1,
346
+ # next_token: "String",
347
+ # }
348
+ #
349
+ # @!attribute [rw] max_number_of_domains
350
+ # The maximum number of domain names you want returned. The range is 1
351
+ # to 100. The default setting is 100.
352
+ # @return [Integer]
353
+ #
354
+ # @!attribute [rw] next_token
355
+ # A string informing Amazon SimpleDB where to start the next list of
356
+ # domain names.
357
+ # @return [String]
358
+ #
359
+ class ListDomainsRequest < Struct.new(
360
+ :max_number_of_domains,
361
+ :next_token)
362
+ include Aws::Structure
363
+ end
355
364
 
356
- # @note When making an API call, pass PutAttributesRequest
357
- # data as a hash:
358
- #
359
- # {
360
- # domain_name: "String", # required
361
- # item_name: "String", # required
362
- # attributes: [ # required
363
- # {
364
- # name: "String", # required
365
- # value: "String", # required
366
- # replace: false,
367
- # },
368
- # ],
369
- # expected: {
370
- # name: "String",
371
- # value: "String",
372
- # exists: false,
373
- # },
374
- # }
375
- # @!attribute [rw] domain_name
376
- # The name of the domain in which to perform the operation.
377
- # @return [String]
378
- #
379
- # @!attribute [rw] item_name
380
- # The name of the item.
381
- # @return [String]
382
- #
383
- # @!attribute [rw] attributes
384
- # The list of attributes.
385
- # @return [Array<Types::ReplaceableAttribute>]
386
- #
387
- # @!attribute [rw] expected
388
- # The update condition which, if specified, determines whether the
389
- # specified attributes will be updated or not. The update condition
390
- # must be satisfied in order for this request to be processed and the
391
- # attributes to be updated.
392
- # @return [Types::UpdateCondition]
393
- class PutAttributesRequest < Struct.new(
394
- :domain_name,
395
- :item_name,
396
- :attributes,
397
- :expected)
398
- include Aws::Structure
399
- end
365
+ # @!attribute [rw] domain_names
366
+ # A list of domain names that match the expression.
367
+ # @return [Array<String>]
368
+ #
369
+ # @!attribute [rw] next_token
370
+ # An opaque token indicating that there are more domains than the specified `MaxNumberOfDomains` still available.
371
+ # @return [String]
372
+ #
373
+ class ListDomainsResult < Struct.new(
374
+ :domain_names,
375
+ :next_token)
376
+ include Aws::Structure
377
+ end
400
378
 
401
- # @note When making an API call, pass ReplaceableAttribute
402
- # data as a hash:
403
- #
404
- # {
405
- # name: "String", # required
406
- # value: "String", # required
407
- # replace: false,
408
- # }
409
- # @!attribute [rw] name
410
- # The name of the replaceable attribute.
411
- # @return [String]
412
- #
413
- # @!attribute [rw] value
414
- # The value of the replaceable attribute.
415
- # @return [String]
416
- #
417
- # @!attribute [rw] replace
418
- # A flag specifying whether or not to replace the attribute/value pair or to add a new attribute/value pair. The default setting is `false`.
419
- # @return [Boolean]
420
- class ReplaceableAttribute < Struct.new(
421
- :name,
422
- :value,
423
- :replace)
424
- include Aws::Structure
425
- end
379
+ # @note When making an API call, you may pass PutAttributesRequest
380
+ # data as a hash:
381
+ #
382
+ # {
383
+ # domain_name: "String", # required
384
+ # item_name: "String", # required
385
+ # attributes: [ # required
386
+ # {
387
+ # name: "String", # required
388
+ # value: "String", # required
389
+ # replace: false,
390
+ # },
391
+ # ],
392
+ # expected: {
393
+ # name: "String",
394
+ # value: "String",
395
+ # exists: false,
396
+ # },
397
+ # }
398
+ #
399
+ # @!attribute [rw] domain_name
400
+ # The name of the domain in which to perform the operation.
401
+ # @return [String]
402
+ #
403
+ # @!attribute [rw] item_name
404
+ # The name of the item.
405
+ # @return [String]
406
+ #
407
+ # @!attribute [rw] attributes
408
+ # The list of attributes.
409
+ # @return [Array<Types::ReplaceableAttribute>]
410
+ #
411
+ # @!attribute [rw] expected
412
+ # The update condition which, if specified, determines whether the
413
+ # specified attributes will be updated or not. The update condition
414
+ # must be satisfied in order for this request to be processed and the
415
+ # attributes to be updated.
416
+ # @return [Types::UpdateCondition]
417
+ #
418
+ class PutAttributesRequest < Struct.new(
419
+ :domain_name,
420
+ :item_name,
421
+ :attributes,
422
+ :expected)
423
+ include Aws::Structure
424
+ end
426
425
 
427
- # @note When making an API call, pass ReplaceableItem
428
- # data as a hash:
429
- #
430
- # {
431
- # name: "String", # required
432
- # attributes: [ # required
433
- # {
434
- # name: "String", # required
435
- # value: "String", # required
436
- # replace: false,
437
- # },
438
- # ],
439
- # }
440
- # @!attribute [rw] name
441
- # The name of the replaceable item.
442
- # @return [String]
443
- #
444
- # @!attribute [rw] attributes
445
- # The list of attributes for a replaceable item.
446
- # @return [Array<Types::ReplaceableAttribute>]
447
- class ReplaceableItem < Struct.new(
448
- :name,
449
- :attributes)
450
- include Aws::Structure
451
- end
426
+ # @note When making an API call, you may pass ReplaceableAttribute
427
+ # data as a hash:
428
+ #
429
+ # {
430
+ # name: "String", # required
431
+ # value: "String", # required
432
+ # replace: false,
433
+ # }
434
+ #
435
+ # @!attribute [rw] name
436
+ # The name of the replaceable attribute.
437
+ # @return [String]
438
+ #
439
+ # @!attribute [rw] value
440
+ # The value of the replaceable attribute.
441
+ # @return [String]
442
+ #
443
+ # @!attribute [rw] replace
444
+ # A flag specifying whether or not to replace the attribute/value pair or to add a new attribute/value pair. The default setting is `false`.
445
+ # @return [Boolean]
446
+ #
447
+ class ReplaceableAttribute < Struct.new(
448
+ :name,
449
+ :value,
450
+ :replace)
451
+ include Aws::Structure
452
+ end
452
453
 
453
- # @note When making an API call, pass SelectRequest
454
- # data as a hash:
455
- #
456
- # {
457
- # select_expression: "String", # required
458
- # next_token: "String",
459
- # consistent_read: false,
460
- # }
461
- # @!attribute [rw] select_expression
462
- # The expression used to query the domain.
463
- # @return [String]
464
- #
465
- # @!attribute [rw] next_token
466
- # A string informing Amazon SimpleDB where to start the next list of `ItemNames`.
467
- # @return [String]
468
- #
469
- # @!attribute [rw] consistent_read
470
- # Determines whether or not strong consistency should be enforced when data is read from SimpleDB. If `true`, any data previously written to SimpleDB will be returned. Otherwise, results will be consistent eventually, and the client may not see data that was written immediately before your read.
471
- # @return [Boolean]
472
- class SelectRequest < Struct.new(
473
- :select_expression,
474
- :next_token,
475
- :consistent_read)
476
- include Aws::Structure
477
- end
454
+ # @note When making an API call, you may pass ReplaceableItem
455
+ # data as a hash:
456
+ #
457
+ # {
458
+ # name: "String", # required
459
+ # attributes: [ # required
460
+ # {
461
+ # name: "String", # required
462
+ # value: "String", # required
463
+ # replace: false,
464
+ # },
465
+ # ],
466
+ # }
467
+ #
468
+ # @!attribute [rw] name
469
+ # The name of the replaceable item.
470
+ # @return [String]
471
+ #
472
+ # @!attribute [rw] attributes
473
+ # The list of attributes for a replaceable item.
474
+ # @return [Array<Types::ReplaceableAttribute>]
475
+ #
476
+ class ReplaceableItem < Struct.new(
477
+ :name,
478
+ :attributes)
479
+ include Aws::Structure
480
+ end
478
481
 
479
- # @!attribute [rw] items
480
- # A list of items that match the select expression.
481
- # @return [Array<Types::Item>]
482
- #
483
- # @!attribute [rw] next_token
484
- # An opaque token indicating that more items than `MaxNumberOfItems` were matched, the response size exceeded 1 megabyte, or the execution time exceeded 5 seconds.
485
- # @return [String]
486
- class SelectResult < Struct.new(
487
- :items,
488
- :next_token)
489
- include Aws::Structure
490
- end
482
+ # @note When making an API call, you may pass SelectRequest
483
+ # data as a hash:
484
+ #
485
+ # {
486
+ # select_expression: "String", # required
487
+ # next_token: "String",
488
+ # consistent_read: false,
489
+ # }
490
+ #
491
+ # @!attribute [rw] select_expression
492
+ # The expression used to query the domain.
493
+ # @return [String]
494
+ #
495
+ # @!attribute [rw] next_token
496
+ # A string informing Amazon SimpleDB where to start the next list of `ItemNames`.
497
+ # @return [String]
498
+ #
499
+ # @!attribute [rw] consistent_read
500
+ # Determines whether or not strong consistency should be enforced when data is read from SimpleDB. If `true`, any data previously written to SimpleDB will be returned. Otherwise, results will be consistent eventually, and the client may not see data that was written immediately before your read.
501
+ # @return [Boolean]
502
+ #
503
+ class SelectRequest < Struct.new(
504
+ :select_expression,
505
+ :next_token,
506
+ :consistent_read)
507
+ include Aws::Structure
508
+ end
491
509
 
492
- # Specifies the conditions under which data should be updated. If an
493
- # update condition is specified for a request, the data will only be
494
- # updated if the condition is satisfied. For example, if an attribute
495
- # with a specific name and value exists, or if a specific attribute
496
- # doesn't exist.
497
- # @note When making an API call, pass UpdateCondition
498
- # data as a hash:
499
- #
500
- # {
501
- # name: "String",
502
- # value: "String",
503
- # exists: false,
504
- # }
505
- # @!attribute [rw] name
506
- # The name of the attribute involved in the condition.
507
- # @return [String]
508
- #
509
- # @!attribute [rw] value
510
- # The value of an attribute. This value can only be specified when the
511
- # `Exists` parameter is equal to `true`.
512
- # @return [String]
513
- #
514
- # @!attribute [rw] exists
515
- # A value specifying whether or not the specified attribute must exist
516
- # with the specified value in order for the update condition to be
517
- # satisfied. Specify `true` if the attribute must exist for the update
518
- # condition to be satisfied. Specify `false` if the attribute should
519
- # not exist in order for the update condition to be satisfied.
520
- # @return [Boolean]
521
- class UpdateCondition < Struct.new(
522
- :name,
523
- :value,
524
- :exists)
525
- include Aws::Structure
526
- end
510
+ # @!attribute [rw] items
511
+ # A list of items that match the select expression.
512
+ # @return [Array<Types::Item>]
513
+ #
514
+ # @!attribute [rw] next_token
515
+ # An opaque token indicating that more items than `MaxNumberOfItems` were matched, the response size exceeded 1 megabyte, or the execution time exceeded 5 seconds.
516
+ # @return [String]
517
+ #
518
+ class SelectResult < Struct.new(
519
+ :items,
520
+ :next_token)
521
+ include Aws::Structure
522
+ end
527
523
 
524
+ # Specifies the conditions under which data should be updated. If an
525
+ # update condition is specified for a request, the data will only be
526
+ # updated if the condition is satisfied. For example, if an attribute
527
+ # with a specific name and value exists, or if a specific attribute
528
+ # doesn't exist.
529
+ #
530
+ # @note When making an API call, you may pass UpdateCondition
531
+ # data as a hash:
532
+ #
533
+ # {
534
+ # name: "String",
535
+ # value: "String",
536
+ # exists: false,
537
+ # }
538
+ #
539
+ # @!attribute [rw] name
540
+ # The name of the attribute involved in the condition.
541
+ # @return [String]
542
+ #
543
+ # @!attribute [rw] value
544
+ # The value of an attribute. This value can only be specified when the
545
+ # `Exists` parameter is equal to `true`.
546
+ # @return [String]
547
+ #
548
+ # @!attribute [rw] exists
549
+ # A value specifying whether or not the specified attribute must exist
550
+ # with the specified value in order for the update condition to be
551
+ # satisfied. Specify `true` if the attribute must exist for the update
552
+ # condition to be satisfied. Specify `false` if the attribute should
553
+ # not exist in order for the update condition to be satisfied.
554
+ # @return [Boolean]
555
+ #
556
+ class UpdateCondition < Struct.new(
557
+ :name,
558
+ :value,
559
+ :exists)
560
+ include Aws::Structure
528
561
  end
562
+
529
563
  end
530
564
  end