UNPKG

22.8 kBJSONView Raw
1{
2 "version": "2.0",
3 "metadata": {
4 "apiVersion": "2012-08-10",
5 "endpointPrefix": "dynamodb",
6 "jsonVersion": "1.0",
7 "protocol": "json",
8 "serviceAbbreviation": "DynamoDB",
9 "serviceFullName": "Amazon DynamoDB",
10 "signatureVersion": "v4",
11 "targetPrefix": "DynamoDB_20120810",
12 "uid": "dynamodb-2012-08-10"
13 },
14 "operations": {
15 "BatchGetItem": {
16 "input": {
17 "type": "structure",
18 "required": [
19 "RequestItems"
20 ],
21 "members": {
22 "RequestItems": {
23 "shape": "S2"
24 },
25 "ReturnConsumedCapacity": {}
26 }
27 },
28 "output": {
29 "type": "structure",
30 "members": {
31 "Responses": {
32 "type": "map",
33 "key": {},
34 "value": {
35 "shape": "Sr"
36 }
37 },
38 "UnprocessedKeys": {
39 "shape": "S2"
40 },
41 "ConsumedCapacity": {
42 "shape": "St"
43 }
44 }
45 }
46 },
47 "BatchWriteItem": {
48 "input": {
49 "type": "structure",
50 "required": [
51 "RequestItems"
52 ],
53 "members": {
54 "RequestItems": {
55 "shape": "S10"
56 },
57 "ReturnConsumedCapacity": {},
58 "ReturnItemCollectionMetrics": {}
59 }
60 },
61 "output": {
62 "type": "structure",
63 "members": {
64 "UnprocessedItems": {
65 "shape": "S10"
66 },
67 "ItemCollectionMetrics": {
68 "type": "map",
69 "key": {},
70 "value": {
71 "type": "list",
72 "member": {
73 "shape": "S1a"
74 }
75 }
76 },
77 "ConsumedCapacity": {
78 "shape": "St"
79 }
80 }
81 }
82 },
83 "CreateTable": {
84 "input": {
85 "type": "structure",
86 "required": [
87 "AttributeDefinitions",
88 "TableName",
89 "KeySchema",
90 "ProvisionedThroughput"
91 ],
92 "members": {
93 "AttributeDefinitions": {
94 "shape": "S1f"
95 },
96 "TableName": {},
97 "KeySchema": {
98 "shape": "S1j"
99 },
100 "LocalSecondaryIndexes": {
101 "type": "list",
102 "member": {
103 "type": "structure",
104 "required": [
105 "IndexName",
106 "KeySchema",
107 "Projection"
108 ],
109 "members": {
110 "IndexName": {},
111 "KeySchema": {
112 "shape": "S1j"
113 },
114 "Projection": {
115 "shape": "S1o"
116 }
117 }
118 }
119 },
120 "GlobalSecondaryIndexes": {
121 "type": "list",
122 "member": {
123 "type": "structure",
124 "required": [
125 "IndexName",
126 "KeySchema",
127 "Projection",
128 "ProvisionedThroughput"
129 ],
130 "members": {
131 "IndexName": {},
132 "KeySchema": {
133 "shape": "S1j"
134 },
135 "Projection": {
136 "shape": "S1o"
137 },
138 "ProvisionedThroughput": {
139 "shape": "S1u"
140 }
141 }
142 }
143 },
144 "ProvisionedThroughput": {
145 "shape": "S1u"
146 },
147 "StreamSpecification": {
148 "shape": "S1w"
149 }
150 }
151 },
152 "output": {
153 "type": "structure",
154 "members": {
155 "TableDescription": {
156 "shape": "S20"
157 }
158 }
159 }
160 },
161 "DeleteItem": {
162 "input": {
163 "type": "structure",
164 "required": [
165 "TableName",
166 "Key"
167 ],
168 "members": {
169 "TableName": {},
170 "Key": {
171 "shape": "S6"
172 },
173 "Expected": {
174 "shape": "S2e"
175 },
176 "ConditionalOperator": {},
177 "ReturnValues": {},
178 "ReturnConsumedCapacity": {},
179 "ReturnItemCollectionMetrics": {},
180 "ConditionExpression": {},
181 "ExpressionAttributeNames": {
182 "shape": "Sm"
183 },
184 "ExpressionAttributeValues": {
185 "shape": "S2m"
186 }
187 }
188 },
189 "output": {
190 "type": "structure",
191 "members": {
192 "Attributes": {
193 "shape": "Ss"
194 },
195 "ConsumedCapacity": {
196 "shape": "Su"
197 },
198 "ItemCollectionMetrics": {
199 "shape": "S1a"
200 }
201 }
202 }
203 },
204 "DeleteTable": {
205 "input": {
206 "type": "structure",
207 "required": [
208 "TableName"
209 ],
210 "members": {
211 "TableName": {}
212 }
213 },
214 "output": {
215 "type": "structure",
216 "members": {
217 "TableDescription": {
218 "shape": "S20"
219 }
220 }
221 }
222 },
223 "DescribeLimits": {
224 "input": {
225 "type": "structure",
226 "members": {}
227 },
228 "output": {
229 "type": "structure",
230 "members": {
231 "AccountMaxReadCapacityUnits": {
232 "type": "long"
233 },
234 "AccountMaxWriteCapacityUnits": {
235 "type": "long"
236 },
237 "TableMaxReadCapacityUnits": {
238 "type": "long"
239 },
240 "TableMaxWriteCapacityUnits": {
241 "type": "long"
242 }
243 }
244 }
245 },
246 "DescribeTable": {
247 "input": {
248 "type": "structure",
249 "required": [
250 "TableName"
251 ],
252 "members": {
253 "TableName": {}
254 }
255 },
256 "output": {
257 "type": "structure",
258 "members": {
259 "Table": {
260 "shape": "S20"
261 }
262 }
263 }
264 },
265 "GetItem": {
266 "input": {
267 "type": "structure",
268 "required": [
269 "TableName",
270 "Key"
271 ],
272 "members": {
273 "TableName": {},
274 "Key": {
275 "shape": "S6"
276 },
277 "AttributesToGet": {
278 "shape": "Sj"
279 },
280 "ConsistentRead": {
281 "type": "boolean"
282 },
283 "ReturnConsumedCapacity": {},
284 "ProjectionExpression": {},
285 "ExpressionAttributeNames": {
286 "shape": "Sm"
287 }
288 }
289 },
290 "output": {
291 "type": "structure",
292 "members": {
293 "Item": {
294 "shape": "Ss"
295 },
296 "ConsumedCapacity": {
297 "shape": "Su"
298 }
299 }
300 }
301 },
302 "ListTables": {
303 "input": {
304 "type": "structure",
305 "members": {
306 "ExclusiveStartTableName": {},
307 "Limit": {
308 "type": "integer"
309 }
310 }
311 },
312 "output": {
313 "type": "structure",
314 "members": {
315 "TableNames": {
316 "type": "list",
317 "member": {}
318 },
319 "LastEvaluatedTableName": {}
320 }
321 }
322 },
323 "PutItem": {
324 "input": {
325 "type": "structure",
326 "required": [
327 "TableName",
328 "Item"
329 ],
330 "members": {
331 "TableName": {},
332 "Item": {
333 "shape": "S14"
334 },
335 "Expected": {
336 "shape": "S2e"
337 },
338 "ReturnValues": {},
339 "ReturnConsumedCapacity": {},
340 "ReturnItemCollectionMetrics": {},
341 "ConditionalOperator": {},
342 "ConditionExpression": {},
343 "ExpressionAttributeNames": {
344 "shape": "Sm"
345 },
346 "ExpressionAttributeValues": {
347 "shape": "S2m"
348 }
349 }
350 },
351 "output": {
352 "type": "structure",
353 "members": {
354 "Attributes": {
355 "shape": "Ss"
356 },
357 "ConsumedCapacity": {
358 "shape": "Su"
359 },
360 "ItemCollectionMetrics": {
361 "shape": "S1a"
362 }
363 }
364 }
365 },
366 "Query": {
367 "input": {
368 "type": "structure",
369 "required": [
370 "TableName"
371 ],
372 "members": {
373 "TableName": {},
374 "IndexName": {},
375 "Select": {},
376 "AttributesToGet": {
377 "shape": "Sj"
378 },
379 "Limit": {
380 "type": "integer"
381 },
382 "ConsistentRead": {
383 "type": "boolean"
384 },
385 "KeyConditions": {
386 "type": "map",
387 "key": {},
388 "value": {
389 "shape": "S37"
390 }
391 },
392 "QueryFilter": {
393 "shape": "S38"
394 },
395 "ConditionalOperator": {},
396 "ScanIndexForward": {
397 "type": "boolean"
398 },
399 "ExclusiveStartKey": {
400 "shape": "S6"
401 },
402 "ReturnConsumedCapacity": {},
403 "ProjectionExpression": {},
404 "FilterExpression": {},
405 "KeyConditionExpression": {},
406 "ExpressionAttributeNames": {
407 "shape": "Sm"
408 },
409 "ExpressionAttributeValues": {
410 "shape": "S2m"
411 }
412 }
413 },
414 "output": {
415 "type": "structure",
416 "members": {
417 "Items": {
418 "shape": "Sr"
419 },
420 "Count": {
421 "type": "integer"
422 },
423 "ScannedCount": {
424 "type": "integer"
425 },
426 "LastEvaluatedKey": {
427 "shape": "S6"
428 },
429 "ConsumedCapacity": {
430 "shape": "Su"
431 }
432 }
433 }
434 },
435 "Scan": {
436 "input": {
437 "type": "structure",
438 "required": [
439 "TableName"
440 ],
441 "members": {
442 "TableName": {},
443 "IndexName": {},
444 "AttributesToGet": {
445 "shape": "Sj"
446 },
447 "Limit": {
448 "type": "integer"
449 },
450 "Select": {},
451 "ScanFilter": {
452 "shape": "S38"
453 },
454 "ConditionalOperator": {},
455 "ExclusiveStartKey": {
456 "shape": "S6"
457 },
458 "ReturnConsumedCapacity": {},
459 "TotalSegments": {
460 "type": "integer"
461 },
462 "Segment": {
463 "type": "integer"
464 },
465 "ProjectionExpression": {},
466 "FilterExpression": {},
467 "ExpressionAttributeNames": {
468 "shape": "Sm"
469 },
470 "ExpressionAttributeValues": {
471 "shape": "S2m"
472 },
473 "ConsistentRead": {
474 "type": "boolean"
475 }
476 }
477 },
478 "output": {
479 "type": "structure",
480 "members": {
481 "Items": {
482 "shape": "Sr"
483 },
484 "Count": {
485 "type": "integer"
486 },
487 "ScannedCount": {
488 "type": "integer"
489 },
490 "LastEvaluatedKey": {
491 "shape": "S6"
492 },
493 "ConsumedCapacity": {
494 "shape": "Su"
495 }
496 }
497 }
498 },
499 "UpdateItem": {
500 "input": {
501 "type": "structure",
502 "required": [
503 "TableName",
504 "Key"
505 ],
506 "members": {
507 "TableName": {},
508 "Key": {
509 "shape": "S6"
510 },
511 "AttributeUpdates": {
512 "type": "map",
513 "key": {},
514 "value": {
515 "type": "structure",
516 "members": {
517 "Value": {
518 "shape": "S8"
519 },
520 "Action": {}
521 }
522 }
523 },
524 "Expected": {
525 "shape": "S2e"
526 },
527 "ConditionalOperator": {},
528 "ReturnValues": {},
529 "ReturnConsumedCapacity": {},
530 "ReturnItemCollectionMetrics": {},
531 "UpdateExpression": {},
532 "ConditionExpression": {},
533 "ExpressionAttributeNames": {
534 "shape": "Sm"
535 },
536 "ExpressionAttributeValues": {
537 "shape": "S2m"
538 }
539 }
540 },
541 "output": {
542 "type": "structure",
543 "members": {
544 "Attributes": {
545 "shape": "Ss"
546 },
547 "ConsumedCapacity": {
548 "shape": "Su"
549 },
550 "ItemCollectionMetrics": {
551 "shape": "S1a"
552 }
553 }
554 }
555 },
556 "UpdateTable": {
557 "input": {
558 "type": "structure",
559 "required": [
560 "TableName"
561 ],
562 "members": {
563 "AttributeDefinitions": {
564 "shape": "S1f"
565 },
566 "TableName": {},
567 "ProvisionedThroughput": {
568 "shape": "S1u"
569 },
570 "GlobalSecondaryIndexUpdates": {
571 "type": "list",
572 "member": {
573 "type": "structure",
574 "members": {
575 "Update": {
576 "type": "structure",
577 "required": [
578 "IndexName",
579 "ProvisionedThroughput"
580 ],
581 "members": {
582 "IndexName": {},
583 "ProvisionedThroughput": {
584 "shape": "S1u"
585 }
586 }
587 },
588 "Create": {
589 "type": "structure",
590 "required": [
591 "IndexName",
592 "KeySchema",
593 "Projection",
594 "ProvisionedThroughput"
595 ],
596 "members": {
597 "IndexName": {},
598 "KeySchema": {
599 "shape": "S1j"
600 },
601 "Projection": {
602 "shape": "S1o"
603 },
604 "ProvisionedThroughput": {
605 "shape": "S1u"
606 }
607 }
608 },
609 "Delete": {
610 "type": "structure",
611 "required": [
612 "IndexName"
613 ],
614 "members": {
615 "IndexName": {}
616 }
617 }
618 }
619 }
620 },
621 "StreamSpecification": {
622 "shape": "S1w"
623 }
624 }
625 },
626 "output": {
627 "type": "structure",
628 "members": {
629 "TableDescription": {
630 "shape": "S20"
631 }
632 }
633 }
634 }
635 },
636 "shapes": {
637 "S2": {
638 "type": "map",
639 "key": {},
640 "value": {
641 "type": "structure",
642 "required": [
643 "Keys"
644 ],
645 "members": {
646 "Keys": {
647 "type": "list",
648 "member": {
649 "shape": "S6"
650 }
651 },
652 "AttributesToGet": {
653 "shape": "Sj"
654 },
655 "ConsistentRead": {
656 "type": "boolean"
657 },
658 "ProjectionExpression": {},
659 "ExpressionAttributeNames": {
660 "shape": "Sm"
661 }
662 }
663 }
664 },
665 "S6": {
666 "type": "map",
667 "key": {},
668 "value": {
669 "shape": "S8"
670 }
671 },
672 "S8": {
673 "type": "structure",
674 "members": {
675 "S": {},
676 "N": {},
677 "B": {
678 "type": "blob"
679 },
680 "SS": {
681 "type": "list",
682 "member": {}
683 },
684 "NS": {
685 "type": "list",
686 "member": {}
687 },
688 "BS": {
689 "type": "list",
690 "member": {
691 "type": "blob"
692 }
693 },
694 "M": {
695 "type": "map",
696 "key": {},
697 "value": {
698 "shape": "S8"
699 }
700 },
701 "L": {
702 "type": "list",
703 "member": {
704 "shape": "S8"
705 }
706 },
707 "NULL": {
708 "type": "boolean"
709 },
710 "BOOL": {
711 "type": "boolean"
712 }
713 }
714 },
715 "Sj": {
716 "type": "list",
717 "member": {}
718 },
719 "Sm": {
720 "type": "map",
721 "key": {},
722 "value": {}
723 },
724 "Sr": {
725 "type": "list",
726 "member": {
727 "shape": "Ss"
728 }
729 },
730 "Ss": {
731 "type": "map",
732 "key": {},
733 "value": {
734 "shape": "S8"
735 }
736 },
737 "St": {
738 "type": "list",
739 "member": {
740 "shape": "Su"
741 }
742 },
743 "Su": {
744 "type": "structure",
745 "members": {
746 "TableName": {},
747 "CapacityUnits": {
748 "type": "double"
749 },
750 "Table": {
751 "shape": "Sw"
752 },
753 "LocalSecondaryIndexes": {
754 "shape": "Sx"
755 },
756 "GlobalSecondaryIndexes": {
757 "shape": "Sx"
758 }
759 }
760 },
761 "Sw": {
762 "type": "structure",
763 "members": {
764 "CapacityUnits": {
765 "type": "double"
766 }
767 }
768 },
769 "Sx": {
770 "type": "map",
771 "key": {},
772 "value": {
773 "shape": "Sw"
774 }
775 },
776 "S10": {
777 "type": "map",
778 "key": {},
779 "value": {
780 "type": "list",
781 "member": {
782 "type": "structure",
783 "members": {
784 "PutRequest": {
785 "type": "structure",
786 "required": [
787 "Item"
788 ],
789 "members": {
790 "Item": {
791 "shape": "S14"
792 }
793 }
794 },
795 "DeleteRequest": {
796 "type": "structure",
797 "required": [
798 "Key"
799 ],
800 "members": {
801 "Key": {
802 "shape": "S6"
803 }
804 }
805 }
806 }
807 }
808 }
809 },
810 "S14": {
811 "type": "map",
812 "key": {},
813 "value": {
814 "shape": "S8"
815 }
816 },
817 "S1a": {
818 "type": "structure",
819 "members": {
820 "ItemCollectionKey": {
821 "type": "map",
822 "key": {},
823 "value": {
824 "shape": "S8"
825 }
826 },
827 "SizeEstimateRangeGB": {
828 "type": "list",
829 "member": {
830 "type": "double"
831 }
832 }
833 }
834 },
835 "S1f": {
836 "type": "list",
837 "member": {
838 "type": "structure",
839 "required": [
840 "AttributeName",
841 "AttributeType"
842 ],
843 "members": {
844 "AttributeName": {},
845 "AttributeType": {}
846 }
847 }
848 },
849 "S1j": {
850 "type": "list",
851 "member": {
852 "type": "structure",
853 "required": [
854 "AttributeName",
855 "KeyType"
856 ],
857 "members": {
858 "AttributeName": {},
859 "KeyType": {}
860 }
861 }
862 },
863 "S1o": {
864 "type": "structure",
865 "members": {
866 "ProjectionType": {},
867 "NonKeyAttributes": {
868 "type": "list",
869 "member": {}
870 }
871 }
872 },
873 "S1u": {
874 "type": "structure",
875 "required": [
876 "ReadCapacityUnits",
877 "WriteCapacityUnits"
878 ],
879 "members": {
880 "ReadCapacityUnits": {
881 "type": "long"
882 },
883 "WriteCapacityUnits": {
884 "type": "long"
885 }
886 }
887 },
888 "S1w": {
889 "type": "structure",
890 "members": {
891 "StreamEnabled": {
892 "type": "boolean"
893 },
894 "StreamViewType": {}
895 }
896 },
897 "S20": {
898 "type": "structure",
899 "members": {
900 "AttributeDefinitions": {
901 "shape": "S1f"
902 },
903 "TableName": {},
904 "KeySchema": {
905 "shape": "S1j"
906 },
907 "TableStatus": {},
908 "CreationDateTime": {
909 "type": "timestamp"
910 },
911 "ProvisionedThroughput": {
912 "shape": "S23"
913 },
914 "TableSizeBytes": {
915 "type": "long"
916 },
917 "ItemCount": {
918 "type": "long"
919 },
920 "TableArn": {},
921 "LocalSecondaryIndexes": {
922 "type": "list",
923 "member": {
924 "type": "structure",
925 "members": {
926 "IndexName": {},
927 "KeySchema": {
928 "shape": "S1j"
929 },
930 "Projection": {
931 "shape": "S1o"
932 },
933 "IndexSizeBytes": {
934 "type": "long"
935 },
936 "ItemCount": {
937 "type": "long"
938 },
939 "IndexArn": {}
940 }
941 }
942 },
943 "GlobalSecondaryIndexes": {
944 "type": "list",
945 "member": {
946 "type": "structure",
947 "members": {
948 "IndexName": {},
949 "KeySchema": {
950 "shape": "S1j"
951 },
952 "Projection": {
953 "shape": "S1o"
954 },
955 "IndexStatus": {},
956 "Backfilling": {
957 "type": "boolean"
958 },
959 "ProvisionedThroughput": {
960 "shape": "S23"
961 },
962 "IndexSizeBytes": {
963 "type": "long"
964 },
965 "ItemCount": {
966 "type": "long"
967 },
968 "IndexArn": {}
969 }
970 }
971 },
972 "StreamSpecification": {
973 "shape": "S1w"
974 },
975 "LatestStreamLabel": {},
976 "LatestStreamArn": {}
977 }
978 },
979 "S23": {
980 "type": "structure",
981 "members": {
982 "LastIncreaseDateTime": {
983 "type": "timestamp"
984 },
985 "LastDecreaseDateTime": {
986 "type": "timestamp"
987 },
988 "NumberOfDecreasesToday": {
989 "type": "long"
990 },
991 "ReadCapacityUnits": {
992 "type": "long"
993 },
994 "WriteCapacityUnits": {
995 "type": "long"
996 }
997 }
998 },
999 "S2e": {
1000 "type": "map",
1001 "key": {},
1002 "value": {
1003 "type": "structure",
1004 "members": {
1005 "Value": {
1006 "shape": "S8"
1007 },
1008 "Exists": {
1009 "type": "boolean"
1010 },
1011 "ComparisonOperator": {},
1012 "AttributeValueList": {
1013 "shape": "S2i"
1014 }
1015 }
1016 }
1017 },
1018 "S2i": {
1019 "type": "list",
1020 "member": {
1021 "shape": "S8"
1022 }
1023 },
1024 "S2m": {
1025 "type": "map",
1026 "key": {},
1027 "value": {
1028 "shape": "S8"
1029 }
1030 },
1031 "S37": {
1032 "type": "structure",
1033 "required": [
1034 "ComparisonOperator"
1035 ],
1036 "members": {
1037 "AttributeValueList": {
1038 "shape": "S2i"
1039 },
1040 "ComparisonOperator": {}
1041 }
1042 },
1043 "S38": {
1044 "type": "map",
1045 "key": {},
1046 "value": {
1047 "shape": "S37"
1048 }
1049 }
1050 }
1051}
\No newline at end of file