api-2.json 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368
  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. "signatureVersion":"v4",
  11. "targetPrefix":"TrentService"
  12. },
  13. "operations":{
  14. "CancelKeyDeletion":{
  15. "name":"CancelKeyDeletion",
  16. "http":{
  17. "method":"POST",
  18. "requestUri":"/"
  19. },
  20. "input":{"shape":"CancelKeyDeletionRequest"},
  21. "output":{"shape":"CancelKeyDeletionResponse"},
  22. "errors":[
  23. {"shape":"NotFoundException"},
  24. {"shape":"InvalidArnException"},
  25. {"shape":"DependencyTimeoutException"},
  26. {"shape":"KMSInternalException"},
  27. {"shape":"KMSInvalidStateException"}
  28. ]
  29. },
  30. "CreateAlias":{
  31. "name":"CreateAlias",
  32. "http":{
  33. "method":"POST",
  34. "requestUri":"/"
  35. },
  36. "input":{"shape":"CreateAliasRequest"},
  37. "errors":[
  38. {"shape":"DependencyTimeoutException"},
  39. {"shape":"AlreadyExistsException"},
  40. {"shape":"NotFoundException"},
  41. {"shape":"InvalidAliasNameException"},
  42. {"shape":"KMSInternalException"},
  43. {"shape":"LimitExceededException"},
  44. {"shape":"KMSInvalidStateException"}
  45. ]
  46. },
  47. "CreateGrant":{
  48. "name":"CreateGrant",
  49. "http":{
  50. "method":"POST",
  51. "requestUri":"/"
  52. },
  53. "input":{"shape":"CreateGrantRequest"},
  54. "output":{"shape":"CreateGrantResponse"},
  55. "errors":[
  56. {"shape":"NotFoundException"},
  57. {"shape":"DisabledException"},
  58. {"shape":"DependencyTimeoutException"},
  59. {"shape":"InvalidArnException"},
  60. {"shape":"KMSInternalException"},
  61. {"shape":"InvalidGrantTokenException"},
  62. {"shape":"LimitExceededException"},
  63. {"shape":"KMSInvalidStateException"}
  64. ]
  65. },
  66. "CreateKey":{
  67. "name":"CreateKey",
  68. "http":{
  69. "method":"POST",
  70. "requestUri":"/"
  71. },
  72. "input":{"shape":"CreateKeyRequest"},
  73. "output":{"shape":"CreateKeyResponse"},
  74. "errors":[
  75. {"shape":"MalformedPolicyDocumentException"},
  76. {"shape":"DependencyTimeoutException"},
  77. {"shape":"InvalidArnException"},
  78. {"shape":"UnsupportedOperationException"},
  79. {"shape":"KMSInternalException"},
  80. {"shape":"LimitExceededException"}
  81. ]
  82. },
  83. "Decrypt":{
  84. "name":"Decrypt",
  85. "http":{
  86. "method":"POST",
  87. "requestUri":"/"
  88. },
  89. "input":{"shape":"DecryptRequest"},
  90. "output":{"shape":"DecryptResponse"},
  91. "errors":[
  92. {"shape":"NotFoundException"},
  93. {"shape":"DisabledException"},
  94. {"shape":"InvalidCiphertextException"},
  95. {"shape":"KeyUnavailableException"},
  96. {"shape":"DependencyTimeoutException"},
  97. {"shape":"InvalidGrantTokenException"},
  98. {"shape":"KMSInternalException"},
  99. {"shape":"KMSInvalidStateException"}
  100. ]
  101. },
  102. "DeleteAlias":{
  103. "name":"DeleteAlias",
  104. "http":{
  105. "method":"POST",
  106. "requestUri":"/"
  107. },
  108. "input":{"shape":"DeleteAliasRequest"},
  109. "errors":[
  110. {"shape":"DependencyTimeoutException"},
  111. {"shape":"NotFoundException"},
  112. {"shape":"KMSInternalException"},
  113. {"shape":"KMSInvalidStateException"}
  114. ]
  115. },
  116. "DeleteImportedKeyMaterial":{
  117. "name":"DeleteImportedKeyMaterial",
  118. "http":{
  119. "method":"POST",
  120. "requestUri":"/"
  121. },
  122. "input":{"shape":"DeleteImportedKeyMaterialRequest"},
  123. "errors":[
  124. {"shape":"InvalidArnException"},
  125. {"shape":"UnsupportedOperationException"},
  126. {"shape":"DependencyTimeoutException"},
  127. {"shape":"NotFoundException"},
  128. {"shape":"KMSInternalException"},
  129. {"shape":"KMSInvalidStateException"}
  130. ]
  131. },
  132. "DescribeKey":{
  133. "name":"DescribeKey",
  134. "http":{
  135. "method":"POST",
  136. "requestUri":"/"
  137. },
  138. "input":{"shape":"DescribeKeyRequest"},
  139. "output":{"shape":"DescribeKeyResponse"},
  140. "errors":[
  141. {"shape":"NotFoundException"},
  142. {"shape":"InvalidArnException"},
  143. {"shape":"DependencyTimeoutException"},
  144. {"shape":"KMSInternalException"}
  145. ]
  146. },
  147. "DisableKey":{
  148. "name":"DisableKey",
  149. "http":{
  150. "method":"POST",
  151. "requestUri":"/"
  152. },
  153. "input":{"shape":"DisableKeyRequest"},
  154. "errors":[
  155. {"shape":"NotFoundException"},
  156. {"shape":"InvalidArnException"},
  157. {"shape":"DependencyTimeoutException"},
  158. {"shape":"KMSInternalException"},
  159. {"shape":"KMSInvalidStateException"}
  160. ]
  161. },
  162. "DisableKeyRotation":{
  163. "name":"DisableKeyRotation",
  164. "http":{
  165. "method":"POST",
  166. "requestUri":"/"
  167. },
  168. "input":{"shape":"DisableKeyRotationRequest"},
  169. "errors":[
  170. {"shape":"NotFoundException"},
  171. {"shape":"DisabledException"},
  172. {"shape":"InvalidArnException"},
  173. {"shape":"DependencyTimeoutException"},
  174. {"shape":"KMSInternalException"},
  175. {"shape":"KMSInvalidStateException"},
  176. {"shape":"UnsupportedOperationException"}
  177. ]
  178. },
  179. "EnableKey":{
  180. "name":"EnableKey",
  181. "http":{
  182. "method":"POST",
  183. "requestUri":"/"
  184. },
  185. "input":{"shape":"EnableKeyRequest"},
  186. "errors":[
  187. {"shape":"NotFoundException"},
  188. {"shape":"InvalidArnException"},
  189. {"shape":"DependencyTimeoutException"},
  190. {"shape":"KMSInternalException"},
  191. {"shape":"LimitExceededException"},
  192. {"shape":"KMSInvalidStateException"}
  193. ]
  194. },
  195. "EnableKeyRotation":{
  196. "name":"EnableKeyRotation",
  197. "http":{
  198. "method":"POST",
  199. "requestUri":"/"
  200. },
  201. "input":{"shape":"EnableKeyRotationRequest"},
  202. "errors":[
  203. {"shape":"NotFoundException"},
  204. {"shape":"DisabledException"},
  205. {"shape":"InvalidArnException"},
  206. {"shape":"DependencyTimeoutException"},
  207. {"shape":"KMSInternalException"},
  208. {"shape":"KMSInvalidStateException"},
  209. {"shape":"UnsupportedOperationException"}
  210. ]
  211. },
  212. "Encrypt":{
  213. "name":"Encrypt",
  214. "http":{
  215. "method":"POST",
  216. "requestUri":"/"
  217. },
  218. "input":{"shape":"EncryptRequest"},
  219. "output":{"shape":"EncryptResponse"},
  220. "errors":[
  221. {"shape":"NotFoundException"},
  222. {"shape":"DisabledException"},
  223. {"shape":"KeyUnavailableException"},
  224. {"shape":"DependencyTimeoutException"},
  225. {"shape":"InvalidKeyUsageException"},
  226. {"shape":"InvalidGrantTokenException"},
  227. {"shape":"KMSInternalException"},
  228. {"shape":"KMSInvalidStateException"}
  229. ]
  230. },
  231. "GenerateDataKey":{
  232. "name":"GenerateDataKey",
  233. "http":{
  234. "method":"POST",
  235. "requestUri":"/"
  236. },
  237. "input":{"shape":"GenerateDataKeyRequest"},
  238. "output":{"shape":"GenerateDataKeyResponse"},
  239. "errors":[
  240. {"shape":"NotFoundException"},
  241. {"shape":"DisabledException"},
  242. {"shape":"KeyUnavailableException"},
  243. {"shape":"DependencyTimeoutException"},
  244. {"shape":"InvalidKeyUsageException"},
  245. {"shape":"InvalidGrantTokenException"},
  246. {"shape":"KMSInternalException"},
  247. {"shape":"KMSInvalidStateException"}
  248. ]
  249. },
  250. "GenerateDataKeyWithoutPlaintext":{
  251. "name":"GenerateDataKeyWithoutPlaintext",
  252. "http":{
  253. "method":"POST",
  254. "requestUri":"/"
  255. },
  256. "input":{"shape":"GenerateDataKeyWithoutPlaintextRequest"},
  257. "output":{"shape":"GenerateDataKeyWithoutPlaintextResponse"},
  258. "errors":[
  259. {"shape":"NotFoundException"},
  260. {"shape":"DisabledException"},
  261. {"shape":"KeyUnavailableException"},
  262. {"shape":"DependencyTimeoutException"},
  263. {"shape":"InvalidKeyUsageException"},
  264. {"shape":"InvalidGrantTokenException"},
  265. {"shape":"KMSInternalException"},
  266. {"shape":"KMSInvalidStateException"}
  267. ]
  268. },
  269. "GenerateRandom":{
  270. "name":"GenerateRandom",
  271. "http":{
  272. "method":"POST",
  273. "requestUri":"/"
  274. },
  275. "input":{"shape":"GenerateRandomRequest"},
  276. "output":{"shape":"GenerateRandomResponse"},
  277. "errors":[
  278. {"shape":"DependencyTimeoutException"},
  279. {"shape":"KMSInternalException"}
  280. ]
  281. },
  282. "GetKeyPolicy":{
  283. "name":"GetKeyPolicy",
  284. "http":{
  285. "method":"POST",
  286. "requestUri":"/"
  287. },
  288. "input":{"shape":"GetKeyPolicyRequest"},
  289. "output":{"shape":"GetKeyPolicyResponse"},
  290. "errors":[
  291. {"shape":"NotFoundException"},
  292. {"shape":"InvalidArnException"},
  293. {"shape":"DependencyTimeoutException"},
  294. {"shape":"KMSInternalException"},
  295. {"shape":"KMSInvalidStateException"}
  296. ]
  297. },
  298. "GetKeyRotationStatus":{
  299. "name":"GetKeyRotationStatus",
  300. "http":{
  301. "method":"POST",
  302. "requestUri":"/"
  303. },
  304. "input":{"shape":"GetKeyRotationStatusRequest"},
  305. "output":{"shape":"GetKeyRotationStatusResponse"},
  306. "errors":[
  307. {"shape":"NotFoundException"},
  308. {"shape":"InvalidArnException"},
  309. {"shape":"DependencyTimeoutException"},
  310. {"shape":"KMSInternalException"},
  311. {"shape":"KMSInvalidStateException"},
  312. {"shape":"UnsupportedOperationException"}
  313. ]
  314. },
  315. "GetParametersForImport":{
  316. "name":"GetParametersForImport",
  317. "http":{
  318. "method":"POST",
  319. "requestUri":"/"
  320. },
  321. "input":{"shape":"GetParametersForImportRequest"},
  322. "output":{"shape":"GetParametersForImportResponse"},
  323. "errors":[
  324. {"shape":"InvalidArnException"},
  325. {"shape":"UnsupportedOperationException"},
  326. {"shape":"DependencyTimeoutException"},
  327. {"shape":"NotFoundException"},
  328. {"shape":"KMSInternalException"},
  329. {"shape":"KMSInvalidStateException"}
  330. ]
  331. },
  332. "ImportKeyMaterial":{
  333. "name":"ImportKeyMaterial",
  334. "http":{
  335. "method":"POST",
  336. "requestUri":"/"
  337. },
  338. "input":{"shape":"ImportKeyMaterialRequest"},
  339. "output":{"shape":"ImportKeyMaterialResponse"},
  340. "errors":[
  341. {"shape":"InvalidArnException"},
  342. {"shape":"UnsupportedOperationException"},
  343. {"shape":"DependencyTimeoutException"},
  344. {"shape":"NotFoundException"},
  345. {"shape":"KMSInternalException"},
  346. {"shape":"KMSInvalidStateException"},
  347. {"shape":"InvalidCiphertextException"},
  348. {"shape":"IncorrectKeyMaterialException"},
  349. {"shape":"ExpiredImportTokenException"},
  350. {"shape":"InvalidImportTokenException"}
  351. ]
  352. },
  353. "ListAliases":{
  354. "name":"ListAliases",
  355. "http":{
  356. "method":"POST",
  357. "requestUri":"/"
  358. },
  359. "input":{"shape":"ListAliasesRequest"},
  360. "output":{"shape":"ListAliasesResponse"},
  361. "errors":[
  362. {"shape":"DependencyTimeoutException"},
  363. {"shape":"InvalidMarkerException"},
  364. {"shape":"KMSInternalException"}
  365. ]
  366. },
  367. "ListGrants":{
  368. "name":"ListGrants",
  369. "http":{
  370. "method":"POST",
  371. "requestUri":"/"
  372. },
  373. "input":{"shape":"ListGrantsRequest"},
  374. "output":{"shape":"ListGrantsResponse"},
  375. "errors":[
  376. {"shape":"NotFoundException"},
  377. {"shape":"DependencyTimeoutException"},
  378. {"shape":"InvalidMarkerException"},
  379. {"shape":"InvalidArnException"},
  380. {"shape":"KMSInternalException"},
  381. {"shape":"KMSInvalidStateException"}
  382. ]
  383. },
  384. "ListKeyPolicies":{
  385. "name":"ListKeyPolicies",
  386. "http":{
  387. "method":"POST",
  388. "requestUri":"/"
  389. },
  390. "input":{"shape":"ListKeyPoliciesRequest"},
  391. "output":{"shape":"ListKeyPoliciesResponse"},
  392. "errors":[
  393. {"shape":"NotFoundException"},
  394. {"shape":"InvalidArnException"},
  395. {"shape":"DependencyTimeoutException"},
  396. {"shape":"KMSInternalException"},
  397. {"shape":"KMSInvalidStateException"}
  398. ]
  399. },
  400. "ListKeys":{
  401. "name":"ListKeys",
  402. "http":{
  403. "method":"POST",
  404. "requestUri":"/"
  405. },
  406. "input":{"shape":"ListKeysRequest"},
  407. "output":{"shape":"ListKeysResponse"},
  408. "errors":[
  409. {"shape":"DependencyTimeoutException"},
  410. {"shape":"KMSInternalException"}
  411. ]
  412. },
  413. "ListRetirableGrants":{
  414. "name":"ListRetirableGrants",
  415. "http":{
  416. "method":"POST",
  417. "requestUri":"/"
  418. },
  419. "input":{"shape":"ListRetirableGrantsRequest"},
  420. "output":{"shape":"ListGrantsResponse"},
  421. "errors":[
  422. {"shape":"DependencyTimeoutException"},
  423. {"shape":"InvalidMarkerException"},
  424. {"shape":"InvalidArnException"},
  425. {"shape":"NotFoundException"},
  426. {"shape":"KMSInternalException"}
  427. ]
  428. },
  429. "PutKeyPolicy":{
  430. "name":"PutKeyPolicy",
  431. "http":{
  432. "method":"POST",
  433. "requestUri":"/"
  434. },
  435. "input":{"shape":"PutKeyPolicyRequest"},
  436. "errors":[
  437. {"shape":"NotFoundException"},
  438. {"shape":"InvalidArnException"},
  439. {"shape":"MalformedPolicyDocumentException"},
  440. {"shape":"DependencyTimeoutException"},
  441. {"shape":"UnsupportedOperationException"},
  442. {"shape":"KMSInternalException"},
  443. {"shape":"LimitExceededException"},
  444. {"shape":"KMSInvalidStateException"}
  445. ]
  446. },
  447. "ReEncrypt":{
  448. "name":"ReEncrypt",
  449. "http":{
  450. "method":"POST",
  451. "requestUri":"/"
  452. },
  453. "input":{"shape":"ReEncryptRequest"},
  454. "output":{"shape":"ReEncryptResponse"},
  455. "errors":[
  456. {"shape":"NotFoundException"},
  457. {"shape":"DisabledException"},
  458. {"shape":"InvalidCiphertextException"},
  459. {"shape":"KeyUnavailableException"},
  460. {"shape":"DependencyTimeoutException"},
  461. {"shape":"InvalidKeyUsageException"},
  462. {"shape":"InvalidGrantTokenException"},
  463. {"shape":"KMSInternalException"},
  464. {"shape":"KMSInvalidStateException"}
  465. ]
  466. },
  467. "RetireGrant":{
  468. "name":"RetireGrant",
  469. "http":{
  470. "method":"POST",
  471. "requestUri":"/"
  472. },
  473. "input":{"shape":"RetireGrantRequest"},
  474. "errors":[
  475. {"shape":"InvalidGrantTokenException"},
  476. {"shape":"InvalidGrantIdException"},
  477. {"shape":"NotFoundException"},
  478. {"shape":"DependencyTimeoutException"},
  479. {"shape":"KMSInternalException"},
  480. {"shape":"KMSInvalidStateException"}
  481. ]
  482. },
  483. "RevokeGrant":{
  484. "name":"RevokeGrant",
  485. "http":{
  486. "method":"POST",
  487. "requestUri":"/"
  488. },
  489. "input":{"shape":"RevokeGrantRequest"},
  490. "errors":[
  491. {"shape":"NotFoundException"},
  492. {"shape":"DependencyTimeoutException"},
  493. {"shape":"InvalidArnException"},
  494. {"shape":"InvalidGrantIdException"},
  495. {"shape":"KMSInternalException"},
  496. {"shape":"KMSInvalidStateException"}
  497. ]
  498. },
  499. "ScheduleKeyDeletion":{
  500. "name":"ScheduleKeyDeletion",
  501. "http":{
  502. "method":"POST",
  503. "requestUri":"/"
  504. },
  505. "input":{"shape":"ScheduleKeyDeletionRequest"},
  506. "output":{"shape":"ScheduleKeyDeletionResponse"},
  507. "errors":[
  508. {"shape":"NotFoundException"},
  509. {"shape":"InvalidArnException"},
  510. {"shape":"DependencyTimeoutException"},
  511. {"shape":"KMSInternalException"},
  512. {"shape":"KMSInvalidStateException"}
  513. ]
  514. },
  515. "UpdateAlias":{
  516. "name":"UpdateAlias",
  517. "http":{
  518. "method":"POST",
  519. "requestUri":"/"
  520. },
  521. "input":{"shape":"UpdateAliasRequest"},
  522. "errors":[
  523. {"shape":"DependencyTimeoutException"},
  524. {"shape":"NotFoundException"},
  525. {"shape":"KMSInternalException"},
  526. {"shape":"KMSInvalidStateException"}
  527. ]
  528. },
  529. "UpdateKeyDescription":{
  530. "name":"UpdateKeyDescription",
  531. "http":{
  532. "method":"POST",
  533. "requestUri":"/"
  534. },
  535. "input":{"shape":"UpdateKeyDescriptionRequest"},
  536. "errors":[
  537. {"shape":"NotFoundException"},
  538. {"shape":"InvalidArnException"},
  539. {"shape":"DependencyTimeoutException"},
  540. {"shape":"KMSInternalException"},
  541. {"shape":"KMSInvalidStateException"}
  542. ]
  543. }
  544. },
  545. "shapes":{
  546. "AWSAccountIdType":{"type":"string"},
  547. "AlgorithmSpec":{
  548. "type":"string",
  549. "enum":[
  550. "RSAES_PKCS1_V1_5",
  551. "RSAES_OAEP_SHA_1",
  552. "RSAES_OAEP_SHA_256"
  553. ]
  554. },
  555. "AliasList":{
  556. "type":"list",
  557. "member":{"shape":"AliasListEntry"}
  558. },
  559. "AliasListEntry":{
  560. "type":"structure",
  561. "members":{
  562. "AliasName":{"shape":"AliasNameType"},
  563. "AliasArn":{"shape":"ArnType"},
  564. "TargetKeyId":{"shape":"KeyIdType"}
  565. }
  566. },
  567. "AliasNameType":{
  568. "type":"string",
  569. "max":256,
  570. "min":1,
  571. "pattern":"^[a-zA-Z0-9:/_-]+$"
  572. },
  573. "AlreadyExistsException":{
  574. "type":"structure",
  575. "members":{
  576. "message":{"shape":"ErrorMessageType"}
  577. },
  578. "exception":true
  579. },
  580. "ArnType":{
  581. "type":"string",
  582. "max":2048,
  583. "min":20
  584. },
  585. "BooleanType":{"type":"boolean"},
  586. "CancelKeyDeletionRequest":{
  587. "type":"structure",
  588. "required":["KeyId"],
  589. "members":{
  590. "KeyId":{"shape":"KeyIdType"}
  591. }
  592. },
  593. "CancelKeyDeletionResponse":{
  594. "type":"structure",
  595. "members":{
  596. "KeyId":{"shape":"KeyIdType"}
  597. }
  598. },
  599. "CiphertextType":{
  600. "type":"blob",
  601. "max":6144,
  602. "min":1
  603. },
  604. "CreateAliasRequest":{
  605. "type":"structure",
  606. "required":[
  607. "AliasName",
  608. "TargetKeyId"
  609. ],
  610. "members":{
  611. "AliasName":{"shape":"AliasNameType"},
  612. "TargetKeyId":{"shape":"KeyIdType"}
  613. }
  614. },
  615. "CreateGrantRequest":{
  616. "type":"structure",
  617. "required":[
  618. "KeyId",
  619. "GranteePrincipal"
  620. ],
  621. "members":{
  622. "KeyId":{"shape":"KeyIdType"},
  623. "GranteePrincipal":{"shape":"PrincipalIdType"},
  624. "RetiringPrincipal":{"shape":"PrincipalIdType"},
  625. "Operations":{"shape":"GrantOperationList"},
  626. "Constraints":{"shape":"GrantConstraints"},
  627. "GrantTokens":{"shape":"GrantTokenList"},
  628. "Name":{"shape":"GrantNameType"}
  629. }
  630. },
  631. "CreateGrantResponse":{
  632. "type":"structure",
  633. "members":{
  634. "GrantToken":{"shape":"GrantTokenType"},
  635. "GrantId":{"shape":"GrantIdType"}
  636. }
  637. },
  638. "CreateKeyRequest":{
  639. "type":"structure",
  640. "members":{
  641. "Policy":{"shape":"PolicyType"},
  642. "Description":{"shape":"DescriptionType"},
  643. "KeyUsage":{"shape":"KeyUsageType"},
  644. "Origin":{"shape":"OriginType"},
  645. "BypassPolicyLockoutSafetyCheck":{"shape":"BooleanType"}
  646. }
  647. },
  648. "CreateKeyResponse":{
  649. "type":"structure",
  650. "members":{
  651. "KeyMetadata":{"shape":"KeyMetadata"}
  652. }
  653. },
  654. "DataKeySpec":{
  655. "type":"string",
  656. "enum":[
  657. "AES_256",
  658. "AES_128"
  659. ]
  660. },
  661. "DateType":{"type":"timestamp"},
  662. "DecryptRequest":{
  663. "type":"structure",
  664. "required":["CiphertextBlob"],
  665. "members":{
  666. "CiphertextBlob":{"shape":"CiphertextType"},
  667. "EncryptionContext":{"shape":"EncryptionContextType"},
  668. "GrantTokens":{"shape":"GrantTokenList"}
  669. }
  670. },
  671. "DecryptResponse":{
  672. "type":"structure",
  673. "members":{
  674. "KeyId":{"shape":"KeyIdType"},
  675. "Plaintext":{"shape":"PlaintextType"}
  676. }
  677. },
  678. "DeleteAliasRequest":{
  679. "type":"structure",
  680. "required":["AliasName"],
  681. "members":{
  682. "AliasName":{"shape":"AliasNameType"}
  683. }
  684. },
  685. "DeleteImportedKeyMaterialRequest":{
  686. "type":"structure",
  687. "required":["KeyId"],
  688. "members":{
  689. "KeyId":{"shape":"KeyIdType"}
  690. }
  691. },
  692. "DependencyTimeoutException":{
  693. "type":"structure",
  694. "members":{
  695. "message":{"shape":"ErrorMessageType"}
  696. },
  697. "exception":true,
  698. "fault":true
  699. },
  700. "DescribeKeyRequest":{
  701. "type":"structure",
  702. "required":["KeyId"],
  703. "members":{
  704. "KeyId":{"shape":"KeyIdType"},
  705. "GrantTokens":{"shape":"GrantTokenList"}
  706. }
  707. },
  708. "DescribeKeyResponse":{
  709. "type":"structure",
  710. "members":{
  711. "KeyMetadata":{"shape":"KeyMetadata"}
  712. }
  713. },
  714. "DescriptionType":{
  715. "type":"string",
  716. "max":8192,
  717. "min":0
  718. },
  719. "DisableKeyRequest":{
  720. "type":"structure",
  721. "required":["KeyId"],
  722. "members":{
  723. "KeyId":{"shape":"KeyIdType"}
  724. }
  725. },
  726. "DisableKeyRotationRequest":{
  727. "type":"structure",
  728. "required":["KeyId"],
  729. "members":{
  730. "KeyId":{"shape":"KeyIdType"}
  731. }
  732. },
  733. "DisabledException":{
  734. "type":"structure",
  735. "members":{
  736. "message":{"shape":"ErrorMessageType"}
  737. },
  738. "exception":true
  739. },
  740. "EnableKeyRequest":{
  741. "type":"structure",
  742. "required":["KeyId"],
  743. "members":{
  744. "KeyId":{"shape":"KeyIdType"}
  745. }
  746. },
  747. "EnableKeyRotationRequest":{
  748. "type":"structure",
  749. "required":["KeyId"],
  750. "members":{
  751. "KeyId":{"shape":"KeyIdType"}
  752. }
  753. },
  754. "EncryptRequest":{
  755. "type":"structure",
  756. "required":[
  757. "KeyId",
  758. "Plaintext"
  759. ],
  760. "members":{
  761. "KeyId":{"shape":"KeyIdType"},
  762. "Plaintext":{"shape":"PlaintextType"},
  763. "EncryptionContext":{"shape":"EncryptionContextType"},
  764. "GrantTokens":{"shape":"GrantTokenList"}
  765. }
  766. },
  767. "EncryptResponse":{
  768. "type":"structure",
  769. "members":{
  770. "CiphertextBlob":{"shape":"CiphertextType"},
  771. "KeyId":{"shape":"KeyIdType"}
  772. }
  773. },
  774. "EncryptionContextKey":{"type":"string"},
  775. "EncryptionContextType":{
  776. "type":"map",
  777. "key":{"shape":"EncryptionContextKey"},
  778. "value":{"shape":"EncryptionContextValue"}
  779. },
  780. "EncryptionContextValue":{"type":"string"},
  781. "ErrorMessageType":{"type":"string"},
  782. "ExpirationModelType":{
  783. "type":"string",
  784. "enum":[
  785. "KEY_MATERIAL_EXPIRES",
  786. "KEY_MATERIAL_DOES_NOT_EXPIRE"
  787. ]
  788. },
  789. "ExpiredImportTokenException":{
  790. "type":"structure",
  791. "members":{
  792. "message":{"shape":"ErrorMessageType"}
  793. },
  794. "exception":true
  795. },
  796. "GenerateDataKeyRequest":{
  797. "type":"structure",
  798. "required":["KeyId"],
  799. "members":{
  800. "KeyId":{"shape":"KeyIdType"},
  801. "EncryptionContext":{"shape":"EncryptionContextType"},
  802. "NumberOfBytes":{"shape":"NumberOfBytesType"},
  803. "KeySpec":{"shape":"DataKeySpec"},
  804. "GrantTokens":{"shape":"GrantTokenList"}
  805. }
  806. },
  807. "GenerateDataKeyResponse":{
  808. "type":"structure",
  809. "members":{
  810. "CiphertextBlob":{"shape":"CiphertextType"},
  811. "Plaintext":{"shape":"PlaintextType"},
  812. "KeyId":{"shape":"KeyIdType"}
  813. }
  814. },
  815. "GenerateDataKeyWithoutPlaintextRequest":{
  816. "type":"structure",
  817. "required":["KeyId"],
  818. "members":{
  819. "KeyId":{"shape":"KeyIdType"},
  820. "EncryptionContext":{"shape":"EncryptionContextType"},
  821. "KeySpec":{"shape":"DataKeySpec"},
  822. "NumberOfBytes":{"shape":"NumberOfBytesType"},
  823. "GrantTokens":{"shape":"GrantTokenList"}
  824. }
  825. },
  826. "GenerateDataKeyWithoutPlaintextResponse":{
  827. "type":"structure",
  828. "members":{
  829. "CiphertextBlob":{"shape":"CiphertextType"},
  830. "KeyId":{"shape":"KeyIdType"}
  831. }
  832. },
  833. "GenerateRandomRequest":{
  834. "type":"structure",
  835. "members":{
  836. "NumberOfBytes":{"shape":"NumberOfBytesType"}
  837. }
  838. },
  839. "GenerateRandomResponse":{
  840. "type":"structure",
  841. "members":{
  842. "Plaintext":{"shape":"PlaintextType"}
  843. }
  844. },
  845. "GetKeyPolicyRequest":{
  846. "type":"structure",
  847. "required":[
  848. "KeyId",
  849. "PolicyName"
  850. ],
  851. "members":{
  852. "KeyId":{"shape":"KeyIdType"},
  853. "PolicyName":{"shape":"PolicyNameType"}
  854. }
  855. },
  856. "GetKeyPolicyResponse":{
  857. "type":"structure",
  858. "members":{
  859. "Policy":{"shape":"PolicyType"}
  860. }
  861. },
  862. "GetKeyRotationStatusRequest":{
  863. "type":"structure",
  864. "required":["KeyId"],
  865. "members":{
  866. "KeyId":{"shape":"KeyIdType"}
  867. }
  868. },
  869. "GetKeyRotationStatusResponse":{
  870. "type":"structure",
  871. "members":{
  872. "KeyRotationEnabled":{"shape":"BooleanType"}
  873. }
  874. },
  875. "GetParametersForImportRequest":{
  876. "type":"structure",
  877. "required":[
  878. "KeyId",
  879. "WrappingAlgorithm",
  880. "WrappingKeySpec"
  881. ],
  882. "members":{
  883. "KeyId":{"shape":"KeyIdType"},
  884. "WrappingAlgorithm":{"shape":"AlgorithmSpec"},
  885. "WrappingKeySpec":{"shape":"WrappingKeySpec"}
  886. }
  887. },
  888. "GetParametersForImportResponse":{
  889. "type":"structure",
  890. "members":{
  891. "KeyId":{"shape":"KeyIdType"},
  892. "ImportToken":{"shape":"CiphertextType"},
  893. "PublicKey":{"shape":"PlaintextType"},
  894. "ParametersValidTo":{"shape":"DateType"}
  895. }
  896. },
  897. "GrantConstraints":{
  898. "type":"structure",
  899. "members":{
  900. "EncryptionContextSubset":{"shape":"EncryptionContextType"},
  901. "EncryptionContextEquals":{"shape":"EncryptionContextType"}
  902. }
  903. },
  904. "GrantIdType":{
  905. "type":"string",
  906. "max":128,
  907. "min":1
  908. },
  909. "GrantList":{
  910. "type":"list",
  911. "member":{"shape":"GrantListEntry"}
  912. },
  913. "GrantListEntry":{
  914. "type":"structure",
  915. "members":{
  916. "KeyId":{"shape":"KeyIdType"},
  917. "GrantId":{"shape":"GrantIdType"},
  918. "Name":{"shape":"GrantNameType"},
  919. "CreationDate":{"shape":"DateType"},
  920. "GranteePrincipal":{"shape":"PrincipalIdType"},
  921. "RetiringPrincipal":{"shape":"PrincipalIdType"},
  922. "IssuingAccount":{"shape":"PrincipalIdType"},
  923. "Operations":{"shape":"GrantOperationList"},
  924. "Constraints":{"shape":"GrantConstraints"}
  925. }
  926. },
  927. "GrantNameType":{
  928. "type":"string",
  929. "max":256,
  930. "min":1,
  931. "pattern":"^[a-zA-Z0-9:/_-]+$"
  932. },
  933. "GrantOperation":{
  934. "type":"string",
  935. "enum":[
  936. "Decrypt",
  937. "Encrypt",
  938. "GenerateDataKey",
  939. "GenerateDataKeyWithoutPlaintext",
  940. "ReEncryptFrom",
  941. "ReEncryptTo",
  942. "CreateGrant",
  943. "RetireGrant",
  944. "DescribeKey"
  945. ]
  946. },
  947. "GrantOperationList":{
  948. "type":"list",
  949. "member":{"shape":"GrantOperation"}
  950. },
  951. "GrantTokenList":{
  952. "type":"list",
  953. "member":{"shape":"GrantTokenType"},
  954. "max":10,
  955. "min":0
  956. },
  957. "GrantTokenType":{
  958. "type":"string",
  959. "max":8192,
  960. "min":1
  961. },
  962. "ImportKeyMaterialRequest":{
  963. "type":"structure",
  964. "required":[
  965. "KeyId",
  966. "ImportToken",
  967. "EncryptedKeyMaterial",
  968. "ValidTo"
  969. ],
  970. "members":{
  971. "KeyId":{"shape":"KeyIdType"},
  972. "ImportToken":{"shape":"CiphertextType"},
  973. "EncryptedKeyMaterial":{"shape":"CiphertextType"},
  974. "ValidTo":{"shape":"DateType"},
  975. "ExpirationModel":{"shape":"ExpirationModelType"}
  976. }
  977. },
  978. "ImportKeyMaterialResponse":{
  979. "type":"structure",
  980. "members":{
  981. }
  982. },
  983. "IncorrectKeyMaterialException":{
  984. "type":"structure",
  985. "members":{
  986. "message":{"shape":"ErrorMessageType"}
  987. },
  988. "exception":true
  989. },
  990. "InvalidAliasNameException":{
  991. "type":"structure",
  992. "members":{
  993. "message":{"shape":"ErrorMessageType"}
  994. },
  995. "exception":true
  996. },
  997. "InvalidArnException":{
  998. "type":"structure",
  999. "members":{
  1000. "message":{"shape":"ErrorMessageType"}
  1001. },
  1002. "exception":true
  1003. },
  1004. "InvalidCiphertextException":{
  1005. "type":"structure",
  1006. "members":{
  1007. "message":{"shape":"ErrorMessageType"}
  1008. },
  1009. "exception":true
  1010. },
  1011. "InvalidGrantIdException":{
  1012. "type":"structure",
  1013. "members":{
  1014. "message":{"shape":"ErrorMessageType"}
  1015. },
  1016. "exception":true
  1017. },
  1018. "InvalidGrantTokenException":{
  1019. "type":"structure",
  1020. "members":{
  1021. "message":{"shape":"ErrorMessageType"}
  1022. },
  1023. "exception":true
  1024. },
  1025. "InvalidImportTokenException":{
  1026. "type":"structure",
  1027. "members":{
  1028. "message":{"shape":"ErrorMessageType"}
  1029. },
  1030. "exception":true
  1031. },
  1032. "InvalidKeyUsageException":{
  1033. "type":"structure",
  1034. "members":{
  1035. "message":{"shape":"ErrorMessageType"}
  1036. },
  1037. "exception":true
  1038. },
  1039. "InvalidMarkerException":{
  1040. "type":"structure",
  1041. "members":{
  1042. "message":{"shape":"ErrorMessageType"}
  1043. },
  1044. "exception":true
  1045. },
  1046. "KMSInternalException":{
  1047. "type":"structure",
  1048. "members":{
  1049. "message":{"shape":"ErrorMessageType"}
  1050. },
  1051. "exception":true
  1052. },
  1053. "KMSInvalidStateException":{
  1054. "type":"structure",
  1055. "members":{
  1056. "message":{"shape":"ErrorMessageType"}
  1057. },
  1058. "exception":true
  1059. },
  1060. "KeyIdType":{
  1061. "type":"string",
  1062. "max":256,
  1063. "min":1
  1064. },
  1065. "KeyList":{
  1066. "type":"list",
  1067. "member":{"shape":"KeyListEntry"}
  1068. },
  1069. "KeyListEntry":{
  1070. "type":"structure",
  1071. "members":{
  1072. "KeyId":{"shape":"KeyIdType"},
  1073. "KeyArn":{"shape":"ArnType"}
  1074. }
  1075. },
  1076. "KeyMetadata":{
  1077. "type":"structure",
  1078. "required":["KeyId"],
  1079. "members":{
  1080. "AWSAccountId":{"shape":"AWSAccountIdType"},
  1081. "KeyId":{"shape":"KeyIdType"},
  1082. "Arn":{"shape":"ArnType"},
  1083. "CreationDate":{"shape":"DateType"},
  1084. "Enabled":{"shape":"BooleanType"},
  1085. "Description":{"shape":"DescriptionType"},
  1086. "KeyUsage":{"shape":"KeyUsageType"},
  1087. "KeyState":{"shape":"KeyState"},
  1088. "DeletionDate":{"shape":"DateType"},
  1089. "ValidTo":{"shape":"DateType"},
  1090. "Origin":{"shape":"OriginType"},
  1091. "ExpirationModel":{"shape":"ExpirationModelType"}
  1092. }
  1093. },
  1094. "KeyState":{
  1095. "type":"string",
  1096. "enum":[
  1097. "Enabled",
  1098. "Disabled",
  1099. "PendingDeletion",
  1100. "PendingImport"
  1101. ]
  1102. },
  1103. "KeyUnavailableException":{
  1104. "type":"structure",
  1105. "members":{
  1106. "message":{"shape":"ErrorMessageType"}
  1107. },
  1108. "exception":true,
  1109. "fault":true
  1110. },
  1111. "KeyUsageType":{
  1112. "type":"string",
  1113. "enum":["ENCRYPT_DECRYPT"]
  1114. },
  1115. "LimitExceededException":{
  1116. "type":"structure",
  1117. "members":{
  1118. "message":{"shape":"ErrorMessageType"}
  1119. },
  1120. "exception":true
  1121. },
  1122. "LimitType":{
  1123. "type":"integer",
  1124. "max":1000,
  1125. "min":1
  1126. },
  1127. "ListAliasesRequest":{
  1128. "type":"structure",
  1129. "members":{
  1130. "Limit":{"shape":"LimitType"},
  1131. "Marker":{"shape":"MarkerType"}
  1132. }
  1133. },
  1134. "ListAliasesResponse":{
  1135. "type":"structure",
  1136. "members":{
  1137. "Aliases":{"shape":"AliasList"},
  1138. "NextMarker":{"shape":"MarkerType"},
  1139. "Truncated":{"shape":"BooleanType"}
  1140. }
  1141. },
  1142. "ListGrantsRequest":{
  1143. "type":"structure",
  1144. "required":["KeyId"],
  1145. "members":{
  1146. "Limit":{"shape":"LimitType"},
  1147. "Marker":{"shape":"MarkerType"},
  1148. "KeyId":{"shape":"KeyIdType"}
  1149. }
  1150. },
  1151. "ListGrantsResponse":{
  1152. "type":"structure",
  1153. "members":{
  1154. "Grants":{"shape":"GrantList"},
  1155. "NextMarker":{"shape":"MarkerType"},
  1156. "Truncated":{"shape":"BooleanType"}
  1157. }
  1158. },
  1159. "ListKeyPoliciesRequest":{
  1160. "type":"structure",
  1161. "required":["KeyId"],
  1162. "members":{
  1163. "KeyId":{"shape":"KeyIdType"},
  1164. "Limit":{"shape":"LimitType"},
  1165. "Marker":{"shape":"MarkerType"}
  1166. }
  1167. },
  1168. "ListKeyPoliciesResponse":{
  1169. "type":"structure",
  1170. "members":{
  1171. "PolicyNames":{"shape":"PolicyNameList"},
  1172. "NextMarker":{"shape":"MarkerType"},
  1173. "Truncated":{"shape":"BooleanType"}
  1174. }
  1175. },
  1176. "ListKeysRequest":{
  1177. "type":"structure",
  1178. "members":{
  1179. "Limit":{"shape":"LimitType"},
  1180. "Marker":{"shape":"MarkerType"}
  1181. }
  1182. },
  1183. "ListKeysResponse":{
  1184. "type":"structure",
  1185. "members":{
  1186. "Keys":{"shape":"KeyList"},
  1187. "NextMarker":{"shape":"MarkerType"},
  1188. "Truncated":{"shape":"BooleanType"}
  1189. }
  1190. },
  1191. "ListRetirableGrantsRequest":{
  1192. "type":"structure",
  1193. "required":["RetiringPrincipal"],
  1194. "members":{
  1195. "Limit":{"shape":"LimitType"},
  1196. "Marker":{"shape":"MarkerType"},
  1197. "RetiringPrincipal":{"shape":"PrincipalIdType"}
  1198. }
  1199. },
  1200. "MalformedPolicyDocumentException":{
  1201. "type":"structure",
  1202. "members":{
  1203. "message":{"shape":"ErrorMessageType"}
  1204. },
  1205. "exception":true
  1206. },
  1207. "MarkerType":{
  1208. "type":"string",
  1209. "max":320,
  1210. "min":1,
  1211. "pattern":"[\\u0020-\\u00FF]*"
  1212. },
  1213. "NotFoundException":{
  1214. "type":"structure",
  1215. "members":{
  1216. "message":{"shape":"ErrorMessageType"}
  1217. },
  1218. "exception":true
  1219. },
  1220. "NumberOfBytesType":{
  1221. "type":"integer",
  1222. "max":1024,
  1223. "min":1
  1224. },
  1225. "OriginType":{
  1226. "type":"string",
  1227. "enum":[
  1228. "AWS_KMS",
  1229. "EXTERNAL"
  1230. ]
  1231. },
  1232. "PendingWindowInDaysType":{
  1233. "type":"integer",
  1234. "max":365,
  1235. "min":1
  1236. },
  1237. "PlaintextType":{
  1238. "type":"blob",
  1239. "max":4096,
  1240. "min":1,
  1241. "sensitive":true
  1242. },
  1243. "PolicyNameList":{
  1244. "type":"list",
  1245. "member":{"shape":"PolicyNameType"}
  1246. },
  1247. "PolicyNameType":{
  1248. "type":"string",
  1249. "max":128,
  1250. "min":1,
  1251. "pattern":"[\\w]+"
  1252. },
  1253. "PolicyType":{
  1254. "type":"string",
  1255. "max":131072,
  1256. "min":1,
  1257. "pattern":"[\\u0009\\u000A\\u000D\\u0020-\\u00FF]+"
  1258. },
  1259. "PrincipalIdType":{
  1260. "type":"string",
  1261. "max":256,
  1262. "min":1
  1263. },
  1264. "PutKeyPolicyRequest":{
  1265. "type":"structure",
  1266. "required":[
  1267. "KeyId",
  1268. "PolicyName",
  1269. "Policy"
  1270. ],
  1271. "members":{
  1272. "KeyId":{"shape":"KeyIdType"},
  1273. "PolicyName":{"shape":"PolicyNameType"},
  1274. "Policy":{"shape":"PolicyType"},
  1275. "BypassPolicyLockoutSafetyCheck":{"shape":"BooleanType"}
  1276. }
  1277. },
  1278. "ReEncryptRequest":{
  1279. "type":"structure",
  1280. "required":[
  1281. "CiphertextBlob",
  1282. "DestinationKeyId"
  1283. ],
  1284. "members":{
  1285. "CiphertextBlob":{"shape":"CiphertextType"},
  1286. "SourceEncryptionContext":{"shape":"EncryptionContextType"},
  1287. "DestinationKeyId":{"shape":"KeyIdType"},
  1288. "DestinationEncryptionContext":{"shape":"EncryptionContextType"},
  1289. "GrantTokens":{"shape":"GrantTokenList"}
  1290. }
  1291. },
  1292. "ReEncryptResponse":{
  1293. "type":"structure",
  1294. "members":{
  1295. "CiphertextBlob":{"shape":"CiphertextType"},
  1296. "SourceKeyId":{"shape":"KeyIdType"},
  1297. "KeyId":{"shape":"KeyIdType"}
  1298. }
  1299. },
  1300. "RetireGrantRequest":{
  1301. "type":"structure",
  1302. "members":{
  1303. "GrantToken":{"shape":"GrantTokenType"},
  1304. "KeyId":{"shape":"KeyIdType"},
  1305. "GrantId":{"shape":"GrantIdType"}
  1306. }
  1307. },
  1308. "RevokeGrantRequest":{
  1309. "type":"structure",
  1310. "required":[
  1311. "KeyId",
  1312. "GrantId"
  1313. ],
  1314. "members":{
  1315. "KeyId":{"shape":"KeyIdType"},
  1316. "GrantId":{"shape":"GrantIdType"}
  1317. }
  1318. },
  1319. "ScheduleKeyDeletionRequest":{
  1320. "type":"structure",
  1321. "required":["KeyId"],
  1322. "members":{
  1323. "KeyId":{"shape":"KeyIdType"},
  1324. "PendingWindowInDays":{"shape":"PendingWindowInDaysType"}
  1325. }
  1326. },
  1327. "ScheduleKeyDeletionResponse":{
  1328. "type":"structure",
  1329. "members":{
  1330. "KeyId":{"shape":"KeyIdType"},
  1331. "DeletionDate":{"shape":"DateType"}
  1332. }
  1333. },
  1334. "UnsupportedOperationException":{
  1335. "type":"structure",
  1336. "members":{
  1337. "message":{"shape":"ErrorMessageType"}
  1338. },
  1339. "exception":true
  1340. },
  1341. "UpdateAliasRequest":{
  1342. "type":"structure",
  1343. "required":[
  1344. "AliasName",
  1345. "TargetKeyId"
  1346. ],
  1347. "members":{
  1348. "AliasName":{"shape":"AliasNameType"},
  1349. "TargetKeyId":{"shape":"KeyIdType"}
  1350. }
  1351. },
  1352. "UpdateKeyDescriptionRequest":{
  1353. "type":"structure",
  1354. "required":[
  1355. "KeyId",
  1356. "Description"
  1357. ],
  1358. "members":{
  1359. "KeyId":{"shape":"KeyIdType"},
  1360. "Description":{"shape":"DescriptionType"}
  1361. }
  1362. },
  1363. "WrappingKeySpec":{
  1364. "type":"string",
  1365. "enum":["RSA_2048"]
  1366. }
  1367. }
  1368. }