payment-cryptography-2021-09-14.min.json 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854
  1. {
  2. "version": "2.0",
  3. "metadata": {
  4. "apiVersion": "2021-09-14",
  5. "endpointPrefix": "controlplane.payment-cryptography",
  6. "jsonVersion": "1.0",
  7. "protocol": "json",
  8. "serviceFullName": "Payment Cryptography Control Plane",
  9. "serviceId": "Payment Cryptography",
  10. "signatureVersion": "v4",
  11. "signingName": "payment-cryptography",
  12. "targetPrefix": "PaymentCryptographyControlPlane",
  13. "uid": "payment-cryptography-2021-09-14"
  14. },
  15. "operations": {
  16. "CreateAlias": {
  17. "input": {
  18. "type": "structure",
  19. "required": [
  20. "AliasName"
  21. ],
  22. "members": {
  23. "AliasName": {},
  24. "KeyArn": {}
  25. }
  26. },
  27. "output": {
  28. "type": "structure",
  29. "required": [
  30. "Alias"
  31. ],
  32. "members": {
  33. "Alias": {
  34. "shape": "S5"
  35. }
  36. }
  37. },
  38. "idempotent": true
  39. },
  40. "CreateKey": {
  41. "input": {
  42. "type": "structure",
  43. "required": [
  44. "KeyAttributes",
  45. "Exportable"
  46. ],
  47. "members": {
  48. "KeyAttributes": {
  49. "shape": "S7"
  50. },
  51. "KeyCheckValueAlgorithm": {},
  52. "Exportable": {
  53. "type": "boolean"
  54. },
  55. "Enabled": {
  56. "type": "boolean"
  57. },
  58. "Tags": {
  59. "shape": "Sf"
  60. }
  61. }
  62. },
  63. "output": {
  64. "type": "structure",
  65. "required": [
  66. "Key"
  67. ],
  68. "members": {
  69. "Key": {
  70. "shape": "Sk"
  71. }
  72. }
  73. }
  74. },
  75. "DeleteAlias": {
  76. "input": {
  77. "type": "structure",
  78. "required": [
  79. "AliasName"
  80. ],
  81. "members": {
  82. "AliasName": {}
  83. }
  84. },
  85. "output": {
  86. "type": "structure",
  87. "members": {}
  88. },
  89. "idempotent": true
  90. },
  91. "DeleteKey": {
  92. "input": {
  93. "type": "structure",
  94. "required": [
  95. "KeyIdentifier"
  96. ],
  97. "members": {
  98. "KeyIdentifier": {},
  99. "DeleteKeyInDays": {
  100. "type": "integer"
  101. }
  102. }
  103. },
  104. "output": {
  105. "type": "structure",
  106. "required": [
  107. "Key"
  108. ],
  109. "members": {
  110. "Key": {
  111. "shape": "Sk"
  112. }
  113. }
  114. },
  115. "idempotent": true
  116. },
  117. "ExportKey": {
  118. "input": {
  119. "type": "structure",
  120. "required": [
  121. "KeyMaterial",
  122. "ExportKeyIdentifier"
  123. ],
  124. "members": {
  125. "KeyMaterial": {
  126. "type": "structure",
  127. "members": {
  128. "Tr31KeyBlock": {
  129. "type": "structure",
  130. "required": [
  131. "WrappingKeyIdentifier"
  132. ],
  133. "members": {
  134. "WrappingKeyIdentifier": {},
  135. "KeyBlockHeaders": {
  136. "shape": "Sy"
  137. }
  138. }
  139. },
  140. "Tr34KeyBlock": {
  141. "type": "structure",
  142. "required": [
  143. "CertificateAuthorityPublicKeyIdentifier",
  144. "WrappingKeyCertificate",
  145. "ExportToken",
  146. "KeyBlockFormat"
  147. ],
  148. "members": {
  149. "CertificateAuthorityPublicKeyIdentifier": {},
  150. "WrappingKeyCertificate": {
  151. "shape": "S15"
  152. },
  153. "ExportToken": {},
  154. "KeyBlockFormat": {},
  155. "RandomNonce": {},
  156. "KeyBlockHeaders": {
  157. "shape": "Sy"
  158. }
  159. }
  160. },
  161. "KeyCryptogram": {
  162. "type": "structure",
  163. "required": [
  164. "CertificateAuthorityPublicKeyIdentifier",
  165. "WrappingKeyCertificate"
  166. ],
  167. "members": {
  168. "CertificateAuthorityPublicKeyIdentifier": {},
  169. "WrappingKeyCertificate": {
  170. "shape": "S15"
  171. },
  172. "WrappingSpec": {}
  173. }
  174. }
  175. },
  176. "union": true
  177. },
  178. "ExportKeyIdentifier": {},
  179. "ExportAttributes": {
  180. "type": "structure",
  181. "members": {
  182. "ExportDukptInitialKey": {
  183. "type": "structure",
  184. "required": [
  185. "KeySerialNumber"
  186. ],
  187. "members": {
  188. "KeySerialNumber": {}
  189. }
  190. },
  191. "KeyCheckValueAlgorithm": {}
  192. }
  193. }
  194. }
  195. },
  196. "output": {
  197. "type": "structure",
  198. "members": {
  199. "WrappedKey": {
  200. "type": "structure",
  201. "required": [
  202. "WrappingKeyArn",
  203. "WrappedKeyMaterialFormat",
  204. "KeyMaterial"
  205. ],
  206. "members": {
  207. "WrappingKeyArn": {},
  208. "WrappedKeyMaterialFormat": {},
  209. "KeyMaterial": {
  210. "type": "string",
  211. "sensitive": true
  212. },
  213. "KeyCheckValue": {},
  214. "KeyCheckValueAlgorithm": {}
  215. }
  216. }
  217. }
  218. }
  219. },
  220. "GetAlias": {
  221. "input": {
  222. "type": "structure",
  223. "required": [
  224. "AliasName"
  225. ],
  226. "members": {
  227. "AliasName": {}
  228. }
  229. },
  230. "output": {
  231. "type": "structure",
  232. "required": [
  233. "Alias"
  234. ],
  235. "members": {
  236. "Alias": {
  237. "shape": "S5"
  238. }
  239. }
  240. }
  241. },
  242. "GetKey": {
  243. "input": {
  244. "type": "structure",
  245. "required": [
  246. "KeyIdentifier"
  247. ],
  248. "members": {
  249. "KeyIdentifier": {}
  250. }
  251. },
  252. "output": {
  253. "type": "structure",
  254. "required": [
  255. "Key"
  256. ],
  257. "members": {
  258. "Key": {
  259. "shape": "Sk"
  260. }
  261. }
  262. }
  263. },
  264. "GetParametersForExport": {
  265. "input": {
  266. "type": "structure",
  267. "required": [
  268. "KeyMaterialType",
  269. "SigningKeyAlgorithm"
  270. ],
  271. "members": {
  272. "KeyMaterialType": {},
  273. "SigningKeyAlgorithm": {}
  274. }
  275. },
  276. "output": {
  277. "type": "structure",
  278. "required": [
  279. "SigningKeyCertificate",
  280. "SigningKeyCertificateChain",
  281. "SigningKeyAlgorithm",
  282. "ExportToken",
  283. "ParametersValidUntilTimestamp"
  284. ],
  285. "members": {
  286. "SigningKeyCertificate": {
  287. "shape": "S15"
  288. },
  289. "SigningKeyCertificateChain": {
  290. "shape": "S15"
  291. },
  292. "SigningKeyAlgorithm": {},
  293. "ExportToken": {},
  294. "ParametersValidUntilTimestamp": {
  295. "type": "timestamp"
  296. }
  297. }
  298. }
  299. },
  300. "GetParametersForImport": {
  301. "input": {
  302. "type": "structure",
  303. "required": [
  304. "KeyMaterialType",
  305. "WrappingKeyAlgorithm"
  306. ],
  307. "members": {
  308. "KeyMaterialType": {},
  309. "WrappingKeyAlgorithm": {}
  310. }
  311. },
  312. "output": {
  313. "type": "structure",
  314. "required": [
  315. "WrappingKeyCertificate",
  316. "WrappingKeyCertificateChain",
  317. "WrappingKeyAlgorithm",
  318. "ImportToken",
  319. "ParametersValidUntilTimestamp"
  320. ],
  321. "members": {
  322. "WrappingKeyCertificate": {
  323. "shape": "S15"
  324. },
  325. "WrappingKeyCertificateChain": {
  326. "shape": "S15"
  327. },
  328. "WrappingKeyAlgorithm": {},
  329. "ImportToken": {},
  330. "ParametersValidUntilTimestamp": {
  331. "type": "timestamp"
  332. }
  333. }
  334. }
  335. },
  336. "GetPublicKeyCertificate": {
  337. "input": {
  338. "type": "structure",
  339. "required": [
  340. "KeyIdentifier"
  341. ],
  342. "members": {
  343. "KeyIdentifier": {}
  344. }
  345. },
  346. "output": {
  347. "type": "structure",
  348. "required": [
  349. "KeyCertificate",
  350. "KeyCertificateChain"
  351. ],
  352. "members": {
  353. "KeyCertificate": {
  354. "shape": "S15"
  355. },
  356. "KeyCertificateChain": {
  357. "shape": "S15"
  358. }
  359. }
  360. }
  361. },
  362. "ImportKey": {
  363. "input": {
  364. "type": "structure",
  365. "required": [
  366. "KeyMaterial"
  367. ],
  368. "members": {
  369. "KeyMaterial": {
  370. "type": "structure",
  371. "members": {
  372. "RootCertificatePublicKey": {
  373. "type": "structure",
  374. "required": [
  375. "KeyAttributes",
  376. "PublicKeyCertificate"
  377. ],
  378. "members": {
  379. "KeyAttributes": {
  380. "shape": "S7"
  381. },
  382. "PublicKeyCertificate": {
  383. "shape": "S15"
  384. }
  385. }
  386. },
  387. "TrustedCertificatePublicKey": {
  388. "type": "structure",
  389. "required": [
  390. "KeyAttributes",
  391. "PublicKeyCertificate",
  392. "CertificateAuthorityPublicKeyIdentifier"
  393. ],
  394. "members": {
  395. "KeyAttributes": {
  396. "shape": "S7"
  397. },
  398. "PublicKeyCertificate": {
  399. "shape": "S15"
  400. },
  401. "CertificateAuthorityPublicKeyIdentifier": {}
  402. }
  403. },
  404. "Tr31KeyBlock": {
  405. "type": "structure",
  406. "required": [
  407. "WrappingKeyIdentifier",
  408. "WrappedKeyBlock"
  409. ],
  410. "members": {
  411. "WrappingKeyIdentifier": {},
  412. "WrappedKeyBlock": {}
  413. }
  414. },
  415. "Tr34KeyBlock": {
  416. "type": "structure",
  417. "required": [
  418. "CertificateAuthorityPublicKeyIdentifier",
  419. "SigningKeyCertificate",
  420. "ImportToken",
  421. "WrappedKeyBlock",
  422. "KeyBlockFormat"
  423. ],
  424. "members": {
  425. "CertificateAuthorityPublicKeyIdentifier": {},
  426. "SigningKeyCertificate": {
  427. "shape": "S15"
  428. },
  429. "ImportToken": {},
  430. "WrappedKeyBlock": {},
  431. "KeyBlockFormat": {},
  432. "RandomNonce": {}
  433. }
  434. },
  435. "KeyCryptogram": {
  436. "type": "structure",
  437. "required": [
  438. "KeyAttributes",
  439. "Exportable",
  440. "WrappedKeyCryptogram",
  441. "ImportToken"
  442. ],
  443. "members": {
  444. "KeyAttributes": {
  445. "shape": "S7"
  446. },
  447. "Exportable": {
  448. "type": "boolean"
  449. },
  450. "WrappedKeyCryptogram": {},
  451. "ImportToken": {},
  452. "WrappingSpec": {}
  453. }
  454. }
  455. },
  456. "union": true
  457. },
  458. "KeyCheckValueAlgorithm": {},
  459. "Enabled": {
  460. "type": "boolean"
  461. },
  462. "Tags": {
  463. "shape": "Sf"
  464. }
  465. }
  466. },
  467. "output": {
  468. "type": "structure",
  469. "required": [
  470. "Key"
  471. ],
  472. "members": {
  473. "Key": {
  474. "shape": "Sk"
  475. }
  476. }
  477. }
  478. },
  479. "ListAliases": {
  480. "input": {
  481. "type": "structure",
  482. "members": {
  483. "NextToken": {},
  484. "MaxResults": {
  485. "type": "integer"
  486. }
  487. }
  488. },
  489. "output": {
  490. "type": "structure",
  491. "required": [
  492. "Aliases"
  493. ],
  494. "members": {
  495. "Aliases": {
  496. "type": "list",
  497. "member": {
  498. "shape": "S5"
  499. }
  500. },
  501. "NextToken": {}
  502. }
  503. }
  504. },
  505. "ListKeys": {
  506. "input": {
  507. "type": "structure",
  508. "members": {
  509. "KeyState": {},
  510. "NextToken": {},
  511. "MaxResults": {
  512. "type": "integer"
  513. }
  514. }
  515. },
  516. "output": {
  517. "type": "structure",
  518. "required": [
  519. "Keys"
  520. ],
  521. "members": {
  522. "Keys": {
  523. "type": "list",
  524. "member": {
  525. "type": "structure",
  526. "required": [
  527. "KeyArn",
  528. "KeyState",
  529. "KeyAttributes",
  530. "KeyCheckValue",
  531. "Exportable",
  532. "Enabled"
  533. ],
  534. "members": {
  535. "KeyArn": {},
  536. "KeyState": {},
  537. "KeyAttributes": {
  538. "shape": "S7"
  539. },
  540. "KeyCheckValue": {},
  541. "Exportable": {
  542. "type": "boolean"
  543. },
  544. "Enabled": {
  545. "type": "boolean"
  546. }
  547. }
  548. }
  549. },
  550. "NextToken": {}
  551. }
  552. }
  553. },
  554. "ListTagsForResource": {
  555. "input": {
  556. "type": "structure",
  557. "required": [
  558. "ResourceArn"
  559. ],
  560. "members": {
  561. "ResourceArn": {},
  562. "NextToken": {},
  563. "MaxResults": {
  564. "type": "integer"
  565. }
  566. }
  567. },
  568. "output": {
  569. "type": "structure",
  570. "required": [
  571. "Tags"
  572. ],
  573. "members": {
  574. "Tags": {
  575. "shape": "Sf"
  576. },
  577. "NextToken": {}
  578. }
  579. }
  580. },
  581. "RestoreKey": {
  582. "input": {
  583. "type": "structure",
  584. "required": [
  585. "KeyIdentifier"
  586. ],
  587. "members": {
  588. "KeyIdentifier": {}
  589. }
  590. },
  591. "output": {
  592. "type": "structure",
  593. "required": [
  594. "Key"
  595. ],
  596. "members": {
  597. "Key": {
  598. "shape": "Sk"
  599. }
  600. }
  601. }
  602. },
  603. "StartKeyUsage": {
  604. "input": {
  605. "type": "structure",
  606. "required": [
  607. "KeyIdentifier"
  608. ],
  609. "members": {
  610. "KeyIdentifier": {}
  611. }
  612. },
  613. "output": {
  614. "type": "structure",
  615. "required": [
  616. "Key"
  617. ],
  618. "members": {
  619. "Key": {
  620. "shape": "Sk"
  621. }
  622. }
  623. }
  624. },
  625. "StopKeyUsage": {
  626. "input": {
  627. "type": "structure",
  628. "required": [
  629. "KeyIdentifier"
  630. ],
  631. "members": {
  632. "KeyIdentifier": {}
  633. }
  634. },
  635. "output": {
  636. "type": "structure",
  637. "required": [
  638. "Key"
  639. ],
  640. "members": {
  641. "Key": {
  642. "shape": "Sk"
  643. }
  644. }
  645. }
  646. },
  647. "TagResource": {
  648. "input": {
  649. "type": "structure",
  650. "required": [
  651. "ResourceArn",
  652. "Tags"
  653. ],
  654. "members": {
  655. "ResourceArn": {},
  656. "Tags": {
  657. "shape": "Sf"
  658. }
  659. }
  660. },
  661. "output": {
  662. "type": "structure",
  663. "members": {}
  664. }
  665. },
  666. "UntagResource": {
  667. "input": {
  668. "type": "structure",
  669. "required": [
  670. "ResourceArn",
  671. "TagKeys"
  672. ],
  673. "members": {
  674. "ResourceArn": {},
  675. "TagKeys": {
  676. "type": "list",
  677. "member": {}
  678. }
  679. }
  680. },
  681. "output": {
  682. "type": "structure",
  683. "members": {}
  684. }
  685. },
  686. "UpdateAlias": {
  687. "input": {
  688. "type": "structure",
  689. "required": [
  690. "AliasName"
  691. ],
  692. "members": {
  693. "AliasName": {},
  694. "KeyArn": {}
  695. }
  696. },
  697. "output": {
  698. "type": "structure",
  699. "required": [
  700. "Alias"
  701. ],
  702. "members": {
  703. "Alias": {
  704. "shape": "S5"
  705. }
  706. }
  707. }
  708. }
  709. },
  710. "shapes": {
  711. "S5": {
  712. "type": "structure",
  713. "required": [
  714. "AliasName"
  715. ],
  716. "members": {
  717. "AliasName": {},
  718. "KeyArn": {}
  719. }
  720. },
  721. "S7": {
  722. "type": "structure",
  723. "required": [
  724. "KeyUsage",
  725. "KeyClass",
  726. "KeyAlgorithm",
  727. "KeyModesOfUse"
  728. ],
  729. "members": {
  730. "KeyUsage": {},
  731. "KeyClass": {},
  732. "KeyAlgorithm": {},
  733. "KeyModesOfUse": {
  734. "shape": "Sb"
  735. }
  736. }
  737. },
  738. "Sb": {
  739. "type": "structure",
  740. "members": {
  741. "Encrypt": {
  742. "type": "boolean"
  743. },
  744. "Decrypt": {
  745. "type": "boolean"
  746. },
  747. "Wrap": {
  748. "type": "boolean"
  749. },
  750. "Unwrap": {
  751. "type": "boolean"
  752. },
  753. "Generate": {
  754. "type": "boolean"
  755. },
  756. "Sign": {
  757. "type": "boolean"
  758. },
  759. "Verify": {
  760. "type": "boolean"
  761. },
  762. "DeriveKey": {
  763. "type": "boolean"
  764. },
  765. "NoRestrictions": {
  766. "type": "boolean"
  767. }
  768. }
  769. },
  770. "Sf": {
  771. "type": "list",
  772. "member": {
  773. "type": "structure",
  774. "required": [
  775. "Key"
  776. ],
  777. "members": {
  778. "Key": {},
  779. "Value": {}
  780. }
  781. }
  782. },
  783. "Sk": {
  784. "type": "structure",
  785. "required": [
  786. "KeyArn",
  787. "KeyAttributes",
  788. "KeyCheckValue",
  789. "KeyCheckValueAlgorithm",
  790. "Enabled",
  791. "Exportable",
  792. "KeyState",
  793. "KeyOrigin",
  794. "CreateTimestamp"
  795. ],
  796. "members": {
  797. "KeyArn": {},
  798. "KeyAttributes": {
  799. "shape": "S7"
  800. },
  801. "KeyCheckValue": {},
  802. "KeyCheckValueAlgorithm": {},
  803. "Enabled": {
  804. "type": "boolean"
  805. },
  806. "Exportable": {
  807. "type": "boolean"
  808. },
  809. "KeyState": {},
  810. "KeyOrigin": {},
  811. "CreateTimestamp": {
  812. "type": "timestamp"
  813. },
  814. "UsageStartTimestamp": {
  815. "type": "timestamp"
  816. },
  817. "UsageStopTimestamp": {
  818. "type": "timestamp"
  819. },
  820. "DeletePendingTimestamp": {
  821. "type": "timestamp"
  822. },
  823. "DeleteTimestamp": {
  824. "type": "timestamp"
  825. }
  826. }
  827. },
  828. "Sy": {
  829. "type": "structure",
  830. "members": {
  831. "KeyModesOfUse": {
  832. "shape": "Sb"
  833. },
  834. "KeyExportability": {},
  835. "KeyVersion": {},
  836. "OptionalBlocks": {
  837. "type": "map",
  838. "key": {
  839. "type": "string",
  840. "sensitive": true
  841. },
  842. "value": {
  843. "type": "string",
  844. "sensitive": true
  845. }
  846. }
  847. }
  848. },
  849. "S15": {
  850. "type": "string",
  851. "sensitive": true
  852. }
  853. }
  854. }