kms-2014-11-01.min.json 32 KB

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