|
91 | 91 | {"shape":"RequestFailedException"} |
92 | 92 | ] |
93 | 93 | }, |
| 94 | + "DeletePolicy":{ |
| 95 | + "name":"DeletePolicy", |
| 96 | + "http":{ |
| 97 | + "method":"POST", |
| 98 | + "requestUri":"/" |
| 99 | + }, |
| 100 | + "input":{"shape":"DeletePolicyRequest"}, |
| 101 | + "errors":[ |
| 102 | + {"shape":"ConcurrentModificationException"}, |
| 103 | + {"shape":"InvalidArnException"}, |
| 104 | + {"shape":"InvalidStateException"}, |
| 105 | + {"shape":"LockoutPreventedException"}, |
| 106 | + {"shape":"RequestFailedException"}, |
| 107 | + {"shape":"ResourceNotFoundException"} |
| 108 | + ] |
| 109 | + }, |
94 | 110 | "DescribeCertificateAuthority":{ |
95 | 111 | "name":"DescribeCertificateAuthority", |
96 | 112 | "http":{ |
|
164 | 180 | {"shape":"InvalidStateException"} |
165 | 181 | ] |
166 | 182 | }, |
| 183 | + "GetPolicy":{ |
| 184 | + "name":"GetPolicy", |
| 185 | + "http":{ |
| 186 | + "method":"POST", |
| 187 | + "requestUri":"/" |
| 188 | + }, |
| 189 | + "input":{"shape":"GetPolicyRequest"}, |
| 190 | + "output":{"shape":"GetPolicyResponse"}, |
| 191 | + "errors":[ |
| 192 | + {"shape":"InvalidArnException"}, |
| 193 | + {"shape":"InvalidStateException"}, |
| 194 | + {"shape":"RequestFailedException"}, |
| 195 | + {"shape":"ResourceNotFoundException"} |
| 196 | + ] |
| 197 | + }, |
167 | 198 | "ImportCertificateAuthorityCertificate":{ |
168 | 199 | "name":"ImportCertificateAuthorityCertificate", |
169 | 200 | "http":{ |
|
243 | 274 | {"shape":"InvalidStateException"} |
244 | 275 | ] |
245 | 276 | }, |
| 277 | + "PutPolicy":{ |
| 278 | + "name":"PutPolicy", |
| 279 | + "http":{ |
| 280 | + "method":"POST", |
| 281 | + "requestUri":"/" |
| 282 | + }, |
| 283 | + "input":{"shape":"PutPolicyRequest"}, |
| 284 | + "errors":[ |
| 285 | + {"shape":"ConcurrentModificationException"}, |
| 286 | + {"shape":"InvalidArnException"}, |
| 287 | + {"shape":"InvalidStateException"}, |
| 288 | + {"shape":"InvalidPolicyException"}, |
| 289 | + {"shape":"LockoutPreventedException"}, |
| 290 | + {"shape":"RequestFailedException"}, |
| 291 | + {"shape":"ResourceNotFoundException"} |
| 292 | + ] |
| 293 | + }, |
246 | 294 | "RestoreCertificateAuthority":{ |
247 | 295 | "name":"RestoreCertificateAuthority", |
248 | 296 | "http":{ |
|
322 | 370 | } |
323 | 371 | }, |
324 | 372 | "shapes":{ |
| 373 | + "ASN1PrintableString64":{ |
| 374 | + "type":"string", |
| 375 | + "max":64, |
| 376 | + "min":0, |
| 377 | + "pattern":"[a-zA-Z0-9'()+-.?:/= ]*" |
| 378 | + }, |
325 | 379 | "ASN1Subject":{ |
326 | 380 | "type":"structure", |
327 | 381 | "members":{ |
328 | 382 | "Country":{"shape":"CountryCodeString"}, |
329 | 383 | "Organization":{"shape":"String64"}, |
330 | 384 | "OrganizationalUnit":{"shape":"String64"}, |
331 | | - "DistinguishedNameQualifier":{"shape":"DistinguishedNameQualifierString"}, |
| 385 | + "DistinguishedNameQualifier":{"shape":"ASN1PrintableString64"}, |
332 | 386 | "State":{"shape":"String128"}, |
333 | 387 | "CommonName":{"shape":"String64"}, |
334 | | - "SerialNumber":{"shape":"String64"}, |
| 388 | + "SerialNumber":{"shape":"ASN1PrintableString64"}, |
335 | 389 | "Locality":{"shape":"String128"}, |
336 | 390 | "Title":{"shape":"String64"}, |
337 | 391 | "Surname":{"shape":"String40"}, |
|
341 | 395 | "GenerationQualifier":{"shape":"String3"} |
342 | 396 | } |
343 | 397 | }, |
| 398 | + "AWSPolicy":{ |
| 399 | + "type":"string", |
| 400 | + "max":20480, |
| 401 | + "min":1, |
| 402 | + "pattern":"[\\u0009\\u000A\\u000D\\u0020-\\u00FF]+" |
| 403 | + }, |
344 | 404 | "AccountId":{ |
345 | 405 | "type":"string", |
346 | 406 | "max":12, |
|
365 | 425 | "type":"string", |
366 | 426 | "max":200, |
367 | 427 | "min":5, |
368 | | - "pattern":"arn:[\\w+=/,.@-]+:[\\w+=/,.@-]+:[\\w+=/,.@-]*:[0-9]*:[\\w+=,.@-]+(/[\\w+=/,.@-]+)*" |
| 428 | + "pattern":"arn:[\\w+=/,.@-]+:[\\w+=/,.@-]+:[\\w+=/,.@-]*:[0-9]*:[\\w+=,.@-]+(/[\\w+=,.@-]+)*" |
369 | 429 | }, |
370 | 430 | "AuditReportId":{ |
371 | 431 | "type":"string", |
|
397 | 457 | "type":"structure", |
398 | 458 | "members":{ |
399 | 459 | "Arn":{"shape":"Arn"}, |
| 460 | + "OwnerAccount":{"shape":"AccountId"}, |
400 | 461 | "CreatedAt":{"shape":"TStamp"}, |
401 | 462 | "LastStateChangeAt":{"shape":"TStamp"}, |
402 | 463 | "Type":{"shape":"CertificateAuthorityType"}, |
|
470 | 531 | }, |
471 | 532 | "CountryCodeString":{ |
472 | 533 | "type":"string", |
| 534 | + "max":2, |
| 535 | + "min":2, |
473 | 536 | "pattern":"[A-Za-z]{2}" |
474 | 537 | }, |
475 | 538 | "CreateCertificateAuthorityAuditReportRequest":{ |
|
481 | 544 | ], |
482 | 545 | "members":{ |
483 | 546 | "CertificateAuthorityArn":{"shape":"Arn"}, |
484 | | - "S3BucketName":{"shape":"String"}, |
| 547 | + "S3BucketName":{"shape":"S3BucketName"}, |
485 | 548 | "AuditReportResponseFormat":{"shape":"AuditReportResponseFormat"} |
486 | 549 | } |
487 | 550 | }, |
488 | 551 | "CreateCertificateAuthorityAuditReportResponse":{ |
489 | 552 | "type":"structure", |
490 | 553 | "members":{ |
491 | 554 | "AuditReportId":{"shape":"AuditReportId"}, |
492 | | - "S3Key":{"shape":"String"} |
| 555 | + "S3Key":{"shape":"S3Key"} |
493 | 556 | } |
494 | 557 | }, |
495 | 558 | "CreateCertificateAuthorityRequest":{ |
|
568 | 631 | "SourceAccount":{"shape":"AccountId"} |
569 | 632 | } |
570 | 633 | }, |
| 634 | + "DeletePolicyRequest":{ |
| 635 | + "type":"structure", |
| 636 | + "required":["ResourceArn"], |
| 637 | + "members":{ |
| 638 | + "ResourceArn":{"shape":"Arn"} |
| 639 | + } |
| 640 | + }, |
571 | 641 | "DescribeCertificateAuthorityAuditReportRequest":{ |
572 | 642 | "type":"structure", |
573 | 643 | "required":[ |
|
583 | 653 | "type":"structure", |
584 | 654 | "members":{ |
585 | 655 | "AuditReportStatus":{"shape":"AuditReportStatus"}, |
586 | | - "S3BucketName":{"shape":"String"}, |
587 | | - "S3Key":{"shape":"String"}, |
| 656 | + "S3BucketName":{"shape":"S3BucketName"}, |
| 657 | + "S3Key":{"shape":"S3Key"}, |
588 | 658 | "CreatedAt":{"shape":"TStamp"} |
589 | 659 | } |
590 | 660 | }, |
|
601 | 671 | "CertificateAuthority":{"shape":"CertificateAuthority"} |
602 | 672 | } |
603 | 673 | }, |
604 | | - "DistinguishedNameQualifierString":{ |
605 | | - "type":"string", |
606 | | - "max":64, |
607 | | - "min":0, |
608 | | - "pattern":"[a-zA-Z0-9'()+-.?:/= ]*" |
609 | | - }, |
610 | 674 | "FailureReason":{ |
611 | 675 | "type":"string", |
612 | 676 | "enum":[ |
|
660 | 724 | "CertificateChain":{"shape":"CertificateChain"} |
661 | 725 | } |
662 | 726 | }, |
| 727 | + "GetPolicyRequest":{ |
| 728 | + "type":"structure", |
| 729 | + "required":["ResourceArn"], |
| 730 | + "members":{ |
| 731 | + "ResourceArn":{"shape":"Arn"} |
| 732 | + } |
| 733 | + }, |
| 734 | + "GetPolicyResponse":{ |
| 735 | + "type":"structure", |
| 736 | + "members":{ |
| 737 | + "Policy":{"shape":"AWSPolicy"} |
| 738 | + } |
| 739 | + }, |
663 | 740 | "IdempotencyToken":{ |
664 | 741 | "type":"string", |
665 | 742 | "max":36, |
|
775 | 852 | "type":"structure", |
776 | 853 | "members":{ |
777 | 854 | "NextToken":{"shape":"NextToken"}, |
778 | | - "MaxResults":{"shape":"MaxResults"} |
| 855 | + "MaxResults":{"shape":"MaxResults"}, |
| 856 | + "ResourceOwner":{"shape":"ResourceOwner"} |
779 | 857 | } |
780 | 858 | }, |
781 | 859 | "ListCertificateAuthoritiesResponse":{ |
|
817 | 895 | "NextToken":{"shape":"NextToken"} |
818 | 896 | } |
819 | 897 | }, |
| 898 | + "LockoutPreventedException":{ |
| 899 | + "type":"structure", |
| 900 | + "members":{ |
| 901 | + "message":{"shape":"String"} |
| 902 | + }, |
| 903 | + "exception":true |
| 904 | + }, |
820 | 905 | "MalformedCSRException":{ |
821 | 906 | "type":"structure", |
822 | 907 | "members":{ |
|
851 | 936 | "members":{ |
852 | 937 | "CertificateAuthorityArn":{"shape":"Arn"}, |
853 | 938 | "CreatedAt":{"shape":"TStamp"}, |
854 | | - "Principal":{"shape":"String"}, |
855 | | - "SourceAccount":{"shape":"String"}, |
| 939 | + "Principal":{"shape":"Principal"}, |
| 940 | + "SourceAccount":{"shape":"AccountId"}, |
856 | 941 | "Actions":{"shape":"ActionList"}, |
857 | | - "Policy":{"shape":"String"} |
| 942 | + "Policy":{"shape":"AWSPolicy"} |
858 | 943 | } |
859 | 944 | }, |
860 | 945 | "PermissionAlreadyExistsException":{ |
|
879 | 964 | "min":0, |
880 | 965 | "pattern":"^[^*]+$" |
881 | 966 | }, |
| 967 | + "PutPolicyRequest":{ |
| 968 | + "type":"structure", |
| 969 | + "required":[ |
| 970 | + "ResourceArn", |
| 971 | + "Policy" |
| 972 | + ], |
| 973 | + "members":{ |
| 974 | + "ResourceArn":{"shape":"Arn"}, |
| 975 | + "Policy":{"shape":"AWSPolicy"} |
| 976 | + } |
| 977 | + }, |
882 | 978 | "RequestAlreadyProcessedException":{ |
883 | 979 | "type":"structure", |
884 | 980 | "members":{ |
|
907 | 1003 | }, |
908 | 1004 | "exception":true |
909 | 1005 | }, |
| 1006 | + "ResourceOwner":{ |
| 1007 | + "type":"string", |
| 1008 | + "enum":[ |
| 1009 | + "SELF", |
| 1010 | + "OTHER_ACCOUNTS" |
| 1011 | + ] |
| 1012 | + }, |
910 | 1013 | "RestoreCertificateAuthorityRequest":{ |
911 | 1014 | "type":"structure", |
912 | 1015 | "required":["CertificateAuthorityArn"], |
|
946 | 1049 | "RevocationReason":{"shape":"RevocationReason"} |
947 | 1050 | } |
948 | 1051 | }, |
| 1052 | + "S3BucketName":{ |
| 1053 | + "type":"string", |
| 1054 | + "max":63, |
| 1055 | + "min":3 |
| 1056 | + }, |
| 1057 | + "S3Key":{ |
| 1058 | + "type":"string", |
| 1059 | + "max":1024 |
| 1060 | + }, |
949 | 1061 | "SigningAlgorithm":{ |
950 | 1062 | "type":"string", |
951 | 1063 | "enum":[ |
|
0 commit comments