Debian Codegraph @

models/apis/payment-cryptography/2021-09-14/api-2.json

raw
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 "name":"CreateAlias",
18 "http":{
19 "method":"POST",
20 "requestUri":"/"
21 },
22 "input":{"shape":"CreateAliasInput"},
23 "output":{"shape":"CreateAliasOutput"},
24 "errors":[
25 {"shape":"ServiceQuotaExceededException"},
26 {"shape":"ServiceUnavailableException"},
27 {"shape":"ValidationException"},
28 {"shape":"ConflictException"},
29 {"shape":"AccessDeniedException"},
30 {"shape":"ResourceNotFoundException"},
31 {"shape":"ThrottlingException"},
32 {"shape":"InternalServerException"}
33 ],
34 "idempotent":true
35 },
36 "CreateKey":{
37 "name":"CreateKey",
38 "http":{
39 "method":"POST",
40 "requestUri":"/"
41 },
42 "input":{"shape":"CreateKeyInput"},
43 "output":{"shape":"CreateKeyOutput"},
44 "errors":[
45 {"shape":"ServiceQuotaExceededException"},
46 {"shape":"ServiceUnavailableException"},
47 {"shape":"ValidationException"},
48 {"shape":"ConflictException"},
49 {"shape":"AccessDeniedException"},
50 {"shape":"ResourceNotFoundException"},
51 {"shape":"ThrottlingException"},
52 {"shape":"InternalServerException"}
53 ]
54 },
55 "DeleteAlias":{
56 "name":"DeleteAlias",
57 "http":{
58 "method":"POST",
59 "requestUri":"/"
60 },
61 "input":{"shape":"DeleteAliasInput"},
62 "output":{"shape":"DeleteAliasOutput"},
63 "errors":[
64 {"shape":"ServiceUnavailableException"},
65 {"shape":"ValidationException"},
66 {"shape":"ConflictException"},
67 {"shape":"AccessDeniedException"},
68 {"shape":"ResourceNotFoundException"},
69 {"shape":"ThrottlingException"},
70 {"shape":"InternalServerException"}
71 ],
72 "idempotent":true
73 },
74 "DeleteKey":{
75 "name":"DeleteKey",
76 "http":{
77 "method":"POST",
78 "requestUri":"/"
79 },
80 "input":{"shape":"DeleteKeyInput"},
81 "output":{"shape":"DeleteKeyOutput"},
82 "errors":[
83 {"shape":"ServiceUnavailableException"},
84 {"shape":"ValidationException"},
85 {"shape":"ConflictException"},
86 {"shape":"AccessDeniedException"},
87 {"shape":"ResourceNotFoundException"},
88 {"shape":"ThrottlingException"},
89 {"shape":"InternalServerException"}
90 ],
91 "idempotent":true
92 },
93 "ExportKey":{
94 "name":"ExportKey",
95 "http":{
96 "method":"POST",
97 "requestUri":"/"
98 },
99 "input":{"shape":"ExportKeyInput"},
100 "output":{"shape":"ExportKeyOutput"},
101 "errors":[
102 {"shape":"ServiceUnavailableException"},
103 {"shape":"ValidationException"},
104 {"shape":"ConflictException"},
105 {"shape":"AccessDeniedException"},
106 {"shape":"ResourceNotFoundException"},
107 {"shape":"ThrottlingException"},
108 {"shape":"InternalServerException"}
109 ]
110 },
111 "GetAlias":{
112 "name":"GetAlias",
113 "http":{
114 "method":"POST",
115 "requestUri":"/"
116 },
117 "input":{"shape":"GetAliasInput"},
118 "output":{"shape":"GetAliasOutput"},
119 "errors":[
120 {"shape":"ServiceUnavailableException"},
121 {"shape":"ValidationException"},
122 {"shape":"AccessDeniedException"},
123 {"shape":"ResourceNotFoundException"},
124 {"shape":"ThrottlingException"},
125 {"shape":"InternalServerException"}
126 ]
127 },
128 "GetKey":{
129 "name":"GetKey",
130 "http":{
131 "method":"POST",
132 "requestUri":"/"
133 },
134 "input":{"shape":"GetKeyInput"},
135 "output":{"shape":"GetKeyOutput"},
136 "errors":[
137 {"shape":"ServiceUnavailableException"},
138 {"shape":"ValidationException"},
139 {"shape":"AccessDeniedException"},
140 {"shape":"ResourceNotFoundException"},
141 {"shape":"ThrottlingException"},
142 {"shape":"InternalServerException"}
143 ]
144 },
145 "GetParametersForExport":{
146 "name":"GetParametersForExport",
147 "http":{
148 "method":"POST",
149 "requestUri":"/"
150 },
151 "input":{"shape":"GetParametersForExportInput"},
152 "output":{"shape":"GetParametersForExportOutput"},
153 "errors":[
154 {"shape":"ServiceQuotaExceededException"},
155 {"shape":"ServiceUnavailableException"},
156 {"shape":"ValidationException"},
157 {"shape":"ConflictException"},
158 {"shape":"AccessDeniedException"},
159 {"shape":"ResourceNotFoundException"},
160 {"shape":"ThrottlingException"},
161 {"shape":"InternalServerException"}
162 ]
163 },
164 "GetParametersForImport":{
165 "name":"GetParametersForImport",
166 "http":{
167 "method":"POST",
168 "requestUri":"/"
169 },
170 "input":{"shape":"GetParametersForImportInput"},
171 "output":{"shape":"GetParametersForImportOutput"},
172 "errors":[
173 {"shape":"ServiceQuotaExceededException"},
174 {"shape":"ServiceUnavailableException"},
175 {"shape":"ValidationException"},
176 {"shape":"ConflictException"},
177 {"shape":"AccessDeniedException"},
178 {"shape":"ResourceNotFoundException"},
179 {"shape":"ThrottlingException"},
180 {"shape":"InternalServerException"}
181 ]
182 },
183 "GetPublicKeyCertificate":{
184 "name":"GetPublicKeyCertificate",
185 "http":{
186 "method":"POST",
187 "requestUri":"/"
188 },
189 "input":{"shape":"GetPublicKeyCertificateInput"},
190 "output":{"shape":"GetPublicKeyCertificateOutput"},
191 "errors":[
192 {"shape":"ServiceUnavailableException"},
193 {"shape":"ValidationException"},
194 {"shape":"AccessDeniedException"},
195 {"shape":"ResourceNotFoundException"},
196 {"shape":"ThrottlingException"},
197 {"shape":"InternalServerException"}
198 ]
199 },
200 "ImportKey":{
201 "name":"ImportKey",
202 "http":{
203 "method":"POST",
204 "requestUri":"/"
205 },
206 "input":{"shape":"ImportKeyInput"},
207 "output":{"shape":"ImportKeyOutput"},
208 "errors":[
209 {"shape":"ServiceQuotaExceededException"},
210 {"shape":"ServiceUnavailableException"},
211 {"shape":"ValidationException"},
212 {"shape":"ConflictException"},
213 {"shape":"AccessDeniedException"},
214 {"shape":"ResourceNotFoundException"},
215 {"shape":"ThrottlingException"},
216 {"shape":"InternalServerException"}
217 ]
218 },
219 "ListAliases":{
220 "name":"ListAliases",
221 "http":{
222 "method":"POST",
223 "requestUri":"/"
224 },
225 "input":{"shape":"ListAliasesInput"},
226 "output":{"shape":"ListAliasesOutput"},
227 "errors":[
228 {"shape":"ServiceUnavailableException"},
229 {"shape":"ValidationException"},
230 {"shape":"AccessDeniedException"},
231 {"shape":"ResourceNotFoundException"},
232 {"shape":"ThrottlingException"},
233 {"shape":"InternalServerException"}
234 ]
235 },
236 "ListKeys":{
237 "name":"ListKeys",
238 "http":{
239 "method":"POST",
240 "requestUri":"/"
241 },
242 "input":{"shape":"ListKeysInput"},
243 "output":{"shape":"ListKeysOutput"},
244 "errors":[
245 {"shape":"ServiceUnavailableException"},
246 {"shape":"ValidationException"},
247 {"shape":"AccessDeniedException"},
248 {"shape":"ResourceNotFoundException"},
249 {"shape":"ThrottlingException"},
250 {"shape":"InternalServerException"}
251 ]
252 },
253 "ListTagsForResource":{
254 "name":"ListTagsForResource",
255 "http":{
256 "method":"POST",
257 "requestUri":"/"
258 },
259 "input":{"shape":"ListTagsForResourceInput"},
260 "output":{"shape":"ListTagsForResourceOutput"},
261 "errors":[
262 {"shape":"ServiceUnavailableException"},
263 {"shape":"ValidationException"},
264 {"shape":"AccessDeniedException"},
265 {"shape":"ResourceNotFoundException"},
266 {"shape":"ThrottlingException"},
267 {"shape":"InternalServerException"}
268 ]
269 },
270 "RestoreKey":{
271 "name":"RestoreKey",
272 "http":{
273 "method":"POST",
274 "requestUri":"/"
275 },
276 "input":{"shape":"RestoreKeyInput"},
277 "output":{"shape":"RestoreKeyOutput"},
278 "errors":[
279 {"shape":"ServiceQuotaExceededException"},
280 {"shape":"ServiceUnavailableException"},
281 {"shape":"ValidationException"},
282 {"shape":"ConflictException"},
283 {"shape":"AccessDeniedException"},
284 {"shape":"ResourceNotFoundException"},
285 {"shape":"ThrottlingException"},
286 {"shape":"InternalServerException"}
287 ]
288 },
289 "StartKeyUsage":{
290 "name":"StartKeyUsage",
291 "http":{
292 "method":"POST",
293 "requestUri":"/"
294 },
295 "input":{"shape":"StartKeyUsageInput"},
296 "output":{"shape":"StartKeyUsageOutput"},
297 "errors":[
298 {"shape":"ServiceQuotaExceededException"},
299 {"shape":"ServiceUnavailableException"},
300 {"shape":"ValidationException"},
301 {"shape":"ConflictException"},
302 {"shape":"AccessDeniedException"},
303 {"shape":"ResourceNotFoundException"},
304 {"shape":"ThrottlingException"},
305 {"shape":"InternalServerException"}
306 ]
307 },
308 "StopKeyUsage":{
309 "name":"StopKeyUsage",
310 "http":{
311 "method":"POST",
312 "requestUri":"/"
313 },
314 "input":{"shape":"StopKeyUsageInput"},
315 "output":{"shape":"StopKeyUsageOutput"},
316 "errors":[
317 {"shape":"ServiceQuotaExceededException"},
318 {"shape":"ServiceUnavailableException"},
319 {"shape":"ValidationException"},
320 {"shape":"ConflictException"},
321 {"shape":"AccessDeniedException"},
322 {"shape":"ResourceNotFoundException"},
323 {"shape":"ThrottlingException"},
324 {"shape":"InternalServerException"}
325 ]
326 },
327 "TagResource":{
328 "name":"TagResource",
329 "http":{
330 "method":"POST",
331 "requestUri":"/"
332 },
333 "input":{"shape":"TagResourceInput"},
334 "output":{"shape":"TagResourceOutput"},
335 "errors":[
336 {"shape":"ServiceQuotaExceededException"},
337 {"shape":"ServiceUnavailableException"},
338 {"shape":"ValidationException"},
339 {"shape":"ConflictException"},
340 {"shape":"AccessDeniedException"},
341 {"shape":"ResourceNotFoundException"},
342 {"shape":"ThrottlingException"},
343 {"shape":"InternalServerException"}
344 ]
345 },
346 "UntagResource":{
347 "name":"UntagResource",
348 "http":{
349 "method":"POST",
350 "requestUri":"/"
351 },
352 "input":{"shape":"UntagResourceInput"},
353 "output":{"shape":"UntagResourceOutput"},
354 "errors":[
355 {"shape":"ServiceUnavailableException"},
356 {"shape":"ValidationException"},
357 {"shape":"ConflictException"},
358 {"shape":"AccessDeniedException"},
359 {"shape":"ResourceNotFoundException"},
360 {"shape":"ThrottlingException"},
361 {"shape":"InternalServerException"}
362 ]
363 },
364 "UpdateAlias":{
365 "name":"UpdateAlias",
366 "http":{
367 "method":"POST",
368 "requestUri":"/"
369 },
370 "input":{"shape":"UpdateAliasInput"},
371 "output":{"shape":"UpdateAliasOutput"},
372 "errors":[
373 {"shape":"ServiceUnavailableException"},
374 {"shape":"ValidationException"},
375 {"shape":"ConflictException"},
376 {"shape":"AccessDeniedException"},
377 {"shape":"ResourceNotFoundException"},
378 {"shape":"ThrottlingException"},
379 {"shape":"InternalServerException"}
380 ]
381 }
382 },
383 "shapes":{
384 "AccessDeniedException":{
385 "type":"structure",
386 "members":{
387 "Message":{"shape":"String"}
388 },
389 "exception":true
390 },
391 "Alias":{
392 "type":"structure",
393 "required":["AliasName"],
394 "members":{
395 "AliasName":{"shape":"AliasName"},
396 "KeyArn":{"shape":"KeyArn"}
397 }
398 },
399 "AliasName":{
400 "type":"string",
401 "max":256,
402 "min":7,
403 "pattern":"^alias/[a-zA-Z0-9/_-]+$"
404 },
405 "Aliases":{
406 "type":"list",
407 "member":{"shape":"Alias"}
408 },
409 "Boolean":{
410 "type":"boolean",
411 "box":true
412 },
413 "CertificateType":{
414 "type":"string",
415 "max":32768,
416 "min":1,
417 "pattern":"^[^\\[;\\]<>]+$",
418 "sensitive":true
419 },
420 "ConflictException":{
421 "type":"structure",
422 "members":{
423 "Message":{"shape":"String"}
424 },
425 "exception":true
426 },
427 "CreateAliasInput":{
428 "type":"structure",
429 "required":["AliasName"],
430 "members":{
431 "AliasName":{"shape":"AliasName"},
432 "KeyArn":{"shape":"KeyArn"}
433 }
434 },
435 "CreateAliasOutput":{
436 "type":"structure",
437 "required":["Alias"],
438 "members":{
439 "Alias":{"shape":"Alias"}
440 }
441 },
442 "CreateKeyInput":{
443 "type":"structure",
444 "required":[
445 "Exportable",
446 "KeyAttributes"
447 ],
448 "members":{
449 "Enabled":{"shape":"Boolean"},
450 "Exportable":{"shape":"Boolean"},
451 "KeyAttributes":{"shape":"KeyAttributes"},
452 "KeyCheckValueAlgorithm":{"shape":"KeyCheckValueAlgorithm"},
453 "Tags":{"shape":"Tags"}
454 }
455 },
456 "CreateKeyOutput":{
457 "type":"structure",
458 "required":["Key"],
459 "members":{
460 "Key":{"shape":"Key"}
461 }
462 },
463 "DeleteAliasInput":{
464 "type":"structure",
465 "required":["AliasName"],
466 "members":{
467 "AliasName":{"shape":"AliasName"}
468 }
469 },
470 "DeleteAliasOutput":{
471 "type":"structure",
472 "members":{
473 }
474 },
475 "DeleteKeyInput":{
476 "type":"structure",
477 "required":["KeyIdentifier"],
478 "members":{
479 "DeleteKeyInDays":{"shape":"DeleteKeyInputDeleteKeyInDaysInteger"},
480 "KeyIdentifier":{"shape":"KeyArnOrKeyAliasType"}
481 }
482 },
483 "DeleteKeyInputDeleteKeyInDaysInteger":{
484 "type":"integer",
485 "box":true,
486 "max":180,
487 "min":3
488 },
489 "DeleteKeyOutput":{
490 "type":"structure",
491 "required":["Key"],
492 "members":{
493 "Key":{"shape":"Key"}
494 }
495 },
496 "ExportAttributes":{
497 "type":"structure",
498 "members":{
499 "ExportDukptInitialKey":{"shape":"ExportDukptInitialKey"},
500 "KeyCheckValueAlgorithm":{"shape":"KeyCheckValueAlgorithm"}
501 }
502 },
503 "ExportDukptInitialKey":{
504 "type":"structure",
505 "required":["KeySerialNumber"],
506 "members":{
507 "KeySerialNumber":{"shape":"HexLength20Or24"}
508 }
509 },
510 "ExportKeyInput":{
511 "type":"structure",
512 "required":[
513 "ExportKeyIdentifier",
514 "KeyMaterial"
515 ],
516 "members":{
517 "ExportAttributes":{"shape":"ExportAttributes"},
518 "ExportKeyIdentifier":{"shape":"KeyArnOrKeyAliasType"},
519 "KeyMaterial":{"shape":"ExportKeyMaterial"}
520 }
521 },
522 "ExportKeyMaterial":{
523 "type":"structure",
524 "members":{
525 "Tr31KeyBlock":{"shape":"ExportTr31KeyBlock"},
526 "Tr34KeyBlock":{"shape":"ExportTr34KeyBlock"}
527 },
528 "union":true
529 },
530 "ExportKeyOutput":{
531 "type":"structure",
532 "members":{
533 "WrappedKey":{"shape":"WrappedKey"}
534 }
535 },
536 "ExportTokenId":{
537 "type":"string",
538 "pattern":"^export-token-[0-9a-zA-Z]{16,64}$"
539 },
540 "ExportTr31KeyBlock":{
541 "type":"structure",
542 "required":["WrappingKeyIdentifier"],
543 "members":{
544 "WrappingKeyIdentifier":{"shape":"KeyArnOrKeyAliasType"}
545 }
546 },
547 "ExportTr34KeyBlock":{
548 "type":"structure",
549 "required":[
550 "CertificateAuthorityPublicKeyIdentifier",
551 "ExportToken",
552 "KeyBlockFormat",
553 "WrappingKeyCertificate"
554 ],
555 "members":{
556 "CertificateAuthorityPublicKeyIdentifier":{"shape":"KeyArnOrKeyAliasType"},
557 "ExportToken":{"shape":"ExportTokenId"},
558 "KeyBlockFormat":{"shape":"Tr34KeyBlockFormat"},
559 "RandomNonce":{"shape":"HexLength16"},
560 "WrappingKeyCertificate":{"shape":"CertificateType"}
561 }
562 },
563 "GetAliasInput":{
564 "type":"structure",
565 "required":["AliasName"],
566 "members":{
567 "AliasName":{"shape":"AliasName"}
568 }
569 },
570 "GetAliasOutput":{
571 "type":"structure",
572 "required":["Alias"],
573 "members":{
574 "Alias":{"shape":"Alias"}
575 }
576 },
577 "GetKeyInput":{
578 "type":"structure",
579 "required":["KeyIdentifier"],
580 "members":{
581 "KeyIdentifier":{"shape":"KeyArnOrKeyAliasType"}
582 }
583 },
584 "GetKeyOutput":{
585 "type":"structure",
586 "required":["Key"],
587 "members":{
588 "Key":{"shape":"Key"}
589 }
590 },
591 "GetParametersForExportInput":{
592 "type":"structure",
593 "required":[
594 "KeyMaterialType",
595 "SigningKeyAlgorithm"
596 ],
597 "members":{
598 "KeyMaterialType":{"shape":"KeyMaterialType"},
599 "SigningKeyAlgorithm":{"shape":"KeyAlgorithm"}
600 }
601 },
602 "GetParametersForExportOutput":{
603 "type":"structure",
604 "required":[
605 "ExportToken",
606 "ParametersValidUntilTimestamp",
607 "SigningKeyAlgorithm",
608 "SigningKeyCertificate",
609 "SigningKeyCertificateChain"
610 ],
611 "members":{
612 "ExportToken":{"shape":"ExportTokenId"},
613 "ParametersValidUntilTimestamp":{"shape":"Timestamp"},
614 "SigningKeyAlgorithm":{"shape":"KeyAlgorithm"},
615 "SigningKeyCertificate":{"shape":"CertificateType"},
616 "SigningKeyCertificateChain":{"shape":"CertificateType"}
617 }
618 },
619 "GetParametersForImportInput":{
620 "type":"structure",
621 "required":[
622 "KeyMaterialType",
623 "WrappingKeyAlgorithm"
624 ],
625 "members":{
626 "KeyMaterialType":{"shape":"KeyMaterialType"},
627 "WrappingKeyAlgorithm":{"shape":"KeyAlgorithm"}
628 }
629 },
630 "GetParametersForImportOutput":{
631 "type":"structure",
632 "required":[
633 "ImportToken",
634 "ParametersValidUntilTimestamp",
635 "WrappingKeyAlgorithm",
636 "WrappingKeyCertificate",
637 "WrappingKeyCertificateChain"
638 ],
639 "members":{
640 "ImportToken":{"shape":"ImportTokenId"},
641 "ParametersValidUntilTimestamp":{"shape":"Timestamp"},
642 "WrappingKeyAlgorithm":{"shape":"KeyAlgorithm"},
643 "WrappingKeyCertificate":{"shape":"CertificateType"},
644 "WrappingKeyCertificateChain":{"shape":"CertificateType"}
645 }
646 },
647 "GetPublicKeyCertificateInput":{
648 "type":"structure",
649 "required":["KeyIdentifier"],
650 "members":{
651 "KeyIdentifier":{"shape":"KeyArnOrKeyAliasType"}
652 }
653 },
654 "GetPublicKeyCertificateOutput":{
655 "type":"structure",
656 "required":[
657 "KeyCertificate",
658 "KeyCertificateChain"
659 ],
660 "members":{
661 "KeyCertificate":{"shape":"CertificateType"},
662 "KeyCertificateChain":{"shape":"CertificateType"}
663 }
664 },
665 "HexLength16":{
666 "type":"string",
667 "max":16,
668 "min":16,
669 "pattern":"^[0-9A-F]+$"
670 },
671 "HexLength20Or24":{
672 "type":"string",
673 "max":24,
674 "min":20,
675 "pattern":"^[0-9A-F]{20}$|^[0-9A-F]{24}$"
676 },
677 "ImportKeyInput":{
678 "type":"structure",
679 "required":["KeyMaterial"],
680 "members":{
681 "Enabled":{"shape":"Boolean"},
682 "KeyCheckValueAlgorithm":{"shape":"KeyCheckValueAlgorithm"},
683 "KeyMaterial":{"shape":"ImportKeyMaterial"},
684 "Tags":{"shape":"Tags"}
685 }
686 },
687 "ImportKeyMaterial":{
688 "type":"structure",
689 "members":{
690 "RootCertificatePublicKey":{"shape":"RootCertificatePublicKey"},
691 "Tr31KeyBlock":{"shape":"ImportTr31KeyBlock"},
692 "Tr34KeyBlock":{"shape":"ImportTr34KeyBlock"},
693 "TrustedCertificatePublicKey":{"shape":"TrustedCertificatePublicKey"}
694 },
695 "union":true
696 },
697 "ImportKeyOutput":{
698 "type":"structure",
699 "required":["Key"],
700 "members":{
701 "Key":{"shape":"Key"}
702 }
703 },
704 "ImportTokenId":{
705 "type":"string",
706 "pattern":"^import-token-[0-9a-zA-Z]{16,64}$"
707 },
708 "ImportTr31KeyBlock":{
709 "type":"structure",
710 "required":[
711 "WrappedKeyBlock",
712 "WrappingKeyIdentifier"
713 ],
714 "members":{
715 "WrappedKeyBlock":{"shape":"Tr31WrappedKeyBlock"},
716 "WrappingKeyIdentifier":{"shape":"KeyArnOrKeyAliasType"}
717 }
718 },
719 "ImportTr34KeyBlock":{
720 "type":"structure",
721 "required":[
722 "CertificateAuthorityPublicKeyIdentifier",
723 "ImportToken",
724 "KeyBlockFormat",
725 "SigningKeyCertificate",
726 "WrappedKeyBlock"
727 ],
728 "members":{
729 "CertificateAuthorityPublicKeyIdentifier":{"shape":"KeyArnOrKeyAliasType"},
730 "ImportToken":{"shape":"ImportTokenId"},
731 "KeyBlockFormat":{"shape":"Tr34KeyBlockFormat"},
732 "RandomNonce":{"shape":"HexLength16"},
733 "SigningKeyCertificate":{"shape":"CertificateType"},
734 "WrappedKeyBlock":{"shape":"Tr34WrappedKeyBlock"}
735 }
736 },
737 "InternalServerException":{
738 "type":"structure",
739 "members":{
740 "Message":{"shape":"String"}
741 },
742 "exception":true,
743 "fault":true
744 },
745 "Key":{
746 "type":"structure",
747 "required":[
748 "CreateTimestamp",
749 "Enabled",
750 "Exportable",
751 "KeyArn",
752 "KeyAttributes",
753 "KeyCheckValue",
754 "KeyCheckValueAlgorithm",
755 "KeyOrigin",
756 "KeyState"
757 ],
758 "members":{
759 "CreateTimestamp":{"shape":"Timestamp"},
760 "DeletePendingTimestamp":{"shape":"Timestamp"},
761 "DeleteTimestamp":{"shape":"Timestamp"},
762 "Enabled":{"shape":"Boolean"},
763 "Exportable":{"shape":"Boolean"},
764 "KeyArn":{"shape":"KeyArn"},
765 "KeyAttributes":{"shape":"KeyAttributes"},
766 "KeyCheckValue":{"shape":"KeyCheckValue"},
767 "KeyCheckValueAlgorithm":{"shape":"KeyCheckValueAlgorithm"},
768 "KeyOrigin":{"shape":"KeyOrigin"},
769 "KeyState":{"shape":"KeyState"},
770 "UsageStartTimestamp":{"shape":"Timestamp"},
771 "UsageStopTimestamp":{"shape":"Timestamp"}
772 }
773 },
774 "KeyAlgorithm":{
775 "type":"string",
776 "enum":[
777 "TDES_2KEY",
778 "TDES_3KEY",
779 "AES_128",
780 "AES_192",
781 "AES_256",
782 "RSA_2048",
783 "RSA_3072",
784 "RSA_4096"
785 ]
786 },
787 "KeyArn":{
788 "type":"string",
789 "max":150,
790 "min":70,
791 "pattern":"^arn:aws:payment-cryptography:[a-z]{2}-[a-z]{1,16}-[0-9]+:[0-9]{12}:key/[0-9a-zA-Z]{16,64}$"
792 },
793 "KeyArnOrKeyAliasType":{
794 "type":"string",
795 "max":322,
796 "min":7,
797 "pattern":"^arn:aws:payment-cryptography:[a-z]{2}-[a-z]{1,16}-[0-9]+:[0-9]{12}:(key/[0-9a-zA-Z]{16,64}|alias/[a-zA-Z0-9/_-]+)$|^alias/[a-zA-Z0-9/_-]+$"
798 },
799 "KeyAttributes":{
800 "type":"structure",
801 "required":[
802 "KeyAlgorithm",
803 "KeyClass",
804 "KeyModesOfUse",
805 "KeyUsage"
806 ],
807 "members":{
808 "KeyAlgorithm":{"shape":"KeyAlgorithm"},
809 "KeyClass":{"shape":"KeyClass"},
810 "KeyModesOfUse":{"shape":"KeyModesOfUse"},
811 "KeyUsage":{"shape":"KeyUsage"}
812 }
813 },
814 "KeyCheckValue":{
815 "type":"string",
816 "max":16,
817 "min":4,
818 "pattern":"^[0-9a-fA-F]+$"
819 },
820 "KeyCheckValueAlgorithm":{
821 "type":"string",
822 "enum":[
823 "CMAC",
824 "ANSI_X9_24"
825 ]
826 },
827 "KeyClass":{
828 "type":"string",
829 "enum":[
830 "SYMMETRIC_KEY",
831 "ASYMMETRIC_KEY_PAIR",
832 "PRIVATE_KEY",
833 "PUBLIC_KEY"
834 ]
835 },
836 "KeyMaterial":{
837 "type":"string",
838 "max":16384,
839 "min":48,
840 "sensitive":true
841 },
842 "KeyMaterialType":{
843 "type":"string",
844 "enum":[
845 "TR34_KEY_BLOCK",
846 "TR31_KEY_BLOCK",
847 "ROOT_PUBLIC_KEY_CERTIFICATE",
848 "TRUSTED_PUBLIC_KEY_CERTIFICATE"
849 ]
850 },
851 "KeyModesOfUse":{
852 "type":"structure",
853 "members":{
854 "Decrypt":{"shape":"PrimitiveBoolean"},
855 "DeriveKey":{"shape":"PrimitiveBoolean"},
856 "Encrypt":{"shape":"PrimitiveBoolean"},
857 "Generate":{"shape":"PrimitiveBoolean"},
858 "NoRestrictions":{"shape":"PrimitiveBoolean"},
859 "Sign":{"shape":"PrimitiveBoolean"},
860 "Unwrap":{"shape":"PrimitiveBoolean"},
861 "Verify":{"shape":"PrimitiveBoolean"},
862 "Wrap":{"shape":"PrimitiveBoolean"}
863 }
864 },
865 "KeyOrigin":{
866 "type":"string",
867 "enum":[
868 "EXTERNAL",
869 "AWS_PAYMENT_CRYPTOGRAPHY"
870 ]
871 },
872 "KeyState":{
873 "type":"string",
874 "enum":[
875 "CREATE_IN_PROGRESS",
876 "CREATE_COMPLETE",
877 "DELETE_PENDING",
878 "DELETE_COMPLETE"
879 ]
880 },
881 "KeySummary":{
882 "type":"structure",
883 "required":[
884 "Enabled",
885 "Exportable",
886 "KeyArn",
887 "KeyAttributes",
888 "KeyCheckValue",
889 "KeyState"
890 ],
891 "members":{
892 "Enabled":{"shape":"Boolean"},
893 "Exportable":{"shape":"Boolean"},
894 "KeyArn":{"shape":"KeyArn"},
895 "KeyAttributes":{"shape":"KeyAttributes"},
896 "KeyCheckValue":{"shape":"KeyCheckValue"},
897 "KeyState":{"shape":"KeyState"}
898 }
899 },
900 "KeySummaryList":{
901 "type":"list",
902 "member":{"shape":"KeySummary"}
903 },
904 "KeyUsage":{
905 "type":"string",
906 "enum":[
907 "TR31_B0_BASE_DERIVATION_KEY",
908 "TR31_C0_CARD_VERIFICATION_KEY",
909 "TR31_D0_SYMMETRIC_DATA_ENCRYPTION_KEY",
910 "TR31_D1_ASYMMETRIC_KEY_FOR_DATA_ENCRYPTION",
911 "TR31_E0_EMV_MKEY_APP_CRYPTOGRAMS",
912 "TR31_E1_EMV_MKEY_CONFIDENTIALITY",
913 "TR31_E2_EMV_MKEY_INTEGRITY",
914 "TR31_E4_EMV_MKEY_DYNAMIC_NUMBERS",
915 "TR31_E5_EMV_MKEY_CARD_PERSONALIZATION",
916 "TR31_E6_EMV_MKEY_OTHER",
917 "TR31_K0_KEY_ENCRYPTION_KEY",
918 "TR31_K1_KEY_BLOCK_PROTECTION_KEY",
919 "TR31_K3_ASYMMETRIC_KEY_FOR_KEY_AGREEMENT",
920 "TR31_M3_ISO_9797_3_MAC_KEY",
921 "TR31_M6_ISO_9797_5_CMAC_KEY",
922 "TR31_M7_HMAC_KEY",
923 "TR31_P0_PIN_ENCRYPTION_KEY",
924 "TR31_P1_PIN_GENERATION_KEY",
925 "TR31_S0_ASYMMETRIC_KEY_FOR_DIGITAL_SIGNATURE",
926 "TR31_V1_IBM3624_PIN_VERIFICATION_KEY",
927 "TR31_V2_VISA_PIN_VERIFICATION_KEY",
928 "TR31_K2_TR34_ASYMMETRIC_KEY"
929 ]
930 },
931 "ListAliasesInput":{
932 "type":"structure",
933 "members":{
934 "MaxResults":{"shape":"MaxResults"},
935 "NextToken":{"shape":"NextToken"}
936 }
937 },
938 "ListAliasesOutput":{
939 "type":"structure",
940 "required":["Aliases"],
941 "members":{
942 "Aliases":{"shape":"Aliases"},
943 "NextToken":{"shape":"NextToken"}
944 }
945 },
946 "ListKeysInput":{
947 "type":"structure",
948 "members":{
949 "KeyState":{"shape":"KeyState"},
950 "MaxResults":{"shape":"MaxResults"},
951 "NextToken":{"shape":"NextToken"}
952 }
953 },
954 "ListKeysOutput":{
955 "type":"structure",
956 "required":["Keys"],
957 "members":{
958 "Keys":{"shape":"KeySummaryList"},
959 "NextToken":{"shape":"NextToken"}
960 }
961 },
962 "ListTagsForResourceInput":{
963 "type":"structure",
964 "required":["ResourceArn"],
965 "members":{
966 "MaxResults":{"shape":"MaxResults"},
967 "NextToken":{"shape":"NextToken"},
968 "ResourceArn":{"shape":"ResourceArn"}
969 }
970 },
971 "ListTagsForResourceOutput":{
972 "type":"structure",
973 "required":["Tags"],
974 "members":{
975 "NextToken":{"shape":"NextToken"},
976 "Tags":{"shape":"Tags"}
977 }
978 },
979 "MaxResults":{
980 "type":"integer",
981 "box":true,
982 "max":100,
983 "min":1
984 },
985 "NextToken":{
986 "type":"string",
987 "max":8192,
988 "min":1
989 },
990 "PrimitiveBoolean":{"type":"boolean"},
991 "ResourceArn":{
992 "type":"string",
993 "max":150,
994 "min":70,
995 "pattern":"^arn:aws:payment-cryptography:[a-z]{2}-[a-z]{1,16}-[0-9]+:[0-9]{12}:key/[0-9a-zA-Z]{16,64}$"
996 },
997 "ResourceNotFoundException":{
998 "type":"structure",
999 "members":{
1000 "ResourceId":{"shape":"String"}
1001 },
1002 "exception":true
1003 },
1004 "RestoreKeyInput":{
1005 "type":"structure",
1006 "required":["KeyIdentifier"],
1007 "members":{
1008 "KeyIdentifier":{"shape":"KeyArnOrKeyAliasType"}
1009 }
1010 },
1011 "RestoreKeyOutput":{
1012 "type":"structure",
1013 "required":["Key"],
1014 "members":{
1015 "Key":{"shape":"Key"}
1016 }
1017 },
1018 "RootCertificatePublicKey":{
1019 "type":"structure",
1020 "required":[
1021 "KeyAttributes",
1022 "PublicKeyCertificate"
1023 ],
1024 "members":{
1025 "KeyAttributes":{"shape":"KeyAttributes"},
1026 "PublicKeyCertificate":{"shape":"CertificateType"}
1027 }
1028 },
1029 "ServiceQuotaExceededException":{
1030 "type":"structure",
1031 "members":{
1032 "Message":{"shape":"String"}
1033 },
1034 "exception":true
1035 },
1036 "ServiceUnavailableException":{
1037 "type":"structure",
1038 "members":{
1039 "Message":{"shape":"String"}
1040 },
1041 "exception":true,
1042 "fault":true
1043 },
1044 "StartKeyUsageInput":{
1045 "type":"structure",
1046 "required":["KeyIdentifier"],
1047 "members":{
1048 "KeyIdentifier":{"shape":"KeyArnOrKeyAliasType"}
1049 }
1050 },
1051 "StartKeyUsageOutput":{
1052 "type":"structure",
1053 "required":["Key"],
1054 "members":{
1055 "Key":{"shape":"Key"}
1056 }
1057 },
1058 "StopKeyUsageInput":{
1059 "type":"structure",
1060 "required":["KeyIdentifier"],
1061 "members":{
1062 "KeyIdentifier":{"shape":"KeyArnOrKeyAliasType"}
1063 }
1064 },
1065 "StopKeyUsageOutput":{
1066 "type":"structure",
1067 "required":["Key"],
1068 "members":{
1069 "Key":{"shape":"Key"}
1070 }
1071 },
1072 "String":{"type":"string"},
1073 "Tag":{
1074 "type":"structure",
1075 "required":["Key"],
1076 "members":{
1077 "Key":{"shape":"TagKey"},
1078 "Value":{"shape":"TagValue"}
1079 }
1080 },
1081 "TagKey":{
1082 "type":"string",
1083 "max":128,
1084 "min":1
1085 },
1086 "TagKeys":{
1087 "type":"list",
1088 "member":{"shape":"TagKey"},
1089 "max":200,
1090 "min":0
1091 },
1092 "TagResourceInput":{
1093 "type":"structure",
1094 "required":[
1095 "ResourceArn",
1096 "Tags"
1097 ],
1098 "members":{
1099 "ResourceArn":{"shape":"ResourceArn"},
1100 "Tags":{"shape":"Tags"}
1101 }
1102 },
1103 "TagResourceOutput":{
1104 "type":"structure",
1105 "members":{
1106 }
1107 },
1108 "TagValue":{
1109 "type":"string",
1110 "max":256,
1111 "min":0
1112 },
1113 "Tags":{
1114 "type":"list",
1115 "member":{"shape":"Tag"},
1116 "max":200,
1117 "min":0
1118 },
1119 "ThrottlingException":{
1120 "type":"structure",
1121 "members":{
1122 "Message":{"shape":"String"}
1123 },
1124 "exception":true
1125 },
1126 "Timestamp":{"type":"timestamp"},
1127 "Tr31WrappedKeyBlock":{
1128 "type":"string",
1129 "max":9984,
1130 "min":56,
1131 "pattern":"^[0-9A-Z]+$"
1132 },
1133 "Tr34KeyBlockFormat":{
1134 "type":"string",
1135 "enum":["X9_TR34_2012"]
1136 },
1137 "Tr34WrappedKeyBlock":{
1138 "type":"string",
1139 "max":4096,
1140 "min":2,
1141 "pattern":"^[0-9A-F]+$"
1142 },
1143 "TrustedCertificatePublicKey":{
1144 "type":"structure",
1145 "required":[
1146 "CertificateAuthorityPublicKeyIdentifier",
1147 "KeyAttributes",
1148 "PublicKeyCertificate"
1149 ],
1150 "members":{
1151 "CertificateAuthorityPublicKeyIdentifier":{"shape":"KeyArnOrKeyAliasType"},
1152 "KeyAttributes":{"shape":"KeyAttributes"},
1153 "PublicKeyCertificate":{"shape":"CertificateType"}
1154 }
1155 },
1156 "UntagResourceInput":{
1157 "type":"structure",
1158 "required":[
1159 "ResourceArn",
1160 "TagKeys"
1161 ],
1162 "members":{
1163 "ResourceArn":{"shape":"ResourceArn"},
1164 "TagKeys":{"shape":"TagKeys"}
1165 }
1166 },
1167 "UntagResourceOutput":{
1168 "type":"structure",
1169 "members":{
1170 }
1171 },
1172 "UpdateAliasInput":{
1173 "type":"structure",
1174 "required":["AliasName"],
1175 "members":{
1176 "AliasName":{"shape":"AliasName"},
1177 "KeyArn":{"shape":"KeyArn"}
1178 }
1179 },
1180 "UpdateAliasOutput":{
1181 "type":"structure",
1182 "required":["Alias"],
1183 "members":{
1184 "Alias":{"shape":"Alias"}
1185 }
1186 },
1187 "ValidationException":{
1188 "type":"structure",
1189 "members":{
1190 "Message":{"shape":"String"}
1191 },
1192 "exception":true
1193 },
1194 "WrappedKey":{
1195 "type":"structure",
1196 "required":[
1197 "KeyMaterial",
1198 "WrappedKeyMaterialFormat",
1199 "WrappingKeyArn"
1200 ],
1201 "members":{
1202 "KeyCheckValue":{"shape":"KeyCheckValue"},
1203 "KeyCheckValueAlgorithm":{"shape":"KeyCheckValueAlgorithm"},
1204 "KeyMaterial":{"shape":"KeyMaterial"},
1205 "WrappedKeyMaterialFormat":{"shape":"WrappedKeyMaterialFormat"},
1206 "WrappingKeyArn":{"shape":"KeyArn"}
1207 }
1208 },
1209 "WrappedKeyMaterialFormat":{
1210 "type":"string",
1211 "enum":[
1212 "KEY_CRYPTOGRAM",
1213 "TR31_KEY_BLOCK",
1214 "TR34_KEY_BLOCK"
1215 ]
1216 }
1217 }
1218 }