|
60 | 60 | {
|
61 | 61 | "target": "com.amazonaws.ecr#DeleteRepositoryPolicy"
|
62 | 62 | },
|
| 63 | + { |
| 64 | + "target": "com.amazonaws.ecr#DescribeImageReplicationStatus" |
| 65 | + }, |
63 | 66 | {
|
64 | 67 | "target": "com.amazonaws.ecr#DescribeImages"
|
65 | 68 | },
|
|
612 | 615 | "com.amazonaws.ecr#CreateRepositoryRequest": {
|
613 | 616 | "type": "structure",
|
614 | 617 | "members": {
|
| 618 | + "registryId": { |
| 619 | + "target": "com.amazonaws.ecr#RegistryId", |
| 620 | + "traits": { |
| 621 | + "smithy.api#documentation": "<p>The AWS account ID associated with the registry to create the repository.\n If you do not specify a registry, the default registry is assumed.</p>" |
| 622 | + } |
| 623 | + }, |
615 | 624 | "repositoryName": {
|
616 | 625 | "target": "com.amazonaws.ecr#RepositoryName",
|
617 | 626 | "traits": {
|
|
749 | 758 | },
|
750 | 759 | {
|
751 | 760 | "target": "com.amazonaws.ecr#ServerException"
|
| 761 | + }, |
| 762 | + { |
| 763 | + "target": "com.amazonaws.ecr#ValidationException" |
752 | 764 | }
|
753 | 765 | ],
|
754 | 766 | "traits": {
|
|
907 | 919 | }
|
908 | 920 | }
|
909 | 921 | },
|
| 922 | + "com.amazonaws.ecr#DescribeImageReplicationStatus": { |
| 923 | + "type": "operation", |
| 924 | + "input": { |
| 925 | + "target": "com.amazonaws.ecr#DescribeImageReplicationStatusRequest" |
| 926 | + }, |
| 927 | + "output": { |
| 928 | + "target": "com.amazonaws.ecr#DescribeImageReplicationStatusResponse" |
| 929 | + }, |
| 930 | + "errors": [ |
| 931 | + { |
| 932 | + "target": "com.amazonaws.ecr#ImageNotFoundException" |
| 933 | + }, |
| 934 | + { |
| 935 | + "target": "com.amazonaws.ecr#InvalidParameterException" |
| 936 | + }, |
| 937 | + { |
| 938 | + "target": "com.amazonaws.ecr#RepositoryNotFoundException" |
| 939 | + }, |
| 940 | + { |
| 941 | + "target": "com.amazonaws.ecr#ServerException" |
| 942 | + }, |
| 943 | + { |
| 944 | + "target": "com.amazonaws.ecr#ValidationException" |
| 945 | + } |
| 946 | + ], |
| 947 | + "traits": { |
| 948 | + "smithy.api#documentation": "<p>Returns the replication status for a specified image.</p>" |
| 949 | + } |
| 950 | + }, |
| 951 | + "com.amazonaws.ecr#DescribeImageReplicationStatusRequest": { |
| 952 | + "type": "structure", |
| 953 | + "members": { |
| 954 | + "repositoryName": { |
| 955 | + "target": "com.amazonaws.ecr#RepositoryName", |
| 956 | + "traits": { |
| 957 | + "smithy.api#documentation": "<p>The name of the repository that the image is in.</p>", |
| 958 | + "smithy.api#required": {} |
| 959 | + } |
| 960 | + }, |
| 961 | + "imageId": { |
| 962 | + "target": "com.amazonaws.ecr#ImageIdentifier", |
| 963 | + "traits": { |
| 964 | + "smithy.api#required": {} |
| 965 | + } |
| 966 | + }, |
| 967 | + "registryId": { |
| 968 | + "target": "com.amazonaws.ecr#RegistryId", |
| 969 | + "traits": { |
| 970 | + "smithy.api#documentation": "<p>The Amazon Web Services account ID associated with the registry. If you do not specify a registry, the default registry is assumed.</p>" |
| 971 | + } |
| 972 | + } |
| 973 | + } |
| 974 | + }, |
| 975 | + "com.amazonaws.ecr#DescribeImageReplicationStatusResponse": { |
| 976 | + "type": "structure", |
| 977 | + "members": { |
| 978 | + "repositoryName": { |
| 979 | + "target": "com.amazonaws.ecr#RepositoryName", |
| 980 | + "traits": { |
| 981 | + "smithy.api#documentation": "<p>The repository name associated with the request.</p>" |
| 982 | + } |
| 983 | + }, |
| 984 | + "imageId": { |
| 985 | + "target": "com.amazonaws.ecr#ImageIdentifier" |
| 986 | + }, |
| 987 | + "replicationStatuses": { |
| 988 | + "target": "com.amazonaws.ecr#ImageReplicationStatusList", |
| 989 | + "traits": { |
| 990 | + "smithy.api#documentation": "<p>The replication status details for the images in the specified repository.</p>" |
| 991 | + } |
| 992 | + } |
| 993 | + } |
| 994 | + }, |
910 | 995 | "com.amazonaws.ecr#DescribeImageScanFindings": {
|
911 | 996 | "type": "operation",
|
912 | 997 | "input": {
|
|
1744 | 1829 | },
|
1745 | 1830 | {
|
1746 | 1831 | "target": "com.amazonaws.ecr#ServerException"
|
| 1832 | + }, |
| 1833 | + { |
| 1834 | + "target": "com.amazonaws.ecr#ValidationException" |
1747 | 1835 | }
|
1748 | 1836 | ],
|
1749 | 1837 | "traits": {
|
|
2087 | 2175 | }
|
2088 | 2176 | },
|
2089 | 2177 | "traits": {
|
2090 |
| - "smithy.api#documentation": "<p>An object with identifying information for an Amazon ECR image.</p>" |
| 2178 | + "smithy.api#documentation": "<p>An object with identifying information for an image in an Amazon ECR repository.</p>" |
2091 | 2179 | }
|
2092 | 2180 | },
|
2093 | 2181 | "com.amazonaws.ecr#ImageIdentifierList": {
|
|
2129 | 2217 | "smithy.api#error": "client"
|
2130 | 2218 | }
|
2131 | 2219 | },
|
| 2220 | + "com.amazonaws.ecr#ImageReplicationStatus": { |
| 2221 | + "type": "structure", |
| 2222 | + "members": { |
| 2223 | + "region": { |
| 2224 | + "target": "com.amazonaws.ecr#Region", |
| 2225 | + "traits": { |
| 2226 | + "smithy.api#documentation": "<p>The destination Region for the image replication.</p>" |
| 2227 | + } |
| 2228 | + }, |
| 2229 | + "registryId": { |
| 2230 | + "target": "com.amazonaws.ecr#RegistryId", |
| 2231 | + "traits": { |
| 2232 | + "smithy.api#documentation": "<p>The AWS account ID associated with the registry to which the image belongs.</p>" |
| 2233 | + } |
| 2234 | + }, |
| 2235 | + "status": { |
| 2236 | + "target": "com.amazonaws.ecr#ReplicationStatus", |
| 2237 | + "traits": { |
| 2238 | + "smithy.api#documentation": "<p>The image replication status.</p>" |
| 2239 | + } |
| 2240 | + }, |
| 2241 | + "failureCode": { |
| 2242 | + "target": "com.amazonaws.ecr#ReplicationError", |
| 2243 | + "traits": { |
| 2244 | + "smithy.api#documentation": "<p>The failure code for a replication that has failed.</p>" |
| 2245 | + } |
| 2246 | + } |
| 2247 | + }, |
| 2248 | + "traits": { |
| 2249 | + "smithy.api#documentation": "<p>The status of the replication process for an image.</p>" |
| 2250 | + } |
| 2251 | + }, |
| 2252 | + "com.amazonaws.ecr#ImageReplicationStatusList": { |
| 2253 | + "type": "list", |
| 2254 | + "member": { |
| 2255 | + "target": "com.amazonaws.ecr#ImageReplicationStatus" |
| 2256 | + } |
| 2257 | + }, |
2132 | 2258 | "com.amazonaws.ecr#ImageScanFinding": {
|
2133 | 2259 | "type": "structure",
|
2134 | 2260 | "members": {
|
|
3379 | 3505 | },
|
3380 | 3506 | {
|
3381 | 3507 | "target": "com.amazonaws.ecr#ServerException"
|
| 3508 | + }, |
| 3509 | + { |
| 3510 | + "target": "com.amazonaws.ecr#ValidationException" |
3382 | 3511 | }
|
3383 | 3512 | ],
|
3384 | 3513 | "traits": {
|
|
3515 | 3644 | "rules": {
|
3516 | 3645 | "target": "com.amazonaws.ecr#ReplicationRuleList",
|
3517 | 3646 | "traits": {
|
3518 |
| - "smithy.api#documentation": "<p>An array of objects representing the replication rules for a replication\n configuration. A replication configuration may contain only one replication rule but the\n rule may contain one or more replication destinations.</p>", |
| 3647 | + "smithy.api#documentation": "<p>An array of objects representing the replication destinations and repository filters\n for a replication configuration.</p>", |
3519 | 3648 | "smithy.api#required": {}
|
3520 | 3649 | }
|
3521 | 3650 | }
|
|
3530 | 3659 | "region": {
|
3531 | 3660 | "target": "com.amazonaws.ecr#Region",
|
3532 | 3661 | "traits": {
|
3533 |
| - "smithy.api#documentation": "<p>A Region to replicate to.</p>", |
| 3662 | + "smithy.api#documentation": "<p>The Region to replicate to.</p>", |
3534 | 3663 | "smithy.api#required": {}
|
3535 | 3664 | }
|
3536 | 3665 | },
|
3537 | 3666 | "registryId": {
|
3538 | 3667 | "target": "com.amazonaws.ecr#RegistryId",
|
3539 | 3668 | "traits": {
|
3540 |
| - "smithy.api#documentation": "<p>The account ID of the destination registry to replicate to.</p>", |
| 3669 | + "smithy.api#documentation": "<p>The Amazon Web Services account ID of the Amazon ECR private registry to replicate to. When configuring\n cross-Region replication within your own registry, specify your own account ID.</p>", |
3541 | 3670 | "smithy.api#required": {}
|
3542 | 3671 | }
|
3543 | 3672 | }
|
3544 | 3673 | },
|
3545 | 3674 | "traits": {
|
3546 |
| - "smithy.api#documentation": "<p>An array of objects representing the details of a replication destination.</p>" |
| 3675 | + "smithy.api#documentation": "<p>An array of objects representing the destination for a replication rule.</p>" |
3547 | 3676 | }
|
3548 | 3677 | },
|
3549 | 3678 | "com.amazonaws.ecr#ReplicationDestinationList": {
|
|
3558 | 3687 | }
|
3559 | 3688 | }
|
3560 | 3689 | },
|
| 3690 | + "com.amazonaws.ecr#ReplicationError": { |
| 3691 | + "type": "string" |
| 3692 | + }, |
3561 | 3693 | "com.amazonaws.ecr#ReplicationRule": {
|
3562 | 3694 | "type": "structure",
|
3563 | 3695 | "members": {
|
3564 | 3696 | "destinations": {
|
3565 | 3697 | "target": "com.amazonaws.ecr#ReplicationDestinationList",
|
3566 | 3698 | "traits": {
|
3567 |
| - "smithy.api#documentation": "<p>An array of objects representing the details of a replication destination.</p>", |
| 3699 | + "smithy.api#documentation": "<p>An array of objects representing the destination for a replication rule.</p>", |
3568 | 3700 | "smithy.api#required": {}
|
3569 | 3701 | }
|
| 3702 | + }, |
| 3703 | + "repositoryFilters": { |
| 3704 | + "target": "com.amazonaws.ecr#RepositoryFilterList", |
| 3705 | + "traits": { |
| 3706 | + "smithy.api#documentation": "<p>An array of objects representing the filters for a replication rule. Specifying a\n repository filter for a replication rule provides a method for controlling which\n repositories in a private registry are replicated.</p>" |
| 3707 | + } |
3570 | 3708 | }
|
3571 | 3709 | },
|
3572 | 3710 | "traits": {
|
3573 |
| - "smithy.api#documentation": "<p>An array of objects representing the replication destinations for a replication\n configuration. A replication configuration may contain only one replication rule but the\n rule may contain one or more replication destinations.</p>" |
| 3711 | + "smithy.api#documentation": "<p>An array of objects representing the replication destinations and repository filters\n for a replication configuration.</p>" |
3574 | 3712 | }
|
3575 | 3713 | },
|
3576 | 3714 | "com.amazonaws.ecr#ReplicationRuleList": {
|
|
3581 | 3719 | "traits": {
|
3582 | 3720 | "smithy.api#length": {
|
3583 | 3721 | "min": 0,
|
3584 |
| - "max": 1 |
| 3722 | + "max": 10 |
3585 | 3723 | }
|
3586 | 3724 | }
|
3587 | 3725 | },
|
| 3726 | + "com.amazonaws.ecr#ReplicationStatus": { |
| 3727 | + "type": "string", |
| 3728 | + "traits": { |
| 3729 | + "smithy.api#enum": [ |
| 3730 | + { |
| 3731 | + "value": "IN_PROGRESS", |
| 3732 | + "name": "IN_PROGRESS" |
| 3733 | + }, |
| 3734 | + { |
| 3735 | + "value": "COMPLETE", |
| 3736 | + "name": "COMPLETE" |
| 3737 | + }, |
| 3738 | + { |
| 3739 | + "value": "FAILED", |
| 3740 | + "name": "FAILED" |
| 3741 | + } |
| 3742 | + ] |
| 3743 | + } |
| 3744 | + }, |
3588 | 3745 | "com.amazonaws.ecr#Repository": {
|
3589 | 3746 | "type": "structure",
|
3590 | 3747 | "members": {
|
|
3653 | 3810 | "smithy.api#error": "client"
|
3654 | 3811 | }
|
3655 | 3812 | },
|
| 3813 | + "com.amazonaws.ecr#RepositoryFilter": { |
| 3814 | + "type": "structure", |
| 3815 | + "members": { |
| 3816 | + "filter": { |
| 3817 | + "target": "com.amazonaws.ecr#RepositoryFilterValue", |
| 3818 | + "traits": { |
| 3819 | + "smithy.api#documentation": "<p>The repository filter details. When the <code>PREFIX_MATCH</code> filter type is\n specified, this value is required and should be the repository name prefix to configure\n replication for.</p>", |
| 3820 | + "smithy.api#required": {} |
| 3821 | + } |
| 3822 | + }, |
| 3823 | + "filterType": { |
| 3824 | + "target": "com.amazonaws.ecr#RepositoryFilterType", |
| 3825 | + "traits": { |
| 3826 | + "smithy.api#documentation": "<p>The repository filter type. The only supported value is <code>PREFIX_MATCH</code>,\n which is a repository name prefix specified with the <code>filter</code>\n parameter.</p>", |
| 3827 | + "smithy.api#required": {} |
| 3828 | + } |
| 3829 | + } |
| 3830 | + }, |
| 3831 | + "traits": { |
| 3832 | + "smithy.api#documentation": "<p>The filter settings used with image replication. Specifying a repository filter to a\n replication rule provides a method for controlling which repositories in a private\n registry are replicated. If no repository filter is specified, all images in the\n repository are replicated.</p>" |
| 3833 | + } |
| 3834 | + }, |
| 3835 | + "com.amazonaws.ecr#RepositoryFilterList": { |
| 3836 | + "type": "list", |
| 3837 | + "member": { |
| 3838 | + "target": "com.amazonaws.ecr#RepositoryFilter" |
| 3839 | + }, |
| 3840 | + "traits": { |
| 3841 | + "smithy.api#length": { |
| 3842 | + "min": 1, |
| 3843 | + "max": 100 |
| 3844 | + } |
| 3845 | + } |
| 3846 | + }, |
| 3847 | + "com.amazonaws.ecr#RepositoryFilterType": { |
| 3848 | + "type": "string", |
| 3849 | + "traits": { |
| 3850 | + "smithy.api#enum": [ |
| 3851 | + { |
| 3852 | + "value": "PREFIX_MATCH", |
| 3853 | + "name": "PREFIX_MATCH" |
| 3854 | + } |
| 3855 | + ] |
| 3856 | + } |
| 3857 | + }, |
| 3858 | + "com.amazonaws.ecr#RepositoryFilterValue": { |
| 3859 | + "type": "string", |
| 3860 | + "traits": { |
| 3861 | + "smithy.api#length": { |
| 3862 | + "min": 2, |
| 3863 | + "max": 256 |
| 3864 | + }, |
| 3865 | + "smithy.api#pattern": "^(?:[a-z0-9]+(?:[._-][a-z0-9]*)*/)*[a-z0-9]*(?:[._-][a-z0-9]*)*$" |
| 3866 | + } |
| 3867 | + }, |
3656 | 3868 | "com.amazonaws.ecr#RepositoryList": {
|
3657 | 3869 | "type": "list",
|
3658 | 3870 | "member": {
|
|
0 commit comments