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.
- checksums.yaml +4 -4
- data/lib/aws-sdk-simpledb.rb +2 -2
- data/lib/aws-sdk-simpledb/client.rb +634 -562
- data/lib/aws-sdk-simpledb/client_api.rb +308 -430
- data/lib/aws-sdk-simpledb/errors.rb +4 -13
- data/lib/aws-sdk-simpledb/resource.rb +12 -14
- data/lib/aws-sdk-simpledb/types.rb +535 -501
- metadata +2 -2
@@ -1,23 +1,14 @@
|
|
1
1
|
# WARNING ABOUT GENERATED CODE
|
2
2
|
#
|
3
|
-
# This file is generated. See the contributing for
|
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
|
10
|
-
module Errors
|
8
|
+
module Aws::SimpleDB
|
9
|
+
module Errors
|
11
10
|
|
12
|
-
|
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
|
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
|
-
|
10
|
-
class Resource
|
8
|
+
module Aws::SimpleDB
|
9
|
+
class Resource
|
11
10
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
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
|
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
|
10
|
-
module Types
|
8
|
+
module Aws::SimpleDB
|
9
|
+
module Types
|
11
10
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
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
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
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
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
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
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
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
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
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
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
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
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
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
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
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
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
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
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
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
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
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
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
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
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
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
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
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
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
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
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
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
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
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
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
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
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
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
|