| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368 |
- {
- "version":"2.0",
- "metadata":{
- "apiVersion":"2014-11-01",
- "endpointPrefix":"kms",
- "jsonVersion":"1.1",
- "protocol":"json",
- "serviceAbbreviation":"KMS",
- "serviceFullName":"AWS Key Management Service",
- "signatureVersion":"v4",
- "targetPrefix":"TrentService"
- },
- "operations":{
- "CancelKeyDeletion":{
- "name":"CancelKeyDeletion",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"CancelKeyDeletionRequest"},
- "output":{"shape":"CancelKeyDeletionResponse"},
- "errors":[
- {"shape":"NotFoundException"},
- {"shape":"InvalidArnException"},
- {"shape":"DependencyTimeoutException"},
- {"shape":"KMSInternalException"},
- {"shape":"KMSInvalidStateException"}
- ]
- },
- "CreateAlias":{
- "name":"CreateAlias",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"CreateAliasRequest"},
- "errors":[
- {"shape":"DependencyTimeoutException"},
- {"shape":"AlreadyExistsException"},
- {"shape":"NotFoundException"},
- {"shape":"InvalidAliasNameException"},
- {"shape":"KMSInternalException"},
- {"shape":"LimitExceededException"},
- {"shape":"KMSInvalidStateException"}
- ]
- },
- "CreateGrant":{
- "name":"CreateGrant",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"CreateGrantRequest"},
- "output":{"shape":"CreateGrantResponse"},
- "errors":[
- {"shape":"NotFoundException"},
- {"shape":"DisabledException"},
- {"shape":"DependencyTimeoutException"},
- {"shape":"InvalidArnException"},
- {"shape":"KMSInternalException"},
- {"shape":"InvalidGrantTokenException"},
- {"shape":"LimitExceededException"},
- {"shape":"KMSInvalidStateException"}
- ]
- },
- "CreateKey":{
- "name":"CreateKey",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"CreateKeyRequest"},
- "output":{"shape":"CreateKeyResponse"},
- "errors":[
- {"shape":"MalformedPolicyDocumentException"},
- {"shape":"DependencyTimeoutException"},
- {"shape":"InvalidArnException"},
- {"shape":"UnsupportedOperationException"},
- {"shape":"KMSInternalException"},
- {"shape":"LimitExceededException"}
- ]
- },
- "Decrypt":{
- "name":"Decrypt",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"DecryptRequest"},
- "output":{"shape":"DecryptResponse"},
- "errors":[
- {"shape":"NotFoundException"},
- {"shape":"DisabledException"},
- {"shape":"InvalidCiphertextException"},
- {"shape":"KeyUnavailableException"},
- {"shape":"DependencyTimeoutException"},
- {"shape":"InvalidGrantTokenException"},
- {"shape":"KMSInternalException"},
- {"shape":"KMSInvalidStateException"}
- ]
- },
- "DeleteAlias":{
- "name":"DeleteAlias",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"DeleteAliasRequest"},
- "errors":[
- {"shape":"DependencyTimeoutException"},
- {"shape":"NotFoundException"},
- {"shape":"KMSInternalException"},
- {"shape":"KMSInvalidStateException"}
- ]
- },
- "DeleteImportedKeyMaterial":{
- "name":"DeleteImportedKeyMaterial",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"DeleteImportedKeyMaterialRequest"},
- "errors":[
- {"shape":"InvalidArnException"},
- {"shape":"UnsupportedOperationException"},
- {"shape":"DependencyTimeoutException"},
- {"shape":"NotFoundException"},
- {"shape":"KMSInternalException"},
- {"shape":"KMSInvalidStateException"}
- ]
- },
- "DescribeKey":{
- "name":"DescribeKey",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"DescribeKeyRequest"},
- "output":{"shape":"DescribeKeyResponse"},
- "errors":[
- {"shape":"NotFoundException"},
- {"shape":"InvalidArnException"},
- {"shape":"DependencyTimeoutException"},
- {"shape":"KMSInternalException"}
- ]
- },
- "DisableKey":{
- "name":"DisableKey",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"DisableKeyRequest"},
- "errors":[
- {"shape":"NotFoundException"},
- {"shape":"InvalidArnException"},
- {"shape":"DependencyTimeoutException"},
- {"shape":"KMSInternalException"},
- {"shape":"KMSInvalidStateException"}
- ]
- },
- "DisableKeyRotation":{
- "name":"DisableKeyRotation",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"DisableKeyRotationRequest"},
- "errors":[
- {"shape":"NotFoundException"},
- {"shape":"DisabledException"},
- {"shape":"InvalidArnException"},
- {"shape":"DependencyTimeoutException"},
- {"shape":"KMSInternalException"},
- {"shape":"KMSInvalidStateException"},
- {"shape":"UnsupportedOperationException"}
- ]
- },
- "EnableKey":{
- "name":"EnableKey",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"EnableKeyRequest"},
- "errors":[
- {"shape":"NotFoundException"},
- {"shape":"InvalidArnException"},
- {"shape":"DependencyTimeoutException"},
- {"shape":"KMSInternalException"},
- {"shape":"LimitExceededException"},
- {"shape":"KMSInvalidStateException"}
- ]
- },
- "EnableKeyRotation":{
- "name":"EnableKeyRotation",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"EnableKeyRotationRequest"},
- "errors":[
- {"shape":"NotFoundException"},
- {"shape":"DisabledException"},
- {"shape":"InvalidArnException"},
- {"shape":"DependencyTimeoutException"},
- {"shape":"KMSInternalException"},
- {"shape":"KMSInvalidStateException"},
- {"shape":"UnsupportedOperationException"}
- ]
- },
- "Encrypt":{
- "name":"Encrypt",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"EncryptRequest"},
- "output":{"shape":"EncryptResponse"},
- "errors":[
- {"shape":"NotFoundException"},
- {"shape":"DisabledException"},
- {"shape":"KeyUnavailableException"},
- {"shape":"DependencyTimeoutException"},
- {"shape":"InvalidKeyUsageException"},
- {"shape":"InvalidGrantTokenException"},
- {"shape":"KMSInternalException"},
- {"shape":"KMSInvalidStateException"}
- ]
- },
- "GenerateDataKey":{
- "name":"GenerateDataKey",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"GenerateDataKeyRequest"},
- "output":{"shape":"GenerateDataKeyResponse"},
- "errors":[
- {"shape":"NotFoundException"},
- {"shape":"DisabledException"},
- {"shape":"KeyUnavailableException"},
- {"shape":"DependencyTimeoutException"},
- {"shape":"InvalidKeyUsageException"},
- {"shape":"InvalidGrantTokenException"},
- {"shape":"KMSInternalException"},
- {"shape":"KMSInvalidStateException"}
- ]
- },
- "GenerateDataKeyWithoutPlaintext":{
- "name":"GenerateDataKeyWithoutPlaintext",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"GenerateDataKeyWithoutPlaintextRequest"},
- "output":{"shape":"GenerateDataKeyWithoutPlaintextResponse"},
- "errors":[
- {"shape":"NotFoundException"},
- {"shape":"DisabledException"},
- {"shape":"KeyUnavailableException"},
- {"shape":"DependencyTimeoutException"},
- {"shape":"InvalidKeyUsageException"},
- {"shape":"InvalidGrantTokenException"},
- {"shape":"KMSInternalException"},
- {"shape":"KMSInvalidStateException"}
- ]
- },
- "GenerateRandom":{
- "name":"GenerateRandom",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"GenerateRandomRequest"},
- "output":{"shape":"GenerateRandomResponse"},
- "errors":[
- {"shape":"DependencyTimeoutException"},
- {"shape":"KMSInternalException"}
- ]
- },
- "GetKeyPolicy":{
- "name":"GetKeyPolicy",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"GetKeyPolicyRequest"},
- "output":{"shape":"GetKeyPolicyResponse"},
- "errors":[
- {"shape":"NotFoundException"},
- {"shape":"InvalidArnException"},
- {"shape":"DependencyTimeoutException"},
- {"shape":"KMSInternalException"},
- {"shape":"KMSInvalidStateException"}
- ]
- },
- "GetKeyRotationStatus":{
- "name":"GetKeyRotationStatus",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"GetKeyRotationStatusRequest"},
- "output":{"shape":"GetKeyRotationStatusResponse"},
- "errors":[
- {"shape":"NotFoundException"},
- {"shape":"InvalidArnException"},
- {"shape":"DependencyTimeoutException"},
- {"shape":"KMSInternalException"},
- {"shape":"KMSInvalidStateException"},
- {"shape":"UnsupportedOperationException"}
- ]
- },
- "GetParametersForImport":{
- "name":"GetParametersForImport",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"GetParametersForImportRequest"},
- "output":{"shape":"GetParametersForImportResponse"},
- "errors":[
- {"shape":"InvalidArnException"},
- {"shape":"UnsupportedOperationException"},
- {"shape":"DependencyTimeoutException"},
- {"shape":"NotFoundException"},
- {"shape":"KMSInternalException"},
- {"shape":"KMSInvalidStateException"}
- ]
- },
- "ImportKeyMaterial":{
- "name":"ImportKeyMaterial",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"ImportKeyMaterialRequest"},
- "output":{"shape":"ImportKeyMaterialResponse"},
- "errors":[
- {"shape":"InvalidArnException"},
- {"shape":"UnsupportedOperationException"},
- {"shape":"DependencyTimeoutException"},
- {"shape":"NotFoundException"},
- {"shape":"KMSInternalException"},
- {"shape":"KMSInvalidStateException"},
- {"shape":"InvalidCiphertextException"},
- {"shape":"IncorrectKeyMaterialException"},
- {"shape":"ExpiredImportTokenException"},
- {"shape":"InvalidImportTokenException"}
- ]
- },
- "ListAliases":{
- "name":"ListAliases",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"ListAliasesRequest"},
- "output":{"shape":"ListAliasesResponse"},
- "errors":[
- {"shape":"DependencyTimeoutException"},
- {"shape":"InvalidMarkerException"},
- {"shape":"KMSInternalException"}
- ]
- },
- "ListGrants":{
- "name":"ListGrants",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"ListGrantsRequest"},
- "output":{"shape":"ListGrantsResponse"},
- "errors":[
- {"shape":"NotFoundException"},
- {"shape":"DependencyTimeoutException"},
- {"shape":"InvalidMarkerException"},
- {"shape":"InvalidArnException"},
- {"shape":"KMSInternalException"},
- {"shape":"KMSInvalidStateException"}
- ]
- },
- "ListKeyPolicies":{
- "name":"ListKeyPolicies",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"ListKeyPoliciesRequest"},
- "output":{"shape":"ListKeyPoliciesResponse"},
- "errors":[
- {"shape":"NotFoundException"},
- {"shape":"InvalidArnException"},
- {"shape":"DependencyTimeoutException"},
- {"shape":"KMSInternalException"},
- {"shape":"KMSInvalidStateException"}
- ]
- },
- "ListKeys":{
- "name":"ListKeys",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"ListKeysRequest"},
- "output":{"shape":"ListKeysResponse"},
- "errors":[
- {"shape":"DependencyTimeoutException"},
- {"shape":"KMSInternalException"}
- ]
- },
- "ListRetirableGrants":{
- "name":"ListRetirableGrants",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"ListRetirableGrantsRequest"},
- "output":{"shape":"ListGrantsResponse"},
- "errors":[
- {"shape":"DependencyTimeoutException"},
- {"shape":"InvalidMarkerException"},
- {"shape":"InvalidArnException"},
- {"shape":"NotFoundException"},
- {"shape":"KMSInternalException"}
- ]
- },
- "PutKeyPolicy":{
- "name":"PutKeyPolicy",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"PutKeyPolicyRequest"},
- "errors":[
- {"shape":"NotFoundException"},
- {"shape":"InvalidArnException"},
- {"shape":"MalformedPolicyDocumentException"},
- {"shape":"DependencyTimeoutException"},
- {"shape":"UnsupportedOperationException"},
- {"shape":"KMSInternalException"},
- {"shape":"LimitExceededException"},
- {"shape":"KMSInvalidStateException"}
- ]
- },
- "ReEncrypt":{
- "name":"ReEncrypt",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"ReEncryptRequest"},
- "output":{"shape":"ReEncryptResponse"},
- "errors":[
- {"shape":"NotFoundException"},
- {"shape":"DisabledException"},
- {"shape":"InvalidCiphertextException"},
- {"shape":"KeyUnavailableException"},
- {"shape":"DependencyTimeoutException"},
- {"shape":"InvalidKeyUsageException"},
- {"shape":"InvalidGrantTokenException"},
- {"shape":"KMSInternalException"},
- {"shape":"KMSInvalidStateException"}
- ]
- },
- "RetireGrant":{
- "name":"RetireGrant",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"RetireGrantRequest"},
- "errors":[
- {"shape":"InvalidGrantTokenException"},
- {"shape":"InvalidGrantIdException"},
- {"shape":"NotFoundException"},
- {"shape":"DependencyTimeoutException"},
- {"shape":"KMSInternalException"},
- {"shape":"KMSInvalidStateException"}
- ]
- },
- "RevokeGrant":{
- "name":"RevokeGrant",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"RevokeGrantRequest"},
- "errors":[
- {"shape":"NotFoundException"},
- {"shape":"DependencyTimeoutException"},
- {"shape":"InvalidArnException"},
- {"shape":"InvalidGrantIdException"},
- {"shape":"KMSInternalException"},
- {"shape":"KMSInvalidStateException"}
- ]
- },
- "ScheduleKeyDeletion":{
- "name":"ScheduleKeyDeletion",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"ScheduleKeyDeletionRequest"},
- "output":{"shape":"ScheduleKeyDeletionResponse"},
- "errors":[
- {"shape":"NotFoundException"},
- {"shape":"InvalidArnException"},
- {"shape":"DependencyTimeoutException"},
- {"shape":"KMSInternalException"},
- {"shape":"KMSInvalidStateException"}
- ]
- },
- "UpdateAlias":{
- "name":"UpdateAlias",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"UpdateAliasRequest"},
- "errors":[
- {"shape":"DependencyTimeoutException"},
- {"shape":"NotFoundException"},
- {"shape":"KMSInternalException"},
- {"shape":"KMSInvalidStateException"}
- ]
- },
- "UpdateKeyDescription":{
- "name":"UpdateKeyDescription",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"UpdateKeyDescriptionRequest"},
- "errors":[
- {"shape":"NotFoundException"},
- {"shape":"InvalidArnException"},
- {"shape":"DependencyTimeoutException"},
- {"shape":"KMSInternalException"},
- {"shape":"KMSInvalidStateException"}
- ]
- }
- },
- "shapes":{
- "AWSAccountIdType":{"type":"string"},
- "AlgorithmSpec":{
- "type":"string",
- "enum":[
- "RSAES_PKCS1_V1_5",
- "RSAES_OAEP_SHA_1",
- "RSAES_OAEP_SHA_256"
- ]
- },
- "AliasList":{
- "type":"list",
- "member":{"shape":"AliasListEntry"}
- },
- "AliasListEntry":{
- "type":"structure",
- "members":{
- "AliasName":{"shape":"AliasNameType"},
- "AliasArn":{"shape":"ArnType"},
- "TargetKeyId":{"shape":"KeyIdType"}
- }
- },
- "AliasNameType":{
- "type":"string",
- "max":256,
- "min":1,
- "pattern":"^[a-zA-Z0-9:/_-]+$"
- },
- "AlreadyExistsException":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessageType"}
- },
- "exception":true
- },
- "ArnType":{
- "type":"string",
- "max":2048,
- "min":20
- },
- "BooleanType":{"type":"boolean"},
- "CancelKeyDeletionRequest":{
- "type":"structure",
- "required":["KeyId"],
- "members":{
- "KeyId":{"shape":"KeyIdType"}
- }
- },
- "CancelKeyDeletionResponse":{
- "type":"structure",
- "members":{
- "KeyId":{"shape":"KeyIdType"}
- }
- },
- "CiphertextType":{
- "type":"blob",
- "max":6144,
- "min":1
- },
- "CreateAliasRequest":{
- "type":"structure",
- "required":[
- "AliasName",
- "TargetKeyId"
- ],
- "members":{
- "AliasName":{"shape":"AliasNameType"},
- "TargetKeyId":{"shape":"KeyIdType"}
- }
- },
- "CreateGrantRequest":{
- "type":"structure",
- "required":[
- "KeyId",
- "GranteePrincipal"
- ],
- "members":{
- "KeyId":{"shape":"KeyIdType"},
- "GranteePrincipal":{"shape":"PrincipalIdType"},
- "RetiringPrincipal":{"shape":"PrincipalIdType"},
- "Operations":{"shape":"GrantOperationList"},
- "Constraints":{"shape":"GrantConstraints"},
- "GrantTokens":{"shape":"GrantTokenList"},
- "Name":{"shape":"GrantNameType"}
- }
- },
- "CreateGrantResponse":{
- "type":"structure",
- "members":{
- "GrantToken":{"shape":"GrantTokenType"},
- "GrantId":{"shape":"GrantIdType"}
- }
- },
- "CreateKeyRequest":{
- "type":"structure",
- "members":{
- "Policy":{"shape":"PolicyType"},
- "Description":{"shape":"DescriptionType"},
- "KeyUsage":{"shape":"KeyUsageType"},
- "Origin":{"shape":"OriginType"},
- "BypassPolicyLockoutSafetyCheck":{"shape":"BooleanType"}
- }
- },
- "CreateKeyResponse":{
- "type":"structure",
- "members":{
- "KeyMetadata":{"shape":"KeyMetadata"}
- }
- },
- "DataKeySpec":{
- "type":"string",
- "enum":[
- "AES_256",
- "AES_128"
- ]
- },
- "DateType":{"type":"timestamp"},
- "DecryptRequest":{
- "type":"structure",
- "required":["CiphertextBlob"],
- "members":{
- "CiphertextBlob":{"shape":"CiphertextType"},
- "EncryptionContext":{"shape":"EncryptionContextType"},
- "GrantTokens":{"shape":"GrantTokenList"}
- }
- },
- "DecryptResponse":{
- "type":"structure",
- "members":{
- "KeyId":{"shape":"KeyIdType"},
- "Plaintext":{"shape":"PlaintextType"}
- }
- },
- "DeleteAliasRequest":{
- "type":"structure",
- "required":["AliasName"],
- "members":{
- "AliasName":{"shape":"AliasNameType"}
- }
- },
- "DeleteImportedKeyMaterialRequest":{
- "type":"structure",
- "required":["KeyId"],
- "members":{
- "KeyId":{"shape":"KeyIdType"}
- }
- },
- "DependencyTimeoutException":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessageType"}
- },
- "exception":true,
- "fault":true
- },
- "DescribeKeyRequest":{
- "type":"structure",
- "required":["KeyId"],
- "members":{
- "KeyId":{"shape":"KeyIdType"},
- "GrantTokens":{"shape":"GrantTokenList"}
- }
- },
- "DescribeKeyResponse":{
- "type":"structure",
- "members":{
- "KeyMetadata":{"shape":"KeyMetadata"}
- }
- },
- "DescriptionType":{
- "type":"string",
- "max":8192,
- "min":0
- },
- "DisableKeyRequest":{
- "type":"structure",
- "required":["KeyId"],
- "members":{
- "KeyId":{"shape":"KeyIdType"}
- }
- },
- "DisableKeyRotationRequest":{
- "type":"structure",
- "required":["KeyId"],
- "members":{
- "KeyId":{"shape":"KeyIdType"}
- }
- },
- "DisabledException":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessageType"}
- },
- "exception":true
- },
- "EnableKeyRequest":{
- "type":"structure",
- "required":["KeyId"],
- "members":{
- "KeyId":{"shape":"KeyIdType"}
- }
- },
- "EnableKeyRotationRequest":{
- "type":"structure",
- "required":["KeyId"],
- "members":{
- "KeyId":{"shape":"KeyIdType"}
- }
- },
- "EncryptRequest":{
- "type":"structure",
- "required":[
- "KeyId",
- "Plaintext"
- ],
- "members":{
- "KeyId":{"shape":"KeyIdType"},
- "Plaintext":{"shape":"PlaintextType"},
- "EncryptionContext":{"shape":"EncryptionContextType"},
- "GrantTokens":{"shape":"GrantTokenList"}
- }
- },
- "EncryptResponse":{
- "type":"structure",
- "members":{
- "CiphertextBlob":{"shape":"CiphertextType"},
- "KeyId":{"shape":"KeyIdType"}
- }
- },
- "EncryptionContextKey":{"type":"string"},
- "EncryptionContextType":{
- "type":"map",
- "key":{"shape":"EncryptionContextKey"},
- "value":{"shape":"EncryptionContextValue"}
- },
- "EncryptionContextValue":{"type":"string"},
- "ErrorMessageType":{"type":"string"},
- "ExpirationModelType":{
- "type":"string",
- "enum":[
- "KEY_MATERIAL_EXPIRES",
- "KEY_MATERIAL_DOES_NOT_EXPIRE"
- ]
- },
- "ExpiredImportTokenException":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessageType"}
- },
- "exception":true
- },
- "GenerateDataKeyRequest":{
- "type":"structure",
- "required":["KeyId"],
- "members":{
- "KeyId":{"shape":"KeyIdType"},
- "EncryptionContext":{"shape":"EncryptionContextType"},
- "NumberOfBytes":{"shape":"NumberOfBytesType"},
- "KeySpec":{"shape":"DataKeySpec"},
- "GrantTokens":{"shape":"GrantTokenList"}
- }
- },
- "GenerateDataKeyResponse":{
- "type":"structure",
- "members":{
- "CiphertextBlob":{"shape":"CiphertextType"},
- "Plaintext":{"shape":"PlaintextType"},
- "KeyId":{"shape":"KeyIdType"}
- }
- },
- "GenerateDataKeyWithoutPlaintextRequest":{
- "type":"structure",
- "required":["KeyId"],
- "members":{
- "KeyId":{"shape":"KeyIdType"},
- "EncryptionContext":{"shape":"EncryptionContextType"},
- "KeySpec":{"shape":"DataKeySpec"},
- "NumberOfBytes":{"shape":"NumberOfBytesType"},
- "GrantTokens":{"shape":"GrantTokenList"}
- }
- },
- "GenerateDataKeyWithoutPlaintextResponse":{
- "type":"structure",
- "members":{
- "CiphertextBlob":{"shape":"CiphertextType"},
- "KeyId":{"shape":"KeyIdType"}
- }
- },
- "GenerateRandomRequest":{
- "type":"structure",
- "members":{
- "NumberOfBytes":{"shape":"NumberOfBytesType"}
- }
- },
- "GenerateRandomResponse":{
- "type":"structure",
- "members":{
- "Plaintext":{"shape":"PlaintextType"}
- }
- },
- "GetKeyPolicyRequest":{
- "type":"structure",
- "required":[
- "KeyId",
- "PolicyName"
- ],
- "members":{
- "KeyId":{"shape":"KeyIdType"},
- "PolicyName":{"shape":"PolicyNameType"}
- }
- },
- "GetKeyPolicyResponse":{
- "type":"structure",
- "members":{
- "Policy":{"shape":"PolicyType"}
- }
- },
- "GetKeyRotationStatusRequest":{
- "type":"structure",
- "required":["KeyId"],
- "members":{
- "KeyId":{"shape":"KeyIdType"}
- }
- },
- "GetKeyRotationStatusResponse":{
- "type":"structure",
- "members":{
- "KeyRotationEnabled":{"shape":"BooleanType"}
- }
- },
- "GetParametersForImportRequest":{
- "type":"structure",
- "required":[
- "KeyId",
- "WrappingAlgorithm",
- "WrappingKeySpec"
- ],
- "members":{
- "KeyId":{"shape":"KeyIdType"},
- "WrappingAlgorithm":{"shape":"AlgorithmSpec"},
- "WrappingKeySpec":{"shape":"WrappingKeySpec"}
- }
- },
- "GetParametersForImportResponse":{
- "type":"structure",
- "members":{
- "KeyId":{"shape":"KeyIdType"},
- "ImportToken":{"shape":"CiphertextType"},
- "PublicKey":{"shape":"PlaintextType"},
- "ParametersValidTo":{"shape":"DateType"}
- }
- },
- "GrantConstraints":{
- "type":"structure",
- "members":{
- "EncryptionContextSubset":{"shape":"EncryptionContextType"},
- "EncryptionContextEquals":{"shape":"EncryptionContextType"}
- }
- },
- "GrantIdType":{
- "type":"string",
- "max":128,
- "min":1
- },
- "GrantList":{
- "type":"list",
- "member":{"shape":"GrantListEntry"}
- },
- "GrantListEntry":{
- "type":"structure",
- "members":{
- "KeyId":{"shape":"KeyIdType"},
- "GrantId":{"shape":"GrantIdType"},
- "Name":{"shape":"GrantNameType"},
- "CreationDate":{"shape":"DateType"},
- "GranteePrincipal":{"shape":"PrincipalIdType"},
- "RetiringPrincipal":{"shape":"PrincipalIdType"},
- "IssuingAccount":{"shape":"PrincipalIdType"},
- "Operations":{"shape":"GrantOperationList"},
- "Constraints":{"shape":"GrantConstraints"}
- }
- },
- "GrantNameType":{
- "type":"string",
- "max":256,
- "min":1,
- "pattern":"^[a-zA-Z0-9:/_-]+$"
- },
- "GrantOperation":{
- "type":"string",
- "enum":[
- "Decrypt",
- "Encrypt",
- "GenerateDataKey",
- "GenerateDataKeyWithoutPlaintext",
- "ReEncryptFrom",
- "ReEncryptTo",
- "CreateGrant",
- "RetireGrant",
- "DescribeKey"
- ]
- },
- "GrantOperationList":{
- "type":"list",
- "member":{"shape":"GrantOperation"}
- },
- "GrantTokenList":{
- "type":"list",
- "member":{"shape":"GrantTokenType"},
- "max":10,
- "min":0
- },
- "GrantTokenType":{
- "type":"string",
- "max":8192,
- "min":1
- },
- "ImportKeyMaterialRequest":{
- "type":"structure",
- "required":[
- "KeyId",
- "ImportToken",
- "EncryptedKeyMaterial",
- "ValidTo"
- ],
- "members":{
- "KeyId":{"shape":"KeyIdType"},
- "ImportToken":{"shape":"CiphertextType"},
- "EncryptedKeyMaterial":{"shape":"CiphertextType"},
- "ValidTo":{"shape":"DateType"},
- "ExpirationModel":{"shape":"ExpirationModelType"}
- }
- },
- "ImportKeyMaterialResponse":{
- "type":"structure",
- "members":{
- }
- },
- "IncorrectKeyMaterialException":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessageType"}
- },
- "exception":true
- },
- "InvalidAliasNameException":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessageType"}
- },
- "exception":true
- },
- "InvalidArnException":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessageType"}
- },
- "exception":true
- },
- "InvalidCiphertextException":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessageType"}
- },
- "exception":true
- },
- "InvalidGrantIdException":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessageType"}
- },
- "exception":true
- },
- "InvalidGrantTokenException":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessageType"}
- },
- "exception":true
- },
- "InvalidImportTokenException":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessageType"}
- },
- "exception":true
- },
- "InvalidKeyUsageException":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessageType"}
- },
- "exception":true
- },
- "InvalidMarkerException":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessageType"}
- },
- "exception":true
- },
- "KMSInternalException":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessageType"}
- },
- "exception":true
- },
- "KMSInvalidStateException":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessageType"}
- },
- "exception":true
- },
- "KeyIdType":{
- "type":"string",
- "max":256,
- "min":1
- },
- "KeyList":{
- "type":"list",
- "member":{"shape":"KeyListEntry"}
- },
- "KeyListEntry":{
- "type":"structure",
- "members":{
- "KeyId":{"shape":"KeyIdType"},
- "KeyArn":{"shape":"ArnType"}
- }
- },
- "KeyMetadata":{
- "type":"structure",
- "required":["KeyId"],
- "members":{
- "AWSAccountId":{"shape":"AWSAccountIdType"},
- "KeyId":{"shape":"KeyIdType"},
- "Arn":{"shape":"ArnType"},
- "CreationDate":{"shape":"DateType"},
- "Enabled":{"shape":"BooleanType"},
- "Description":{"shape":"DescriptionType"},
- "KeyUsage":{"shape":"KeyUsageType"},
- "KeyState":{"shape":"KeyState"},
- "DeletionDate":{"shape":"DateType"},
- "ValidTo":{"shape":"DateType"},
- "Origin":{"shape":"OriginType"},
- "ExpirationModel":{"shape":"ExpirationModelType"}
- }
- },
- "KeyState":{
- "type":"string",
- "enum":[
- "Enabled",
- "Disabled",
- "PendingDeletion",
- "PendingImport"
- ]
- },
- "KeyUnavailableException":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessageType"}
- },
- "exception":true,
- "fault":true
- },
- "KeyUsageType":{
- "type":"string",
- "enum":["ENCRYPT_DECRYPT"]
- },
- "LimitExceededException":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessageType"}
- },
- "exception":true
- },
- "LimitType":{
- "type":"integer",
- "max":1000,
- "min":1
- },
- "ListAliasesRequest":{
- "type":"structure",
- "members":{
- "Limit":{"shape":"LimitType"},
- "Marker":{"shape":"MarkerType"}
- }
- },
- "ListAliasesResponse":{
- "type":"structure",
- "members":{
- "Aliases":{"shape":"AliasList"},
- "NextMarker":{"shape":"MarkerType"},
- "Truncated":{"shape":"BooleanType"}
- }
- },
- "ListGrantsRequest":{
- "type":"structure",
- "required":["KeyId"],
- "members":{
- "Limit":{"shape":"LimitType"},
- "Marker":{"shape":"MarkerType"},
- "KeyId":{"shape":"KeyIdType"}
- }
- },
- "ListGrantsResponse":{
- "type":"structure",
- "members":{
- "Grants":{"shape":"GrantList"},
- "NextMarker":{"shape":"MarkerType"},
- "Truncated":{"shape":"BooleanType"}
- }
- },
- "ListKeyPoliciesRequest":{
- "type":"structure",
- "required":["KeyId"],
- "members":{
- "KeyId":{"shape":"KeyIdType"},
- "Limit":{"shape":"LimitType"},
- "Marker":{"shape":"MarkerType"}
- }
- },
- "ListKeyPoliciesResponse":{
- "type":"structure",
- "members":{
- "PolicyNames":{"shape":"PolicyNameList"},
- "NextMarker":{"shape":"MarkerType"},
- "Truncated":{"shape":"BooleanType"}
- }
- },
- "ListKeysRequest":{
- "type":"structure",
- "members":{
- "Limit":{"shape":"LimitType"},
- "Marker":{"shape":"MarkerType"}
- }
- },
- "ListKeysResponse":{
- "type":"structure",
- "members":{
- "Keys":{"shape":"KeyList"},
- "NextMarker":{"shape":"MarkerType"},
- "Truncated":{"shape":"BooleanType"}
- }
- },
- "ListRetirableGrantsRequest":{
- "type":"structure",
- "required":["RetiringPrincipal"],
- "members":{
- "Limit":{"shape":"LimitType"},
- "Marker":{"shape":"MarkerType"},
- "RetiringPrincipal":{"shape":"PrincipalIdType"}
- }
- },
- "MalformedPolicyDocumentException":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessageType"}
- },
- "exception":true
- },
- "MarkerType":{
- "type":"string",
- "max":320,
- "min":1,
- "pattern":"[\\u0020-\\u00FF]*"
- },
- "NotFoundException":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessageType"}
- },
- "exception":true
- },
- "NumberOfBytesType":{
- "type":"integer",
- "max":1024,
- "min":1
- },
- "OriginType":{
- "type":"string",
- "enum":[
- "AWS_KMS",
- "EXTERNAL"
- ]
- },
- "PendingWindowInDaysType":{
- "type":"integer",
- "max":365,
- "min":1
- },
- "PlaintextType":{
- "type":"blob",
- "max":4096,
- "min":1,
- "sensitive":true
- },
- "PolicyNameList":{
- "type":"list",
- "member":{"shape":"PolicyNameType"}
- },
- "PolicyNameType":{
- "type":"string",
- "max":128,
- "min":1,
- "pattern":"[\\w]+"
- },
- "PolicyType":{
- "type":"string",
- "max":131072,
- "min":1,
- "pattern":"[\\u0009\\u000A\\u000D\\u0020-\\u00FF]+"
- },
- "PrincipalIdType":{
- "type":"string",
- "max":256,
- "min":1
- },
- "PutKeyPolicyRequest":{
- "type":"structure",
- "required":[
- "KeyId",
- "PolicyName",
- "Policy"
- ],
- "members":{
- "KeyId":{"shape":"KeyIdType"},
- "PolicyName":{"shape":"PolicyNameType"},
- "Policy":{"shape":"PolicyType"},
- "BypassPolicyLockoutSafetyCheck":{"shape":"BooleanType"}
- }
- },
- "ReEncryptRequest":{
- "type":"structure",
- "required":[
- "CiphertextBlob",
- "DestinationKeyId"
- ],
- "members":{
- "CiphertextBlob":{"shape":"CiphertextType"},
- "SourceEncryptionContext":{"shape":"EncryptionContextType"},
- "DestinationKeyId":{"shape":"KeyIdType"},
- "DestinationEncryptionContext":{"shape":"EncryptionContextType"},
- "GrantTokens":{"shape":"GrantTokenList"}
- }
- },
- "ReEncryptResponse":{
- "type":"structure",
- "members":{
- "CiphertextBlob":{"shape":"CiphertextType"},
- "SourceKeyId":{"shape":"KeyIdType"},
- "KeyId":{"shape":"KeyIdType"}
- }
- },
- "RetireGrantRequest":{
- "type":"structure",
- "members":{
- "GrantToken":{"shape":"GrantTokenType"},
- "KeyId":{"shape":"KeyIdType"},
- "GrantId":{"shape":"GrantIdType"}
- }
- },
- "RevokeGrantRequest":{
- "type":"structure",
- "required":[
- "KeyId",
- "GrantId"
- ],
- "members":{
- "KeyId":{"shape":"KeyIdType"},
- "GrantId":{"shape":"GrantIdType"}
- }
- },
- "ScheduleKeyDeletionRequest":{
- "type":"structure",
- "required":["KeyId"],
- "members":{
- "KeyId":{"shape":"KeyIdType"},
- "PendingWindowInDays":{"shape":"PendingWindowInDaysType"}
- }
- },
- "ScheduleKeyDeletionResponse":{
- "type":"structure",
- "members":{
- "KeyId":{"shape":"KeyIdType"},
- "DeletionDate":{"shape":"DateType"}
- }
- },
- "UnsupportedOperationException":{
- "type":"structure",
- "members":{
- "message":{"shape":"ErrorMessageType"}
- },
- "exception":true
- },
- "UpdateAliasRequest":{
- "type":"structure",
- "required":[
- "AliasName",
- "TargetKeyId"
- ],
- "members":{
- "AliasName":{"shape":"AliasNameType"},
- "TargetKeyId":{"shape":"KeyIdType"}
- }
- },
- "UpdateKeyDescriptionRequest":{
- "type":"structure",
- "required":[
- "KeyId",
- "Description"
- ],
- "members":{
- "KeyId":{"shape":"KeyIdType"},
- "Description":{"shape":"DescriptionType"}
- }
- },
- "WrappingKeySpec":{
- "type":"string",
- "enum":["RSA_2048"]
- }
- }
- }
|