|
47 | 47 | ], |
48 | 48 | "idempotent":true |
49 | 49 | }, |
| 50 | + "CreatePermission":{ |
| 51 | + "name":"CreatePermission", |
| 52 | + "http":{ |
| 53 | + "method":"POST", |
| 54 | + "requestUri":"/" |
| 55 | + }, |
| 56 | + "input":{"shape":"CreatePermissionRequest"}, |
| 57 | + "errors":[ |
| 58 | + {"shape":"ResourceNotFoundException"}, |
| 59 | + {"shape":"InvalidArnException"}, |
| 60 | + {"shape":"PermissionAlreadyExistsException"}, |
| 61 | + {"shape":"LimitExceededException"}, |
| 62 | + {"shape":"InvalidStateException"}, |
| 63 | + {"shape":"RequestFailedException"} |
| 64 | + ] |
| 65 | + }, |
50 | 66 | "DeleteCertificateAuthority":{ |
51 | 67 | "name":"DeleteCertificateAuthority", |
52 | 68 | "http":{ |
|
61 | 77 | {"shape":"InvalidStateException"} |
62 | 78 | ] |
63 | 79 | }, |
| 80 | + "DeletePermission":{ |
| 81 | + "name":"DeletePermission", |
| 82 | + "http":{ |
| 83 | + "method":"POST", |
| 84 | + "requestUri":"/" |
| 85 | + }, |
| 86 | + "input":{"shape":"DeletePermissionRequest"}, |
| 87 | + "errors":[ |
| 88 | + {"shape":"ResourceNotFoundException"}, |
| 89 | + {"shape":"InvalidArnException"}, |
| 90 | + {"shape":"InvalidStateException"}, |
| 91 | + {"shape":"RequestFailedException"} |
| 92 | + ] |
| 93 | + }, |
64 | 94 | "DescribeCertificateAuthority":{ |
65 | 95 | "name":"DescribeCertificateAuthority", |
66 | 96 | "http":{ |
|
182 | 212 | {"shape":"InvalidNextTokenException"} |
183 | 213 | ] |
184 | 214 | }, |
| 215 | + "ListPermissions":{ |
| 216 | + "name":"ListPermissions", |
| 217 | + "http":{ |
| 218 | + "method":"POST", |
| 219 | + "requestUri":"/" |
| 220 | + }, |
| 221 | + "input":{"shape":"ListPermissionsRequest"}, |
| 222 | + "output":{"shape":"ListPermissionsResponse"}, |
| 223 | + "errors":[ |
| 224 | + {"shape":"ResourceNotFoundException"}, |
| 225 | + {"shape":"InvalidArnException"}, |
| 226 | + {"shape":"InvalidNextTokenException"}, |
| 227 | + {"shape":"InvalidStateException"}, |
| 228 | + {"shape":"RequestFailedException"} |
| 229 | + ] |
| 230 | + }, |
185 | 231 | "ListTags":{ |
186 | 232 | "name":"ListTags", |
187 | 233 | "http":{ |
|
292 | 338 | "GenerationQualifier":{"shape":"String3"} |
293 | 339 | } |
294 | 340 | }, |
| 341 | + "AccountId":{ |
| 342 | + "type":"string", |
| 343 | + "max":12, |
| 344 | + "min":12, |
| 345 | + "pattern":"[0-9]+" |
| 346 | + }, |
| 347 | + "ActionList":{ |
| 348 | + "type":"list", |
| 349 | + "member":{"shape":"ActionType"}, |
| 350 | + "max":3, |
| 351 | + "min":1 |
| 352 | + }, |
| 353 | + "ActionType":{ |
| 354 | + "type":"string", |
| 355 | + "enum":[ |
| 356 | + "IssueCertificate", |
| 357 | + "GetCertificate", |
| 358 | + "ListPermissions" |
| 359 | + ] |
| 360 | + }, |
295 | 361 | "Arn":{ |
296 | 362 | "type":"string", |
297 | 363 | "max":200, |
|
440 | 506 | "CertificateAuthorityArn":{"shape":"Arn"} |
441 | 507 | } |
442 | 508 | }, |
| 509 | + "CreatePermissionRequest":{ |
| 510 | + "type":"structure", |
| 511 | + "required":[ |
| 512 | + "CertificateAuthorityArn", |
| 513 | + "Principal", |
| 514 | + "Actions" |
| 515 | + ], |
| 516 | + "members":{ |
| 517 | + "CertificateAuthorityArn":{"shape":"Arn"}, |
| 518 | + "Principal":{"shape":"Principal"}, |
| 519 | + "SourceAccount":{"shape":"AccountId"}, |
| 520 | + "Actions":{"shape":"ActionList"} |
| 521 | + } |
| 522 | + }, |
443 | 523 | "CrlConfiguration":{ |
444 | 524 | "type":"structure", |
445 | 525 | "required":["Enabled"], |
|
470 | 550 | "PermanentDeletionTimeInDays":{"shape":"PermanentDeletionTimeInDays"} |
471 | 551 | } |
472 | 552 | }, |
| 553 | + "DeletePermissionRequest":{ |
| 554 | + "type":"structure", |
| 555 | + "required":[ |
| 556 | + "CertificateAuthorityArn", |
| 557 | + "Principal" |
| 558 | + ], |
| 559 | + "members":{ |
| 560 | + "CertificateAuthorityArn":{"shape":"Arn"}, |
| 561 | + "Principal":{"shape":"Principal"}, |
| 562 | + "SourceAccount":{"shape":"AccountId"} |
| 563 | + } |
| 564 | + }, |
473 | 565 | "DescribeCertificateAuthorityAuditReportRequest":{ |
474 | 566 | "type":"structure", |
475 | 567 | "required":[ |
|
680 | 772 | "NextToken":{"shape":"NextToken"} |
681 | 773 | } |
682 | 774 | }, |
| 775 | + "ListPermissionsRequest":{ |
| 776 | + "type":"structure", |
| 777 | + "required":["CertificateAuthorityArn"], |
| 778 | + "members":{ |
| 779 | + "CertificateAuthorityArn":{"shape":"Arn"}, |
| 780 | + "NextToken":{"shape":"NextToken"}, |
| 781 | + "MaxResults":{"shape":"MaxResults"} |
| 782 | + } |
| 783 | + }, |
| 784 | + "ListPermissionsResponse":{ |
| 785 | + "type":"structure", |
| 786 | + "members":{ |
| 787 | + "Permissions":{"shape":"PermissionList"}, |
| 788 | + "NextToken":{"shape":"NextToken"} |
| 789 | + } |
| 790 | + }, |
683 | 791 | "ListTagsRequest":{ |
684 | 792 | "type":"structure", |
685 | 793 | "required":["CertificateAuthorityArn"], |
|
725 | 833 | "max":30, |
726 | 834 | "min":7 |
727 | 835 | }, |
| 836 | + "Permission":{ |
| 837 | + "type":"structure", |
| 838 | + "members":{ |
| 839 | + "CertificateAuthorityArn":{"shape":"Arn"}, |
| 840 | + "CreatedAt":{"shape":"TStamp"}, |
| 841 | + "Principal":{"shape":"String"}, |
| 842 | + "SourceAccount":{"shape":"String"}, |
| 843 | + "Actions":{"shape":"ActionList"}, |
| 844 | + "Policy":{"shape":"String"} |
| 845 | + } |
| 846 | + }, |
| 847 | + "PermissionAlreadyExistsException":{ |
| 848 | + "type":"structure", |
| 849 | + "members":{ |
| 850 | + "message":{"shape":"String"} |
| 851 | + }, |
| 852 | + "exception":true |
| 853 | + }, |
| 854 | + "PermissionList":{ |
| 855 | + "type":"list", |
| 856 | + "member":{"shape":"Permission"}, |
| 857 | + "min":0 |
| 858 | + }, |
728 | 859 | "PositiveLong":{ |
729 | 860 | "type":"long", |
730 | 861 | "min":1 |
731 | 862 | }, |
| 863 | + "Principal":{ |
| 864 | + "type":"string", |
| 865 | + "max":128, |
| 866 | + "min":0, |
| 867 | + "pattern":"^[^*]+$" |
| 868 | + }, |
732 | 869 | "RequestAlreadyProcessedException":{ |
733 | 870 | "type":"structure", |
734 | 871 | "members":{ |
|
0 commit comments