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