1 | {
|
2 | "version": "2.0",
|
3 | "metadata": {
|
4 | "apiVersion": "2011-12-05",
|
5 | "endpointPrefix": "dynamodb",
|
6 | "jsonVersion": "1.0",
|
7 | "protocol": "json",
|
8 | "serviceAbbreviation": "DynamoDB",
|
9 | "serviceFullName": "Amazon DynamoDB",
|
10 | "signatureVersion": "v4",
|
11 | "targetPrefix": "DynamoDB_20111205",
|
12 | "uid": "dynamodb-2011-12-05"
|
13 | },
|
14 | "operations": {
|
15 | "BatchGetItem": {
|
16 | "input": {
|
17 | "type": "structure",
|
18 | "required": [
|
19 | "RequestItems"
|
20 | ],
|
21 | "members": {
|
22 | "RequestItems": {
|
23 | "shape": "S2"
|
24 | }
|
25 | }
|
26 | },
|
27 | "output": {
|
28 | "type": "structure",
|
29 | "members": {
|
30 | "Responses": {
|
31 | "type": "map",
|
32 | "key": {},
|
33 | "value": {
|
34 | "type": "structure",
|
35 | "members": {
|
36 | "Items": {
|
37 | "shape": "Sk"
|
38 | },
|
39 | "ConsumedCapacityUnits": {
|
40 | "type": "double"
|
41 | }
|
42 | }
|
43 | }
|
44 | },
|
45 | "UnprocessedKeys": {
|
46 | "shape": "S2"
|
47 | }
|
48 | }
|
49 | }
|
50 | },
|
51 | "BatchWriteItem": {
|
52 | "input": {
|
53 | "type": "structure",
|
54 | "required": [
|
55 | "RequestItems"
|
56 | ],
|
57 | "members": {
|
58 | "RequestItems": {
|
59 | "shape": "So"
|
60 | }
|
61 | }
|
62 | },
|
63 | "output": {
|
64 | "type": "structure",
|
65 | "members": {
|
66 | "Responses": {
|
67 | "type": "map",
|
68 | "key": {},
|
69 | "value": {
|
70 | "type": "structure",
|
71 | "members": {
|
72 | "ConsumedCapacityUnits": {
|
73 | "type": "double"
|
74 | }
|
75 | }
|
76 | }
|
77 | },
|
78 | "UnprocessedItems": {
|
79 | "shape": "So"
|
80 | }
|
81 | }
|
82 | }
|
83 | },
|
84 | "CreateTable": {
|
85 | "input": {
|
86 | "type": "structure",
|
87 | "required": [
|
88 | "TableName",
|
89 | "KeySchema",
|
90 | "ProvisionedThroughput"
|
91 | ],
|
92 | "members": {
|
93 | "TableName": {},
|
94 | "KeySchema": {
|
95 | "shape": "Sy"
|
96 | },
|
97 | "ProvisionedThroughput": {
|
98 | "shape": "S12"
|
99 | }
|
100 | }
|
101 | },
|
102 | "output": {
|
103 | "type": "structure",
|
104 | "members": {
|
105 | "TableDescription": {
|
106 | "shape": "S15"
|
107 | }
|
108 | }
|
109 | }
|
110 | },
|
111 | "DeleteItem": {
|
112 | "input": {
|
113 | "type": "structure",
|
114 | "required": [
|
115 | "TableName",
|
116 | "Key"
|
117 | ],
|
118 | "members": {
|
119 | "TableName": {},
|
120 | "Key": {
|
121 | "shape": "S6"
|
122 | },
|
123 | "Expected": {
|
124 | "shape": "S1b"
|
125 | },
|
126 | "ReturnValues": {}
|
127 | }
|
128 | },
|
129 | "output": {
|
130 | "type": "structure",
|
131 | "members": {
|
132 | "Attributes": {
|
133 | "shape": "Sl"
|
134 | },
|
135 | "ConsumedCapacityUnits": {
|
136 | "type": "double"
|
137 | }
|
138 | }
|
139 | }
|
140 | },
|
141 | "DeleteTable": {
|
142 | "input": {
|
143 | "type": "structure",
|
144 | "required": [
|
145 | "TableName"
|
146 | ],
|
147 | "members": {
|
148 | "TableName": {}
|
149 | }
|
150 | },
|
151 | "output": {
|
152 | "type": "structure",
|
153 | "members": {
|
154 | "TableDescription": {
|
155 | "shape": "S15"
|
156 | }
|
157 | }
|
158 | }
|
159 | },
|
160 | "DescribeTable": {
|
161 | "input": {
|
162 | "type": "structure",
|
163 | "required": [
|
164 | "TableName"
|
165 | ],
|
166 | "members": {
|
167 | "TableName": {}
|
168 | }
|
169 | },
|
170 | "output": {
|
171 | "type": "structure",
|
172 | "members": {
|
173 | "Table": {
|
174 | "shape": "S15"
|
175 | }
|
176 | }
|
177 | }
|
178 | },
|
179 | "GetItem": {
|
180 | "input": {
|
181 | "type": "structure",
|
182 | "required": [
|
183 | "TableName",
|
184 | "Key"
|
185 | ],
|
186 | "members": {
|
187 | "TableName": {},
|
188 | "Key": {
|
189 | "shape": "S6"
|
190 | },
|
191 | "AttributesToGet": {
|
192 | "shape": "Se"
|
193 | },
|
194 | "ConsistentRead": {
|
195 | "type": "boolean"
|
196 | }
|
197 | }
|
198 | },
|
199 | "output": {
|
200 | "type": "structure",
|
201 | "members": {
|
202 | "Item": {
|
203 | "shape": "Sl"
|
204 | },
|
205 | "ConsumedCapacityUnits": {
|
206 | "type": "double"
|
207 | }
|
208 | }
|
209 | }
|
210 | },
|
211 | "ListTables": {
|
212 | "input": {
|
213 | "type": "structure",
|
214 | "members": {
|
215 | "ExclusiveStartTableName": {},
|
216 | "Limit": {
|
217 | "type": "integer"
|
218 | }
|
219 | }
|
220 | },
|
221 | "output": {
|
222 | "type": "structure",
|
223 | "members": {
|
224 | "TableNames": {
|
225 | "type": "list",
|
226 | "member": {}
|
227 | },
|
228 | "LastEvaluatedTableName": {}
|
229 | }
|
230 | }
|
231 | },
|
232 | "PutItem": {
|
233 | "input": {
|
234 | "type": "structure",
|
235 | "required": [
|
236 | "TableName",
|
237 | "Item"
|
238 | ],
|
239 | "members": {
|
240 | "TableName": {},
|
241 | "Item": {
|
242 | "shape": "Ss"
|
243 | },
|
244 | "Expected": {
|
245 | "shape": "S1b"
|
246 | },
|
247 | "ReturnValues": {}
|
248 | }
|
249 | },
|
250 | "output": {
|
251 | "type": "structure",
|
252 | "members": {
|
253 | "Attributes": {
|
254 | "shape": "Sl"
|
255 | },
|
256 | "ConsumedCapacityUnits": {
|
257 | "type": "double"
|
258 | }
|
259 | }
|
260 | }
|
261 | },
|
262 | "Query": {
|
263 | "input": {
|
264 | "type": "structure",
|
265 | "required": [
|
266 | "TableName",
|
267 | "HashKeyValue"
|
268 | ],
|
269 | "members": {
|
270 | "TableName": {},
|
271 | "AttributesToGet": {
|
272 | "shape": "Se"
|
273 | },
|
274 | "Limit": {
|
275 | "type": "integer"
|
276 | },
|
277 | "ConsistentRead": {
|
278 | "type": "boolean"
|
279 | },
|
280 | "Count": {
|
281 | "type": "boolean"
|
282 | },
|
283 | "HashKeyValue": {
|
284 | "shape": "S7"
|
285 | },
|
286 | "RangeKeyCondition": {
|
287 | "shape": "S1u"
|
288 | },
|
289 | "ScanIndexForward": {
|
290 | "type": "boolean"
|
291 | },
|
292 | "ExclusiveStartKey": {
|
293 | "shape": "S6"
|
294 | }
|
295 | }
|
296 | },
|
297 | "output": {
|
298 | "type": "structure",
|
299 | "members": {
|
300 | "Items": {
|
301 | "shape": "Sk"
|
302 | },
|
303 | "Count": {
|
304 | "type": "integer"
|
305 | },
|
306 | "LastEvaluatedKey": {
|
307 | "shape": "S6"
|
308 | },
|
309 | "ConsumedCapacityUnits": {
|
310 | "type": "double"
|
311 | }
|
312 | }
|
313 | }
|
314 | },
|
315 | "Scan": {
|
316 | "input": {
|
317 | "type": "structure",
|
318 | "required": [
|
319 | "TableName"
|
320 | ],
|
321 | "members": {
|
322 | "TableName": {},
|
323 | "AttributesToGet": {
|
324 | "shape": "Se"
|
325 | },
|
326 | "Limit": {
|
327 | "type": "integer"
|
328 | },
|
329 | "Count": {
|
330 | "type": "boolean"
|
331 | },
|
332 | "ScanFilter": {
|
333 | "type": "map",
|
334 | "key": {},
|
335 | "value": {
|
336 | "shape": "S1u"
|
337 | }
|
338 | },
|
339 | "ExclusiveStartKey": {
|
340 | "shape": "S6"
|
341 | }
|
342 | }
|
343 | },
|
344 | "output": {
|
345 | "type": "structure",
|
346 | "members": {
|
347 | "Items": {
|
348 | "shape": "Sk"
|
349 | },
|
350 | "Count": {
|
351 | "type": "integer"
|
352 | },
|
353 | "ScannedCount": {
|
354 | "type": "integer"
|
355 | },
|
356 | "LastEvaluatedKey": {
|
357 | "shape": "S6"
|
358 | },
|
359 | "ConsumedCapacityUnits": {
|
360 | "type": "double"
|
361 | }
|
362 | }
|
363 | }
|
364 | },
|
365 | "UpdateItem": {
|
366 | "input": {
|
367 | "type": "structure",
|
368 | "required": [
|
369 | "TableName",
|
370 | "Key",
|
371 | "AttributeUpdates"
|
372 | ],
|
373 | "members": {
|
374 | "TableName": {},
|
375 | "Key": {
|
376 | "shape": "S6"
|
377 | },
|
378 | "AttributeUpdates": {
|
379 | "type": "map",
|
380 | "key": {},
|
381 | "value": {
|
382 | "type": "structure",
|
383 | "members": {
|
384 | "Value": {
|
385 | "shape": "S7"
|
386 | },
|
387 | "Action": {}
|
388 | }
|
389 | }
|
390 | },
|
391 | "Expected": {
|
392 | "shape": "S1b"
|
393 | },
|
394 | "ReturnValues": {}
|
395 | }
|
396 | },
|
397 | "output": {
|
398 | "type": "structure",
|
399 | "members": {
|
400 | "Attributes": {
|
401 | "shape": "Sl"
|
402 | },
|
403 | "ConsumedCapacityUnits": {
|
404 | "type": "double"
|
405 | }
|
406 | }
|
407 | }
|
408 | },
|
409 | "UpdateTable": {
|
410 | "input": {
|
411 | "type": "structure",
|
412 | "required": [
|
413 | "TableName",
|
414 | "ProvisionedThroughput"
|
415 | ],
|
416 | "members": {
|
417 | "TableName": {},
|
418 | "ProvisionedThroughput": {
|
419 | "shape": "S12"
|
420 | }
|
421 | }
|
422 | },
|
423 | "output": {
|
424 | "type": "structure",
|
425 | "members": {
|
426 | "TableDescription": {
|
427 | "shape": "S15"
|
428 | }
|
429 | }
|
430 | }
|
431 | }
|
432 | },
|
433 | "shapes": {
|
434 | "S2": {
|
435 | "type": "map",
|
436 | "key": {},
|
437 | "value": {
|
438 | "type": "structure",
|
439 | "required": [
|
440 | "Keys"
|
441 | ],
|
442 | "members": {
|
443 | "Keys": {
|
444 | "type": "list",
|
445 | "member": {
|
446 | "shape": "S6"
|
447 | }
|
448 | },
|
449 | "AttributesToGet": {
|
450 | "shape": "Se"
|
451 | },
|
452 | "ConsistentRead": {
|
453 | "type": "boolean"
|
454 | }
|
455 | }
|
456 | }
|
457 | },
|
458 | "S6": {
|
459 | "type": "structure",
|
460 | "required": [
|
461 | "HashKeyElement"
|
462 | ],
|
463 | "members": {
|
464 | "HashKeyElement": {
|
465 | "shape": "S7"
|
466 | },
|
467 | "RangeKeyElement": {
|
468 | "shape": "S7"
|
469 | }
|
470 | }
|
471 | },
|
472 | "S7": {
|
473 | "type": "structure",
|
474 | "members": {
|
475 | "S": {},
|
476 | "N": {},
|
477 | "B": {
|
478 | "type": "blob"
|
479 | },
|
480 | "SS": {
|
481 | "type": "list",
|
482 | "member": {}
|
483 | },
|
484 | "NS": {
|
485 | "type": "list",
|
486 | "member": {}
|
487 | },
|
488 | "BS": {
|
489 | "type": "list",
|
490 | "member": {
|
491 | "type": "blob"
|
492 | }
|
493 | }
|
494 | }
|
495 | },
|
496 | "Se": {
|
497 | "type": "list",
|
498 | "member": {}
|
499 | },
|
500 | "Sk": {
|
501 | "type": "list",
|
502 | "member": {
|
503 | "shape": "Sl"
|
504 | }
|
505 | },
|
506 | "Sl": {
|
507 | "type": "map",
|
508 | "key": {},
|
509 | "value": {
|
510 | "shape": "S7"
|
511 | }
|
512 | },
|
513 | "So": {
|
514 | "type": "map",
|
515 | "key": {},
|
516 | "value": {
|
517 | "type": "list",
|
518 | "member": {
|
519 | "type": "structure",
|
520 | "members": {
|
521 | "PutRequest": {
|
522 | "type": "structure",
|
523 | "required": [
|
524 | "Item"
|
525 | ],
|
526 | "members": {
|
527 | "Item": {
|
528 | "shape": "Ss"
|
529 | }
|
530 | }
|
531 | },
|
532 | "DeleteRequest": {
|
533 | "type": "structure",
|
534 | "required": [
|
535 | "Key"
|
536 | ],
|
537 | "members": {
|
538 | "Key": {
|
539 | "shape": "S6"
|
540 | }
|
541 | }
|
542 | }
|
543 | }
|
544 | }
|
545 | }
|
546 | },
|
547 | "Ss": {
|
548 | "type": "map",
|
549 | "key": {},
|
550 | "value": {
|
551 | "shape": "S7"
|
552 | }
|
553 | },
|
554 | "Sy": {
|
555 | "type": "structure",
|
556 | "required": [
|
557 | "HashKeyElement"
|
558 | ],
|
559 | "members": {
|
560 | "HashKeyElement": {
|
561 | "shape": "Sz"
|
562 | },
|
563 | "RangeKeyElement": {
|
564 | "shape": "Sz"
|
565 | }
|
566 | }
|
567 | },
|
568 | "Sz": {
|
569 | "type": "structure",
|
570 | "required": [
|
571 | "AttributeName",
|
572 | "AttributeType"
|
573 | ],
|
574 | "members": {
|
575 | "AttributeName": {},
|
576 | "AttributeType": {}
|
577 | }
|
578 | },
|
579 | "S12": {
|
580 | "type": "structure",
|
581 | "required": [
|
582 | "ReadCapacityUnits",
|
583 | "WriteCapacityUnits"
|
584 | ],
|
585 | "members": {
|
586 | "ReadCapacityUnits": {
|
587 | "type": "long"
|
588 | },
|
589 | "WriteCapacityUnits": {
|
590 | "type": "long"
|
591 | }
|
592 | }
|
593 | },
|
594 | "S15": {
|
595 | "type": "structure",
|
596 | "members": {
|
597 | "TableName": {},
|
598 | "KeySchema": {
|
599 | "shape": "Sy"
|
600 | },
|
601 | "TableStatus": {},
|
602 | "CreationDateTime": {
|
603 | "type": "timestamp"
|
604 | },
|
605 | "ProvisionedThroughput": {
|
606 | "type": "structure",
|
607 | "members": {
|
608 | "LastIncreaseDateTime": {
|
609 | "type": "timestamp"
|
610 | },
|
611 | "LastDecreaseDateTime": {
|
612 | "type": "timestamp"
|
613 | },
|
614 | "NumberOfDecreasesToday": {
|
615 | "type": "long"
|
616 | },
|
617 | "ReadCapacityUnits": {
|
618 | "type": "long"
|
619 | },
|
620 | "WriteCapacityUnits": {
|
621 | "type": "long"
|
622 | }
|
623 | }
|
624 | },
|
625 | "TableSizeBytes": {
|
626 | "type": "long"
|
627 | },
|
628 | "ItemCount": {
|
629 | "type": "long"
|
630 | }
|
631 | }
|
632 | },
|
633 | "S1b": {
|
634 | "type": "map",
|
635 | "key": {},
|
636 | "value": {
|
637 | "type": "structure",
|
638 | "members": {
|
639 | "Value": {
|
640 | "shape": "S7"
|
641 | },
|
642 | "Exists": {
|
643 | "type": "boolean"
|
644 | }
|
645 | }
|
646 | }
|
647 | },
|
648 | "S1u": {
|
649 | "type": "structure",
|
650 | "required": [
|
651 | "ComparisonOperator"
|
652 | ],
|
653 | "members": {
|
654 | "AttributeValueList": {
|
655 | "type": "list",
|
656 | "member": {
|
657 | "shape": "S7"
|
658 | }
|
659 | },
|
660 | "ComparisonOperator": {}
|
661 | }
|
662 | }
|
663 | }
|
664 | } |
\ | No newline at end of file |