aws-sdk-ecr 1.43.0 → 1.47.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecr/client.rb +166 -94
- data/lib/aws-sdk-ecr/client_api.rb +52 -0
- data/lib/aws-sdk-ecr/types.rb +295 -126
- data/lib/aws-sdk-ecr.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5fefd3b77aa0f2517749c9f3e2806af7a1752e653ff5848b8f3e6f462d200e37
|
4
|
+
data.tar.gz: 283bca2dba559b1c9fba36278418d0e5fe3e4871b8fd11be6fc9c43114be8fa2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a72739a92883b460ac1898698c9510ce851d7b9fdc7b5d3d0381de4b28d450d6006a507597d1ea88d881e1b4ef3765dc1db7dfacef282345fe1a24be6903ceb0
|
7
|
+
data.tar.gz: cd918dfe3dae5eb3542375cd2d4be8fbca4a151e17dff2182617baff366f0d5de020d496f5a134b94f6ff0221019047bde4f3bd7623913311c6cf8906119da4a
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.47.0 (2021-09-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds additional support for repository replication
|
8
|
+
|
9
|
+
1.46.0 (2021-09-10)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release updates terminology around KMS keys.
|
13
|
+
|
14
|
+
1.45.0 (2021-09-01)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.44.0 (2021-07-30)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.43.0 (2021-07-28)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.47.0
|
data/lib/aws-sdk-ecr/client.rb
CHANGED
@@ -350,9 +350,9 @@ module Aws::ECR
|
|
350
350
|
# </note>
|
351
351
|
#
|
352
352
|
# @option params [String] :registry_id
|
353
|
-
# The
|
354
|
-
# image layers to check. If you do not specify a registry,
|
355
|
-
# registry is assumed.
|
353
|
+
# The Amazon Web Services account ID associated with the registry that
|
354
|
+
# contains the image layers to check. If you do not specify a registry,
|
355
|
+
# the default registry is assumed.
|
356
356
|
#
|
357
357
|
# @option params [required, String] :repository_name
|
358
358
|
# The name of the repository that is associated with the image layers to
|
@@ -406,9 +406,9 @@ module Aws::ECR
|
|
406
406
|
# the image's digest in your request.
|
407
407
|
#
|
408
408
|
# @option params [String] :registry_id
|
409
|
-
# The
|
410
|
-
# image to delete. If you do not specify a registry, the
|
411
|
-
# registry is assumed.
|
409
|
+
# The Amazon Web Services account ID associated with the registry that
|
410
|
+
# contains the image to delete. If you do not specify a registry, the
|
411
|
+
# default registry is assumed.
|
412
412
|
#
|
413
413
|
# @option params [required, String] :repository_name
|
414
414
|
# The repository that contains the image to delete.
|
@@ -490,9 +490,9 @@ module Aws::ECR
|
|
490
490
|
# retrieve the image manifest.
|
491
491
|
#
|
492
492
|
# @option params [String] :registry_id
|
493
|
-
# The
|
494
|
-
# images to describe. If you do not specify a registry, the
|
495
|
-
# registry is assumed.
|
493
|
+
# The Amazon Web Services account ID associated with the registry that
|
494
|
+
# contains the images to describe. If you do not specify a registry, the
|
495
|
+
# default registry is assumed.
|
496
496
|
#
|
497
497
|
# @option params [required, String] :repository_name
|
498
498
|
# The repository that contains the images to describe.
|
@@ -599,9 +599,9 @@ module Aws::ECR
|
|
599
599
|
# </note>
|
600
600
|
#
|
601
601
|
# @option params [String] :registry_id
|
602
|
-
# The
|
603
|
-
# layers. If you do not specify a registry, the default
|
604
|
-
# assumed.
|
602
|
+
# The Amazon Web Services account ID associated with the registry to
|
603
|
+
# which to upload layers. If you do not specify a registry, the default
|
604
|
+
# registry is assumed.
|
605
605
|
#
|
606
606
|
# @option params [required, String] :repository_name
|
607
607
|
# The name of the repository to associate with the image layer.
|
@@ -646,13 +646,18 @@ module Aws::ECR
|
|
646
646
|
end
|
647
647
|
|
648
648
|
# Creates a repository. For more information, see [Amazon ECR
|
649
|
-
#
|
649
|
+
# repositories][1] in the *Amazon Elastic Container Registry User
|
650
650
|
# Guide*.
|
651
651
|
#
|
652
652
|
#
|
653
653
|
#
|
654
654
|
# [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/Repositories.html
|
655
655
|
#
|
656
|
+
# @option params [String] :registry_id
|
657
|
+
# The AWS account ID associated with the registry to create the
|
658
|
+
# repository. If you do not specify a registry, the default registry is
|
659
|
+
# assumed.
|
660
|
+
#
|
656
661
|
# @option params [required, String] :repository_name
|
657
662
|
# The name to use for the repository. The repository name may be
|
658
663
|
# specified on its own (such as `nginx-web-app`) or it can be prepended
|
@@ -708,6 +713,7 @@ module Aws::ECR
|
|
708
713
|
# @example Request syntax with placeholder values
|
709
714
|
#
|
710
715
|
# resp = client.create_repository({
|
716
|
+
# registry_id: "RegistryId",
|
711
717
|
# repository_name: "RepositoryName", # required
|
712
718
|
# tags: [
|
713
719
|
# {
|
@@ -749,9 +755,9 @@ module Aws::ECR
|
|
749
755
|
# Deletes the lifecycle policy associated with the specified repository.
|
750
756
|
#
|
751
757
|
# @option params [String] :registry_id
|
752
|
-
# The
|
753
|
-
# repository. If you do not specify a registry, the default
|
754
|
-
# assumed.
|
758
|
+
# The Amazon Web Services account ID associated with the registry that
|
759
|
+
# contains the repository. If you do not specify a registry, the default
|
760
|
+
# registry is assumed.
|
755
761
|
#
|
756
762
|
# @option params [required, String] :repository_name
|
757
763
|
# The name of the repository.
|
@@ -812,9 +818,9 @@ module Aws::ECR
|
|
812
818
|
# to delete the repository.
|
813
819
|
#
|
814
820
|
# @option params [String] :registry_id
|
815
|
-
# The
|
816
|
-
# repository to delete. If you do not specify a registry,
|
817
|
-
# registry is assumed.
|
821
|
+
# The Amazon Web Services account ID associated with the registry that
|
822
|
+
# contains the repository to delete. If you do not specify a registry,
|
823
|
+
# the default registry is assumed.
|
818
824
|
#
|
819
825
|
# @option params [required, String] :repository_name
|
820
826
|
# The name of the repository to delete.
|
@@ -879,9 +885,9 @@ module Aws::ECR
|
|
879
885
|
# repository.
|
880
886
|
#
|
881
887
|
# @option params [String] :registry_id
|
882
|
-
# The
|
883
|
-
# repository policy to delete. If you do not specify a
|
884
|
-
# default registry is assumed.
|
888
|
+
# The Amazon Web Services account ID associated with the registry that
|
889
|
+
# contains the repository policy to delete. If you do not specify a
|
890
|
+
# registry, the default registry is assumed.
|
885
891
|
#
|
886
892
|
# @option params [required, String] :repository_name
|
887
893
|
# The name of the repository that is associated with the repository
|
@@ -931,18 +937,70 @@ module Aws::ECR
|
|
931
937
|
req.send_request(options)
|
932
938
|
end
|
933
939
|
|
940
|
+
# Returns the replication status for a specified image.
|
941
|
+
#
|
942
|
+
# @option params [required, String] :repository_name
|
943
|
+
# The name of the repository that the image is in.
|
944
|
+
#
|
945
|
+
# @option params [required, Types::ImageIdentifier] :image_id
|
946
|
+
# An object with identifying information for an image in an Amazon ECR
|
947
|
+
# repository.
|
948
|
+
#
|
949
|
+
# @option params [String] :registry_id
|
950
|
+
# The Amazon Web Services account ID associated with the registry. If
|
951
|
+
# you do not specify a registry, the default registry is assumed.
|
952
|
+
#
|
953
|
+
# @return [Types::DescribeImageReplicationStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
954
|
+
#
|
955
|
+
# * {Types::DescribeImageReplicationStatusResponse#repository_name #repository_name} => String
|
956
|
+
# * {Types::DescribeImageReplicationStatusResponse#image_id #image_id} => Types::ImageIdentifier
|
957
|
+
# * {Types::DescribeImageReplicationStatusResponse#replication_statuses #replication_statuses} => Array<Types::ImageReplicationStatus>
|
958
|
+
#
|
959
|
+
# @example Request syntax with placeholder values
|
960
|
+
#
|
961
|
+
# resp = client.describe_image_replication_status({
|
962
|
+
# repository_name: "RepositoryName", # required
|
963
|
+
# image_id: { # required
|
964
|
+
# image_digest: "ImageDigest",
|
965
|
+
# image_tag: "ImageTag",
|
966
|
+
# },
|
967
|
+
# registry_id: "RegistryId",
|
968
|
+
# })
|
969
|
+
#
|
970
|
+
# @example Response structure
|
971
|
+
#
|
972
|
+
# resp.repository_name #=> String
|
973
|
+
# resp.image_id.image_digest #=> String
|
974
|
+
# resp.image_id.image_tag #=> String
|
975
|
+
# resp.replication_statuses #=> Array
|
976
|
+
# resp.replication_statuses[0].region #=> String
|
977
|
+
# resp.replication_statuses[0].registry_id #=> String
|
978
|
+
# resp.replication_statuses[0].status #=> String, one of "IN_PROGRESS", "COMPLETE", "FAILED"
|
979
|
+
# resp.replication_statuses[0].failure_code #=> String
|
980
|
+
#
|
981
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImageReplicationStatus AWS API Documentation
|
982
|
+
#
|
983
|
+
# @overload describe_image_replication_status(params = {})
|
984
|
+
# @param [Hash] params ({})
|
985
|
+
def describe_image_replication_status(params = {}, options = {})
|
986
|
+
req = build_request(:describe_image_replication_status, params)
|
987
|
+
req.send_request(options)
|
988
|
+
end
|
989
|
+
|
934
990
|
# Returns the scan findings for the specified image.
|
935
991
|
#
|
936
992
|
# @option params [String] :registry_id
|
937
|
-
# The
|
938
|
-
# repository in which to describe the image scan findings
|
939
|
-
# not specify a registry, the default registry is
|
993
|
+
# The Amazon Web Services account ID associated with the registry that
|
994
|
+
# contains the repository in which to describe the image scan findings
|
995
|
+
# for. If you do not specify a registry, the default registry is
|
996
|
+
# assumed.
|
940
997
|
#
|
941
998
|
# @option params [required, String] :repository_name
|
942
999
|
# The repository for the image for which to describe the scan findings.
|
943
1000
|
#
|
944
1001
|
# @option params [required, Types::ImageIdentifier] :image_id
|
945
|
-
# An object with identifying information for an Amazon ECR
|
1002
|
+
# An object with identifying information for an image in an Amazon ECR
|
1003
|
+
# repository.
|
946
1004
|
#
|
947
1005
|
# @option params [String] :next_token
|
948
1006
|
# The `nextToken` value returned from a previous paginated
|
@@ -1033,9 +1091,9 @@ module Aws::ECR
|
|
1033
1091
|
# </note>
|
1034
1092
|
#
|
1035
1093
|
# @option params [String] :registry_id
|
1036
|
-
# The
|
1037
|
-
# repository in which to describe images. If you do not
|
1038
|
-
# registry, the default registry is assumed.
|
1094
|
+
# The Amazon Web Services account ID associated with the registry that
|
1095
|
+
# contains the repository in which to describe images. If you do not
|
1096
|
+
# specify a registry, the default registry is assumed.
|
1039
1097
|
#
|
1040
1098
|
# @option params [required, String] :repository_name
|
1041
1099
|
# The repository that contains the images to describe.
|
@@ -1136,6 +1194,9 @@ module Aws::ECR
|
|
1136
1194
|
# resp.replication_configuration.rules[0].destinations #=> Array
|
1137
1195
|
# resp.replication_configuration.rules[0].destinations[0].region #=> String
|
1138
1196
|
# resp.replication_configuration.rules[0].destinations[0].registry_id #=> String
|
1197
|
+
# resp.replication_configuration.rules[0].repository_filters #=> Array
|
1198
|
+
# resp.replication_configuration.rules[0].repository_filters[0].filter #=> String
|
1199
|
+
# resp.replication_configuration.rules[0].repository_filters[0].filter_type #=> String, one of "PREFIX_MATCH"
|
1139
1200
|
#
|
1140
1201
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeRegistry AWS API Documentation
|
1141
1202
|
#
|
@@ -1149,9 +1210,9 @@ module Aws::ECR
|
|
1149
1210
|
# Describes image repositories in a registry.
|
1150
1211
|
#
|
1151
1212
|
# @option params [String] :registry_id
|
1152
|
-
# The
|
1153
|
-
# repositories to be described. If you do not specify a
|
1154
|
-
# default registry is assumed.
|
1213
|
+
# The Amazon Web Services account ID associated with the registry that
|
1214
|
+
# contains the repositories to be described. If you do not specify a
|
1215
|
+
# registry, the default registry is assumed.
|
1155
1216
|
#
|
1156
1217
|
# @option params [Array<String>] :repository_names
|
1157
1218
|
# A list of repositories to describe. If this parameter is omitted, then
|
@@ -1255,9 +1316,9 @@ module Aws::ECR
|
|
1255
1316
|
#
|
1256
1317
|
# The `authorizationToken` returned is a base64 encoded string that can
|
1257
1318
|
# be decoded and used in a `docker login` command to authenticate to a
|
1258
|
-
# registry. The
|
1319
|
+
# registry. The CLI offers an `get-login-password` command that
|
1259
1320
|
# simplifies the login process. For more information, see [Registry
|
1260
|
-
#
|
1321
|
+
# authentication][1] in the *Amazon Elastic Container Registry User
|
1261
1322
|
# Guide*.
|
1262
1323
|
#
|
1263
1324
|
#
|
@@ -1265,9 +1326,9 @@ module Aws::ECR
|
|
1265
1326
|
# [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/Registries.html#registry_auth
|
1266
1327
|
#
|
1267
1328
|
# @option params [Array<String>] :registry_ids
|
1268
|
-
# A list of
|
1269
|
-
# which to get AuthorizationData objects. If you do not
|
1270
|
-
# registry, the default registry is assumed.
|
1329
|
+
# A list of Amazon Web Services account IDs that are associated with the
|
1330
|
+
# registries for which to get AuthorizationData objects. If you do not
|
1331
|
+
# specify a registry, the default registry is assumed.
|
1271
1332
|
#
|
1272
1333
|
# @return [Types::GetAuthorizationTokenResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1273
1334
|
#
|
@@ -1328,9 +1389,9 @@ module Aws::ECR
|
|
1328
1389
|
# </note>
|
1329
1390
|
#
|
1330
1391
|
# @option params [String] :registry_id
|
1331
|
-
# The
|
1332
|
-
# image layer to download. If you do not specify a
|
1333
|
-
# registry is assumed.
|
1392
|
+
# The Amazon Web Services account ID associated with the registry that
|
1393
|
+
# contains the image layer to download. If you do not specify a
|
1394
|
+
# registry, the default registry is assumed.
|
1334
1395
|
#
|
1335
1396
|
# @option params [required, String] :repository_name
|
1336
1397
|
# The name of the repository that is associated with the image layer to
|
@@ -1369,9 +1430,9 @@ module Aws::ECR
|
|
1369
1430
|
# Retrieves the lifecycle policy for the specified repository.
|
1370
1431
|
#
|
1371
1432
|
# @option params [String] :registry_id
|
1372
|
-
# The
|
1373
|
-
# repository. If you do not specify a registry, the default
|
1374
|
-
# assumed.
|
1433
|
+
# The Amazon Web Services account ID associated with the registry that
|
1434
|
+
# contains the repository. If you do not specify a registry, the default
|
1435
|
+
# registry is assumed.
|
1375
1436
|
#
|
1376
1437
|
# @option params [required, String] :repository_name
|
1377
1438
|
# The name of the repository.
|
@@ -1410,9 +1471,9 @@ module Aws::ECR
|
|
1410
1471
|
# specified repository.
|
1411
1472
|
#
|
1412
1473
|
# @option params [String] :registry_id
|
1413
|
-
# The
|
1414
|
-
# repository. If you do not specify a registry, the default
|
1415
|
-
# assumed.
|
1474
|
+
# The Amazon Web Services account ID associated with the registry that
|
1475
|
+
# contains the repository. If you do not specify a registry, the default
|
1476
|
+
# registry is assumed.
|
1416
1477
|
#
|
1417
1478
|
# @option params [required, String] :repository_name
|
1418
1479
|
# The name of the repository.
|
@@ -1530,9 +1591,9 @@ module Aws::ECR
|
|
1530
1591
|
# Retrieves the repository policy for the specified repository.
|
1531
1592
|
#
|
1532
1593
|
# @option params [String] :registry_id
|
1533
|
-
# The
|
1534
|
-
# repository. If you do not specify a registry, the default
|
1535
|
-
# assumed.
|
1594
|
+
# The Amazon Web Services account ID associated with the registry that
|
1595
|
+
# contains the repository. If you do not specify a registry, the default
|
1596
|
+
# registry is assumed.
|
1536
1597
|
#
|
1537
1598
|
# @option params [required, String] :repository_name
|
1538
1599
|
# The name of the repository with the policy to retrieve.
|
@@ -1595,9 +1656,9 @@ module Aws::ECR
|
|
1595
1656
|
# </note>
|
1596
1657
|
#
|
1597
1658
|
# @option params [String] :registry_id
|
1598
|
-
# The
|
1599
|
-
# upload layers. If you do not specify a registry,
|
1600
|
-
# is assumed.
|
1659
|
+
# The Amazon Web Services account ID associated with the registry to
|
1660
|
+
# which you intend to upload layers. If you do not specify a registry,
|
1661
|
+
# the default registry is assumed.
|
1601
1662
|
#
|
1602
1663
|
# @option params [required, String] :repository_name
|
1603
1664
|
# The name of the repository to which you intend to upload layers.
|
@@ -1638,9 +1699,9 @@ module Aws::ECR
|
|
1638
1699
|
# only `TAGGED` images to list all of the tags in your repository.
|
1639
1700
|
#
|
1640
1701
|
# @option params [String] :registry_id
|
1641
|
-
# The
|
1642
|
-
# repository in which to list images. If you do not specify
|
1643
|
-
# the default registry is assumed.
|
1702
|
+
# The Amazon Web Services account ID associated with the registry that
|
1703
|
+
# contains the repository in which to list images. If you do not specify
|
1704
|
+
# a registry, the default registry is assumed.
|
1644
1705
|
#
|
1645
1706
|
# @option params [required, String] :repository_name
|
1646
1707
|
# The repository with image IDs to be listed.
|
@@ -1772,9 +1833,9 @@ module Aws::ECR
|
|
1772
1833
|
# </note>
|
1773
1834
|
#
|
1774
1835
|
# @option params [String] :registry_id
|
1775
|
-
# The
|
1776
|
-
# repository in which to put the image. If you do not
|
1777
|
-
# registry, the default registry is assumed.
|
1836
|
+
# The Amazon Web Services account ID associated with the registry that
|
1837
|
+
# contains the repository in which to put the image. If you do not
|
1838
|
+
# specify a registry, the default registry is assumed.
|
1778
1839
|
#
|
1779
1840
|
# @option params [required, String] :repository_name
|
1780
1841
|
# The name of the repository in which to put the image.
|
@@ -1831,10 +1892,10 @@ module Aws::ECR
|
|
1831
1892
|
# Updates the image scanning configuration for the specified repository.
|
1832
1893
|
#
|
1833
1894
|
# @option params [String] :registry_id
|
1834
|
-
# The
|
1835
|
-
# repository in which to update the image scanning
|
1836
|
-
# setting. If you do not specify a registry, the default
|
1837
|
-
# assumed.
|
1895
|
+
# The Amazon Web Services account ID associated with the registry that
|
1896
|
+
# contains the repository in which to update the image scanning
|
1897
|
+
# configuration setting. If you do not specify a registry, the default
|
1898
|
+
# registry is assumed.
|
1838
1899
|
#
|
1839
1900
|
# @option params [required, String] :repository_name
|
1840
1901
|
# The name of the repository in which to update the image scanning
|
@@ -1877,7 +1938,7 @@ module Aws::ECR
|
|
1877
1938
|
end
|
1878
1939
|
|
1879
1940
|
# Updates the image tag mutability settings for the specified
|
1880
|
-
# repository. For more information, see [Image
|
1941
|
+
# repository. For more information, see [Image tag mutability][1] in the
|
1881
1942
|
# *Amazon Elastic Container Registry User Guide*.
|
1882
1943
|
#
|
1883
1944
|
#
|
@@ -1885,9 +1946,10 @@ module Aws::ECR
|
|
1885
1946
|
# [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-tag-mutability.html
|
1886
1947
|
#
|
1887
1948
|
# @option params [String] :registry_id
|
1888
|
-
# The
|
1889
|
-
# repository in which to update the image tag mutability
|
1890
|
-
# you do not specify a registry, the default registry is
|
1949
|
+
# The Amazon Web Services account ID associated with the registry that
|
1950
|
+
# contains the repository in which to update the image tag mutability
|
1951
|
+
# settings. If you do not specify a registry, the default registry is
|
1952
|
+
# assumed.
|
1891
1953
|
#
|
1892
1954
|
# @option params [required, String] :repository_name
|
1893
1955
|
# The name of the repository in which to update the image tag mutability
|
@@ -1929,16 +1991,16 @@ module Aws::ECR
|
|
1929
1991
|
end
|
1930
1992
|
|
1931
1993
|
# Creates or updates the lifecycle policy for the specified repository.
|
1932
|
-
# For more information, see [Lifecycle
|
1994
|
+
# For more information, see [Lifecycle policy template][1].
|
1933
1995
|
#
|
1934
1996
|
#
|
1935
1997
|
#
|
1936
1998
|
# [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html
|
1937
1999
|
#
|
1938
2000
|
# @option params [String] :registry_id
|
1939
|
-
# The
|
1940
|
-
# repository. If you do
not specify a registry, the
|
1941
|
-
# assumed.
|
2001
|
+
# The Amazon Web Services account ID associated with the registry that
|
2002
|
+
# contains the repository. If you do
not specify a registry, the
|
2003
|
+
# default registry is assumed.
|
1942
2004
|
#
|
1943
2005
|
# @option params [required, String] :repository_name
|
1944
2006
|
# The name of the repository to receive the policy.
|
@@ -1977,10 +2039,10 @@ module Aws::ECR
|
|
1977
2039
|
|
1978
2040
|
# Creates or updates the permissions policy for your registry.
|
1979
2041
|
#
|
1980
|
-
# A registry policy is used to specify permissions for another
|
1981
|
-
# account and is used when configuring cross-account
|
1982
|
-
# more information, see [Registry permissions][1] in
|
1983
|
-
# Container Registry User Guide*.
|
2042
|
+
# A registry policy is used to specify permissions for another Amazon
|
2043
|
+
# Web Services account and is used when configuring cross-account
|
2044
|
+
# replication. For more information, see [Registry permissions][1] in
|
2045
|
+
# the *Amazon Elastic Container Registry User Guide*.
|
1984
2046
|
#
|
1985
2047
|
#
|
1986
2048
|
#
|
@@ -2026,7 +2088,7 @@ module Aws::ECR
|
|
2026
2088
|
# with the DescribeRegistry API action. The first time the
|
2027
2089
|
# PutReplicationConfiguration API is called, a service-linked IAM role
|
2028
2090
|
# is created in your account for the replication process. For more
|
2029
|
-
# information, see [Using
|
2091
|
+
# information, see [Using service-linked roles for Amazon ECR][1] in the
|
2030
2092
|
# *Amazon Elastic Container Registry User Guide*.
|
2031
2093
|
#
|
2032
2094
|
# <note markdown="1"> When configuring cross-account replication, the destination account
|
@@ -2059,6 +2121,12 @@ module Aws::ECR
|
|
2059
2121
|
# registry_id: "RegistryId", # required
|
2060
2122
|
# },
|
2061
2123
|
# ],
|
2124
|
+
# repository_filters: [
|
2125
|
+
# {
|
2126
|
+
# filter: "RepositoryFilterValue", # required
|
2127
|
+
# filter_type: "PREFIX_MATCH", # required, accepts PREFIX_MATCH
|
2128
|
+
# },
|
2129
|
+
# ],
|
2062
2130
|
# },
|
2063
2131
|
# ],
|
2064
2132
|
# },
|
@@ -2070,6 +2138,9 @@ module Aws::ECR
|
|
2070
2138
|
# resp.replication_configuration.rules[0].destinations #=> Array
|
2071
2139
|
# resp.replication_configuration.rules[0].destinations[0].region #=> String
|
2072
2140
|
# resp.replication_configuration.rules[0].destinations[0].registry_id #=> String
|
2141
|
+
# resp.replication_configuration.rules[0].repository_filters #=> Array
|
2142
|
+
# resp.replication_configuration.rules[0].repository_filters[0].filter #=> String
|
2143
|
+
# resp.replication_configuration.rules[0].repository_filters[0].filter_type #=> String, one of "PREFIX_MATCH"
|
2073
2144
|
#
|
2074
2145
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutReplicationConfiguration AWS API Documentation
|
2075
2146
|
#
|
@@ -2082,23 +2153,23 @@ module Aws::ECR
|
|
2082
2153
|
|
2083
2154
|
# Applies a repository policy to the specified repository to control
|
2084
2155
|
# access permissions. For more information, see [Amazon ECR Repository
|
2085
|
-
#
|
2156
|
+
# policies][1] in the *Amazon Elastic Container Registry User Guide*.
|
2086
2157
|
#
|
2087
2158
|
#
|
2088
2159
|
#
|
2089
2160
|
# [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policies.html
|
2090
2161
|
#
|
2091
2162
|
# @option params [String] :registry_id
|
2092
|
-
# The
|
2093
|
-
# repository. If you do not specify a registry, the default
|
2094
|
-
# assumed.
|
2163
|
+
# The Amazon Web Services account ID associated with the registry that
|
2164
|
+
# contains the repository. If you do not specify a registry, the default
|
2165
|
+
# registry is assumed.
|
2095
2166
|
#
|
2096
2167
|
# @option params [required, String] :repository_name
|
2097
2168
|
# The name of the repository to receive the policy.
|
2098
2169
|
#
|
2099
2170
|
# @option params [required, String] :policy_text
|
2100
2171
|
# The JSON repository policy text to apply to the repository. For more
|
2101
|
-
# information, see [Amazon ECR
|
2172
|
+
# information, see [Amazon ECR repository policies][1] in the *Amazon
|
2102
2173
|
# Elastic Container Registry User Guide*.
|
2103
2174
|
#
|
2104
2175
|
#
|
@@ -2142,24 +2213,25 @@ module Aws::ECR
|
|
2142
2213
|
end
|
2143
2214
|
|
2144
2215
|
# Starts an image vulnerability scan. An image scan can only be started
|
2145
|
-
# once per
|
2146
|
-
# was scanned on initial push. For more information, see [Image
|
2147
|
-
#
|
2216
|
+
# once per 24 hours on an individual image. This limit includes if an
|
2217
|
+
# image was scanned on initial push. For more information, see [Image
|
2218
|
+
# scanning][1] in the *Amazon Elastic Container Registry User Guide*.
|
2148
2219
|
#
|
2149
2220
|
#
|
2150
2221
|
#
|
2151
2222
|
# [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning.html
|
2152
2223
|
#
|
2153
2224
|
# @option params [String] :registry_id
|
2154
|
-
# The
|
2155
|
-
# repository in which to start an image scan request. If
|
2156
|
-
# specify a registry, the default registry is assumed.
|
2225
|
+
# The Amazon Web Services account ID associated with the registry that
|
2226
|
+
# contains the repository in which to start an image scan request. If
|
2227
|
+
# you do not specify a registry, the default registry is assumed.
|
2157
2228
|
#
|
2158
2229
|
# @option params [required, String] :repository_name
|
2159
2230
|
# The name of the repository that contains the images to scan.
|
2160
2231
|
#
|
2161
2232
|
# @option params [required, Types::ImageIdentifier] :image_id
|
2162
|
-
# An object with identifying information for an Amazon ECR
|
2233
|
+
# An object with identifying information for an image in an Amazon ECR
|
2234
|
+
# repository.
|
2163
2235
|
#
|
2164
2236
|
# @return [Types::StartImageScanResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2165
2237
|
#
|
@@ -2202,9 +2274,9 @@ module Aws::ECR
|
|
2202
2274
|
# policy with the repository.
|
2203
2275
|
#
|
2204
2276
|
# @option params [String] :registry_id
|
2205
|
-
# The
|
2206
|
-
# repository. If you do not specify a registry, the default
|
2207
|
-
# assumed.
|
2277
|
+
# The Amazon Web Services account ID associated with the registry that
|
2278
|
+
# contains the repository. If you do not specify a registry, the default
|
2279
|
+
# registry is assumed.
|
2208
2280
|
#
|
2209
2281
|
# @option params [required, String] :repository_name
|
2210
2282
|
# The name of the repository to be evaluated.
|
@@ -2323,9 +2395,9 @@ module Aws::ECR
|
|
2323
2395
|
# </note>
|
2324
2396
|
#
|
2325
2397
|
# @option params [String] :registry_id
|
2326
|
-
# The
|
2327
|
-
# uploading layer parts. If you do not specify a registry,
|
2328
|
-
# registry is assumed.
|
2398
|
+
# The Amazon Web Services account ID associated with the registry to
|
2399
|
+
# which you are uploading layer parts. If you do not specify a registry,
|
2400
|
+
# the default registry is assumed.
|
2329
2401
|
#
|
2330
2402
|
# @option params [required, String] :repository_name
|
2331
2403
|
# The name of the repository to which you are uploading layer parts.
|
@@ -2392,7 +2464,7 @@ module Aws::ECR
|
|
2392
2464
|
params: params,
|
2393
2465
|
config: config)
|
2394
2466
|
context[:gem_name] = 'aws-sdk-ecr'
|
2395
|
-
context[:gem_version] = '1.
|
2467
|
+
context[:gem_version] = '1.47.0'
|
2396
2468
|
Seahorse::Client::Request.new(handlers, context)
|
2397
2469
|
end
|
2398
2470
|
|