aws-sdk-core 2.0.48 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (197) hide show
  1. checksums.yaml +4 -4
  2. data/apis/autoscaling/2011-01-01/api-2.json +636 -33
  3. data/apis/cloudhsm/2014-05-30/api-2.json +3 -6
  4. data/apis/ec2/2014-10-01/api-2.json +10267 -0
  5. data/apis/ec2/2014-10-01/paginators-1.json +125 -0
  6. data/apis/ec2/2014-10-01/resources-1.json +2289 -0
  7. data/apis/ec2/2014-10-01/waiters-2.json +453 -0
  8. data/apis/ec2/2015-03-01/api-2.json +11245 -0
  9. data/apis/ec2/2015-03-01/paginators-1.json +125 -0
  10. data/apis/ec2/2015-03-01/resources-1.json +2479 -0
  11. data/apis/ec2/2015-03-01/waiters-2.json +458 -0
  12. data/apis/ec2/2015-04-15/api-2.json +182 -2
  13. data/apis/ecs/2014-11-13/api-2.json +316 -7
  14. data/apis/ecs/2014-11-13/paginators-1.json +40 -0
  15. data/apis/ecs/2014-11-13/waiters-2.json +93 -0
  16. data/apis/redshift/2012-12-01/waiters-2.json +19 -0
  17. data/apis/s3/2006-03-01/api-2.json +1 -2
  18. data/apis/sqs/2012-11-05/api-2.json +5 -6
  19. data/ca-bundle.crt +3554 -0
  20. data/lib/aws-sdk-core.rb +127 -44
  21. data/lib/aws-sdk-core/api/builder.rb +95 -0
  22. data/lib/aws-sdk-core/api/customizations.rb +152 -0
  23. data/lib/aws-sdk-core/api/docs/builder.rb +220 -0
  24. data/lib/aws-sdk-core/api/docs/client_type_documenter.rb +109 -0
  25. data/lib/aws-sdk-core/api/docs/docstring_provider.rb +66 -0
  26. data/lib/aws-sdk-core/api/docs/operation_documenter.rb +107 -0
  27. data/lib/aws-sdk-core/api/docs/param_formatter.rb +163 -0
  28. data/lib/aws-sdk-core/api/docs/request_syntax_example.rb +22 -0
  29. data/lib/aws-sdk-core/api/docs/response_structure_example.rb +91 -0
  30. data/lib/aws-sdk-core/api/docs/utils.rb +133 -0
  31. data/lib/aws-sdk-core/api/shape_map.rb +140 -0
  32. data/lib/aws-sdk-core/assume_role_credentials.rb +9 -6
  33. data/lib/aws-sdk-core/client.rb +9 -6
  34. data/lib/aws-sdk-core/client_stubs.rb +127 -133
  35. data/lib/aws-sdk-core/client_waiters.rb +1 -1
  36. data/lib/aws-sdk-core/credential_provider.rb +44 -0
  37. data/lib/aws-sdk-core/credential_provider_chain.rb +3 -2
  38. data/lib/aws-sdk-core/credentials.rb +5 -0
  39. data/lib/aws-sdk-core/deprecations.rb +69 -0
  40. data/lib/aws-sdk-core/dynamodb.rb +12 -0
  41. data/lib/aws-sdk-core/eager_loader.rb +31 -0
  42. data/lib/aws-sdk-core/ecs.rb +2 -0
  43. data/lib/aws-sdk-core/empty_structure.rb +1 -82
  44. data/lib/aws-sdk-core/endpoint_provider.rb +1 -1
  45. data/lib/aws-sdk-core/instance_profile_credentials.rb +9 -10
  46. data/lib/aws-sdk-core/json.rb +56 -0
  47. data/lib/aws-sdk-core/json/builder.rb +33 -34
  48. data/lib/aws-sdk-core/json/error_handler.rb +2 -2
  49. data/lib/aws-sdk-core/json/handler.rb +67 -0
  50. data/lib/aws-sdk-core/json/json_engine.rb +15 -0
  51. data/lib/aws-sdk-core/json/oj_engine.rb +15 -0
  52. data/lib/aws-sdk-core/json/parser.rb +30 -38
  53. data/lib/aws-sdk-core/pageable_response.rb +9 -12
  54. data/lib/aws-sdk-core/pager.rb +69 -0
  55. data/lib/aws-sdk-core/param_converter.rb +203 -0
  56. data/lib/aws-sdk-core/param_validator.rb +148 -0
  57. data/lib/aws-sdk-core/plugins/dynamodb_simple_attributes.rb +21 -18
  58. data/lib/aws-sdk-core/plugins/glacier_account_id.rb +9 -1
  59. data/lib/aws-sdk-core/plugins/glacier_checksums.rb +2 -3
  60. data/lib/aws-sdk-core/plugins/param_converter.rb +27 -0
  61. data/lib/aws-sdk-core/plugins/param_validator.rb +28 -0
  62. data/lib/aws-sdk-core/plugins/protocols/json_rpc.rb +3 -7
  63. data/lib/aws-sdk-core/plugins/protocols/rest_json.rb +1 -2
  64. data/lib/aws-sdk-core/plugins/protocols/rest_xml.rb +1 -1
  65. data/lib/aws-sdk-core/plugins/regional_endpoint.rb +1 -1
  66. data/lib/aws-sdk-core/plugins/request_signer.rb +5 -5
  67. data/lib/aws-sdk-core/plugins/response_paging.rb +20 -11
  68. data/lib/aws-sdk-core/plugins/s3_get_bucket_location_fix.rb +1 -1
  69. data/lib/aws-sdk-core/plugins/s3_request_signer.rb +1 -2
  70. data/lib/aws-sdk-core/plugins/stub_responses.rb +25 -27
  71. data/lib/aws-sdk-core/query/ec2_param_builder.rb +29 -34
  72. data/lib/aws-sdk-core/query/handler.rb +32 -18
  73. data/lib/aws-sdk-core/query/param_builder.rb +45 -53
  74. data/lib/aws-sdk-core/refreshing_credentials.rb +3 -15
  75. data/lib/aws-sdk-core/rest/handler.rb +22 -0
  76. data/lib/aws-sdk-core/rest/request/body.rb +58 -0
  77. data/lib/aws-sdk-core/rest/request/builder.rb +50 -0
  78. data/lib/aws-sdk-core/rest/request/endpoint.rb +70 -0
  79. data/lib/aws-sdk-core/rest/request/headers.rb +48 -0
  80. data/lib/aws-sdk-core/rest/response/body.rb +43 -0
  81. data/lib/aws-sdk-core/rest/response/headers.rb +60 -0
  82. data/lib/aws-sdk-core/rest/response/parser.rb +47 -0
  83. data/lib/aws-sdk-core/rest/response/status_code.rb +24 -0
  84. data/lib/aws-sdk-core/shared_credentials.rb +11 -6
  85. data/lib/aws-sdk-core/signers/base.rb +1 -1
  86. data/lib/aws-sdk-core/signers/s3.rb +2 -3
  87. data/lib/aws-sdk-core/signers/v2.rb +7 -4
  88. data/lib/aws-sdk-core/signers/v4.rb +11 -22
  89. data/lib/aws-sdk-core/structure.rb +26 -145
  90. data/lib/aws-sdk-core/stubbing/data_applicator.rb +46 -0
  91. data/lib/aws-sdk-core/stubbing/empty_stub.rb +53 -0
  92. data/lib/aws-sdk-core/stubbing/protocols/ec2.rb +49 -0
  93. data/lib/aws-sdk-core/stubbing/protocols/json.rb +40 -0
  94. data/lib/aws-sdk-core/stubbing/protocols/query.rb +40 -0
  95. data/lib/aws-sdk-core/stubbing/protocols/rest.rb +67 -0
  96. data/lib/aws-sdk-core/stubbing/protocols/rest_json.rb +25 -0
  97. data/lib/aws-sdk-core/stubbing/protocols/rest_xml.rb +38 -0
  98. data/lib/aws-sdk-core/stubbing/stub_data.rb +34 -0
  99. data/lib/aws-sdk-core/version.rb +1 -1
  100. data/lib/aws-sdk-core/xml/builder.rb +58 -52
  101. data/lib/aws-sdk-core/xml/default_map.rb +10 -0
  102. data/lib/aws-sdk-core/xml/doc_builder.rb +86 -0
  103. data/lib/aws-sdk-core/xml/error_handler.rb +7 -2
  104. data/lib/aws-sdk-core/xml/parser.rb +4 -4
  105. data/lib/aws-sdk-core/xml/parser/frame.rb +75 -70
  106. data/lib/aws-sdk-core/xml/parser/stack.rb +4 -4
  107. data/lib/seahorse.rb +0 -11
  108. data/lib/seahorse/client/base.rb +3 -12
  109. data/lib/seahorse/client/http/request.rb +9 -5
  110. data/lib/seahorse/client/plugins/endpoint.rb +5 -56
  111. data/lib/seahorse/client/plugins/restful_bindings.rb +38 -31
  112. data/lib/seahorse/client/request_context.rb +2 -2
  113. data/lib/seahorse/client/response.rb +6 -5
  114. data/lib/seahorse/model/api.rb +18 -61
  115. data/lib/seahorse/model/operation.rb +24 -54
  116. data/lib/seahorse/model/shapes.rb +120 -364
  117. data/lib/seahorse/util.rb +2 -6
  118. metadata +56 -109
  119. data/apis/autoscaling/2011-01-01/docs-2.json +0 -1246
  120. data/apis/cloudformation/2010-05-15/docs-2.json +0 -725
  121. data/apis/cloudfront/2014-11-06/docs-2.json +0 -1125
  122. data/apis/cloudhsm/2014-05-30/docs-2.json +0 -472
  123. data/apis/cloudsearch/2013-01-01/docs-2.json +0 -865
  124. data/apis/cloudsearchdomain/2013-01-01/docs-2.json +0 -311
  125. data/apis/cloudtrail/2013-11-01/docs-2.json +0 -328
  126. data/apis/codedeploy/2014-10-06/docs-2.json +0 -1261
  127. data/apis/cognito-identity/2014-06-30/docs-2.json +0 -506
  128. data/apis/cognito-sync/2014-06-30/docs-2.json +0 -582
  129. data/apis/config/2014-10-17/docs-2.json +0 -513
  130. data/apis/config/2014-11-12/docs-2.json +0 -514
  131. data/apis/datapipeline/2012-10-29/docs-2.json +0 -607
  132. data/apis/directconnect/2012-10-25/docs-2.json +0 -494
  133. data/apis/ds/2015-04-16/docs-2.json +0 -753
  134. data/apis/dynamodb/2011-12-05/api-2.json +0 -949
  135. data/apis/dynamodb/2011-12-05/docs-2.json +0 -606
  136. data/apis/dynamodb/2011-12-05/paginators-1.json +0 -26
  137. data/apis/dynamodb/2011-12-05/waiters-2.json +0 -35
  138. data/apis/dynamodb/2012-08-10/docs-2.json +0 -977
  139. data/apis/ec2/2015-04-15/docs-2.json +0 -5368
  140. data/apis/ecs/2014-11-13/docs-2.json +0 -791
  141. data/apis/elasticache/2015-02-02/docs-2.json +0 -1390
  142. data/apis/elasticbeanstalk/2010-12-01/docs-2.json +0 -1114
  143. data/apis/elasticfilesystem/2015-02-01/docs-2.json +0 -414
  144. data/apis/elasticloadbalancing/2012-06-01/docs-2.json +0 -1078
  145. data/apis/elasticmapreduce/2009-03-31/docs-2.json +0 -969
  146. data/apis/elastictranscoder/2012-09-25/docs-2.json +0 -1152
  147. data/apis/email/2010-12-01/docs-2.json +0 -441
  148. data/apis/glacier/2012-06-01/docs-2.json +0 -575
  149. data/apis/iam/2010-05-08/docs-2.json +0 -2138
  150. data/apis/importexport/2010-06-01/docs-2.json +0 -432
  151. data/apis/kinesis/2013-12-02/docs-2.json +0 -424
  152. data/apis/kms/2014-11-01/docs-2.json +0 -628
  153. data/apis/lambda/2014-11-11/docs-2.json +0 -303
  154. data/apis/lambda/2015-03-31/docs-2.json +0 -490
  155. data/apis/logs/2014-03-28/docs-2.json +0 -599
  156. data/apis/machinelearning/2014-12-12/docs-2.json +0 -1034
  157. data/apis/monitoring/2010-08-01/docs-2.json +0 -514
  158. data/apis/opsworks/2013-02-18/docs-2.json +0 -1592
  159. data/apis/rds/2014-10-31/docs-2.json +0 -2074
  160. data/apis/redshift/2012-12-01/docs-2.json +0 -1890
  161. data/apis/route53/2013-04-01/docs-2.json +0 -1159
  162. data/apis/route53domains/2014-05-15/docs-2.json +0 -620
  163. data/apis/s3/2006-03-01/docs-2.json +0 -2213
  164. data/apis/sdb/2009-04-15/docs-2.json +0 -339
  165. data/apis/sns/2010-03-31/docs-2.json +0 -564
  166. data/apis/sqs/2012-11-05/docs-2.json +0 -503
  167. data/apis/ssm/2014-11-06/docs-2.json +0 -440
  168. data/apis/storagegateway/2013-06-30/docs-2.json +0 -1331
  169. data/apis/sts/2011-06-15/docs-2.json +0 -351
  170. data/apis/support/2013-04-15/docs-2.json +0 -680
  171. data/apis/swf/2012-01-25/docs-2.json +0 -1569
  172. data/apis/workspaces/2015-04-08/docs-2.json +0 -457
  173. data/lib/aws-sdk-core/api/customizer.rb +0 -75
  174. data/lib/aws-sdk-core/api/docstrings.rb +0 -38
  175. data/lib/aws-sdk-core/api/documenter.rb +0 -241
  176. data/lib/aws-sdk-core/api/operation_documenter.rb +0 -173
  177. data/lib/aws-sdk-core/api/operation_example.rb +0 -133
  178. data/lib/aws-sdk-core/api/service_customizations.rb +0 -140
  179. data/lib/aws-sdk-core/client_paging.rb +0 -31
  180. data/lib/aws-sdk-core/json/rest_handler.rb +0 -20
  181. data/lib/aws-sdk-core/json/rpc_body_handler.rb +0 -38
  182. data/lib/aws-sdk-core/json/rpc_headers_handler.rb +0 -34
  183. data/lib/aws-sdk-core/json/simple_body_handler.rb +0 -34
  184. data/lib/aws-sdk-core/paging/null_pager.rb +0 -20
  185. data/lib/aws-sdk-core/paging/null_provider.rb +0 -13
  186. data/lib/aws-sdk-core/paging/pager.rb +0 -70
  187. data/lib/aws-sdk-core/paging/provider.rb +0 -22
  188. data/lib/aws-sdk-core/rest_body_handler.rb +0 -111
  189. data/lib/aws-sdk-core/signers/handler.rb +0 -18
  190. data/lib/aws-sdk-core/xml/rest_handler.rb +0 -20
  191. data/lib/seahorse/client/param_converter.rb +0 -207
  192. data/lib/seahorse/client/param_validator.rb +0 -139
  193. data/lib/seahorse/client/plugins/json_simple.rb +0 -33
  194. data/lib/seahorse/client/plugins/param_conversion.rb +0 -29
  195. data/lib/seahorse/client/plugins/param_validation.rb +0 -30
  196. data/lib/seahorse/client/xml/builder.rb +0 -91
  197. data/lib/seahorse/model/shape_map.rb +0 -47
@@ -1,949 +0,0 @@
1
- {
2
- "version":"2.0",
3
- "metadata":{
4
- "apiVersion":"2011-12-05",
5
- "endpointPrefix":"dynamodb",
6
- "jsonVersion":"1.0",
7
- "serviceAbbreviation":"DynamoDB",
8
- "serviceFullName":"Amazon DynamoDB",
9
- "signatureVersion":"v4",
10
- "targetPrefix":"DynamoDB_20111205",
11
- "protocol":"json"
12
- },
13
- "operations":{
14
- "BatchGetItem":{
15
- "name":"BatchGetItem",
16
- "http":{
17
- "method":"POST",
18
- "requestUri":"/"
19
- },
20
- "input":{"shape":"BatchGetItemInput"},
21
- "output":{"shape":"BatchGetItemOutput"},
22
- "errors":[
23
- {
24
- "shape":"ProvisionedThroughputExceededException",
25
- "exception":true
26
- },
27
- {
28
- "shape":"ResourceNotFoundException",
29
- "exception":true
30
- },
31
- {
32
- "shape":"InternalServerError",
33
- "exception":true,
34
- "fault":true
35
- }
36
- ]
37
- },
38
- "BatchWriteItem":{
39
- "name":"BatchWriteItem",
40
- "http":{
41
- "method":"POST",
42
- "requestUri":"/"
43
- },
44
- "input":{"shape":"BatchWriteItemInput"},
45
- "output":{"shape":"BatchWriteItemOutput"},
46
- "errors":[
47
- {
48
- "shape":"ProvisionedThroughputExceededException",
49
- "exception":true
50
- },
51
- {
52
- "shape":"ResourceNotFoundException",
53
- "exception":true
54
- },
55
- {
56
- "shape":"LimitExceededException",
57
- "exception":true
58
- },
59
- {
60
- "shape":"InternalServerError",
61
- "exception":true,
62
- "fault":true
63
- }
64
- ]
65
- },
66
- "CreateTable":{
67
- "name":"CreateTable",
68
- "http":{
69
- "method":"POST",
70
- "requestUri":"/"
71
- },
72
- "input":{"shape":"CreateTableInput"},
73
- "output":{"shape":"CreateTableOutput"},
74
- "errors":[
75
- {
76
- "shape":"ResourceInUseException",
77
- "exception":true
78
- },
79
- {
80
- "shape":"LimitExceededException",
81
- "exception":true
82
- },
83
- {
84
- "shape":"InternalServerError",
85
- "exception":true,
86
- "fault":true
87
- }
88
- ]
89
- },
90
- "DeleteItem":{
91
- "name":"DeleteItem",
92
- "http":{
93
- "method":"POST",
94
- "requestUri":"/"
95
- },
96
- "input":{"shape":"DeleteItemInput"},
97
- "output":{"shape":"DeleteItemOutput"},
98
- "errors":[
99
- {
100
- "shape":"ConditionalCheckFailedException",
101
- "exception":true
102
- },
103
- {
104
- "shape":"ProvisionedThroughputExceededException",
105
- "exception":true
106
- },
107
- {
108
- "shape":"ResourceNotFoundException",
109
- "exception":true
110
- },
111
- {
112
- "shape":"LimitExceededException",
113
- "exception":true
114
- },
115
- {
116
- "shape":"InternalServerError",
117
- "exception":true,
118
- "fault":true
119
- }
120
- ]
121
- },
122
- "DeleteTable":{
123
- "name":"DeleteTable",
124
- "http":{
125
- "method":"POST",
126
- "requestUri":"/"
127
- },
128
- "input":{"shape":"DeleteTableInput"},
129
- "output":{"shape":"DeleteTableOutput"},
130
- "errors":[
131
- {
132
- "shape":"ResourceInUseException",
133
- "exception":true
134
- },
135
- {
136
- "shape":"ResourceNotFoundException",
137
- "exception":true
138
- },
139
- {
140
- "shape":"LimitExceededException",
141
- "exception":true
142
- },
143
- {
144
- "shape":"InternalServerError",
145
- "exception":true,
146
- "fault":true
147
- }
148
- ]
149
- },
150
- "DescribeTable":{
151
- "name":"DescribeTable",
152
- "http":{
153
- "method":"POST",
154
- "requestUri":"/"
155
- },
156
- "input":{"shape":"DescribeTableInput"},
157
- "output":{"shape":"DescribeTableOutput"},
158
- "errors":[
159
- {
160
- "shape":"ResourceNotFoundException",
161
- "exception":true
162
- },
163
- {
164
- "shape":"InternalServerError",
165
- "exception":true,
166
- "fault":true
167
- }
168
- ]
169
- },
170
- "GetItem":{
171
- "name":"GetItem",
172
- "http":{
173
- "method":"POST",
174
- "requestUri":"/"
175
- },
176
- "input":{"shape":"GetItemInput"},
177
- "output":{"shape":"GetItemOutput"},
178
- "errors":[
179
- {
180
- "shape":"ProvisionedThroughputExceededException",
181
- "exception":true
182
- },
183
- {
184
- "shape":"ResourceNotFoundException",
185
- "exception":true
186
- },
187
- {
188
- "shape":"InternalServerError",
189
- "exception":true,
190
- "fault":true
191
- }
192
- ]
193
- },
194
- "ListTables":{
195
- "name":"ListTables",
196
- "http":{
197
- "method":"POST",
198
- "requestUri":"/"
199
- },
200
- "input":{"shape":"ListTablesInput"},
201
- "output":{"shape":"ListTablesOutput"},
202
- "errors":[
203
- {
204
- "shape":"InternalServerError",
205
- "exception":true,
206
- "fault":true
207
- }
208
- ]
209
- },
210
- "PutItem":{
211
- "name":"PutItem",
212
- "http":{
213
- "method":"POST",
214
- "requestUri":"/"
215
- },
216
- "input":{"shape":"PutItemInput"},
217
- "output":{"shape":"PutItemOutput"},
218
- "errors":[
219
- {
220
- "shape":"ConditionalCheckFailedException",
221
- "exception":true
222
- },
223
- {
224
- "shape":"ProvisionedThroughputExceededException",
225
- "exception":true
226
- },
227
- {
228
- "shape":"ResourceNotFoundException",
229
- "exception":true
230
- },
231
- {
232
- "shape":"LimitExceededException",
233
- "exception":true
234
- },
235
- {
236
- "shape":"InternalServerError",
237
- "exception":true,
238
- "fault":true
239
- }
240
- ]
241
- },
242
- "Query":{
243
- "name":"Query",
244
- "http":{
245
- "method":"POST",
246
- "requestUri":"/"
247
- },
248
- "input":{"shape":"QueryInput"},
249
- "output":{"shape":"QueryOutput"},
250
- "errors":[
251
- {
252
- "shape":"ProvisionedThroughputExceededException",
253
- "exception":true
254
- },
255
- {
256
- "shape":"ResourceNotFoundException",
257
- "exception":true
258
- },
259
- {
260
- "shape":"InternalServerError",
261
- "exception":true,
262
- "fault":true
263
- }
264
- ]
265
- },
266
- "Scan":{
267
- "name":"Scan",
268
- "http":{
269
- "method":"POST",
270
- "requestUri":"/"
271
- },
272
- "input":{"shape":"ScanInput"},
273
- "output":{"shape":"ScanOutput"},
274
- "errors":[
275
- {
276
- "shape":"ProvisionedThroughputExceededException",
277
- "exception":true
278
- },
279
- {
280
- "shape":"ResourceNotFoundException",
281
- "exception":true
282
- },
283
- {
284
- "shape":"InternalServerError",
285
- "exception":true,
286
- "fault":true
287
- }
288
- ]
289
- },
290
- "UpdateItem":{
291
- "name":"UpdateItem",
292
- "http":{
293
- "method":"POST",
294
- "requestUri":"/"
295
- },
296
- "input":{"shape":"UpdateItemInput"},
297
- "output":{"shape":"UpdateItemOutput"},
298
- "errors":[
299
- {
300
- "shape":"ConditionalCheckFailedException",
301
- "exception":true
302
- },
303
- {
304
- "shape":"ProvisionedThroughputExceededException",
305
- "exception":true
306
- },
307
- {
308
- "shape":"ResourceNotFoundException",
309
- "exception":true
310
- },
311
- {
312
- "shape":"LimitExceededException",
313
- "exception":true
314
- },
315
- {
316
- "shape":"InternalServerError",
317
- "exception":true,
318
- "fault":true
319
- }
320
- ]
321
- },
322
- "UpdateTable":{
323
- "name":"UpdateTable",
324
- "http":{
325
- "method":"POST",
326
- "requestUri":"/"
327
- },
328
- "input":{"shape":"UpdateTableInput"},
329
- "output":{"shape":"UpdateTableOutput"},
330
- "errors":[
331
- {
332
- "shape":"ResourceInUseException",
333
- "exception":true
334
- },
335
- {
336
- "shape":"ResourceNotFoundException",
337
- "exception":true
338
- },
339
- {
340
- "shape":"LimitExceededException",
341
- "exception":true
342
- },
343
- {
344
- "shape":"InternalServerError",
345
- "exception":true,
346
- "fault":true
347
- }
348
- ]
349
- }
350
- },
351
- "shapes":{
352
- "AttributeAction":{
353
- "type":"string",
354
- "enum":[
355
- "ADD",
356
- "PUT",
357
- "DELETE"
358
- ]
359
- },
360
- "AttributeMap":{
361
- "type":"map",
362
- "key":{"shape":"AttributeName"},
363
- "value":{"shape":"AttributeValue"}
364
- },
365
- "AttributeName":{
366
- "type":"string",
367
- "max":65535
368
- },
369
- "AttributeNameList":{
370
- "type":"list",
371
- "member":{"shape":"AttributeName"},
372
- "min":1
373
- },
374
- "AttributeUpdates":{
375
- "type":"map",
376
- "key":{"shape":"AttributeName"},
377
- "value":{"shape":"AttributeValueUpdate"}
378
- },
379
- "AttributeValue":{
380
- "type":"structure",
381
- "members":{
382
- "S":{"shape":"StringAttributeValue"},
383
- "N":{"shape":"NumberAttributeValue"},
384
- "B":{"shape":"BinaryAttributeValue"},
385
- "SS":{"shape":"StringSetAttributeValue"},
386
- "NS":{"shape":"NumberSetAttributeValue"},
387
- "BS":{"shape":"BinarySetAttributeValue"}
388
- }
389
- },
390
- "AttributeValueList":{
391
- "type":"list",
392
- "member":{"shape":"AttributeValue"}
393
- },
394
- "AttributeValueUpdate":{
395
- "type":"structure",
396
- "members":{
397
- "Value":{"shape":"AttributeValue"},
398
- "Action":{"shape":"AttributeAction"}
399
- }
400
- },
401
- "BatchGetItemInput":{
402
- "type":"structure",
403
- "required":["RequestItems"],
404
- "members":{
405
- "RequestItems":{"shape":"BatchGetRequestMap"}
406
- }
407
- },
408
- "BatchGetItemOutput":{
409
- "type":"structure",
410
- "members":{
411
- "Responses":{"shape":"BatchGetResponseMap"},
412
- "UnprocessedKeys":{"shape":"BatchGetRequestMap"}
413
- }
414
- },
415
- "BatchGetRequestMap":{
416
- "type":"map",
417
- "key":{"shape":"TableName"},
418
- "value":{"shape":"KeysAndAttributes"},
419
- "min":1,
420
- "max":100
421
- },
422
- "BatchGetResponseMap":{
423
- "type":"map",
424
- "key":{"shape":"TableName"},
425
- "value":{"shape":"BatchResponse"}
426
- },
427
- "BatchResponse":{
428
- "type":"structure",
429
- "members":{
430
- "Items":{"shape":"ItemList"},
431
- "ConsumedCapacityUnits":{"shape":"ConsumedCapacityUnits"}
432
- }
433
- },
434
- "BatchWriteItemInput":{
435
- "type":"structure",
436
- "required":["RequestItems"],
437
- "members":{
438
- "RequestItems":{"shape":"BatchWriteItemRequestMap"}
439
- }
440
- },
441
- "BatchWriteItemOutput":{
442
- "type":"structure",
443
- "members":{
444
- "Responses":{"shape":"BatchWriteResponseMap"},
445
- "UnprocessedItems":{"shape":"BatchWriteItemRequestMap"}
446
- }
447
- },
448
- "BatchWriteItemRequestMap":{
449
- "type":"map",
450
- "key":{"shape":"TableName"},
451
- "value":{"shape":"WriteRequests"},
452
- "min":1,
453
- "max":25
454
- },
455
- "BatchWriteResponse":{
456
- "type":"structure",
457
- "members":{
458
- "ConsumedCapacityUnits":{"shape":"ConsumedCapacityUnits"}
459
- }
460
- },
461
- "BatchWriteResponseMap":{
462
- "type":"map",
463
- "key":{"shape":"TableName"},
464
- "value":{"shape":"BatchWriteResponse"}
465
- },
466
- "BinaryAttributeValue":{"type":"blob"},
467
- "BinarySetAttributeValue":{
468
- "type":"list",
469
- "member":{"shape":"BinaryAttributeValue"}
470
- },
471
- "BooleanObject":{"type":"boolean"},
472
- "ComparisonOperator":{
473
- "type":"string",
474
- "enum":[
475
- "EQ",
476
- "NE",
477
- "IN",
478
- "LE",
479
- "LT",
480
- "GE",
481
- "GT",
482
- "BETWEEN",
483
- "NOT_NULL",
484
- "NULL",
485
- "CONTAINS",
486
- "NOT_CONTAINS",
487
- "BEGINS_WITH"
488
- ]
489
- },
490
- "Condition":{
491
- "type":"structure",
492
- "required":["ComparisonOperator"],
493
- "members":{
494
- "AttributeValueList":{"shape":"AttributeValueList"},
495
- "ComparisonOperator":{"shape":"ComparisonOperator"}
496
- }
497
- },
498
- "ConditionalCheckFailedException":{
499
- "type":"structure",
500
- "members":{
501
- "message":{"shape":"ErrorMessage"}
502
- },
503
- "exception":true
504
- },
505
- "ConsistentRead":{"type":"boolean"},
506
- "ConsumedCapacityUnits":{"type":"double"},
507
- "CreateTableInput":{
508
- "type":"structure",
509
- "required":[
510
- "TableName",
511
- "KeySchema",
512
- "ProvisionedThroughput"
513
- ],
514
- "members":{
515
- "TableName":{"shape":"TableName"},
516
- "KeySchema":{"shape":"KeySchema"},
517
- "ProvisionedThroughput":{"shape":"ProvisionedThroughput"}
518
- }
519
- },
520
- "CreateTableOutput":{
521
- "type":"structure",
522
- "members":{
523
- "TableDescription":{"shape":"TableDescription"}
524
- }
525
- },
526
- "Date":{"type":"timestamp"},
527
- "DeleteItemInput":{
528
- "type":"structure",
529
- "required":[
530
- "TableName",
531
- "Key"
532
- ],
533
- "members":{
534
- "TableName":{"shape":"TableName"},
535
- "Key":{"shape":"Key"},
536
- "Expected":{"shape":"ExpectedAttributeMap"},
537
- "ReturnValues":{"shape":"ReturnValue"}
538
- }
539
- },
540
- "DeleteItemOutput":{
541
- "type":"structure",
542
- "members":{
543
- "Attributes":{"shape":"AttributeMap"},
544
- "ConsumedCapacityUnits":{"shape":"ConsumedCapacityUnits"}
545
- }
546
- },
547
- "DeleteRequest":{
548
- "type":"structure",
549
- "required":["Key"],
550
- "members":{
551
- "Key":{"shape":"Key"}
552
- }
553
- },
554
- "DeleteTableInput":{
555
- "type":"structure",
556
- "required":["TableName"],
557
- "members":{
558
- "TableName":{"shape":"TableName"}
559
- }
560
- },
561
- "DeleteTableOutput":{
562
- "type":"structure",
563
- "members":{
564
- "TableDescription":{"shape":"TableDescription"}
565
- }
566
- },
567
- "DescribeTableInput":{
568
- "type":"structure",
569
- "required":["TableName"],
570
- "members":{
571
- "TableName":{"shape":"TableName"}
572
- }
573
- },
574
- "DescribeTableOutput":{
575
- "type":"structure",
576
- "members":{
577
- "Table":{"shape":"TableDescription"}
578
- }
579
- },
580
- "ErrorMessage":{"type":"string"},
581
- "ExpectedAttributeMap":{
582
- "type":"map",
583
- "key":{"shape":"AttributeName"},
584
- "value":{"shape":"ExpectedAttributeValue"}
585
- },
586
- "ExpectedAttributeValue":{
587
- "type":"structure",
588
- "members":{
589
- "Value":{"shape":"AttributeValue"},
590
- "Exists":{"shape":"BooleanObject"}
591
- }
592
- },
593
- "FilterConditionMap":{
594
- "type":"map",
595
- "key":{"shape":"String"},
596
- "value":{"shape":"Condition"}
597
- },
598
- "GetItemInput":{
599
- "type":"structure",
600
- "required":[
601
- "TableName",
602
- "Key"
603
- ],
604
- "members":{
605
- "TableName":{"shape":"TableName"},
606
- "Key":{"shape":"Key"},
607
- "AttributesToGet":{"shape":"AttributeNameList"},
608
- "ConsistentRead":{"shape":"ConsistentRead"}
609
- }
610
- },
611
- "GetItemOutput":{
612
- "type":"structure",
613
- "members":{
614
- "Item":{"shape":"AttributeMap"},
615
- "ConsumedCapacityUnits":{"shape":"ConsumedCapacityUnits"}
616
- }
617
- },
618
- "Integer":{"type":"integer"},
619
- "InternalServerError":{
620
- "type":"structure",
621
- "members":{
622
- "message":{"shape":"ErrorMessage"}
623
- },
624
- "exception":true,
625
- "fault":true
626
- },
627
- "ItemList":{
628
- "type":"list",
629
- "member":{"shape":"AttributeMap"}
630
- },
631
- "Key":{
632
- "type":"structure",
633
- "required":["HashKeyElement"],
634
- "members":{
635
- "HashKeyElement":{"shape":"AttributeValue"},
636
- "RangeKeyElement":{"shape":"AttributeValue"}
637
- }
638
- },
639
- "KeyList":{
640
- "type":"list",
641
- "member":{"shape":"Key"},
642
- "min":1,
643
- "max":100
644
- },
645
- "KeySchema":{
646
- "type":"structure",
647
- "required":["HashKeyElement"],
648
- "members":{
649
- "HashKeyElement":{"shape":"KeySchemaElement"},
650
- "RangeKeyElement":{"shape":"KeySchemaElement"}
651
- }
652
- },
653
- "KeySchemaAttributeName":{
654
- "type":"string",
655
- "min":1,
656
- "max":255
657
- },
658
- "KeySchemaElement":{
659
- "type":"structure",
660
- "required":[
661
- "AttributeName",
662
- "AttributeType"
663
- ],
664
- "members":{
665
- "AttributeName":{"shape":"KeySchemaAttributeName"},
666
- "AttributeType":{"shape":"ScalarAttributeType"}
667
- }
668
- },
669
- "KeysAndAttributes":{
670
- "type":"structure",
671
- "required":["Keys"],
672
- "members":{
673
- "Keys":{"shape":"KeyList"},
674
- "AttributesToGet":{"shape":"AttributeNameList"},
675
- "ConsistentRead":{"shape":"ConsistentRead"}
676
- }
677
- },
678
- "LimitExceededException":{
679
- "type":"structure",
680
- "members":{
681
- "message":{"shape":"ErrorMessage"}
682
- },
683
- "exception":true
684
- },
685
- "ListTablesInput":{
686
- "type":"structure",
687
- "members":{
688
- "ExclusiveStartTableName":{"shape":"TableName"},
689
- "Limit":{"shape":"ListTablesInputLimit"}
690
- }
691
- },
692
- "ListTablesInputLimit":{
693
- "type":"integer",
694
- "min":1,
695
- "max":100
696
- },
697
- "ListTablesOutput":{
698
- "type":"structure",
699
- "members":{
700
- "TableNames":{"shape":"TableNameList"},
701
- "LastEvaluatedTableName":{"shape":"TableName"}
702
- }
703
- },
704
- "Long":{"type":"long"},
705
- "NumberAttributeValue":{"type":"string"},
706
- "NumberSetAttributeValue":{
707
- "type":"list",
708
- "member":{"shape":"NumberAttributeValue"}
709
- },
710
- "PositiveIntegerObject":{
711
- "type":"integer",
712
- "min":1
713
- },
714
- "PositiveLongObject":{
715
- "type":"long",
716
- "min":1
717
- },
718
- "ProvisionedThroughput":{
719
- "type":"structure",
720
- "required":[
721
- "ReadCapacityUnits",
722
- "WriteCapacityUnits"
723
- ],
724
- "members":{
725
- "ReadCapacityUnits":{"shape":"PositiveLongObject"},
726
- "WriteCapacityUnits":{"shape":"PositiveLongObject"}
727
- }
728
- },
729
- "ProvisionedThroughputDescription":{
730
- "type":"structure",
731
- "members":{
732
- "LastIncreaseDateTime":{"shape":"Date"},
733
- "LastDecreaseDateTime":{"shape":"Date"},
734
- "NumberOfDecreasesToday":{"shape":"PositiveLongObject"},
735
- "ReadCapacityUnits":{"shape":"PositiveLongObject"},
736
- "WriteCapacityUnits":{"shape":"PositiveLongObject"}
737
- }
738
- },
739
- "ProvisionedThroughputExceededException":{
740
- "type":"structure",
741
- "members":{
742
- "message":{"shape":"ErrorMessage"}
743
- },
744
- "exception":true
745
- },
746
- "PutItemInput":{
747
- "type":"structure",
748
- "required":[
749
- "TableName",
750
- "Item"
751
- ],
752
- "members":{
753
- "TableName":{"shape":"TableName"},
754
- "Item":{"shape":"PutItemInputAttributeMap"},
755
- "Expected":{"shape":"ExpectedAttributeMap"},
756
- "ReturnValues":{"shape":"ReturnValue"}
757
- }
758
- },
759
- "PutItemInputAttributeMap":{
760
- "type":"map",
761
- "key":{"shape":"AttributeName"},
762
- "value":{"shape":"AttributeValue"}
763
- },
764
- "PutItemOutput":{
765
- "type":"structure",
766
- "members":{
767
- "Attributes":{"shape":"AttributeMap"},
768
- "ConsumedCapacityUnits":{"shape":"ConsumedCapacityUnits"}
769
- }
770
- },
771
- "PutRequest":{
772
- "type":"structure",
773
- "required":["Item"],
774
- "members":{
775
- "Item":{"shape":"PutItemInputAttributeMap"}
776
- }
777
- },
778
- "QueryInput":{
779
- "type":"structure",
780
- "required":[
781
- "TableName",
782
- "HashKeyValue"
783
- ],
784
- "members":{
785
- "TableName":{"shape":"TableName"},
786
- "AttributesToGet":{"shape":"AttributeNameList"},
787
- "Limit":{"shape":"PositiveIntegerObject"},
788
- "ConsistentRead":{"shape":"ConsistentRead"},
789
- "Count":{"shape":"BooleanObject"},
790
- "HashKeyValue":{"shape":"AttributeValue"},
791
- "RangeKeyCondition":{"shape":"Condition"},
792
- "ScanIndexForward":{"shape":"BooleanObject"},
793
- "ExclusiveStartKey":{"shape":"Key"}
794
- }
795
- },
796
- "QueryOutput":{
797
- "type":"structure",
798
- "members":{
799
- "Items":{"shape":"ItemList"},
800
- "Count":{"shape":"Integer"},
801
- "LastEvaluatedKey":{"shape":"Key"},
802
- "ConsumedCapacityUnits":{"shape":"ConsumedCapacityUnits"}
803
- }
804
- },
805
- "ResourceInUseException":{
806
- "type":"structure",
807
- "members":{
808
- "message":{"shape":"ErrorMessage"}
809
- },
810
- "exception":true
811
- },
812
- "ResourceNotFoundException":{
813
- "type":"structure",
814
- "members":{
815
- "message":{"shape":"ErrorMessage"}
816
- },
817
- "exception":true
818
- },
819
- "ReturnValue":{
820
- "type":"string",
821
- "enum":[
822
- "NONE",
823
- "ALL_OLD",
824
- "UPDATED_OLD",
825
- "ALL_NEW",
826
- "UPDATED_NEW"
827
- ]
828
- },
829
- "ScalarAttributeType":{
830
- "type":"string",
831
- "enum":[
832
- "S",
833
- "N",
834
- "B"
835
- ]
836
- },
837
- "ScanInput":{
838
- "type":"structure",
839
- "required":["TableName"],
840
- "members":{
841
- "TableName":{"shape":"TableName"},
842
- "AttributesToGet":{"shape":"AttributeNameList"},
843
- "Limit":{"shape":"PositiveIntegerObject"},
844
- "Count":{"shape":"BooleanObject"},
845
- "ScanFilter":{"shape":"FilterConditionMap"},
846
- "ExclusiveStartKey":{"shape":"Key"}
847
- }
848
- },
849
- "ScanOutput":{
850
- "type":"structure",
851
- "members":{
852
- "Items":{"shape":"ItemList"},
853
- "Count":{"shape":"Integer"},
854
- "ScannedCount":{"shape":"Integer"},
855
- "LastEvaluatedKey":{"shape":"Key"},
856
- "ConsumedCapacityUnits":{"shape":"ConsumedCapacityUnits"}
857
- }
858
- },
859
- "String":{"type":"string"},
860
- "StringAttributeValue":{"type":"string"},
861
- "StringSetAttributeValue":{
862
- "type":"list",
863
- "member":{"shape":"StringAttributeValue"}
864
- },
865
- "TableDescription":{
866
- "type":"structure",
867
- "members":{
868
- "TableName":{"shape":"TableName"},
869
- "KeySchema":{"shape":"KeySchema"},
870
- "TableStatus":{"shape":"TableStatus"},
871
- "CreationDateTime":{"shape":"Date"},
872
- "ProvisionedThroughput":{"shape":"ProvisionedThroughputDescription"},
873
- "TableSizeBytes":{"shape":"Long"},
874
- "ItemCount":{"shape":"Long"}
875
- }
876
- },
877
- "TableName":{
878
- "type":"string",
879
- "min":3,
880
- "max":255,
881
- "pattern":"[a-zA-Z0-9_.-]+"
882
- },
883
- "TableNameList":{
884
- "type":"list",
885
- "member":{"shape":"TableName"}
886
- },
887
- "TableStatus":{
888
- "type":"string",
889
- "enum":[
890
- "CREATING",
891
- "UPDATING",
892
- "DELETING",
893
- "ACTIVE"
894
- ]
895
- },
896
- "UpdateItemInput":{
897
- "type":"structure",
898
- "required":[
899
- "TableName",
900
- "Key",
901
- "AttributeUpdates"
902
- ],
903
- "members":{
904
- "TableName":{"shape":"TableName"},
905
- "Key":{"shape":"Key"},
906
- "AttributeUpdates":{"shape":"AttributeUpdates"},
907
- "Expected":{"shape":"ExpectedAttributeMap"},
908
- "ReturnValues":{"shape":"ReturnValue"}
909
- }
910
- },
911
- "UpdateItemOutput":{
912
- "type":"structure",
913
- "members":{
914
- "Attributes":{"shape":"AttributeMap"},
915
- "ConsumedCapacityUnits":{"shape":"ConsumedCapacityUnits"}
916
- }
917
- },
918
- "UpdateTableInput":{
919
- "type":"structure",
920
- "required":[
921
- "TableName",
922
- "ProvisionedThroughput"
923
- ],
924
- "members":{
925
- "TableName":{"shape":"TableName"},
926
- "ProvisionedThroughput":{"shape":"ProvisionedThroughput"}
927
- }
928
- },
929
- "UpdateTableOutput":{
930
- "type":"structure",
931
- "members":{
932
- "TableDescription":{"shape":"TableDescription"}
933
- }
934
- },
935
- "WriteRequest":{
936
- "type":"structure",
937
- "members":{
938
- "PutRequest":{"shape":"PutRequest"},
939
- "DeleteRequest":{"shape":"DeleteRequest"}
940
- }
941
- },
942
- "WriteRequests":{
943
- "type":"list",
944
- "member":{"shape":"WriteRequest"},
945
- "min":1,
946
- "max":25
947
- }
948
- }
949
- }