kms-2014-11-01.min.json
   1  {
   2    "version": "2.0",
   3    "metadata": {
   4      "apiVersion": "2014-11-01",
   5      "endpointPrefix": "kms",
   6      "jsonVersion": "1.1",
   7      "protocol": "json",
   8      "serviceAbbreviation": "KMS",
   9      "serviceFullName": "AWS Key Management Service",
  10      "serviceId": "KMS",
  11      "signatureVersion": "v4",
  12      "targetPrefix": "TrentService",
  13      "uid": "kms-2014-11-01"
  14    },
  15    "operations": {
  16      "CancelKeyDeletion": {
  17        "input": {
  18          "type": "structure",
  19          "required": [
  20            "KeyId"
  21          ],
  22          "members": {
  23            "KeyId": {}
  24          }
  25        },
  26        "output": {
  27          "type": "structure",
  28          "members": {
  29            "KeyId": {}
  30          }
  31        }
  32      },
  33      "ConnectCustomKeyStore": {
  34        "input": {
  35          "type": "structure",
  36          "required": [
  37            "CustomKeyStoreId"
  38          ],
  39          "members": {
  40            "CustomKeyStoreId": {}
  41          }
  42        },
  43        "output": {
  44          "type": "structure",
  45          "members": {}
  46        }
  47      },
  48      "CreateAlias": {
  49        "input": {
  50          "type": "structure",
  51          "required": [
  52            "AliasName",
  53            "TargetKeyId"
  54          ],
  55          "members": {
  56            "AliasName": {},
  57            "TargetKeyId": {}
  58          }
  59        }
  60      },
  61      "CreateCustomKeyStore": {
  62        "input": {
  63          "type": "structure",
  64          "required": [
  65            "CustomKeyStoreName",
  66            "CloudHsmClusterId",
  67            "TrustAnchorCertificate",
  68            "KeyStorePassword"
  69          ],
  70          "members": {
  71            "CustomKeyStoreName": {},
  72            "CloudHsmClusterId": {},
  73            "TrustAnchorCertificate": {},
  74            "KeyStorePassword": {
  75              "shape": "Sd"
  76            }
  77          }
  78        },
  79        "output": {
  80          "type": "structure",
  81          "members": {
  82            "CustomKeyStoreId": {}
  83          }
  84        }
  85      },
  86      "CreateGrant": {
  87        "input": {
  88          "type": "structure",
  89          "required": [
  90            "KeyId",
  91            "GranteePrincipal",
  92            "Operations"
  93          ],
  94          "members": {
  95            "KeyId": {},
  96            "GranteePrincipal": {},
  97            "RetiringPrincipal": {},
  98            "Operations": {
  99              "shape": "Sh"
 100            },
 101            "Constraints": {
 102              "shape": "Sj"
 103            },
 104            "GrantTokens": {
 105              "shape": "Sn"
 106            },
 107            "Name": {}
 108          }
 109        },
 110        "output": {
 111          "type": "structure",
 112          "members": {
 113            "GrantToken": {},
 114            "GrantId": {}
 115          }
 116        }
 117      },
 118      "CreateKey": {
 119        "input": {
 120          "type": "structure",
 121          "members": {
 122            "Policy": {},
 123            "Description": {},
 124            "KeyUsage": {},
 125            "CustomerMasterKeySpec": {
 126              "shape": "Sw",
 127              "deprecated": true,
 128              "deprecatedMessage": "This parameter has been deprecated. Instead, use the KeySpec parameter."
 129            },
 130            "KeySpec": {},
 131            "Origin": {},
 132            "CustomKeyStoreId": {},
 133            "BypassPolicyLockoutSafetyCheck": {
 134              "type": "boolean"
 135            },
 136            "Tags": {
 137              "shape": "S10"
 138            },
 139            "MultiRegion": {
 140              "type": "boolean"
 141            }
 142          }
 143        },
 144        "output": {
 145          "type": "structure",
 146          "members": {
 147            "KeyMetadata": {
 148              "shape": "S16"
 149            }
 150          }
 151        }
 152      },
 153      "Decrypt": {
 154        "input": {
 155          "type": "structure",
 156          "required": [
 157            "CiphertextBlob"
 158          ],
 159          "members": {
 160            "CiphertextBlob": {
 161              "type": "blob"
 162            },
 163            "EncryptionContext": {
 164              "shape": "Sk"
 165            },
 166            "GrantTokens": {
 167              "shape": "Sn"
 168            },
 169            "KeyId": {},
 170            "EncryptionAlgorithm": {}
 171          }
 172        },
 173        "output": {
 174          "type": "structure",
 175          "members": {
 176            "KeyId": {},
 177            "Plaintext": {
 178              "shape": "S1q"
 179            },
 180            "EncryptionAlgorithm": {}
 181          }
 182        }
 183      },
 184      "DeleteAlias": {
 185        "input": {
 186          "type": "structure",
 187          "required": [
 188            "AliasName"
 189          ],
 190          "members": {
 191            "AliasName": {}
 192          }
 193        }
 194      },
 195      "DeleteCustomKeyStore": {
 196        "input": {
 197          "type": "structure",
 198          "required": [
 199            "CustomKeyStoreId"
 200          ],
 201          "members": {
 202            "CustomKeyStoreId": {}
 203          }
 204        },
 205        "output": {
 206          "type": "structure",
 207          "members": {}
 208        }
 209      },
 210      "DeleteImportedKeyMaterial": {
 211        "input": {
 212          "type": "structure",
 213          "required": [
 214            "KeyId"
 215          ],
 216          "members": {
 217            "KeyId": {}
 218          }
 219        }
 220      },
 221      "DescribeCustomKeyStores": {
 222        "input": {
 223          "type": "structure",
 224          "members": {
 225            "CustomKeyStoreId": {},
 226            "CustomKeyStoreName": {},
 227            "Limit": {
 228              "type": "integer"
 229            },
 230            "Marker": {}
 231          }
 232        },
 233        "output": {
 234          "type": "structure",
 235          "members": {
 236            "CustomKeyStores": {
 237              "type": "list",
 238              "member": {
 239                "type": "structure",
 240                "members": {
 241                  "CustomKeyStoreId": {},
 242                  "CustomKeyStoreName": {},
 243                  "CloudHsmClusterId": {},
 244                  "TrustAnchorCertificate": {},
 245                  "ConnectionState": {},
 246                  "ConnectionErrorCode": {},
 247                  "CreationDate": {
 248                    "type": "timestamp"
 249                  }
 250                }
 251              }
 252            },
 253            "NextMarker": {},
 254            "Truncated": {
 255              "type": "boolean"
 256            }
 257          }
 258        }
 259      },
 260      "DescribeKey": {
 261        "input": {
 262          "type": "structure",
 263          "required": [
 264            "KeyId"
 265          ],
 266          "members": {
 267            "KeyId": {},
 268            "GrantTokens": {
 269              "shape": "Sn"
 270            }
 271          }
 272        },
 273        "output": {
 274          "type": "structure",
 275          "members": {
 276            "KeyMetadata": {
 277              "shape": "S16"
 278            }
 279          }
 280        }
 281      },
 282      "DisableKey": {
 283        "input": {
 284          "type": "structure",
 285          "required": [
 286            "KeyId"
 287          ],
 288          "members": {
 289            "KeyId": {}
 290          }
 291        }
 292      },
 293      "DisableKeyRotation": {
 294        "input": {
 295          "type": "structure",
 296          "required": [
 297            "KeyId"
 298          ],
 299          "members": {
 300            "KeyId": {}
 301          }
 302        }
 303      },
 304      "DisconnectCustomKeyStore": {
 305        "input": {
 306          "type": "structure",
 307          "required": [
 308            "CustomKeyStoreId"
 309          ],
 310          "members": {
 311            "CustomKeyStoreId": {}
 312          }
 313        },
 314        "output": {
 315          "type": "structure",
 316          "members": {}
 317        }
 318      },
 319      "EnableKey": {
 320        "input": {
 321          "type": "structure",
 322          "required": [
 323            "KeyId"
 324          ],
 325          "members": {
 326            "KeyId": {}
 327          }
 328        }
 329      },
 330      "EnableKeyRotation": {
 331        "input": {
 332          "type": "structure",
 333          "required": [
 334            "KeyId"
 335          ],
 336          "members": {
 337            "KeyId": {}
 338          }
 339        }
 340      },
 341      "Encrypt": {
 342        "input": {
 343          "type": "structure",
 344          "required": [
 345            "KeyId",
 346            "Plaintext"
 347          ],
 348          "members": {
 349            "KeyId": {},
 350            "Plaintext": {
 351              "shape": "S1q"
 352            },
 353            "EncryptionContext": {
 354              "shape": "Sk"
 355            },
 356            "GrantTokens": {
 357              "shape": "Sn"
 358            },
 359            "EncryptionAlgorithm": {}
 360          }
 361        },
 362        "output": {
 363          "type": "structure",
 364          "members": {
 365            "CiphertextBlob": {
 366              "type": "blob"
 367            },
 368            "KeyId": {},
 369            "EncryptionAlgorithm": {}
 370          }
 371        }
 372      },
 373      "GenerateDataKey": {
 374        "input": {
 375          "type": "structure",
 376          "required": [
 377            "KeyId"
 378          ],
 379          "members": {
 380            "KeyId": {},
 381            "EncryptionContext": {
 382              "shape": "Sk"
 383            },
 384            "NumberOfBytes": {
 385              "type": "integer"
 386            },
 387            "KeySpec": {},
 388            "GrantTokens": {
 389              "shape": "Sn"
 390            }
 391          }
 392        },
 393        "output": {
 394          "type": "structure",
 395          "members": {
 396            "CiphertextBlob": {
 397              "type": "blob"
 398            },
 399            "Plaintext": {
 400              "shape": "S1q"
 401            },
 402            "KeyId": {}
 403          }
 404        }
 405      },
 406      "GenerateDataKeyPair": {
 407        "input": {
 408          "type": "structure",
 409          "required": [
 410            "KeyId",
 411            "KeyPairSpec"
 412          ],
 413          "members": {
 414            "EncryptionContext": {
 415              "shape": "Sk"
 416            },
 417            "KeyId": {},
 418            "KeyPairSpec": {},
 419            "GrantTokens": {
 420              "shape": "Sn"
 421            }
 422          }
 423        },
 424        "output": {
 425          "type": "structure",
 426          "members": {
 427            "PrivateKeyCiphertextBlob": {
 428              "type": "blob"
 429            },
 430            "PrivateKeyPlaintext": {
 431              "shape": "S1q"
 432            },
 433            "PublicKey": {
 434              "type": "blob"
 435            },
 436            "KeyId": {},
 437            "KeyPairSpec": {}
 438          }
 439        }
 440      },
 441      "GenerateDataKeyPairWithoutPlaintext": {
 442        "input": {
 443          "type": "structure",
 444          "required": [
 445            "KeyId",
 446            "KeyPairSpec"
 447          ],
 448          "members": {
 449            "EncryptionContext": {
 450              "shape": "Sk"
 451            },
 452            "KeyId": {},
 453            "KeyPairSpec": {},
 454            "GrantTokens": {
 455              "shape": "Sn"
 456            }
 457          }
 458        },
 459        "output": {
 460          "type": "structure",
 461          "members": {
 462            "PrivateKeyCiphertextBlob": {
 463              "type": "blob"
 464            },
 465            "PublicKey": {
 466              "type": "blob"
 467            },
 468            "KeyId": {},
 469            "KeyPairSpec": {}
 470          }
 471        }
 472      },
 473      "GenerateDataKeyWithoutPlaintext": {
 474        "input": {
 475          "type": "structure",
 476          "required": [
 477            "KeyId"
 478          ],
 479          "members": {
 480            "KeyId": {},
 481            "EncryptionContext": {
 482              "shape": "Sk"
 483            },
 484            "KeySpec": {},
 485            "NumberOfBytes": {
 486              "type": "integer"
 487            },
 488            "GrantTokens": {
 489              "shape": "Sn"
 490            }
 491          }
 492        },
 493        "output": {
 494          "type": "structure",
 495          "members": {
 496            "CiphertextBlob": {
 497              "type": "blob"
 498            },
 499            "KeyId": {}
 500          }
 501        }
 502      },
 503      "GenerateRandom": {
 504        "input": {
 505          "type": "structure",
 506          "members": {
 507            "NumberOfBytes": {
 508              "type": "integer"
 509            },
 510            "CustomKeyStoreId": {}
 511          }
 512        },
 513        "output": {
 514          "type": "structure",
 515          "members": {
 516            "Plaintext": {
 517              "shape": "S1q"
 518            }
 519          }
 520        }
 521      },
 522      "GetKeyPolicy": {
 523        "input": {
 524          "type": "structure",
 525          "required": [
 526            "KeyId",
 527            "PolicyName"
 528          ],
 529          "members": {
 530            "KeyId": {},
 531            "PolicyName": {}
 532          }
 533        },
 534        "output": {
 535          "type": "structure",
 536          "members": {
 537            "Policy": {}
 538          }
 539        }
 540      },
 541      "GetKeyRotationStatus": {
 542        "input": {
 543          "type": "structure",
 544          "required": [
 545            "KeyId"
 546          ],
 547          "members": {
 548            "KeyId": {}
 549          }
 550        },
 551        "output": {
 552          "type": "structure",
 553          "members": {
 554            "KeyRotationEnabled": {
 555              "type": "boolean"
 556            }
 557          }
 558        }
 559      },
 560      "GetParametersForImport": {
 561        "input": {
 562          "type": "structure",
 563          "required": [
 564            "KeyId",
 565            "WrappingAlgorithm",
 566            "WrappingKeySpec"
 567          ],
 568          "members": {
 569            "KeyId": {},
 570            "WrappingAlgorithm": {},
 571            "WrappingKeySpec": {}
 572          }
 573        },
 574        "output": {
 575          "type": "structure",
 576          "members": {
 577            "KeyId": {},
 578            "ImportToken": {
 579              "type": "blob"
 580            },
 581            "PublicKey": {
 582              "shape": "S1q"
 583            },
 584            "ParametersValidTo": {
 585              "type": "timestamp"
 586            }
 587          }
 588        }
 589      },
 590      "GetPublicKey": {
 591        "input": {
 592          "type": "structure",
 593          "required": [
 594            "KeyId"
 595          ],
 596          "members": {
 597            "KeyId": {},
 598            "GrantTokens": {
 599              "shape": "Sn"
 600            }
 601          }
 602        },
 603        "output": {
 604          "type": "structure",
 605          "members": {
 606            "KeyId": {},
 607            "PublicKey": {
 608              "type": "blob"
 609            },
 610            "CustomerMasterKeySpec": {
 611              "shape": "Sw",
 612              "deprecated": true,
 613              "deprecatedMessage": "This field has been deprecated. Instead, use the KeySpec field."
 614            },
 615            "KeySpec": {},
 616            "KeyUsage": {},
 617            "EncryptionAlgorithms": {
 618              "shape": "S1d"
 619            },
 620            "SigningAlgorithms": {
 621              "shape": "S1f"
 622            }
 623          }
 624        }
 625      },
 626      "ImportKeyMaterial": {
 627        "input": {
 628          "type": "structure",
 629          "required": [
 630            "KeyId",
 631            "ImportToken",
 632            "EncryptedKeyMaterial"
 633          ],
 634          "members": {
 635            "KeyId": {},
 636            "ImportToken": {
 637              "type": "blob"
 638            },
 639            "EncryptedKeyMaterial": {
 640              "type": "blob"
 641            },
 642            "ValidTo": {
 643              "type": "timestamp"
 644            },
 645            "ExpirationModel": {}
 646          }
 647        },
 648        "output": {
 649          "type": "structure",
 650          "members": {}
 651        }
 652      },
 653      "ListAliases": {
 654        "input": {
 655          "type": "structure",
 656          "members": {
 657            "KeyId": {},
 658            "Limit": {
 659              "type": "integer"
 660            },
 661            "Marker": {}
 662          }
 663        },
 664        "output": {
 665          "type": "structure",
 666          "members": {
 667            "Aliases": {
 668              "type": "list",
 669              "member": {
 670                "type": "structure",
 671                "members": {
 672                  "AliasName": {},
 673                  "AliasArn": {},
 674                  "TargetKeyId": {},
 675                  "CreationDate": {
 676                    "type": "timestamp"
 677                  },
 678                  "LastUpdatedDate": {
 679                    "type": "timestamp"
 680                  }
 681                }
 682              }
 683            },
 684            "NextMarker": {},
 685            "Truncated": {
 686              "type": "boolean"
 687            }
 688          }
 689        }
 690      },
 691      "ListGrants": {
 692        "input": {
 693          "type": "structure",
 694          "required": [
 695            "KeyId"
 696          ],
 697          "members": {
 698            "Limit": {
 699              "type": "integer"
 700            },
 701            "Marker": {},
 702            "KeyId": {},
 703            "GrantId": {},
 704            "GranteePrincipal": {}
 705          }
 706        },
 707        "output": {
 708          "shape": "S39"
 709        }
 710      },
 711      "ListKeyPolicies": {
 712        "input": {
 713          "type": "structure",
 714          "required": [
 715            "KeyId"
 716          ],
 717          "members": {
 718            "KeyId": {},
 719            "Limit": {
 720              "type": "integer"
 721            },
 722            "Marker": {}
 723          }
 724        },
 725        "output": {
 726          "type": "structure",
 727          "members": {
 728            "PolicyNames": {
 729              "type": "list",
 730              "member": {}
 731            },
 732            "NextMarker": {},
 733            "Truncated": {
 734              "type": "boolean"
 735            }
 736          }
 737        }
 738      },
 739      "ListKeys": {
 740        "input": {
 741          "type": "structure",
 742          "members": {
 743            "Limit": {
 744              "type": "integer"
 745            },
 746            "Marker": {}
 747          }
 748        },
 749        "output": {
 750          "type": "structure",
 751          "members": {
 752            "Keys": {
 753              "type": "list",
 754              "member": {
 755                "type": "structure",
 756                "members": {
 757                  "KeyId": {},
 758                  "KeyArn": {}
 759                }
 760              }
 761            },
 762            "NextMarker": {},
 763            "Truncated": {
 764              "type": "boolean"
 765            }
 766          }
 767        }
 768      },
 769      "ListResourceTags": {
 770        "input": {
 771          "type": "structure",
 772          "required": [
 773            "KeyId"
 774          ],
 775          "members": {
 776            "KeyId": {},
 777            "Limit": {
 778              "type": "integer"
 779            },
 780            "Marker": {}
 781          }
 782        },
 783        "output": {
 784          "type": "structure",
 785          "members": {
 786            "Tags": {
 787              "shape": "S10"
 788            },
 789            "NextMarker": {},
 790            "Truncated": {
 791              "type": "boolean"
 792            }
 793          }
 794        }
 795      },
 796      "ListRetirableGrants": {
 797        "input": {
 798          "type": "structure",
 799          "required": [
 800            "RetiringPrincipal"
 801          ],
 802          "members": {
 803            "Limit": {
 804              "type": "integer"
 805            },
 806            "Marker": {},
 807            "RetiringPrincipal": {}
 808          }
 809        },
 810        "output": {
 811          "shape": "S39"
 812        }
 813      },
 814      "PutKeyPolicy": {
 815        "input": {
 816          "type": "structure",
 817          "required": [
 818            "KeyId",
 819            "PolicyName",
 820            "Policy"
 821          ],
 822          "members": {
 823            "KeyId": {},
 824            "PolicyName": {},
 825            "Policy": {},
 826            "BypassPolicyLockoutSafetyCheck": {
 827              "type": "boolean"
 828            }
 829          }
 830        }
 831      },
 832      "ReEncrypt": {
 833        "input": {
 834          "type": "structure",
 835          "required": [
 836            "CiphertextBlob",
 837            "DestinationKeyId"
 838          ],
 839          "members": {
 840            "CiphertextBlob": {
 841              "type": "blob"
 842            },
 843            "SourceEncryptionContext": {
 844              "shape": "Sk"
 845            },
 846            "SourceKeyId": {},
 847            "DestinationKeyId": {},
 848            "DestinationEncryptionContext": {
 849              "shape": "Sk"
 850            },
 851            "SourceEncryptionAlgorithm": {},
 852            "DestinationEncryptionAlgorithm": {},
 853            "GrantTokens": {
 854              "shape": "Sn"
 855            }
 856          }
 857        },
 858        "output": {
 859          "type": "structure",
 860          "members": {
 861            "CiphertextBlob": {
 862              "type": "blob"
 863            },
 864            "SourceKeyId": {},
 865            "KeyId": {},
 866            "SourceEncryptionAlgorithm": {},
 867            "DestinationEncryptionAlgorithm": {}
 868          }
 869        }
 870      },
 871      "ReplicateKey": {
 872        "input": {
 873          "type": "structure",
 874          "required": [
 875            "KeyId",
 876            "ReplicaRegion"
 877          ],
 878          "members": {
 879            "KeyId": {},
 880            "ReplicaRegion": {},
 881            "Policy": {},
 882            "BypassPolicyLockoutSafetyCheck": {
 883              "type": "boolean"
 884            },
 885            "Description": {},
 886            "Tags": {
 887              "shape": "S10"
 888            }
 889          }
 890        },
 891        "output": {
 892          "type": "structure",
 893          "members": {
 894            "ReplicaKeyMetadata": {
 895              "shape": "S16"
 896            },
 897            "ReplicaPolicy": {},
 898            "ReplicaTags": {
 899              "shape": "S10"
 900            }
 901          }
 902        }
 903      },
 904      "RetireGrant": {
 905        "input": {
 906          "type": "structure",
 907          "members": {
 908            "GrantToken": {},
 909            "KeyId": {},
 910            "GrantId": {}
 911          }
 912        }
 913      },
 914      "RevokeGrant": {
 915        "input": {
 916          "type": "structure",
 917          "required": [
 918            "KeyId",
 919            "GrantId"
 920          ],
 921          "members": {
 922            "KeyId": {},
 923            "GrantId": {}
 924          }
 925        }
 926      },
 927      "ScheduleKeyDeletion": {
 928        "input": {
 929          "type": "structure",
 930          "required": [
 931            "KeyId"
 932          ],
 933          "members": {
 934            "KeyId": {},
 935            "PendingWindowInDays": {
 936              "type": "integer"
 937            }
 938          }
 939        },
 940        "output": {
 941          "type": "structure",
 942          "members": {
 943            "KeyId": {},
 944            "DeletionDate": {
 945              "type": "timestamp"
 946            },
 947            "KeyState": {},
 948            "PendingWindowInDays": {
 949              "type": "integer"
 950            }
 951          }
 952        }
 953      },
 954      "Sign": {
 955        "input": {
 956          "type": "structure",
 957          "required": [
 958            "KeyId",
 959            "Message",
 960            "SigningAlgorithm"
 961          ],
 962          "members": {
 963            "KeyId": {},
 964            "Message": {
 965              "shape": "S1q"
 966            },
 967            "MessageType": {},
 968            "GrantTokens": {
 969              "shape": "Sn"
 970            },
 971            "SigningAlgorithm": {}
 972          }
 973        },
 974        "output": {
 975          "type": "structure",
 976          "members": {
 977            "KeyId": {},
 978            "Signature": {
 979              "type": "blob"
 980            },
 981            "SigningAlgorithm": {}
 982          }
 983        }
 984      },
 985      "TagResource": {
 986        "input": {
 987          "type": "structure",
 988          "required": [
 989            "KeyId",
 990            "Tags"
 991          ],
 992          "members": {
 993            "KeyId": {},
 994            "Tags": {
 995              "shape": "S10"
 996            }
 997          }
 998        }
 999      },
1000      "UntagResource": {
1001        "input": {
1002          "type": "structure",
1003          "required": [
1004            "KeyId",
1005            "TagKeys"
1006          ],
1007          "members": {
1008            "KeyId": {},
1009            "TagKeys": {
1010              "type": "list",
1011              "member": {}
1012            }
1013          }
1014        }
1015      },
1016      "UpdateAlias": {
1017        "input": {
1018          "type": "structure",
1019          "required": [
1020            "AliasName",
1021            "TargetKeyId"
1022          ],
1023          "members": {
1024            "AliasName": {},
1025            "TargetKeyId": {}
1026          }
1027        }
1028      },
1029      "UpdateCustomKeyStore": {
1030        "input": {
1031          "type": "structure",
1032          "required": [
1033            "CustomKeyStoreId"
1034          ],
1035          "members": {
1036            "CustomKeyStoreId": {},
1037            "NewCustomKeyStoreName": {},
1038            "KeyStorePassword": {
1039              "shape": "Sd"
1040            },
1041            "CloudHsmClusterId": {}
1042          }
1043        },
1044        "output": {
1045          "type": "structure",
1046          "members": {}
1047        }
1048      },
1049      "UpdateKeyDescription": {
1050        "input": {
1051          "type": "structure",
1052          "required": [
1053            "KeyId",
1054            "Description"
1055          ],
1056          "members": {
1057            "KeyId": {},
1058            "Description": {}
1059          }
1060        }
1061      },
1062      "UpdatePrimaryRegion": {
1063        "input": {
1064          "type": "structure",
1065          "required": [
1066            "KeyId",
1067            "PrimaryRegion"
1068          ],
1069          "members": {
1070            "KeyId": {},
1071            "PrimaryRegion": {}
1072          }
1073        }
1074      },
1075      "Verify": {
1076        "input": {
1077          "type": "structure",
1078          "required": [
1079            "KeyId",
1080            "Message",
1081            "Signature",
1082            "SigningAlgorithm"
1083          ],
1084          "members": {
1085            "KeyId": {},
1086            "Message": {
1087              "shape": "S1q"
1088            },
1089            "MessageType": {},
1090            "Signature": {
1091              "type": "blob"
1092            },
1093            "SigningAlgorithm": {},
1094            "GrantTokens": {
1095              "shape": "Sn"
1096            }
1097          }
1098        },
1099        "output": {
1100          "type": "structure",
1101          "members": {
1102            "KeyId": {},
1103            "SignatureValid": {
1104              "type": "boolean"
1105            },
1106            "SigningAlgorithm": {}
1107          }
1108        }
1109      }
1110    },
1111    "shapes": {
1112      "Sd": {
1113        "type": "string",
1114        "sensitive": true
1115      },
1116      "Sh": {
1117        "type": "list",
1118        "member": {}
1119      },
1120      "Sj": {
1121        "type": "structure",
1122        "members": {
1123          "EncryptionContextSubset": {
1124            "shape": "Sk"
1125          },
1126          "EncryptionContextEquals": {
1127            "shape": "Sk"
1128          }
1129        }
1130      },
1131      "Sk": {
1132        "type": "map",
1133        "key": {},
1134        "value": {}
1135      },
1136      "Sn": {
1137        "type": "list",
1138        "member": {}
1139      },
1140      "Sw": {
1141        "type": "string",
1142        "deprecated": true,
1143        "deprecatedMessage": "This enum has been deprecated. Instead, use the KeySpec enum."
1144      },
1145      "S10": {
1146        "type": "list",
1147        "member": {
1148          "type": "structure",
1149          "required": [
1150            "TagKey",
1151            "TagValue"
1152          ],
1153          "members": {
1154            "TagKey": {},
1155            "TagValue": {}
1156          }
1157        }
1158      },
1159      "S16": {
1160        "type": "structure",
1161        "required": [
1162          "KeyId"
1163        ],
1164        "members": {
1165          "AWSAccountId": {},
1166          "KeyId": {},
1167          "Arn": {},
1168          "CreationDate": {
1169            "type": "timestamp"
1170          },
1171          "Enabled": {
1172            "type": "boolean"
1173          },
1174          "Description": {},
1175          "KeyUsage": {},
1176          "KeyState": {},
1177          "DeletionDate": {
1178            "type": "timestamp"
1179          },
1180          "ValidTo": {
1181            "type": "timestamp"
1182          },
1183          "Origin": {},
1184          "CustomKeyStoreId": {},
1185          "CloudHsmClusterId": {},
1186          "ExpirationModel": {},
1187          "KeyManager": {},
1188          "CustomerMasterKeySpec": {
1189            "shape": "Sw",
1190            "deprecated": true,
1191            "deprecatedMessage": "This field has been deprecated. Instead, use the KeySpec field."
1192          },
1193          "KeySpec": {},
1194          "EncryptionAlgorithms": {
1195            "shape": "S1d"
1196          },
1197          "SigningAlgorithms": {
1198            "shape": "S1f"
1199          },
1200          "MultiRegion": {
1201            "type": "boolean"
1202          },
1203          "MultiRegionConfiguration": {
1204            "type": "structure",
1205            "members": {
1206              "MultiRegionKeyType": {},
1207              "PrimaryKey": {
1208                "shape": "S1j"
1209              },
1210              "ReplicaKeys": {
1211                "type": "list",
1212                "member": {
1213                  "shape": "S1j"
1214                }
1215              }
1216            }
1217          },
1218          "PendingDeletionWindowInDays": {
1219            "type": "integer"
1220          }
1221        }
1222      },
1223      "S1d": {
1224        "type": "list",
1225        "member": {}
1226      },
1227      "S1f": {
1228        "type": "list",
1229        "member": {}
1230      },
1231      "S1j": {
1232        "type": "structure",
1233        "members": {
1234          "Arn": {},
1235          "Region": {}
1236        }
1237      },
1238      "S1q": {
1239        "type": "blob",
1240        "sensitive": true
1241      },
1242      "S39": {
1243        "type": "structure",
1244        "members": {
1245          "Grants": {
1246            "type": "list",
1247            "member": {
1248              "type": "structure",
1249              "members": {
1250                "KeyId": {},
1251                "GrantId": {},
1252                "Name": {},
1253                "CreationDate": {
1254                  "type": "timestamp"
1255                },
1256                "GranteePrincipal": {},
1257                "RetiringPrincipal": {},
1258                "IssuingAccount": {},
1259                "Operations": {
1260                  "shape": "Sh"
1261                },
1262                "Constraints": {
1263                  "shape": "Sj"
1264                }
1265              }
1266            }
1267          },
1268          "NextMarker": {},
1269          "Truncated": {
1270            "type": "boolean"
1271          }
1272        }
1273      }
1274    }
1275  }