|
126 | 126 | "errors":[
|
127 | 127 | {"shape":"ServerException"},
|
128 | 128 | {"shape":"InvalidParameterException"},
|
129 |
| - {"shape":"RegistryPolicyNotFoundException"} |
| 129 | + {"shape":"RegistryPolicyNotFoundException"}, |
| 130 | + {"shape":"ValidationException"} |
130 | 131 | ],
|
131 | 132 | "documentation":"<p>Deletes the registry permissions policy.</p>"
|
132 | 133 | },
|
|
163 | 164 | ],
|
164 | 165 | "documentation":"<p>Deletes the repository policy associated with the specified repository.</p>"
|
165 | 166 | },
|
| 167 | + "DescribeImageReplicationStatus":{ |
| 168 | + "name":"DescribeImageReplicationStatus", |
| 169 | + "http":{ |
| 170 | + "method":"POST", |
| 171 | + "requestUri":"/" |
| 172 | + }, |
| 173 | + "input":{"shape":"DescribeImageReplicationStatusRequest"}, |
| 174 | + "output":{"shape":"DescribeImageReplicationStatusResponse"}, |
| 175 | + "errors":[ |
| 176 | + {"shape":"ServerException"}, |
| 177 | + {"shape":"InvalidParameterException"}, |
| 178 | + {"shape":"ImageNotFoundException"}, |
| 179 | + {"shape":"RepositoryNotFoundException"}, |
| 180 | + {"shape":"ValidationException"} |
| 181 | + ], |
| 182 | + "documentation":"<p>Returns the replication status for a specified image.</p>" |
| 183 | + }, |
166 | 184 | "DescribeImageScanFindings":{
|
167 | 185 | "name":"DescribeImageScanFindings",
|
168 | 186 | "http":{
|
|
300 | 318 | "errors":[
|
301 | 319 | {"shape":"ServerException"},
|
302 | 320 | {"shape":"InvalidParameterException"},
|
303 |
| - {"shape":"RegistryPolicyNotFoundException"} |
| 321 | + {"shape":"RegistryPolicyNotFoundException"}, |
| 322 | + {"shape":"ValidationException"} |
304 | 323 | ],
|
305 | 324 | "documentation":"<p>Retrieves the permissions policy for a registry.</p>"
|
306 | 325 | },
|
|
443 | 462 | "output":{"shape":"PutRegistryPolicyResponse"},
|
444 | 463 | "errors":[
|
445 | 464 | {"shape":"ServerException"},
|
446 |
| - {"shape":"InvalidParameterException"} |
| 465 | + {"shape":"InvalidParameterException"}, |
| 466 | + {"shape":"ValidationException"} |
447 | 467 | ],
|
448 | 468 | "documentation":"<p>Creates or updates the permissions policy for your registry.</p> <p>A registry policy is used to specify permissions for another Amazon Web Services account and is used when configuring cross-account replication. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECR/latest/userguide/registry-permissions.html\">Registry permissions</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>"
|
449 | 469 | },
|
|
794 | 814 | "type":"structure",
|
795 | 815 | "required":["repositoryName"],
|
796 | 816 | "members":{
|
| 817 | + "registryId":{ |
| 818 | + "shape":"RegistryId", |
| 819 | + "documentation":"<p>The AWS account ID associated with the registry to create the repository. If you do not specify a registry, the default registry is assumed.</p>" |
| 820 | + }, |
797 | 821 | "repositoryName":{
|
798 | 822 | "shape":"RepositoryName",
|
799 | 823 | "documentation":"<p>The name to use for the repository. The repository name may be specified on its own (such as <code>nginx-web-app</code>) or it can be prepended with a namespace to group the repository into a category (such as <code>project-a/nginx-web-app</code>).</p>"
|
|
937 | 961 | }
|
938 | 962 | }
|
939 | 963 | },
|
| 964 | + "DescribeImageReplicationStatusRequest":{ |
| 965 | + "type":"structure", |
| 966 | + "required":[ |
| 967 | + "repositoryName", |
| 968 | + "imageId" |
| 969 | + ], |
| 970 | + "members":{ |
| 971 | + "repositoryName":{ |
| 972 | + "shape":"RepositoryName", |
| 973 | + "documentation":"<p>The name of the repository that the image is in.</p>" |
| 974 | + }, |
| 975 | + "imageId":{"shape":"ImageIdentifier"}, |
| 976 | + "registryId":{ |
| 977 | + "shape":"RegistryId", |
| 978 | + "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>" |
| 979 | + } |
| 980 | + } |
| 981 | + }, |
| 982 | + "DescribeImageReplicationStatusResponse":{ |
| 983 | + "type":"structure", |
| 984 | + "members":{ |
| 985 | + "repositoryName":{ |
| 986 | + "shape":"RepositoryName", |
| 987 | + "documentation":"<p>The repository name associated with the request.</p>" |
| 988 | + }, |
| 989 | + "imageId":{"shape":"ImageIdentifier"}, |
| 990 | + "replicationStatuses":{ |
| 991 | + "shape":"ImageReplicationStatusList", |
| 992 | + "documentation":"<p>The replication status details for the images in the specified repository.</p>" |
| 993 | + } |
| 994 | + } |
| 995 | + }, |
940 | 996 | "DescribeImageScanFindingsRequest":{
|
941 | 997 | "type":"structure",
|
942 | 998 | "required":[
|
|
1507 | 1563 | "documentation":"<p>The tag used for the image.</p>"
|
1508 | 1564 | }
|
1509 | 1565 | },
|
1510 |
| - "documentation":"<p>An object with identifying information for an Amazon ECR image.</p>" |
| 1566 | + "documentation":"<p>An object with identifying information for an image in an Amazon ECR repository.</p>" |
1511 | 1567 | },
|
1512 | 1568 | "ImageIdentifierList":{
|
1513 | 1569 | "type":"list",
|
|
1532 | 1588 | "documentation":"<p>The image requested does not exist in the specified repository.</p>",
|
1533 | 1589 | "exception":true
|
1534 | 1590 | },
|
| 1591 | + "ImageReplicationStatus":{ |
| 1592 | + "type":"structure", |
| 1593 | + "members":{ |
| 1594 | + "region":{ |
| 1595 | + "shape":"Region", |
| 1596 | + "documentation":"<p>The destination Region for the image replication.</p>" |
| 1597 | + }, |
| 1598 | + "registryId":{ |
| 1599 | + "shape":"RegistryId", |
| 1600 | + "documentation":"<p>The AWS account ID associated with the registry to which the image belongs.</p>" |
| 1601 | + }, |
| 1602 | + "status":{ |
| 1603 | + "shape":"ReplicationStatus", |
| 1604 | + "documentation":"<p>The image replication status.</p>" |
| 1605 | + }, |
| 1606 | + "failureCode":{ |
| 1607 | + "shape":"ReplicationError", |
| 1608 | + "documentation":"<p>The failure code for a replication that has failed.</p>" |
| 1609 | + } |
| 1610 | + }, |
| 1611 | + "documentation":"<p>The status of the replication process for an image.</p>" |
| 1612 | + }, |
| 1613 | + "ImageReplicationStatusList":{ |
| 1614 | + "type":"list", |
| 1615 | + "member":{"shape":"ImageReplicationStatus"} |
| 1616 | + }, |
1535 | 1617 | "ImageScanFinding":{
|
1536 | 1618 | "type":"structure",
|
1537 | 1619 | "members":{
|
|
2316 | 2398 | "members":{
|
2317 | 2399 | "rules":{
|
2318 | 2400 | "shape":"ReplicationRuleList",
|
2319 |
| - "documentation":"<p>An array of objects representing the replication rules for a replication configuration. A replication configuration may contain only one replication rule but the rule may contain one or more replication destinations.</p>" |
| 2401 | + "documentation":"<p>An array of objects representing the replication destinations and repository filters for a replication configuration.</p>" |
2320 | 2402 | }
|
2321 | 2403 | },
|
2322 | 2404 | "documentation":"<p>The replication configuration for a registry.</p>"
|
|
2330 | 2412 | "members":{
|
2331 | 2413 | "region":{
|
2332 | 2414 | "shape":"Region",
|
2333 |
| - "documentation":"<p>A Region to replicate to.</p>" |
| 2415 | + "documentation":"<p>The Region to replicate to.</p>" |
2334 | 2416 | },
|
2335 | 2417 | "registryId":{
|
2336 | 2418 | "shape":"RegistryId",
|
2337 |
| - "documentation":"<p>The account ID of the destination registry to replicate to.</p>" |
| 2419 | + "documentation":"<p>The Amazon Web Services account ID of the Amazon ECR private registry to replicate to. When configuring cross-Region replication within your own registry, specify your own account ID.</p>" |
2338 | 2420 | }
|
2339 | 2421 | },
|
2340 |
| - "documentation":"<p>An array of objects representing the details of a replication destination.</p>" |
| 2422 | + "documentation":"<p>An array of objects representing the destination for a replication rule.</p>" |
2341 | 2423 | },
|
2342 | 2424 | "ReplicationDestinationList":{
|
2343 | 2425 | "type":"list",
|
2344 | 2426 | "member":{"shape":"ReplicationDestination"},
|
2345 | 2427 | "max":25,
|
2346 | 2428 | "min":0
|
2347 | 2429 | },
|
| 2430 | + "ReplicationError":{"type":"string"}, |
2348 | 2431 | "ReplicationRule":{
|
2349 | 2432 | "type":"structure",
|
2350 | 2433 | "required":["destinations"],
|
2351 | 2434 | "members":{
|
2352 | 2435 | "destinations":{
|
2353 | 2436 | "shape":"ReplicationDestinationList",
|
2354 |
| - "documentation":"<p>An array of objects representing the details of a replication destination.</p>" |
| 2437 | + "documentation":"<p>An array of objects representing the destination for a replication rule.</p>" |
| 2438 | + }, |
| 2439 | + "repositoryFilters":{ |
| 2440 | + "shape":"RepositoryFilterList", |
| 2441 | + "documentation":"<p>An array of objects representing the filters for a replication rule. Specifying a repository filter for a replication rule provides a method for controlling which repositories in a private registry are replicated.</p>" |
2355 | 2442 | }
|
2356 | 2443 | },
|
2357 |
| - "documentation":"<p>An array of objects representing the replication destinations for a replication configuration. A replication configuration may contain only one replication rule but the rule may contain one or more replication destinations.</p>" |
| 2444 | + "documentation":"<p>An array of objects representing the replication destinations and repository filters for a replication configuration.</p>" |
2358 | 2445 | },
|
2359 | 2446 | "ReplicationRuleList":{
|
2360 | 2447 | "type":"list",
|
2361 | 2448 | "member":{"shape":"ReplicationRule"},
|
2362 |
| - "max":1, |
| 2449 | + "max":10, |
2363 | 2450 | "min":0
|
2364 | 2451 | },
|
| 2452 | + "ReplicationStatus":{ |
| 2453 | + "type":"string", |
| 2454 | + "enum":[ |
| 2455 | + "IN_PROGRESS", |
| 2456 | + "COMPLETE", |
| 2457 | + "FAILED" |
| 2458 | + ] |
| 2459 | + }, |
2365 | 2460 | "Repository":{
|
2366 | 2461 | "type":"structure",
|
2367 | 2462 | "members":{
|
|
2408 | 2503 | "documentation":"<p>The specified repository already exists in the specified registry.</p>",
|
2409 | 2504 | "exception":true
|
2410 | 2505 | },
|
| 2506 | + "RepositoryFilter":{ |
| 2507 | + "type":"structure", |
| 2508 | + "required":[ |
| 2509 | + "filter", |
| 2510 | + "filterType" |
| 2511 | + ], |
| 2512 | + "members":{ |
| 2513 | + "filter":{ |
| 2514 | + "shape":"RepositoryFilterValue", |
| 2515 | + "documentation":"<p>The repository filter details. When the <code>PREFIX_MATCH</code> filter type is specified, this value is required and should be the repository name prefix to configure replication for.</p>" |
| 2516 | + }, |
| 2517 | + "filterType":{ |
| 2518 | + "shape":"RepositoryFilterType", |
| 2519 | + "documentation":"<p>The repository filter type. The only supported value is <code>PREFIX_MATCH</code>, which is a repository name prefix specified with the <code>filter</code> parameter.</p>" |
| 2520 | + } |
| 2521 | + }, |
| 2522 | + "documentation":"<p>The filter settings used with image replication. Specifying a repository filter to a replication rule provides a method for controlling which repositories in a private registry are replicated. If no repository filter is specified, all images in the repository are replicated.</p>" |
| 2523 | + }, |
| 2524 | + "RepositoryFilterList":{ |
| 2525 | + "type":"list", |
| 2526 | + "member":{"shape":"RepositoryFilter"}, |
| 2527 | + "max":100, |
| 2528 | + "min":1 |
| 2529 | + }, |
| 2530 | + "RepositoryFilterType":{ |
| 2531 | + "type":"string", |
| 2532 | + "enum":["PREFIX_MATCH"] |
| 2533 | + }, |
| 2534 | + "RepositoryFilterValue":{ |
| 2535 | + "type":"string", |
| 2536 | + "max":256, |
| 2537 | + "min":2, |
| 2538 | + "pattern":"^(?:[a-z0-9]+(?:[._-][a-z0-9]*)*/)*[a-z0-9]*(?:[._-][a-z0-9]*)*$" |
| 2539 | + }, |
2411 | 2540 | "RepositoryList":{
|
2412 | 2541 | "type":"list",
|
2413 | 2542 | "member":{"shape":"Repository"}
|
|
0 commit comments