github.com/aavshr/aws-sdk-go@v1.41.3/models/apis/kms/2014-11-01/api-2.json (about)

     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        "name":"CancelKeyDeletion",
    18        "http":{
    19          "method":"POST",
    20          "requestUri":"/"
    21        },
    22        "input":{"shape":"CancelKeyDeletionRequest"},
    23        "output":{"shape":"CancelKeyDeletionResponse"},
    24        "errors":[
    25          {"shape":"NotFoundException"},
    26          {"shape":"InvalidArnException"},
    27          {"shape":"DependencyTimeoutException"},
    28          {"shape":"KMSInternalException"},
    29          {"shape":"KMSInvalidStateException"}
    30        ]
    31      },
    32      "ConnectCustomKeyStore":{
    33        "name":"ConnectCustomKeyStore",
    34        "http":{
    35          "method":"POST",
    36          "requestUri":"/"
    37        },
    38        "input":{"shape":"ConnectCustomKeyStoreRequest"},
    39        "output":{"shape":"ConnectCustomKeyStoreResponse"},
    40        "errors":[
    41          {"shape":"CloudHsmClusterNotActiveException"},
    42          {"shape":"CustomKeyStoreInvalidStateException"},
    43          {"shape":"CustomKeyStoreNotFoundException"},
    44          {"shape":"KMSInternalException"},
    45          {"shape":"CloudHsmClusterInvalidConfigurationException"}
    46        ]
    47      },
    48      "CreateAlias":{
    49        "name":"CreateAlias",
    50        "http":{
    51          "method":"POST",
    52          "requestUri":"/"
    53        },
    54        "input":{"shape":"CreateAliasRequest"},
    55        "errors":[
    56          {"shape":"DependencyTimeoutException"},
    57          {"shape":"AlreadyExistsException"},
    58          {"shape":"NotFoundException"},
    59          {"shape":"InvalidAliasNameException"},
    60          {"shape":"KMSInternalException"},
    61          {"shape":"LimitExceededException"},
    62          {"shape":"KMSInvalidStateException"}
    63        ]
    64      },
    65      "CreateCustomKeyStore":{
    66        "name":"CreateCustomKeyStore",
    67        "http":{
    68          "method":"POST",
    69          "requestUri":"/"
    70        },
    71        "input":{"shape":"CreateCustomKeyStoreRequest"},
    72        "output":{"shape":"CreateCustomKeyStoreResponse"},
    73        "errors":[
    74          {"shape":"CloudHsmClusterInUseException"},
    75          {"shape":"CustomKeyStoreNameInUseException"},
    76          {"shape":"CloudHsmClusterNotFoundException"},
    77          {"shape":"KMSInternalException"},
    78          {"shape":"CloudHsmClusterNotActiveException"},
    79          {"shape":"IncorrectTrustAnchorException"},
    80          {"shape":"CloudHsmClusterInvalidConfigurationException"}
    81        ]
    82      },
    83      "CreateGrant":{
    84        "name":"CreateGrant",
    85        "http":{
    86          "method":"POST",
    87          "requestUri":"/"
    88        },
    89        "input":{"shape":"CreateGrantRequest"},
    90        "output":{"shape":"CreateGrantResponse"},
    91        "errors":[
    92          {"shape":"NotFoundException"},
    93          {"shape":"DisabledException"},
    94          {"shape":"DependencyTimeoutException"},
    95          {"shape":"InvalidArnException"},
    96          {"shape":"KMSInternalException"},
    97          {"shape":"InvalidGrantTokenException"},
    98          {"shape":"LimitExceededException"},
    99          {"shape":"KMSInvalidStateException"}
   100        ]
   101      },
   102      "CreateKey":{
   103        "name":"CreateKey",
   104        "http":{
   105          "method":"POST",
   106          "requestUri":"/"
   107        },
   108        "input":{"shape":"CreateKeyRequest"},
   109        "output":{"shape":"CreateKeyResponse"},
   110        "errors":[
   111          {"shape":"MalformedPolicyDocumentException"},
   112          {"shape":"DependencyTimeoutException"},
   113          {"shape":"InvalidArnException"},
   114          {"shape":"UnsupportedOperationException"},
   115          {"shape":"KMSInternalException"},
   116          {"shape":"LimitExceededException"},
   117          {"shape":"TagException"},
   118          {"shape":"CustomKeyStoreNotFoundException"},
   119          {"shape":"CustomKeyStoreInvalidStateException"},
   120          {"shape":"CloudHsmClusterInvalidConfigurationException"}
   121        ]
   122      },
   123      "Decrypt":{
   124        "name":"Decrypt",
   125        "http":{
   126          "method":"POST",
   127          "requestUri":"/"
   128        },
   129        "input":{"shape":"DecryptRequest"},
   130        "output":{"shape":"DecryptResponse"},
   131        "errors":[
   132          {"shape":"NotFoundException"},
   133          {"shape":"DisabledException"},
   134          {"shape":"InvalidCiphertextException"},
   135          {"shape":"KeyUnavailableException"},
   136          {"shape":"IncorrectKeyException"},
   137          {"shape":"InvalidKeyUsageException"},
   138          {"shape":"DependencyTimeoutException"},
   139          {"shape":"InvalidGrantTokenException"},
   140          {"shape":"KMSInternalException"},
   141          {"shape":"KMSInvalidStateException"}
   142        ]
   143      },
   144      "DeleteAlias":{
   145        "name":"DeleteAlias",
   146        "http":{
   147          "method":"POST",
   148          "requestUri":"/"
   149        },
   150        "input":{"shape":"DeleteAliasRequest"},
   151        "errors":[
   152          {"shape":"DependencyTimeoutException"},
   153          {"shape":"NotFoundException"},
   154          {"shape":"KMSInternalException"},
   155          {"shape":"KMSInvalidStateException"}
   156        ]
   157      },
   158      "DeleteCustomKeyStore":{
   159        "name":"DeleteCustomKeyStore",
   160        "http":{
   161          "method":"POST",
   162          "requestUri":"/"
   163        },
   164        "input":{"shape":"DeleteCustomKeyStoreRequest"},
   165        "output":{"shape":"DeleteCustomKeyStoreResponse"},
   166        "errors":[
   167          {"shape":"CustomKeyStoreHasCMKsException"},
   168          {"shape":"CustomKeyStoreInvalidStateException"},
   169          {"shape":"CustomKeyStoreNotFoundException"},
   170          {"shape":"KMSInternalException"}
   171        ]
   172      },
   173      "DeleteImportedKeyMaterial":{
   174        "name":"DeleteImportedKeyMaterial",
   175        "http":{
   176          "method":"POST",
   177          "requestUri":"/"
   178        },
   179        "input":{"shape":"DeleteImportedKeyMaterialRequest"},
   180        "errors":[
   181          {"shape":"InvalidArnException"},
   182          {"shape":"UnsupportedOperationException"},
   183          {"shape":"DependencyTimeoutException"},
   184          {"shape":"NotFoundException"},
   185          {"shape":"KMSInternalException"},
   186          {"shape":"KMSInvalidStateException"}
   187        ]
   188      },
   189      "DescribeCustomKeyStores":{
   190        "name":"DescribeCustomKeyStores",
   191        "http":{
   192          "method":"POST",
   193          "requestUri":"/"
   194        },
   195        "input":{"shape":"DescribeCustomKeyStoresRequest"},
   196        "output":{"shape":"DescribeCustomKeyStoresResponse"},
   197        "errors":[
   198          {"shape":"CustomKeyStoreNotFoundException"},
   199          {"shape":"InvalidMarkerException"},
   200          {"shape":"KMSInternalException"}
   201        ]
   202      },
   203      "DescribeKey":{
   204        "name":"DescribeKey",
   205        "http":{
   206          "method":"POST",
   207          "requestUri":"/"
   208        },
   209        "input":{"shape":"DescribeKeyRequest"},
   210        "output":{"shape":"DescribeKeyResponse"},
   211        "errors":[
   212          {"shape":"NotFoundException"},
   213          {"shape":"InvalidArnException"},
   214          {"shape":"DependencyTimeoutException"},
   215          {"shape":"KMSInternalException"}
   216        ]
   217      },
   218      "DisableKey":{
   219        "name":"DisableKey",
   220        "http":{
   221          "method":"POST",
   222          "requestUri":"/"
   223        },
   224        "input":{"shape":"DisableKeyRequest"},
   225        "errors":[
   226          {"shape":"NotFoundException"},
   227          {"shape":"InvalidArnException"},
   228          {"shape":"DependencyTimeoutException"},
   229          {"shape":"KMSInternalException"},
   230          {"shape":"KMSInvalidStateException"}
   231        ]
   232      },
   233      "DisableKeyRotation":{
   234        "name":"DisableKeyRotation",
   235        "http":{
   236          "method":"POST",
   237          "requestUri":"/"
   238        },
   239        "input":{"shape":"DisableKeyRotationRequest"},
   240        "errors":[
   241          {"shape":"NotFoundException"},
   242          {"shape":"DisabledException"},
   243          {"shape":"InvalidArnException"},
   244          {"shape":"DependencyTimeoutException"},
   245          {"shape":"KMSInternalException"},
   246          {"shape":"KMSInvalidStateException"},
   247          {"shape":"UnsupportedOperationException"}
   248        ]
   249      },
   250      "DisconnectCustomKeyStore":{
   251        "name":"DisconnectCustomKeyStore",
   252        "http":{
   253          "method":"POST",
   254          "requestUri":"/"
   255        },
   256        "input":{"shape":"DisconnectCustomKeyStoreRequest"},
   257        "output":{"shape":"DisconnectCustomKeyStoreResponse"},
   258        "errors":[
   259          {"shape":"CustomKeyStoreInvalidStateException"},
   260          {"shape":"CustomKeyStoreNotFoundException"},
   261          {"shape":"KMSInternalException"}
   262        ]
   263      },
   264      "EnableKey":{
   265        "name":"EnableKey",
   266        "http":{
   267          "method":"POST",
   268          "requestUri":"/"
   269        },
   270        "input":{"shape":"EnableKeyRequest"},
   271        "errors":[
   272          {"shape":"NotFoundException"},
   273          {"shape":"InvalidArnException"},
   274          {"shape":"DependencyTimeoutException"},
   275          {"shape":"KMSInternalException"},
   276          {"shape":"LimitExceededException"},
   277          {"shape":"KMSInvalidStateException"}
   278        ]
   279      },
   280      "EnableKeyRotation":{
   281        "name":"EnableKeyRotation",
   282        "http":{
   283          "method":"POST",
   284          "requestUri":"/"
   285        },
   286        "input":{"shape":"EnableKeyRotationRequest"},
   287        "errors":[
   288          {"shape":"NotFoundException"},
   289          {"shape":"DisabledException"},
   290          {"shape":"InvalidArnException"},
   291          {"shape":"DependencyTimeoutException"},
   292          {"shape":"KMSInternalException"},
   293          {"shape":"KMSInvalidStateException"},
   294          {"shape":"UnsupportedOperationException"}
   295        ]
   296      },
   297      "Encrypt":{
   298        "name":"Encrypt",
   299        "http":{
   300          "method":"POST",
   301          "requestUri":"/"
   302        },
   303        "input":{"shape":"EncryptRequest"},
   304        "output":{"shape":"EncryptResponse"},
   305        "errors":[
   306          {"shape":"NotFoundException"},
   307          {"shape":"DisabledException"},
   308          {"shape":"KeyUnavailableException"},
   309          {"shape":"DependencyTimeoutException"},
   310          {"shape":"InvalidKeyUsageException"},
   311          {"shape":"InvalidGrantTokenException"},
   312          {"shape":"KMSInternalException"},
   313          {"shape":"KMSInvalidStateException"}
   314        ]
   315      },
   316      "GenerateDataKey":{
   317        "name":"GenerateDataKey",
   318        "http":{
   319          "method":"POST",
   320          "requestUri":"/"
   321        },
   322        "input":{"shape":"GenerateDataKeyRequest"},
   323        "output":{"shape":"GenerateDataKeyResponse"},
   324        "errors":[
   325          {"shape":"NotFoundException"},
   326          {"shape":"DisabledException"},
   327          {"shape":"KeyUnavailableException"},
   328          {"shape":"DependencyTimeoutException"},
   329          {"shape":"InvalidKeyUsageException"},
   330          {"shape":"InvalidGrantTokenException"},
   331          {"shape":"KMSInternalException"},
   332          {"shape":"KMSInvalidStateException"}
   333        ]
   334      },
   335      "GenerateDataKeyPair":{
   336        "name":"GenerateDataKeyPair",
   337        "http":{
   338          "method":"POST",
   339          "requestUri":"/"
   340        },
   341        "input":{"shape":"GenerateDataKeyPairRequest"},
   342        "output":{"shape":"GenerateDataKeyPairResponse"},
   343        "errors":[
   344          {"shape":"NotFoundException"},
   345          {"shape":"DisabledException"},
   346          {"shape":"KeyUnavailableException"},
   347          {"shape":"DependencyTimeoutException"},
   348          {"shape":"InvalidKeyUsageException"},
   349          {"shape":"InvalidGrantTokenException"},
   350          {"shape":"KMSInternalException"},
   351          {"shape":"KMSInvalidStateException"},
   352          {"shape":"UnsupportedOperationException"}
   353        ]
   354      },
   355      "GenerateDataKeyPairWithoutPlaintext":{
   356        "name":"GenerateDataKeyPairWithoutPlaintext",
   357        "http":{
   358          "method":"POST",
   359          "requestUri":"/"
   360        },
   361        "input":{"shape":"GenerateDataKeyPairWithoutPlaintextRequest"},
   362        "output":{"shape":"GenerateDataKeyPairWithoutPlaintextResponse"},
   363        "errors":[
   364          {"shape":"NotFoundException"},
   365          {"shape":"DisabledException"},
   366          {"shape":"KeyUnavailableException"},
   367          {"shape":"DependencyTimeoutException"},
   368          {"shape":"InvalidKeyUsageException"},
   369          {"shape":"InvalidGrantTokenException"},
   370          {"shape":"KMSInternalException"},
   371          {"shape":"KMSInvalidStateException"},
   372          {"shape":"UnsupportedOperationException"}
   373        ]
   374      },
   375      "GenerateDataKeyWithoutPlaintext":{
   376        "name":"GenerateDataKeyWithoutPlaintext",
   377        "http":{
   378          "method":"POST",
   379          "requestUri":"/"
   380        },
   381        "input":{"shape":"GenerateDataKeyWithoutPlaintextRequest"},
   382        "output":{"shape":"GenerateDataKeyWithoutPlaintextResponse"},
   383        "errors":[
   384          {"shape":"NotFoundException"},
   385          {"shape":"DisabledException"},
   386          {"shape":"KeyUnavailableException"},
   387          {"shape":"DependencyTimeoutException"},
   388          {"shape":"InvalidKeyUsageException"},
   389          {"shape":"InvalidGrantTokenException"},
   390          {"shape":"KMSInternalException"},
   391          {"shape":"KMSInvalidStateException"}
   392        ]
   393      },
   394      "GenerateRandom":{
   395        "name":"GenerateRandom",
   396        "http":{
   397          "method":"POST",
   398          "requestUri":"/"
   399        },
   400        "input":{"shape":"GenerateRandomRequest"},
   401        "output":{"shape":"GenerateRandomResponse"},
   402        "errors":[
   403          {"shape":"DependencyTimeoutException"},
   404          {"shape":"KMSInternalException"},
   405          {"shape":"CustomKeyStoreNotFoundException"},
   406          {"shape":"CustomKeyStoreInvalidStateException"}
   407        ]
   408      },
   409      "GetKeyPolicy":{
   410        "name":"GetKeyPolicy",
   411        "http":{
   412          "method":"POST",
   413          "requestUri":"/"
   414        },
   415        "input":{"shape":"GetKeyPolicyRequest"},
   416        "output":{"shape":"GetKeyPolicyResponse"},
   417        "errors":[
   418          {"shape":"NotFoundException"},
   419          {"shape":"InvalidArnException"},
   420          {"shape":"DependencyTimeoutException"},
   421          {"shape":"KMSInternalException"},
   422          {"shape":"KMSInvalidStateException"}
   423        ]
   424      },
   425      "GetKeyRotationStatus":{
   426        "name":"GetKeyRotationStatus",
   427        "http":{
   428          "method":"POST",
   429          "requestUri":"/"
   430        },
   431        "input":{"shape":"GetKeyRotationStatusRequest"},
   432        "output":{"shape":"GetKeyRotationStatusResponse"},
   433        "errors":[
   434          {"shape":"NotFoundException"},
   435          {"shape":"InvalidArnException"},
   436          {"shape":"DependencyTimeoutException"},
   437          {"shape":"KMSInternalException"},
   438          {"shape":"KMSInvalidStateException"},
   439          {"shape":"UnsupportedOperationException"}
   440        ]
   441      },
   442      "GetParametersForImport":{
   443        "name":"GetParametersForImport",
   444        "http":{
   445          "method":"POST",
   446          "requestUri":"/"
   447        },
   448        "input":{"shape":"GetParametersForImportRequest"},
   449        "output":{"shape":"GetParametersForImportResponse"},
   450        "errors":[
   451          {"shape":"InvalidArnException"},
   452          {"shape":"UnsupportedOperationException"},
   453          {"shape":"DependencyTimeoutException"},
   454          {"shape":"NotFoundException"},
   455          {"shape":"KMSInternalException"},
   456          {"shape":"KMSInvalidStateException"}
   457        ]
   458      },
   459      "GetPublicKey":{
   460        "name":"GetPublicKey",
   461        "http":{
   462          "method":"POST",
   463          "requestUri":"/"
   464        },
   465        "input":{"shape":"GetPublicKeyRequest"},
   466        "output":{"shape":"GetPublicKeyResponse"},
   467        "errors":[
   468          {"shape":"NotFoundException"},
   469          {"shape":"DisabledException"},
   470          {"shape":"KeyUnavailableException"},
   471          {"shape":"DependencyTimeoutException"},
   472          {"shape":"UnsupportedOperationException"},
   473          {"shape":"InvalidArnException"},
   474          {"shape":"InvalidGrantTokenException"},
   475          {"shape":"InvalidKeyUsageException"},
   476          {"shape":"KMSInternalException"},
   477          {"shape":"KMSInvalidStateException"}
   478        ]
   479      },
   480      "ImportKeyMaterial":{
   481        "name":"ImportKeyMaterial",
   482        "http":{
   483          "method":"POST",
   484          "requestUri":"/"
   485        },
   486        "input":{"shape":"ImportKeyMaterialRequest"},
   487        "output":{"shape":"ImportKeyMaterialResponse"},
   488        "errors":[
   489          {"shape":"InvalidArnException"},
   490          {"shape":"UnsupportedOperationException"},
   491          {"shape":"DependencyTimeoutException"},
   492          {"shape":"NotFoundException"},
   493          {"shape":"KMSInternalException"},
   494          {"shape":"KMSInvalidStateException"},
   495          {"shape":"InvalidCiphertextException"},
   496          {"shape":"IncorrectKeyMaterialException"},
   497          {"shape":"ExpiredImportTokenException"},
   498          {"shape":"InvalidImportTokenException"}
   499        ]
   500      },
   501      "ListAliases":{
   502        "name":"ListAliases",
   503        "http":{
   504          "method":"POST",
   505          "requestUri":"/"
   506        },
   507        "input":{"shape":"ListAliasesRequest"},
   508        "output":{"shape":"ListAliasesResponse"},
   509        "errors":[
   510          {"shape":"DependencyTimeoutException"},
   511          {"shape":"InvalidMarkerException"},
   512          {"shape":"KMSInternalException"},
   513          {"shape":"InvalidArnException"},
   514          {"shape":"NotFoundException"}
   515        ]
   516      },
   517      "ListGrants":{
   518        "name":"ListGrants",
   519        "http":{
   520          "method":"POST",
   521          "requestUri":"/"
   522        },
   523        "input":{"shape":"ListGrantsRequest"},
   524        "output":{"shape":"ListGrantsResponse"},
   525        "errors":[
   526          {"shape":"NotFoundException"},
   527          {"shape":"DependencyTimeoutException"},
   528          {"shape":"InvalidMarkerException"},
   529          {"shape":"InvalidGrantIdException"},
   530          {"shape":"InvalidArnException"},
   531          {"shape":"KMSInternalException"},
   532          {"shape":"KMSInvalidStateException"}
   533        ]
   534      },
   535      "ListKeyPolicies":{
   536        "name":"ListKeyPolicies",
   537        "http":{
   538          "method":"POST",
   539          "requestUri":"/"
   540        },
   541        "input":{"shape":"ListKeyPoliciesRequest"},
   542        "output":{"shape":"ListKeyPoliciesResponse"},
   543        "errors":[
   544          {"shape":"NotFoundException"},
   545          {"shape":"InvalidArnException"},
   546          {"shape":"DependencyTimeoutException"},
   547          {"shape":"KMSInternalException"},
   548          {"shape":"KMSInvalidStateException"}
   549        ]
   550      },
   551      "ListKeys":{
   552        "name":"ListKeys",
   553        "http":{
   554          "method":"POST",
   555          "requestUri":"/"
   556        },
   557        "input":{"shape":"ListKeysRequest"},
   558        "output":{"shape":"ListKeysResponse"},
   559        "errors":[
   560          {"shape":"DependencyTimeoutException"},
   561          {"shape":"KMSInternalException"},
   562          {"shape":"InvalidMarkerException"}
   563        ]
   564      },
   565      "ListResourceTags":{
   566        "name":"ListResourceTags",
   567        "http":{
   568          "method":"POST",
   569          "requestUri":"/"
   570        },
   571        "input":{"shape":"ListResourceTagsRequest"},
   572        "output":{"shape":"ListResourceTagsResponse"},
   573        "errors":[
   574          {"shape":"KMSInternalException"},
   575          {"shape":"NotFoundException"},
   576          {"shape":"InvalidArnException"},
   577          {"shape":"InvalidMarkerException"}
   578        ]
   579      },
   580      "ListRetirableGrants":{
   581        "name":"ListRetirableGrants",
   582        "http":{
   583          "method":"POST",
   584          "requestUri":"/"
   585        },
   586        "input":{"shape":"ListRetirableGrantsRequest"},
   587        "output":{"shape":"ListGrantsResponse"},
   588        "errors":[
   589          {"shape":"DependencyTimeoutException"},
   590          {"shape":"InvalidMarkerException"},
   591          {"shape":"InvalidArnException"},
   592          {"shape":"NotFoundException"},
   593          {"shape":"KMSInternalException"}
   594        ]
   595      },
   596      "PutKeyPolicy":{
   597        "name":"PutKeyPolicy",
   598        "http":{
   599          "method":"POST",
   600          "requestUri":"/"
   601        },
   602        "input":{"shape":"PutKeyPolicyRequest"},
   603        "errors":[
   604          {"shape":"NotFoundException"},
   605          {"shape":"InvalidArnException"},
   606          {"shape":"MalformedPolicyDocumentException"},
   607          {"shape":"DependencyTimeoutException"},
   608          {"shape":"UnsupportedOperationException"},
   609          {"shape":"KMSInternalException"},
   610          {"shape":"LimitExceededException"},
   611          {"shape":"KMSInvalidStateException"}
   612        ]
   613      },
   614      "ReEncrypt":{
   615        "name":"ReEncrypt",
   616        "http":{
   617          "method":"POST",
   618          "requestUri":"/"
   619        },
   620        "input":{"shape":"ReEncryptRequest"},
   621        "output":{"shape":"ReEncryptResponse"},
   622        "errors":[
   623          {"shape":"NotFoundException"},
   624          {"shape":"DisabledException"},
   625          {"shape":"InvalidCiphertextException"},
   626          {"shape":"KeyUnavailableException"},
   627          {"shape":"IncorrectKeyException"},
   628          {"shape":"DependencyTimeoutException"},
   629          {"shape":"InvalidKeyUsageException"},
   630          {"shape":"InvalidGrantTokenException"},
   631          {"shape":"KMSInternalException"},
   632          {"shape":"KMSInvalidStateException"}
   633        ]
   634      },
   635      "ReplicateKey":{
   636        "name":"ReplicateKey",
   637        "http":{
   638          "method":"POST",
   639          "requestUri":"/"
   640        },
   641        "input":{"shape":"ReplicateKeyRequest"},
   642        "output":{"shape":"ReplicateKeyResponse"},
   643        "errors":[
   644          {"shape":"AlreadyExistsException"},
   645          {"shape":"DisabledException"},
   646          {"shape":"InvalidArnException"},
   647          {"shape":"KMSInvalidStateException"},
   648          {"shape":"KMSInternalException"},
   649          {"shape":"LimitExceededException"},
   650          {"shape":"MalformedPolicyDocumentException"},
   651          {"shape":"NotFoundException"},
   652          {"shape":"TagException"},
   653          {"shape":"UnsupportedOperationException"}
   654        ]
   655      },
   656      "RetireGrant":{
   657        "name":"RetireGrant",
   658        "http":{
   659          "method":"POST",
   660          "requestUri":"/"
   661        },
   662        "input":{"shape":"RetireGrantRequest"},
   663        "errors":[
   664          {"shape":"InvalidArnException"},
   665          {"shape":"InvalidGrantTokenException"},
   666          {"shape":"InvalidGrantIdException"},
   667          {"shape":"NotFoundException"},
   668          {"shape":"DependencyTimeoutException"},
   669          {"shape":"KMSInternalException"},
   670          {"shape":"KMSInvalidStateException"}
   671        ]
   672      },
   673      "RevokeGrant":{
   674        "name":"RevokeGrant",
   675        "http":{
   676          "method":"POST",
   677          "requestUri":"/"
   678        },
   679        "input":{"shape":"RevokeGrantRequest"},
   680        "errors":[
   681          {"shape":"NotFoundException"},
   682          {"shape":"DependencyTimeoutException"},
   683          {"shape":"InvalidArnException"},
   684          {"shape":"InvalidGrantIdException"},
   685          {"shape":"KMSInternalException"},
   686          {"shape":"KMSInvalidStateException"}
   687        ]
   688      },
   689      "ScheduleKeyDeletion":{
   690        "name":"ScheduleKeyDeletion",
   691        "http":{
   692          "method":"POST",
   693          "requestUri":"/"
   694        },
   695        "input":{"shape":"ScheduleKeyDeletionRequest"},
   696        "output":{"shape":"ScheduleKeyDeletionResponse"},
   697        "errors":[
   698          {"shape":"NotFoundException"},
   699          {"shape":"InvalidArnException"},
   700          {"shape":"DependencyTimeoutException"},
   701          {"shape":"KMSInternalException"},
   702          {"shape":"KMSInvalidStateException"}
   703        ]
   704      },
   705      "Sign":{
   706        "name":"Sign",
   707        "http":{
   708          "method":"POST",
   709          "requestUri":"/"
   710        },
   711        "input":{"shape":"SignRequest"},
   712        "output":{"shape":"SignResponse"},
   713        "errors":[
   714          {"shape":"NotFoundException"},
   715          {"shape":"DisabledException"},
   716          {"shape":"KeyUnavailableException"},
   717          {"shape":"DependencyTimeoutException"},
   718          {"shape":"InvalidKeyUsageException"},
   719          {"shape":"InvalidGrantTokenException"},
   720          {"shape":"KMSInternalException"},
   721          {"shape":"KMSInvalidStateException"}
   722        ]
   723      },
   724      "TagResource":{
   725        "name":"TagResource",
   726        "http":{
   727          "method":"POST",
   728          "requestUri":"/"
   729        },
   730        "input":{"shape":"TagResourceRequest"},
   731        "errors":[
   732          {"shape":"KMSInternalException"},
   733          {"shape":"NotFoundException"},
   734          {"shape":"InvalidArnException"},
   735          {"shape":"KMSInvalidStateException"},
   736          {"shape":"LimitExceededException"},
   737          {"shape":"TagException"}
   738        ]
   739      },
   740      "UntagResource":{
   741        "name":"UntagResource",
   742        "http":{
   743          "method":"POST",
   744          "requestUri":"/"
   745        },
   746        "input":{"shape":"UntagResourceRequest"},
   747        "errors":[
   748          {"shape":"KMSInternalException"},
   749          {"shape":"NotFoundException"},
   750          {"shape":"InvalidArnException"},
   751          {"shape":"KMSInvalidStateException"},
   752          {"shape":"TagException"}
   753        ]
   754      },
   755      "UpdateAlias":{
   756        "name":"UpdateAlias",
   757        "http":{
   758          "method":"POST",
   759          "requestUri":"/"
   760        },
   761        "input":{"shape":"UpdateAliasRequest"},
   762        "errors":[
   763          {"shape":"DependencyTimeoutException"},
   764          {"shape":"NotFoundException"},
   765          {"shape":"KMSInternalException"},
   766          {"shape":"LimitExceededException"},
   767          {"shape":"KMSInvalidStateException"}
   768        ]
   769      },
   770      "UpdateCustomKeyStore":{
   771        "name":"UpdateCustomKeyStore",
   772        "http":{
   773          "method":"POST",
   774          "requestUri":"/"
   775        },
   776        "input":{"shape":"UpdateCustomKeyStoreRequest"},
   777        "output":{"shape":"UpdateCustomKeyStoreResponse"},
   778        "errors":[
   779          {"shape":"CustomKeyStoreNotFoundException"},
   780          {"shape":"CustomKeyStoreNameInUseException"},
   781          {"shape":"CloudHsmClusterNotFoundException"},
   782          {"shape":"CloudHsmClusterNotRelatedException"},
   783          {"shape":"CustomKeyStoreInvalidStateException"},
   784          {"shape":"KMSInternalException"},
   785          {"shape":"CloudHsmClusterNotActiveException"},
   786          {"shape":"CloudHsmClusterInvalidConfigurationException"}
   787        ]
   788      },
   789      "UpdateKeyDescription":{
   790        "name":"UpdateKeyDescription",
   791        "http":{
   792          "method":"POST",
   793          "requestUri":"/"
   794        },
   795        "input":{"shape":"UpdateKeyDescriptionRequest"},
   796        "errors":[
   797          {"shape":"NotFoundException"},
   798          {"shape":"InvalidArnException"},
   799          {"shape":"DependencyTimeoutException"},
   800          {"shape":"KMSInternalException"},
   801          {"shape":"KMSInvalidStateException"}
   802        ]
   803      },
   804      "UpdatePrimaryRegion":{
   805        "name":"UpdatePrimaryRegion",
   806        "http":{
   807          "method":"POST",
   808          "requestUri":"/"
   809        },
   810        "input":{"shape":"UpdatePrimaryRegionRequest"},
   811        "errors":[
   812          {"shape":"DisabledException"},
   813          {"shape":"InvalidArnException"},
   814          {"shape":"KMSInvalidStateException"},
   815          {"shape":"KMSInternalException"},
   816          {"shape":"NotFoundException"},
   817          {"shape":"UnsupportedOperationException"}
   818        ]
   819      },
   820      "Verify":{
   821        "name":"Verify",
   822        "http":{
   823          "method":"POST",
   824          "requestUri":"/"
   825        },
   826        "input":{"shape":"VerifyRequest"},
   827        "output":{"shape":"VerifyResponse"},
   828        "errors":[
   829          {"shape":"NotFoundException"},
   830          {"shape":"DisabledException"},
   831          {"shape":"KeyUnavailableException"},
   832          {"shape":"DependencyTimeoutException"},
   833          {"shape":"InvalidKeyUsageException"},
   834          {"shape":"InvalidGrantTokenException"},
   835          {"shape":"KMSInternalException"},
   836          {"shape":"KMSInvalidStateException"},
   837          {"shape":"KMSInvalidSignatureException"}
   838        ]
   839      }
   840    },
   841    "shapes":{
   842      "AWSAccountIdType":{"type":"string"},
   843      "AlgorithmSpec":{
   844        "type":"string",
   845        "enum":[
   846          "RSAES_PKCS1_V1_5",
   847          "RSAES_OAEP_SHA_1",
   848          "RSAES_OAEP_SHA_256"
   849        ]
   850      },
   851      "AliasList":{
   852        "type":"list",
   853        "member":{"shape":"AliasListEntry"}
   854      },
   855      "AliasListEntry":{
   856        "type":"structure",
   857        "members":{
   858          "AliasName":{"shape":"AliasNameType"},
   859          "AliasArn":{"shape":"ArnType"},
   860          "TargetKeyId":{"shape":"KeyIdType"},
   861          "CreationDate":{"shape":"DateType"},
   862          "LastUpdatedDate":{"shape":"DateType"}
   863        }
   864      },
   865      "AliasNameType":{
   866        "type":"string",
   867        "max":256,
   868        "min":1,
   869        "pattern":"^[a-zA-Z0-9:/_-]+$"
   870      },
   871      "AlreadyExistsException":{
   872        "type":"structure",
   873        "members":{
   874          "message":{"shape":"ErrorMessageType"}
   875        },
   876        "exception":true
   877      },
   878      "ArnType":{
   879        "type":"string",
   880        "max":2048,
   881        "min":20
   882      },
   883      "BooleanType":{"type":"boolean"},
   884      "CancelKeyDeletionRequest":{
   885        "type":"structure",
   886        "required":["KeyId"],
   887        "members":{
   888          "KeyId":{"shape":"KeyIdType"}
   889        }
   890      },
   891      "CancelKeyDeletionResponse":{
   892        "type":"structure",
   893        "members":{
   894          "KeyId":{"shape":"KeyIdType"}
   895        }
   896      },
   897      "CiphertextType":{
   898        "type":"blob",
   899        "max":6144,
   900        "min":1
   901      },
   902      "CloudHsmClusterIdType":{
   903        "type":"string",
   904        "max":24,
   905        "min":19
   906      },
   907      "CloudHsmClusterInUseException":{
   908        "type":"structure",
   909        "members":{
   910          "message":{"shape":"ErrorMessageType"}
   911        },
   912        "exception":true
   913      },
   914      "CloudHsmClusterInvalidConfigurationException":{
   915        "type":"structure",
   916        "members":{
   917          "message":{"shape":"ErrorMessageType"}
   918        },
   919        "exception":true
   920      },
   921      "CloudHsmClusterNotActiveException":{
   922        "type":"structure",
   923        "members":{
   924          "message":{"shape":"ErrorMessageType"}
   925        },
   926        "exception":true
   927      },
   928      "CloudHsmClusterNotFoundException":{
   929        "type":"structure",
   930        "members":{
   931          "message":{"shape":"ErrorMessageType"}
   932        },
   933        "exception":true
   934      },
   935      "CloudHsmClusterNotRelatedException":{
   936        "type":"structure",
   937        "members":{
   938          "message":{"shape":"ErrorMessageType"}
   939        },
   940        "exception":true
   941      },
   942      "ConnectCustomKeyStoreRequest":{
   943        "type":"structure",
   944        "required":["CustomKeyStoreId"],
   945        "members":{
   946          "CustomKeyStoreId":{"shape":"CustomKeyStoreIdType"}
   947        }
   948      },
   949      "ConnectCustomKeyStoreResponse":{
   950        "type":"structure",
   951        "members":{
   952        }
   953      },
   954      "ConnectionErrorCodeType":{
   955        "type":"string",
   956        "enum":[
   957          "INVALID_CREDENTIALS",
   958          "CLUSTER_NOT_FOUND",
   959          "NETWORK_ERRORS",
   960          "INTERNAL_ERROR",
   961          "INSUFFICIENT_CLOUDHSM_HSMS",
   962          "USER_LOCKED_OUT",
   963          "USER_NOT_FOUND",
   964          "USER_LOGGED_IN",
   965          "SUBNET_NOT_FOUND"
   966        ]
   967      },
   968      "ConnectionStateType":{
   969        "type":"string",
   970        "enum":[
   971          "CONNECTED",
   972          "CONNECTING",
   973          "FAILED",
   974          "DISCONNECTED",
   975          "DISCONNECTING"
   976        ]
   977      },
   978      "CreateAliasRequest":{
   979        "type":"structure",
   980        "required":[
   981          "AliasName",
   982          "TargetKeyId"
   983        ],
   984        "members":{
   985          "AliasName":{"shape":"AliasNameType"},
   986          "TargetKeyId":{"shape":"KeyIdType"}
   987        }
   988      },
   989      "CreateCustomKeyStoreRequest":{
   990        "type":"structure",
   991        "required":[
   992          "CustomKeyStoreName",
   993          "CloudHsmClusterId",
   994          "TrustAnchorCertificate",
   995          "KeyStorePassword"
   996        ],
   997        "members":{
   998          "CustomKeyStoreName":{"shape":"CustomKeyStoreNameType"},
   999          "CloudHsmClusterId":{"shape":"CloudHsmClusterIdType"},
  1000          "TrustAnchorCertificate":{"shape":"TrustAnchorCertificateType"},
  1001          "KeyStorePassword":{"shape":"KeyStorePasswordType"}
  1002        }
  1003      },
  1004      "CreateCustomKeyStoreResponse":{
  1005        "type":"structure",
  1006        "members":{
  1007          "CustomKeyStoreId":{"shape":"CustomKeyStoreIdType"}
  1008        }
  1009      },
  1010      "CreateGrantRequest":{
  1011        "type":"structure",
  1012        "required":[
  1013          "KeyId",
  1014          "GranteePrincipal",
  1015          "Operations"
  1016        ],
  1017        "members":{
  1018          "KeyId":{"shape":"KeyIdType"},
  1019          "GranteePrincipal":{"shape":"PrincipalIdType"},
  1020          "RetiringPrincipal":{"shape":"PrincipalIdType"},
  1021          "Operations":{"shape":"GrantOperationList"},
  1022          "Constraints":{"shape":"GrantConstraints"},
  1023          "GrantTokens":{"shape":"GrantTokenList"},
  1024          "Name":{"shape":"GrantNameType"}
  1025        }
  1026      },
  1027      "CreateGrantResponse":{
  1028        "type":"structure",
  1029        "members":{
  1030          "GrantToken":{"shape":"GrantTokenType"},
  1031          "GrantId":{"shape":"GrantIdType"}
  1032        }
  1033      },
  1034      "CreateKeyRequest":{
  1035        "type":"structure",
  1036        "members":{
  1037          "Policy":{"shape":"PolicyType"},
  1038          "Description":{"shape":"DescriptionType"},
  1039          "KeyUsage":{"shape":"KeyUsageType"},
  1040          "CustomerMasterKeySpec":{
  1041            "shape":"CustomerMasterKeySpec",
  1042            "deprecated":true,
  1043            "deprecatedMessage":"This parameter has been deprecated. Instead, use the KeySpec parameter."
  1044          },
  1045          "KeySpec":{"shape":"KeySpec"},
  1046          "Origin":{"shape":"OriginType"},
  1047          "CustomKeyStoreId":{"shape":"CustomKeyStoreIdType"},
  1048          "BypassPolicyLockoutSafetyCheck":{"shape":"BooleanType"},
  1049          "Tags":{"shape":"TagList"},
  1050          "MultiRegion":{"shape":"NullableBooleanType"}
  1051        }
  1052      },
  1053      "CreateKeyResponse":{
  1054        "type":"structure",
  1055        "members":{
  1056          "KeyMetadata":{"shape":"KeyMetadata"}
  1057        }
  1058      },
  1059      "CustomKeyStoreHasCMKsException":{
  1060        "type":"structure",
  1061        "members":{
  1062          "message":{"shape":"ErrorMessageType"}
  1063        },
  1064        "exception":true
  1065      },
  1066      "CustomKeyStoreIdType":{
  1067        "type":"string",
  1068        "max":64,
  1069        "min":1
  1070      },
  1071      "CustomKeyStoreInvalidStateException":{
  1072        "type":"structure",
  1073        "members":{
  1074          "message":{"shape":"ErrorMessageType"}
  1075        },
  1076        "exception":true
  1077      },
  1078      "CustomKeyStoreNameInUseException":{
  1079        "type":"structure",
  1080        "members":{
  1081          "message":{"shape":"ErrorMessageType"}
  1082        },
  1083        "exception":true
  1084      },
  1085      "CustomKeyStoreNameType":{
  1086        "type":"string",
  1087        "max":256,
  1088        "min":1
  1089      },
  1090      "CustomKeyStoreNotFoundException":{
  1091        "type":"structure",
  1092        "members":{
  1093          "message":{"shape":"ErrorMessageType"}
  1094        },
  1095        "exception":true
  1096      },
  1097      "CustomKeyStoresList":{
  1098        "type":"list",
  1099        "member":{"shape":"CustomKeyStoresListEntry"}
  1100      },
  1101      "CustomKeyStoresListEntry":{
  1102        "type":"structure",
  1103        "members":{
  1104          "CustomKeyStoreId":{"shape":"CustomKeyStoreIdType"},
  1105          "CustomKeyStoreName":{"shape":"CustomKeyStoreNameType"},
  1106          "CloudHsmClusterId":{"shape":"CloudHsmClusterIdType"},
  1107          "TrustAnchorCertificate":{"shape":"TrustAnchorCertificateType"},
  1108          "ConnectionState":{"shape":"ConnectionStateType"},
  1109          "ConnectionErrorCode":{"shape":"ConnectionErrorCodeType"},
  1110          "CreationDate":{"shape":"DateType"}
  1111        }
  1112      },
  1113      "CustomerMasterKeySpec":{
  1114        "type":"string",
  1115        "deprecated":true,
  1116        "deprecatedMessage":"This enum has been deprecated. Instead, use the KeySpec enum.",
  1117        "enum":[
  1118          "RSA_2048",
  1119          "RSA_3072",
  1120          "RSA_4096",
  1121          "ECC_NIST_P256",
  1122          "ECC_NIST_P384",
  1123          "ECC_NIST_P521",
  1124          "ECC_SECG_P256K1",
  1125          "SYMMETRIC_DEFAULT"
  1126        ]
  1127      },
  1128      "DataKeyPairSpec":{
  1129        "type":"string",
  1130        "enum":[
  1131          "RSA_2048",
  1132          "RSA_3072",
  1133          "RSA_4096",
  1134          "ECC_NIST_P256",
  1135          "ECC_NIST_P384",
  1136          "ECC_NIST_P521",
  1137          "ECC_SECG_P256K1"
  1138        ]
  1139      },
  1140      "DataKeySpec":{
  1141        "type":"string",
  1142        "enum":[
  1143          "AES_256",
  1144          "AES_128"
  1145        ]
  1146      },
  1147      "DateType":{"type":"timestamp"},
  1148      "DecryptRequest":{
  1149        "type":"structure",
  1150        "required":["CiphertextBlob"],
  1151        "members":{
  1152          "CiphertextBlob":{"shape":"CiphertextType"},
  1153          "EncryptionContext":{"shape":"EncryptionContextType"},
  1154          "GrantTokens":{"shape":"GrantTokenList"},
  1155          "KeyId":{"shape":"KeyIdType"},
  1156          "EncryptionAlgorithm":{"shape":"EncryptionAlgorithmSpec"}
  1157        }
  1158      },
  1159      "DecryptResponse":{
  1160        "type":"structure",
  1161        "members":{
  1162          "KeyId":{"shape":"KeyIdType"},
  1163          "Plaintext":{"shape":"PlaintextType"},
  1164          "EncryptionAlgorithm":{"shape":"EncryptionAlgorithmSpec"}
  1165        }
  1166      },
  1167      "DeleteAliasRequest":{
  1168        "type":"structure",
  1169        "required":["AliasName"],
  1170        "members":{
  1171          "AliasName":{"shape":"AliasNameType"}
  1172        }
  1173      },
  1174      "DeleteCustomKeyStoreRequest":{
  1175        "type":"structure",
  1176        "required":["CustomKeyStoreId"],
  1177        "members":{
  1178          "CustomKeyStoreId":{"shape":"CustomKeyStoreIdType"}
  1179        }
  1180      },
  1181      "DeleteCustomKeyStoreResponse":{
  1182        "type":"structure",
  1183        "members":{
  1184        }
  1185      },
  1186      "DeleteImportedKeyMaterialRequest":{
  1187        "type":"structure",
  1188        "required":["KeyId"],
  1189        "members":{
  1190          "KeyId":{"shape":"KeyIdType"}
  1191        }
  1192      },
  1193      "DependencyTimeoutException":{
  1194        "type":"structure",
  1195        "members":{
  1196          "message":{"shape":"ErrorMessageType"}
  1197        },
  1198        "exception":true,
  1199        "fault":true
  1200      },
  1201      "DescribeCustomKeyStoresRequest":{
  1202        "type":"structure",
  1203        "members":{
  1204          "CustomKeyStoreId":{"shape":"CustomKeyStoreIdType"},
  1205          "CustomKeyStoreName":{"shape":"CustomKeyStoreNameType"},
  1206          "Limit":{"shape":"LimitType"},
  1207          "Marker":{"shape":"MarkerType"}
  1208        }
  1209      },
  1210      "DescribeCustomKeyStoresResponse":{
  1211        "type":"structure",
  1212        "members":{
  1213          "CustomKeyStores":{"shape":"CustomKeyStoresList"},
  1214          "NextMarker":{"shape":"MarkerType"},
  1215          "Truncated":{"shape":"BooleanType"}
  1216        }
  1217      },
  1218      "DescribeKeyRequest":{
  1219        "type":"structure",
  1220        "required":["KeyId"],
  1221        "members":{
  1222          "KeyId":{"shape":"KeyIdType"},
  1223          "GrantTokens":{"shape":"GrantTokenList"}
  1224        }
  1225      },
  1226      "DescribeKeyResponse":{
  1227        "type":"structure",
  1228        "members":{
  1229          "KeyMetadata":{"shape":"KeyMetadata"}
  1230        }
  1231      },
  1232      "DescriptionType":{
  1233        "type":"string",
  1234        "max":8192,
  1235        "min":0
  1236      },
  1237      "DisableKeyRequest":{
  1238        "type":"structure",
  1239        "required":["KeyId"],
  1240        "members":{
  1241          "KeyId":{"shape":"KeyIdType"}
  1242        }
  1243      },
  1244      "DisableKeyRotationRequest":{
  1245        "type":"structure",
  1246        "required":["KeyId"],
  1247        "members":{
  1248          "KeyId":{"shape":"KeyIdType"}
  1249        }
  1250      },
  1251      "DisabledException":{
  1252        "type":"structure",
  1253        "members":{
  1254          "message":{"shape":"ErrorMessageType"}
  1255        },
  1256        "exception":true
  1257      },
  1258      "DisconnectCustomKeyStoreRequest":{
  1259        "type":"structure",
  1260        "required":["CustomKeyStoreId"],
  1261        "members":{
  1262          "CustomKeyStoreId":{"shape":"CustomKeyStoreIdType"}
  1263        }
  1264      },
  1265      "DisconnectCustomKeyStoreResponse":{
  1266        "type":"structure",
  1267        "members":{
  1268        }
  1269      },
  1270      "EnableKeyRequest":{
  1271        "type":"structure",
  1272        "required":["KeyId"],
  1273        "members":{
  1274          "KeyId":{"shape":"KeyIdType"}
  1275        }
  1276      },
  1277      "EnableKeyRotationRequest":{
  1278        "type":"structure",
  1279        "required":["KeyId"],
  1280        "members":{
  1281          "KeyId":{"shape":"KeyIdType"}
  1282        }
  1283      },
  1284      "EncryptRequest":{
  1285        "type":"structure",
  1286        "required":[
  1287          "KeyId",
  1288          "Plaintext"
  1289        ],
  1290        "members":{
  1291          "KeyId":{"shape":"KeyIdType"},
  1292          "Plaintext":{"shape":"PlaintextType"},
  1293          "EncryptionContext":{"shape":"EncryptionContextType"},
  1294          "GrantTokens":{"shape":"GrantTokenList"},
  1295          "EncryptionAlgorithm":{"shape":"EncryptionAlgorithmSpec"}
  1296        }
  1297      },
  1298      "EncryptResponse":{
  1299        "type":"structure",
  1300        "members":{
  1301          "CiphertextBlob":{"shape":"CiphertextType"},
  1302          "KeyId":{"shape":"KeyIdType"},
  1303          "EncryptionAlgorithm":{"shape":"EncryptionAlgorithmSpec"}
  1304        }
  1305      },
  1306      "EncryptionAlgorithmSpec":{
  1307        "type":"string",
  1308        "enum":[
  1309          "SYMMETRIC_DEFAULT",
  1310          "RSAES_OAEP_SHA_1",
  1311          "RSAES_OAEP_SHA_256"
  1312        ]
  1313      },
  1314      "EncryptionAlgorithmSpecList":{
  1315        "type":"list",
  1316        "member":{"shape":"EncryptionAlgorithmSpec"}
  1317      },
  1318      "EncryptionContextKey":{"type":"string"},
  1319      "EncryptionContextType":{
  1320        "type":"map",
  1321        "key":{"shape":"EncryptionContextKey"},
  1322        "value":{"shape":"EncryptionContextValue"}
  1323      },
  1324      "EncryptionContextValue":{"type":"string"},
  1325      "ErrorMessageType":{"type":"string"},
  1326      "ExpirationModelType":{
  1327        "type":"string",
  1328        "enum":[
  1329          "KEY_MATERIAL_EXPIRES",
  1330          "KEY_MATERIAL_DOES_NOT_EXPIRE"
  1331        ]
  1332      },
  1333      "ExpiredImportTokenException":{
  1334        "type":"structure",
  1335        "members":{
  1336          "message":{"shape":"ErrorMessageType"}
  1337        },
  1338        "exception":true
  1339      },
  1340      "GenerateDataKeyPairRequest":{
  1341        "type":"structure",
  1342        "required":[
  1343          "KeyId",
  1344          "KeyPairSpec"
  1345        ],
  1346        "members":{
  1347          "EncryptionContext":{"shape":"EncryptionContextType"},
  1348          "KeyId":{"shape":"KeyIdType"},
  1349          "KeyPairSpec":{"shape":"DataKeyPairSpec"},
  1350          "GrantTokens":{"shape":"GrantTokenList"}
  1351        }
  1352      },
  1353      "GenerateDataKeyPairResponse":{
  1354        "type":"structure",
  1355        "members":{
  1356          "PrivateKeyCiphertextBlob":{"shape":"CiphertextType"},
  1357          "PrivateKeyPlaintext":{"shape":"PlaintextType"},
  1358          "PublicKey":{"shape":"PublicKeyType"},
  1359          "KeyId":{"shape":"KeyIdType"},
  1360          "KeyPairSpec":{"shape":"DataKeyPairSpec"}
  1361        }
  1362      },
  1363      "GenerateDataKeyPairWithoutPlaintextRequest":{
  1364        "type":"structure",
  1365        "required":[
  1366          "KeyId",
  1367          "KeyPairSpec"
  1368        ],
  1369        "members":{
  1370          "EncryptionContext":{"shape":"EncryptionContextType"},
  1371          "KeyId":{"shape":"KeyIdType"},
  1372          "KeyPairSpec":{"shape":"DataKeyPairSpec"},
  1373          "GrantTokens":{"shape":"GrantTokenList"}
  1374        }
  1375      },
  1376      "GenerateDataKeyPairWithoutPlaintextResponse":{
  1377        "type":"structure",
  1378        "members":{
  1379          "PrivateKeyCiphertextBlob":{"shape":"CiphertextType"},
  1380          "PublicKey":{"shape":"PublicKeyType"},
  1381          "KeyId":{"shape":"KeyIdType"},
  1382          "KeyPairSpec":{"shape":"DataKeyPairSpec"}
  1383        }
  1384      },
  1385      "GenerateDataKeyRequest":{
  1386        "type":"structure",
  1387        "required":["KeyId"],
  1388        "members":{
  1389          "KeyId":{"shape":"KeyIdType"},
  1390          "EncryptionContext":{"shape":"EncryptionContextType"},
  1391          "NumberOfBytes":{"shape":"NumberOfBytesType"},
  1392          "KeySpec":{"shape":"DataKeySpec"},
  1393          "GrantTokens":{"shape":"GrantTokenList"}
  1394        }
  1395      },
  1396      "GenerateDataKeyResponse":{
  1397        "type":"structure",
  1398        "members":{
  1399          "CiphertextBlob":{"shape":"CiphertextType"},
  1400          "Plaintext":{"shape":"PlaintextType"},
  1401          "KeyId":{"shape":"KeyIdType"}
  1402        }
  1403      },
  1404      "GenerateDataKeyWithoutPlaintextRequest":{
  1405        "type":"structure",
  1406        "required":["KeyId"],
  1407        "members":{
  1408          "KeyId":{"shape":"KeyIdType"},
  1409          "EncryptionContext":{"shape":"EncryptionContextType"},
  1410          "KeySpec":{"shape":"DataKeySpec"},
  1411          "NumberOfBytes":{"shape":"NumberOfBytesType"},
  1412          "GrantTokens":{"shape":"GrantTokenList"}
  1413        }
  1414      },
  1415      "GenerateDataKeyWithoutPlaintextResponse":{
  1416        "type":"structure",
  1417        "members":{
  1418          "CiphertextBlob":{"shape":"CiphertextType"},
  1419          "KeyId":{"shape":"KeyIdType"}
  1420        }
  1421      },
  1422      "GenerateRandomRequest":{
  1423        "type":"structure",
  1424        "members":{
  1425          "NumberOfBytes":{"shape":"NumberOfBytesType"},
  1426          "CustomKeyStoreId":{"shape":"CustomKeyStoreIdType"}
  1427        }
  1428      },
  1429      "GenerateRandomResponse":{
  1430        "type":"structure",
  1431        "members":{
  1432          "Plaintext":{"shape":"PlaintextType"}
  1433        }
  1434      },
  1435      "GetKeyPolicyRequest":{
  1436        "type":"structure",
  1437        "required":[
  1438          "KeyId",
  1439          "PolicyName"
  1440        ],
  1441        "members":{
  1442          "KeyId":{"shape":"KeyIdType"},
  1443          "PolicyName":{"shape":"PolicyNameType"}
  1444        }
  1445      },
  1446      "GetKeyPolicyResponse":{
  1447        "type":"structure",
  1448        "members":{
  1449          "Policy":{"shape":"PolicyType"}
  1450        }
  1451      },
  1452      "GetKeyRotationStatusRequest":{
  1453        "type":"structure",
  1454        "required":["KeyId"],
  1455        "members":{
  1456          "KeyId":{"shape":"KeyIdType"}
  1457        }
  1458      },
  1459      "GetKeyRotationStatusResponse":{
  1460        "type":"structure",
  1461        "members":{
  1462          "KeyRotationEnabled":{"shape":"BooleanType"}
  1463        }
  1464      },
  1465      "GetParametersForImportRequest":{
  1466        "type":"structure",
  1467        "required":[
  1468          "KeyId",
  1469          "WrappingAlgorithm",
  1470          "WrappingKeySpec"
  1471        ],
  1472        "members":{
  1473          "KeyId":{"shape":"KeyIdType"},
  1474          "WrappingAlgorithm":{"shape":"AlgorithmSpec"},
  1475          "WrappingKeySpec":{"shape":"WrappingKeySpec"}
  1476        }
  1477      },
  1478      "GetParametersForImportResponse":{
  1479        "type":"structure",
  1480        "members":{
  1481          "KeyId":{"shape":"KeyIdType"},
  1482          "ImportToken":{"shape":"CiphertextType"},
  1483          "PublicKey":{"shape":"PlaintextType"},
  1484          "ParametersValidTo":{"shape":"DateType"}
  1485        }
  1486      },
  1487      "GetPublicKeyRequest":{
  1488        "type":"structure",
  1489        "required":["KeyId"],
  1490        "members":{
  1491          "KeyId":{"shape":"KeyIdType"},
  1492          "GrantTokens":{"shape":"GrantTokenList"}
  1493        }
  1494      },
  1495      "GetPublicKeyResponse":{
  1496        "type":"structure",
  1497        "members":{
  1498          "KeyId":{"shape":"KeyIdType"},
  1499          "PublicKey":{"shape":"PublicKeyType"},
  1500          "CustomerMasterKeySpec":{
  1501            "shape":"CustomerMasterKeySpec",
  1502            "deprecated":true,
  1503            "deprecatedMessage":"This field has been deprecated. Instead, use the KeySpec field."
  1504          },
  1505          "KeySpec":{"shape":"KeySpec"},
  1506          "KeyUsage":{"shape":"KeyUsageType"},
  1507          "EncryptionAlgorithms":{"shape":"EncryptionAlgorithmSpecList"},
  1508          "SigningAlgorithms":{"shape":"SigningAlgorithmSpecList"}
  1509        }
  1510      },
  1511      "GrantConstraints":{
  1512        "type":"structure",
  1513        "members":{
  1514          "EncryptionContextSubset":{"shape":"EncryptionContextType"},
  1515          "EncryptionContextEquals":{"shape":"EncryptionContextType"}
  1516        }
  1517      },
  1518      "GrantIdType":{
  1519        "type":"string",
  1520        "max":128,
  1521        "min":1
  1522      },
  1523      "GrantList":{
  1524        "type":"list",
  1525        "member":{"shape":"GrantListEntry"}
  1526      },
  1527      "GrantListEntry":{
  1528        "type":"structure",
  1529        "members":{
  1530          "KeyId":{"shape":"KeyIdType"},
  1531          "GrantId":{"shape":"GrantIdType"},
  1532          "Name":{"shape":"GrantNameType"},
  1533          "CreationDate":{"shape":"DateType"},
  1534          "GranteePrincipal":{"shape":"PrincipalIdType"},
  1535          "RetiringPrincipal":{"shape":"PrincipalIdType"},
  1536          "IssuingAccount":{"shape":"PrincipalIdType"},
  1537          "Operations":{"shape":"GrantOperationList"},
  1538          "Constraints":{"shape":"GrantConstraints"}
  1539        }
  1540      },
  1541      "GrantNameType":{
  1542        "type":"string",
  1543        "max":256,
  1544        "min":1,
  1545        "pattern":"^[a-zA-Z0-9:/_-]+$"
  1546      },
  1547      "GrantOperation":{
  1548        "type":"string",
  1549        "enum":[
  1550          "Decrypt",
  1551          "Encrypt",
  1552          "GenerateDataKey",
  1553          "GenerateDataKeyWithoutPlaintext",
  1554          "ReEncryptFrom",
  1555          "ReEncryptTo",
  1556          "Sign",
  1557          "Verify",
  1558          "GetPublicKey",
  1559          "CreateGrant",
  1560          "RetireGrant",
  1561          "DescribeKey",
  1562          "GenerateDataKeyPair",
  1563          "GenerateDataKeyPairWithoutPlaintext"
  1564        ]
  1565      },
  1566      "GrantOperationList":{
  1567        "type":"list",
  1568        "member":{"shape":"GrantOperation"}
  1569      },
  1570      "GrantTokenList":{
  1571        "type":"list",
  1572        "member":{"shape":"GrantTokenType"},
  1573        "max":10,
  1574        "min":0
  1575      },
  1576      "GrantTokenType":{
  1577        "type":"string",
  1578        "max":8192,
  1579        "min":1
  1580      },
  1581      "ImportKeyMaterialRequest":{
  1582        "type":"structure",
  1583        "required":[
  1584          "KeyId",
  1585          "ImportToken",
  1586          "EncryptedKeyMaterial"
  1587        ],
  1588        "members":{
  1589          "KeyId":{"shape":"KeyIdType"},
  1590          "ImportToken":{"shape":"CiphertextType"},
  1591          "EncryptedKeyMaterial":{"shape":"CiphertextType"},
  1592          "ValidTo":{"shape":"DateType"},
  1593          "ExpirationModel":{"shape":"ExpirationModelType"}
  1594        }
  1595      },
  1596      "ImportKeyMaterialResponse":{
  1597        "type":"structure",
  1598        "members":{
  1599        }
  1600      },
  1601      "IncorrectKeyException":{
  1602        "type":"structure",
  1603        "members":{
  1604          "message":{"shape":"ErrorMessageType"}
  1605        },
  1606        "exception":true
  1607      },
  1608      "IncorrectKeyMaterialException":{
  1609        "type":"structure",
  1610        "members":{
  1611          "message":{"shape":"ErrorMessageType"}
  1612        },
  1613        "exception":true
  1614      },
  1615      "IncorrectTrustAnchorException":{
  1616        "type":"structure",
  1617        "members":{
  1618          "message":{"shape":"ErrorMessageType"}
  1619        },
  1620        "exception":true
  1621      },
  1622      "InvalidAliasNameException":{
  1623        "type":"structure",
  1624        "members":{
  1625          "message":{"shape":"ErrorMessageType"}
  1626        },
  1627        "exception":true
  1628      },
  1629      "InvalidArnException":{
  1630        "type":"structure",
  1631        "members":{
  1632          "message":{"shape":"ErrorMessageType"}
  1633        },
  1634        "exception":true
  1635      },
  1636      "InvalidCiphertextException":{
  1637        "type":"structure",
  1638        "members":{
  1639          "message":{"shape":"ErrorMessageType"}
  1640        },
  1641        "exception":true
  1642      },
  1643      "InvalidGrantIdException":{
  1644        "type":"structure",
  1645        "members":{
  1646          "message":{"shape":"ErrorMessageType"}
  1647        },
  1648        "exception":true
  1649      },
  1650      "InvalidGrantTokenException":{
  1651        "type":"structure",
  1652        "members":{
  1653          "message":{"shape":"ErrorMessageType"}
  1654        },
  1655        "exception":true
  1656      },
  1657      "InvalidImportTokenException":{
  1658        "type":"structure",
  1659        "members":{
  1660          "message":{"shape":"ErrorMessageType"}
  1661        },
  1662        "exception":true
  1663      },
  1664      "InvalidKeyUsageException":{
  1665        "type":"structure",
  1666        "members":{
  1667          "message":{"shape":"ErrorMessageType"}
  1668        },
  1669        "exception":true
  1670      },
  1671      "InvalidMarkerException":{
  1672        "type":"structure",
  1673        "members":{
  1674          "message":{"shape":"ErrorMessageType"}
  1675        },
  1676        "exception":true
  1677      },
  1678      "KMSInternalException":{
  1679        "type":"structure",
  1680        "members":{
  1681          "message":{"shape":"ErrorMessageType"}
  1682        },
  1683        "exception":true,
  1684        "fault":true
  1685      },
  1686      "KMSInvalidSignatureException":{
  1687        "type":"structure",
  1688        "members":{
  1689          "message":{"shape":"ErrorMessageType"}
  1690        },
  1691        "exception":true
  1692      },
  1693      "KMSInvalidStateException":{
  1694        "type":"structure",
  1695        "members":{
  1696          "message":{"shape":"ErrorMessageType"}
  1697        },
  1698        "exception":true
  1699      },
  1700      "KeyIdType":{
  1701        "type":"string",
  1702        "max":2048,
  1703        "min":1
  1704      },
  1705      "KeyList":{
  1706        "type":"list",
  1707        "member":{"shape":"KeyListEntry"}
  1708      },
  1709      "KeyListEntry":{
  1710        "type":"structure",
  1711        "members":{
  1712          "KeyId":{"shape":"KeyIdType"},
  1713          "KeyArn":{"shape":"ArnType"}
  1714        }
  1715      },
  1716      "KeyManagerType":{
  1717        "type":"string",
  1718        "enum":[
  1719          "AWS",
  1720          "CUSTOMER"
  1721        ]
  1722      },
  1723      "KeyMetadata":{
  1724        "type":"structure",
  1725        "required":["KeyId"],
  1726        "members":{
  1727          "AWSAccountId":{"shape":"AWSAccountIdType"},
  1728          "KeyId":{"shape":"KeyIdType"},
  1729          "Arn":{"shape":"ArnType"},
  1730          "CreationDate":{"shape":"DateType"},
  1731          "Enabled":{"shape":"BooleanType"},
  1732          "Description":{"shape":"DescriptionType"},
  1733          "KeyUsage":{"shape":"KeyUsageType"},
  1734          "KeyState":{"shape":"KeyState"},
  1735          "DeletionDate":{"shape":"DateType"},
  1736          "ValidTo":{"shape":"DateType"},
  1737          "Origin":{"shape":"OriginType"},
  1738          "CustomKeyStoreId":{"shape":"CustomKeyStoreIdType"},
  1739          "CloudHsmClusterId":{"shape":"CloudHsmClusterIdType"},
  1740          "ExpirationModel":{"shape":"ExpirationModelType"},
  1741          "KeyManager":{"shape":"KeyManagerType"},
  1742          "CustomerMasterKeySpec":{
  1743            "shape":"CustomerMasterKeySpec",
  1744            "deprecated":true,
  1745            "deprecatedMessage":"This field has been deprecated. Instead, use the KeySpec field."
  1746          },
  1747          "KeySpec":{"shape":"KeySpec"},
  1748          "EncryptionAlgorithms":{"shape":"EncryptionAlgorithmSpecList"},
  1749          "SigningAlgorithms":{"shape":"SigningAlgorithmSpecList"},
  1750          "MultiRegion":{"shape":"NullableBooleanType"},
  1751          "MultiRegionConfiguration":{"shape":"MultiRegionConfiguration"},
  1752          "PendingDeletionWindowInDays":{"shape":"PendingWindowInDaysType"}
  1753        }
  1754      },
  1755      "KeySpec":{
  1756        "type":"string",
  1757        "enum":[
  1758          "RSA_2048",
  1759          "RSA_3072",
  1760          "RSA_4096",
  1761          "ECC_NIST_P256",
  1762          "ECC_NIST_P384",
  1763          "ECC_NIST_P521",
  1764          "ECC_SECG_P256K1",
  1765          "SYMMETRIC_DEFAULT"
  1766        ]
  1767      },
  1768      "KeyState":{
  1769        "type":"string",
  1770        "enum":[
  1771          "Creating",
  1772          "Enabled",
  1773          "Disabled",
  1774          "PendingDeletion",
  1775          "PendingImport",
  1776          "PendingReplicaDeletion",
  1777          "Unavailable",
  1778          "Updating"
  1779        ]
  1780      },
  1781      "KeyStorePasswordType":{
  1782        "type":"string",
  1783        "max":32,
  1784        "min":7,
  1785        "sensitive":true
  1786      },
  1787      "KeyUnavailableException":{
  1788        "type":"structure",
  1789        "members":{
  1790          "message":{"shape":"ErrorMessageType"}
  1791        },
  1792        "exception":true,
  1793        "fault":true
  1794      },
  1795      "KeyUsageType":{
  1796        "type":"string",
  1797        "enum":[
  1798          "SIGN_VERIFY",
  1799          "ENCRYPT_DECRYPT"
  1800        ]
  1801      },
  1802      "LimitExceededException":{
  1803        "type":"structure",
  1804        "members":{
  1805          "message":{"shape":"ErrorMessageType"}
  1806        },
  1807        "exception":true
  1808      },
  1809      "LimitType":{
  1810        "type":"integer",
  1811        "max":1000,
  1812        "min":1
  1813      },
  1814      "ListAliasesRequest":{
  1815        "type":"structure",
  1816        "members":{
  1817          "KeyId":{"shape":"KeyIdType"},
  1818          "Limit":{"shape":"LimitType"},
  1819          "Marker":{"shape":"MarkerType"}
  1820        }
  1821      },
  1822      "ListAliasesResponse":{
  1823        "type":"structure",
  1824        "members":{
  1825          "Aliases":{"shape":"AliasList"},
  1826          "NextMarker":{"shape":"MarkerType"},
  1827          "Truncated":{"shape":"BooleanType"}
  1828        }
  1829      },
  1830      "ListGrantsRequest":{
  1831        "type":"structure",
  1832        "required":["KeyId"],
  1833        "members":{
  1834          "Limit":{"shape":"LimitType"},
  1835          "Marker":{"shape":"MarkerType"},
  1836          "KeyId":{"shape":"KeyIdType"},
  1837          "GrantId":{"shape":"GrantIdType"},
  1838          "GranteePrincipal":{"shape":"PrincipalIdType"}
  1839        }
  1840      },
  1841      "ListGrantsResponse":{
  1842        "type":"structure",
  1843        "members":{
  1844          "Grants":{"shape":"GrantList"},
  1845          "NextMarker":{"shape":"MarkerType"},
  1846          "Truncated":{"shape":"BooleanType"}
  1847        }
  1848      },
  1849      "ListKeyPoliciesRequest":{
  1850        "type":"structure",
  1851        "required":["KeyId"],
  1852        "members":{
  1853          "KeyId":{"shape":"KeyIdType"},
  1854          "Limit":{"shape":"LimitType"},
  1855          "Marker":{"shape":"MarkerType"}
  1856        }
  1857      },
  1858      "ListKeyPoliciesResponse":{
  1859        "type":"structure",
  1860        "members":{
  1861          "PolicyNames":{"shape":"PolicyNameList"},
  1862          "NextMarker":{"shape":"MarkerType"},
  1863          "Truncated":{"shape":"BooleanType"}
  1864        }
  1865      },
  1866      "ListKeysRequest":{
  1867        "type":"structure",
  1868        "members":{
  1869          "Limit":{"shape":"LimitType"},
  1870          "Marker":{"shape":"MarkerType"}
  1871        }
  1872      },
  1873      "ListKeysResponse":{
  1874        "type":"structure",
  1875        "members":{
  1876          "Keys":{"shape":"KeyList"},
  1877          "NextMarker":{"shape":"MarkerType"},
  1878          "Truncated":{"shape":"BooleanType"}
  1879        }
  1880      },
  1881      "ListResourceTagsRequest":{
  1882        "type":"structure",
  1883        "required":["KeyId"],
  1884        "members":{
  1885          "KeyId":{"shape":"KeyIdType"},
  1886          "Limit":{"shape":"LimitType"},
  1887          "Marker":{"shape":"MarkerType"}
  1888        }
  1889      },
  1890      "ListResourceTagsResponse":{
  1891        "type":"structure",
  1892        "members":{
  1893          "Tags":{"shape":"TagList"},
  1894          "NextMarker":{"shape":"MarkerType"},
  1895          "Truncated":{"shape":"BooleanType"}
  1896        }
  1897      },
  1898      "ListRetirableGrantsRequest":{
  1899        "type":"structure",
  1900        "required":["RetiringPrincipal"],
  1901        "members":{
  1902          "Limit":{"shape":"LimitType"},
  1903          "Marker":{"shape":"MarkerType"},
  1904          "RetiringPrincipal":{"shape":"PrincipalIdType"}
  1905        }
  1906      },
  1907      "MalformedPolicyDocumentException":{
  1908        "type":"structure",
  1909        "members":{
  1910          "message":{"shape":"ErrorMessageType"}
  1911        },
  1912        "exception":true
  1913      },
  1914      "MarkerType":{
  1915        "type":"string",
  1916        "max":1024,
  1917        "min":1,
  1918        "pattern":"[\\u0020-\\u00FF]*"
  1919      },
  1920      "MessageType":{
  1921        "type":"string",
  1922        "enum":[
  1923          "RAW",
  1924          "DIGEST"
  1925        ]
  1926      },
  1927      "MultiRegionConfiguration":{
  1928        "type":"structure",
  1929        "members":{
  1930          "MultiRegionKeyType":{"shape":"MultiRegionKeyType"},
  1931          "PrimaryKey":{"shape":"MultiRegionKey"},
  1932          "ReplicaKeys":{"shape":"MultiRegionKeyList"}
  1933        }
  1934      },
  1935      "MultiRegionKey":{
  1936        "type":"structure",
  1937        "members":{
  1938          "Arn":{"shape":"ArnType"},
  1939          "Region":{"shape":"RegionType"}
  1940        }
  1941      },
  1942      "MultiRegionKeyList":{
  1943        "type":"list",
  1944        "member":{"shape":"MultiRegionKey"}
  1945      },
  1946      "MultiRegionKeyType":{
  1947        "type":"string",
  1948        "enum":[
  1949          "PRIMARY",
  1950          "REPLICA"
  1951        ]
  1952      },
  1953      "NotFoundException":{
  1954        "type":"structure",
  1955        "members":{
  1956          "message":{"shape":"ErrorMessageType"}
  1957        },
  1958        "exception":true
  1959      },
  1960      "NullableBooleanType":{"type":"boolean"},
  1961      "NumberOfBytesType":{
  1962        "type":"integer",
  1963        "max":1024,
  1964        "min":1
  1965      },
  1966      "OriginType":{
  1967        "type":"string",
  1968        "enum":[
  1969          "AWS_KMS",
  1970          "EXTERNAL",
  1971          "AWS_CLOUDHSM"
  1972        ]
  1973      },
  1974      "PendingWindowInDaysType":{
  1975        "type":"integer",
  1976        "max":365,
  1977        "min":1
  1978      },
  1979      "PlaintextType":{
  1980        "type":"blob",
  1981        "max":4096,
  1982        "min":1,
  1983        "sensitive":true
  1984      },
  1985      "PolicyNameList":{
  1986        "type":"list",
  1987        "member":{"shape":"PolicyNameType"}
  1988      },
  1989      "PolicyNameType":{
  1990        "type":"string",
  1991        "max":128,
  1992        "min":1,
  1993        "pattern":"[\\w]+"
  1994      },
  1995      "PolicyType":{
  1996        "type":"string",
  1997        "max":131072,
  1998        "min":1,
  1999        "pattern":"[\\u0009\\u000A\\u000D\\u0020-\\u00FF]+"
  2000      },
  2001      "PrincipalIdType":{
  2002        "type":"string",
  2003        "max":256,
  2004        "min":1,
  2005        "pattern":"^[\\w+=,.@:/-]+$"
  2006      },
  2007      "PublicKeyType":{
  2008        "type":"blob",
  2009        "max":8192,
  2010        "min":1
  2011      },
  2012      "PutKeyPolicyRequest":{
  2013        "type":"structure",
  2014        "required":[
  2015          "KeyId",
  2016          "PolicyName",
  2017          "Policy"
  2018        ],
  2019        "members":{
  2020          "KeyId":{"shape":"KeyIdType"},
  2021          "PolicyName":{"shape":"PolicyNameType"},
  2022          "Policy":{"shape":"PolicyType"},
  2023          "BypassPolicyLockoutSafetyCheck":{"shape":"BooleanType"}
  2024        }
  2025      },
  2026      "ReEncryptRequest":{
  2027        "type":"structure",
  2028        "required":[
  2029          "CiphertextBlob",
  2030          "DestinationKeyId"
  2031        ],
  2032        "members":{
  2033          "CiphertextBlob":{"shape":"CiphertextType"},
  2034          "SourceEncryptionContext":{"shape":"EncryptionContextType"},
  2035          "SourceKeyId":{"shape":"KeyIdType"},
  2036          "DestinationKeyId":{"shape":"KeyIdType"},
  2037          "DestinationEncryptionContext":{"shape":"EncryptionContextType"},
  2038          "SourceEncryptionAlgorithm":{"shape":"EncryptionAlgorithmSpec"},
  2039          "DestinationEncryptionAlgorithm":{"shape":"EncryptionAlgorithmSpec"},
  2040          "GrantTokens":{"shape":"GrantTokenList"}
  2041        }
  2042      },
  2043      "ReEncryptResponse":{
  2044        "type":"structure",
  2045        "members":{
  2046          "CiphertextBlob":{"shape":"CiphertextType"},
  2047          "SourceKeyId":{"shape":"KeyIdType"},
  2048          "KeyId":{"shape":"KeyIdType"},
  2049          "SourceEncryptionAlgorithm":{"shape":"EncryptionAlgorithmSpec"},
  2050          "DestinationEncryptionAlgorithm":{"shape":"EncryptionAlgorithmSpec"}
  2051        }
  2052      },
  2053      "RegionType":{
  2054        "type":"string",
  2055        "max":32,
  2056        "min":1,
  2057        "pattern":"^([a-z]+-){2,3}\\d+$"
  2058      },
  2059      "ReplicateKeyRequest":{
  2060        "type":"structure",
  2061        "required":[
  2062          "KeyId",
  2063          "ReplicaRegion"
  2064        ],
  2065        "members":{
  2066          "KeyId":{"shape":"KeyIdType"},
  2067          "ReplicaRegion":{"shape":"RegionType"},
  2068          "Policy":{"shape":"PolicyType"},
  2069          "BypassPolicyLockoutSafetyCheck":{"shape":"BooleanType"},
  2070          "Description":{"shape":"DescriptionType"},
  2071          "Tags":{"shape":"TagList"}
  2072        }
  2073      },
  2074      "ReplicateKeyResponse":{
  2075        "type":"structure",
  2076        "members":{
  2077          "ReplicaKeyMetadata":{"shape":"KeyMetadata"},
  2078          "ReplicaPolicy":{"shape":"PolicyType"},
  2079          "ReplicaTags":{"shape":"TagList"}
  2080        }
  2081      },
  2082      "RetireGrantRequest":{
  2083        "type":"structure",
  2084        "members":{
  2085          "GrantToken":{"shape":"GrantTokenType"},
  2086          "KeyId":{"shape":"KeyIdType"},
  2087          "GrantId":{"shape":"GrantIdType"}
  2088        }
  2089      },
  2090      "RevokeGrantRequest":{
  2091        "type":"structure",
  2092        "required":[
  2093          "KeyId",
  2094          "GrantId"
  2095        ],
  2096        "members":{
  2097          "KeyId":{"shape":"KeyIdType"},
  2098          "GrantId":{"shape":"GrantIdType"}
  2099        }
  2100      },
  2101      "ScheduleKeyDeletionRequest":{
  2102        "type":"structure",
  2103        "required":["KeyId"],
  2104        "members":{
  2105          "KeyId":{"shape":"KeyIdType"},
  2106          "PendingWindowInDays":{"shape":"PendingWindowInDaysType"}
  2107        }
  2108      },
  2109      "ScheduleKeyDeletionResponse":{
  2110        "type":"structure",
  2111        "members":{
  2112          "KeyId":{"shape":"KeyIdType"},
  2113          "DeletionDate":{"shape":"DateType"},
  2114          "KeyState":{"shape":"KeyState"},
  2115          "PendingWindowInDays":{"shape":"PendingWindowInDaysType"}
  2116        }
  2117      },
  2118      "SignRequest":{
  2119        "type":"structure",
  2120        "required":[
  2121          "KeyId",
  2122          "Message",
  2123          "SigningAlgorithm"
  2124        ],
  2125        "members":{
  2126          "KeyId":{"shape":"KeyIdType"},
  2127          "Message":{"shape":"PlaintextType"},
  2128          "MessageType":{"shape":"MessageType"},
  2129          "GrantTokens":{"shape":"GrantTokenList"},
  2130          "SigningAlgorithm":{"shape":"SigningAlgorithmSpec"}
  2131        }
  2132      },
  2133      "SignResponse":{
  2134        "type":"structure",
  2135        "members":{
  2136          "KeyId":{"shape":"KeyIdType"},
  2137          "Signature":{"shape":"CiphertextType"},
  2138          "SigningAlgorithm":{"shape":"SigningAlgorithmSpec"}
  2139        }
  2140      },
  2141      "SigningAlgorithmSpec":{
  2142        "type":"string",
  2143        "enum":[
  2144          "RSASSA_PSS_SHA_256",
  2145          "RSASSA_PSS_SHA_384",
  2146          "RSASSA_PSS_SHA_512",
  2147          "RSASSA_PKCS1_V1_5_SHA_256",
  2148          "RSASSA_PKCS1_V1_5_SHA_384",
  2149          "RSASSA_PKCS1_V1_5_SHA_512",
  2150          "ECDSA_SHA_256",
  2151          "ECDSA_SHA_384",
  2152          "ECDSA_SHA_512"
  2153        ]
  2154      },
  2155      "SigningAlgorithmSpecList":{
  2156        "type":"list",
  2157        "member":{"shape":"SigningAlgorithmSpec"}
  2158      },
  2159      "Tag":{
  2160        "type":"structure",
  2161        "required":[
  2162          "TagKey",
  2163          "TagValue"
  2164        ],
  2165        "members":{
  2166          "TagKey":{"shape":"TagKeyType"},
  2167          "TagValue":{"shape":"TagValueType"}
  2168        }
  2169      },
  2170      "TagException":{
  2171        "type":"structure",
  2172        "members":{
  2173          "message":{"shape":"ErrorMessageType"}
  2174        },
  2175        "exception":true
  2176      },
  2177      "TagKeyList":{
  2178        "type":"list",
  2179        "member":{"shape":"TagKeyType"}
  2180      },
  2181      "TagKeyType":{
  2182        "type":"string",
  2183        "max":128,
  2184        "min":1
  2185      },
  2186      "TagList":{
  2187        "type":"list",
  2188        "member":{"shape":"Tag"}
  2189      },
  2190      "TagResourceRequest":{
  2191        "type":"structure",
  2192        "required":[
  2193          "KeyId",
  2194          "Tags"
  2195        ],
  2196        "members":{
  2197          "KeyId":{"shape":"KeyIdType"},
  2198          "Tags":{"shape":"TagList"}
  2199        }
  2200      },
  2201      "TagValueType":{
  2202        "type":"string",
  2203        "max":256,
  2204        "min":0
  2205      },
  2206      "TrustAnchorCertificateType":{
  2207        "type":"string",
  2208        "max":5000,
  2209        "min":1
  2210      },
  2211      "UnsupportedOperationException":{
  2212        "type":"structure",
  2213        "members":{
  2214          "message":{"shape":"ErrorMessageType"}
  2215        },
  2216        "exception":true
  2217      },
  2218      "UntagResourceRequest":{
  2219        "type":"structure",
  2220        "required":[
  2221          "KeyId",
  2222          "TagKeys"
  2223        ],
  2224        "members":{
  2225          "KeyId":{"shape":"KeyIdType"},
  2226          "TagKeys":{"shape":"TagKeyList"}
  2227        }
  2228      },
  2229      "UpdateAliasRequest":{
  2230        "type":"structure",
  2231        "required":[
  2232          "AliasName",
  2233          "TargetKeyId"
  2234        ],
  2235        "members":{
  2236          "AliasName":{"shape":"AliasNameType"},
  2237          "TargetKeyId":{"shape":"KeyIdType"}
  2238        }
  2239      },
  2240      "UpdateCustomKeyStoreRequest":{
  2241        "type":"structure",
  2242        "required":["CustomKeyStoreId"],
  2243        "members":{
  2244          "CustomKeyStoreId":{"shape":"CustomKeyStoreIdType"},
  2245          "NewCustomKeyStoreName":{"shape":"CustomKeyStoreNameType"},
  2246          "KeyStorePassword":{"shape":"KeyStorePasswordType"},
  2247          "CloudHsmClusterId":{"shape":"CloudHsmClusterIdType"}
  2248        }
  2249      },
  2250      "UpdateCustomKeyStoreResponse":{
  2251        "type":"structure",
  2252        "members":{
  2253        }
  2254      },
  2255      "UpdateKeyDescriptionRequest":{
  2256        "type":"structure",
  2257        "required":[
  2258          "KeyId",
  2259          "Description"
  2260        ],
  2261        "members":{
  2262          "KeyId":{"shape":"KeyIdType"},
  2263          "Description":{"shape":"DescriptionType"}
  2264        }
  2265      },
  2266      "UpdatePrimaryRegionRequest":{
  2267        "type":"structure",
  2268        "required":[
  2269          "KeyId",
  2270          "PrimaryRegion"
  2271        ],
  2272        "members":{
  2273          "KeyId":{"shape":"KeyIdType"},
  2274          "PrimaryRegion":{"shape":"RegionType"}
  2275        }
  2276      },
  2277      "VerifyRequest":{
  2278        "type":"structure",
  2279        "required":[
  2280          "KeyId",
  2281          "Message",
  2282          "Signature",
  2283          "SigningAlgorithm"
  2284        ],
  2285        "members":{
  2286          "KeyId":{"shape":"KeyIdType"},
  2287          "Message":{"shape":"PlaintextType"},
  2288          "MessageType":{"shape":"MessageType"},
  2289          "Signature":{"shape":"CiphertextType"},
  2290          "SigningAlgorithm":{"shape":"SigningAlgorithmSpec"},
  2291          "GrantTokens":{"shape":"GrantTokenList"}
  2292        }
  2293      },
  2294      "VerifyResponse":{
  2295        "type":"structure",
  2296        "members":{
  2297          "KeyId":{"shape":"KeyIdType"},
  2298          "SignatureValid":{"shape":"BooleanType"},
  2299          "SigningAlgorithm":{"shape":"SigningAlgorithmSpec"}
  2300        }
  2301      },
  2302      "WrappingKeySpec":{
  2303        "type":"string",
  2304        "enum":["RSA_2048"]
  2305      }
  2306    }
  2307  }