aws-sdk-ecr 1.45.0 → 1.49.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 +175 -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 +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 901dbb5ec2a30b18a1a5a9c96868ba1f5f68a0645e9caf83bccd73a9f86c2f3d
|
4
|
+
data.tar.gz: 4f875005fa194ad2595c3ee7a8cea483f242a9d5478f50f1b826019b61cf136f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4caef5143d68deff1301550faa6183d402374377af3c1b17665a1f6f352a3b4f8168036a91f9ebd6b3a19f0f3232c98db9bd5c1d54fb7738258eb6524976d4f2
|
7
|
+
data.tar.gz: d817b3837dcc26d57b8df6e721d128757976075b57f1c2bff714a4b02634c4579dd70063140b99426bddfa784b2da2059dc27244f071f45a5fbf9ebe02ba8b5d
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.49.0 (2021-11-04)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.48.0 (2021-10-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.47.0 (2021-09-21)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - This release adds additional support for repository replication
|
18
|
+
|
19
|
+
1.46.0 (2021-09-10)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - This release updates terminology around KMS keys.
|
23
|
+
|
4
24
|
1.45.0 (2021-09-01)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.49.0
|
data/lib/aws-sdk-ecr/client.rb
CHANGED
@@ -285,6 +285,15 @@ module Aws::ECR
|
|
285
285
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
286
286
|
# requests are made, and retries are disabled.
|
287
287
|
#
|
288
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
289
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
290
|
+
# will be used if available.
|
291
|
+
#
|
292
|
+
# @option options [Boolean] :use_fips_endpoint
|
293
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
294
|
+
# When a `fips` region is used, the region is normalized and this config
|
295
|
+
# is set to `true`.
|
296
|
+
#
|
288
297
|
# @option options [Boolean] :validate_params (true)
|
289
298
|
# When `true`, request parameters are validated before
|
290
299
|
# sending the request.
|
@@ -350,9 +359,9 @@ module Aws::ECR
|
|
350
359
|
# </note>
|
351
360
|
#
|
352
361
|
# @option params [String] :registry_id
|
353
|
-
# The
|
354
|
-
# image layers to check. If you do not specify a registry,
|
355
|
-
# registry is assumed.
|
362
|
+
# The Amazon Web Services account ID associated with the registry that
|
363
|
+
# contains the image layers to check. If you do not specify a registry,
|
364
|
+
# the default registry is assumed.
|
356
365
|
#
|
357
366
|
# @option params [required, String] :repository_name
|
358
367
|
# The name of the repository that is associated with the image layers to
|
@@ -406,9 +415,9 @@ module Aws::ECR
|
|
406
415
|
# the image's digest in your request.
|
407
416
|
#
|
408
417
|
# @option params [String] :registry_id
|
409
|
-
# The
|
410
|
-
# image to delete. If you do not specify a registry, the
|
411
|
-
# registry is assumed.
|
418
|
+
# The Amazon Web Services account ID associated with the registry that
|
419
|
+
# contains the image to delete. If you do not specify a registry, the
|
420
|
+
# default registry is assumed.
|
412
421
|
#
|
413
422
|
# @option params [required, String] :repository_name
|
414
423
|
# The repository that contains the image to delete.
|
@@ -490,9 +499,9 @@ module Aws::ECR
|
|
490
499
|
# retrieve the image manifest.
|
491
500
|
#
|
492
501
|
# @option params [String] :registry_id
|
493
|
-
# The
|
494
|
-
# images to describe. If you do not specify a registry, the
|
495
|
-
# registry is assumed.
|
502
|
+
# The Amazon Web Services account ID associated with the registry that
|
503
|
+
# contains the images to describe. If you do not specify a registry, the
|
504
|
+
# default registry is assumed.
|
496
505
|
#
|
497
506
|
# @option params [required, String] :repository_name
|
498
507
|
# The repository that contains the images to describe.
|
@@ -599,9 +608,9 @@ module Aws::ECR
|
|
599
608
|
# </note>
|
600
609
|
#
|
601
610
|
# @option params [String] :registry_id
|
602
|
-
# The
|
603
|
-
# layers. If you do not specify a registry, the default
|
604
|
-
# assumed.
|
611
|
+
# The Amazon Web Services account ID associated with the registry to
|
612
|
+
# which to upload layers. If you do not specify a registry, the default
|
613
|
+
# registry is assumed.
|
605
614
|
#
|
606
615
|
# @option params [required, String] :repository_name
|
607
616
|
# The name of the repository to associate with the image layer.
|
@@ -646,13 +655,18 @@ module Aws::ECR
|
|
646
655
|
end
|
647
656
|
|
648
657
|
# Creates a repository. For more information, see [Amazon ECR
|
649
|
-
#
|
658
|
+
# repositories][1] in the *Amazon Elastic Container Registry User
|
650
659
|
# Guide*.
|
651
660
|
#
|
652
661
|
#
|
653
662
|
#
|
654
663
|
# [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/Repositories.html
|
655
664
|
#
|
665
|
+
# @option params [String] :registry_id
|
666
|
+
# The AWS account ID associated with the registry to create the
|
667
|
+
# repository. If you do not specify a registry, the default registry is
|
668
|
+
# assumed.
|
669
|
+
#
|
656
670
|
# @option params [required, String] :repository_name
|
657
671
|
# The name to use for the repository. The repository name may be
|
658
672
|
# specified on its own (such as `nginx-web-app`) or it can be prepended
|
@@ -708,6 +722,7 @@ module Aws::ECR
|
|
708
722
|
# @example Request syntax with placeholder values
|
709
723
|
#
|
710
724
|
# resp = client.create_repository({
|
725
|
+
# registry_id: "RegistryId",
|
711
726
|
# repository_name: "RepositoryName", # required
|
712
727
|
# tags: [
|
713
728
|
# {
|
@@ -749,9 +764,9 @@ module Aws::ECR
|
|
749
764
|
# Deletes the lifecycle policy associated with the specified repository.
|
750
765
|
#
|
751
766
|
# @option params [String] :registry_id
|
752
|
-
# The
|
753
|
-
# repository. If you do not specify a registry, the default
|
754
|
-
# assumed.
|
767
|
+
# The Amazon Web Services account ID associated with the registry that
|
768
|
+
# contains the repository. If you do not specify a registry, the default
|
769
|
+
# registry is assumed.
|
755
770
|
#
|
756
771
|
# @option params [required, String] :repository_name
|
757
772
|
# The name of the repository.
|
@@ -812,9 +827,9 @@ module Aws::ECR
|
|
812
827
|
# to delete the repository.
|
813
828
|
#
|
814
829
|
# @option params [String] :registry_id
|
815
|
-
# The
|
816
|
-
# repository to delete. If you do not specify a registry,
|
817
|
-
# registry is assumed.
|
830
|
+
# The Amazon Web Services account ID associated with the registry that
|
831
|
+
# contains the repository to delete. If you do not specify a registry,
|
832
|
+
# the default registry is assumed.
|
818
833
|
#
|
819
834
|
# @option params [required, String] :repository_name
|
820
835
|
# The name of the repository to delete.
|
@@ -879,9 +894,9 @@ module Aws::ECR
|
|
879
894
|
# repository.
|
880
895
|
#
|
881
896
|
# @option params [String] :registry_id
|
882
|
-
# The
|
883
|
-
# repository policy to delete. If you do not specify a
|
884
|
-
# default registry is assumed.
|
897
|
+
# The Amazon Web Services account ID associated with the registry that
|
898
|
+
# contains the repository policy to delete. If you do not specify a
|
899
|
+
# registry, the default registry is assumed.
|
885
900
|
#
|
886
901
|
# @option params [required, String] :repository_name
|
887
902
|
# The name of the repository that is associated with the repository
|
@@ -931,18 +946,70 @@ module Aws::ECR
|
|
931
946
|
req.send_request(options)
|
932
947
|
end
|
933
948
|
|
949
|
+
# Returns the replication status for a specified image.
|
950
|
+
#
|
951
|
+
# @option params [required, String] :repository_name
|
952
|
+
# The name of the repository that the image is in.
|
953
|
+
#
|
954
|
+
# @option params [required, Types::ImageIdentifier] :image_id
|
955
|
+
# An object with identifying information for an image in an Amazon ECR
|
956
|
+
# repository.
|
957
|
+
#
|
958
|
+
# @option params [String] :registry_id
|
959
|
+
# The Amazon Web Services account ID associated with the registry. If
|
960
|
+
# you do not specify a registry, the default registry is assumed.
|
961
|
+
#
|
962
|
+
# @return [Types::DescribeImageReplicationStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
963
|
+
#
|
964
|
+
# * {Types::DescribeImageReplicationStatusResponse#repository_name #repository_name} => String
|
965
|
+
# * {Types::DescribeImageReplicationStatusResponse#image_id #image_id} => Types::ImageIdentifier
|
966
|
+
# * {Types::DescribeImageReplicationStatusResponse#replication_statuses #replication_statuses} => Array<Types::ImageReplicationStatus>
|
967
|
+
#
|
968
|
+
# @example Request syntax with placeholder values
|
969
|
+
#
|
970
|
+
# resp = client.describe_image_replication_status({
|
971
|
+
# repository_name: "RepositoryName", # required
|
972
|
+
# image_id: { # required
|
973
|
+
# image_digest: "ImageDigest",
|
974
|
+
# image_tag: "ImageTag",
|
975
|
+
# },
|
976
|
+
# registry_id: "RegistryId",
|
977
|
+
# })
|
978
|
+
#
|
979
|
+
# @example Response structure
|
980
|
+
#
|
981
|
+
# resp.repository_name #=> String
|
982
|
+
# resp.image_id.image_digest #=> String
|
983
|
+
# resp.image_id.image_tag #=> String
|
984
|
+
# resp.replication_statuses #=> Array
|
985
|
+
# resp.replication_statuses[0].region #=> String
|
986
|
+
# resp.replication_statuses[0].registry_id #=> String
|
987
|
+
# resp.replication_statuses[0].status #=> String, one of "IN_PROGRESS", "COMPLETE", "FAILED"
|
988
|
+
# resp.replication_statuses[0].failure_code #=> String
|
989
|
+
#
|
990
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImageReplicationStatus AWS API Documentation
|
991
|
+
#
|
992
|
+
# @overload describe_image_replication_status(params = {})
|
993
|
+
# @param [Hash] params ({})
|
994
|
+
def describe_image_replication_status(params = {}, options = {})
|
995
|
+
req = build_request(:describe_image_replication_status, params)
|
996
|
+
req.send_request(options)
|
997
|
+
end
|
998
|
+
|
934
999
|
# Returns the scan findings for the specified image.
|
935
1000
|
#
|
936
1001
|
# @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
|
1002
|
+
# The Amazon Web Services account ID associated with the registry that
|
1003
|
+
# contains the repository in which to describe the image scan findings
|
1004
|
+
# for. If you do not specify a registry, the default registry is
|
1005
|
+
# assumed.
|
940
1006
|
#
|
941
1007
|
# @option params [required, String] :repository_name
|
942
1008
|
# The repository for the image for which to describe the scan findings.
|
943
1009
|
#
|
944
1010
|
# @option params [required, Types::ImageIdentifier] :image_id
|
945
|
-
# An object with identifying information for an Amazon ECR
|
1011
|
+
# An object with identifying information for an image in an Amazon ECR
|
1012
|
+
# repository.
|
946
1013
|
#
|
947
1014
|
# @option params [String] :next_token
|
948
1015
|
# The `nextToken` value returned from a previous paginated
|
@@ -1033,9 +1100,9 @@ module Aws::ECR
|
|
1033
1100
|
# </note>
|
1034
1101
|
#
|
1035
1102
|
# @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.
|
1103
|
+
# The Amazon Web Services account ID associated with the registry that
|
1104
|
+
# contains the repository in which to describe images. If you do not
|
1105
|
+
# specify a registry, the default registry is assumed.
|
1039
1106
|
#
|
1040
1107
|
# @option params [required, String] :repository_name
|
1041
1108
|
# The repository that contains the images to describe.
|
@@ -1136,6 +1203,9 @@ module Aws::ECR
|
|
1136
1203
|
# resp.replication_configuration.rules[0].destinations #=> Array
|
1137
1204
|
# resp.replication_configuration.rules[0].destinations[0].region #=> String
|
1138
1205
|
# resp.replication_configuration.rules[0].destinations[0].registry_id #=> String
|
1206
|
+
# resp.replication_configuration.rules[0].repository_filters #=> Array
|
1207
|
+
# resp.replication_configuration.rules[0].repository_filters[0].filter #=> String
|
1208
|
+
# resp.replication_configuration.rules[0].repository_filters[0].filter_type #=> String, one of "PREFIX_MATCH"
|
1139
1209
|
#
|
1140
1210
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeRegistry AWS API Documentation
|
1141
1211
|
#
|
@@ -1149,9 +1219,9 @@ module Aws::ECR
|
|
1149
1219
|
# Describes image repositories in a registry.
|
1150
1220
|
#
|
1151
1221
|
# @option params [String] :registry_id
|
1152
|
-
# The
|
1153
|
-
# repositories to be described. If you do not specify a
|
1154
|
-
# default registry is assumed.
|
1222
|
+
# The Amazon Web Services account ID associated with the registry that
|
1223
|
+
# contains the repositories to be described. If you do not specify a
|
1224
|
+
# registry, the default registry is assumed.
|
1155
1225
|
#
|
1156
1226
|
# @option params [Array<String>] :repository_names
|
1157
1227
|
# A list of repositories to describe. If this parameter is omitted, then
|
@@ -1255,9 +1325,9 @@ module Aws::ECR
|
|
1255
1325
|
#
|
1256
1326
|
# The `authorizationToken` returned is a base64 encoded string that can
|
1257
1327
|
# be decoded and used in a `docker login` command to authenticate to a
|
1258
|
-
# registry. The
|
1328
|
+
# registry. The CLI offers an `get-login-password` command that
|
1259
1329
|
# simplifies the login process. For more information, see [Registry
|
1260
|
-
#
|
1330
|
+
# authentication][1] in the *Amazon Elastic Container Registry User
|
1261
1331
|
# Guide*.
|
1262
1332
|
#
|
1263
1333
|
#
|
@@ -1265,9 +1335,9 @@ module Aws::ECR
|
|
1265
1335
|
# [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/Registries.html#registry_auth
|
1266
1336
|
#
|
1267
1337
|
# @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.
|
1338
|
+
# A list of Amazon Web Services account IDs that are associated with the
|
1339
|
+
# registries for which to get AuthorizationData objects. If you do not
|
1340
|
+
# specify a registry, the default registry is assumed.
|
1271
1341
|
#
|
1272
1342
|
# @return [Types::GetAuthorizationTokenResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1273
1343
|
#
|
@@ -1328,9 +1398,9 @@ module Aws::ECR
|
|
1328
1398
|
# </note>
|
1329
1399
|
#
|
1330
1400
|
# @option params [String] :registry_id
|
1331
|
-
# The
|
1332
|
-
# image layer to download. If you do not specify a
|
1333
|
-
# registry is assumed.
|
1401
|
+
# The Amazon Web Services account ID associated with the registry that
|
1402
|
+
# contains the image layer to download. If you do not specify a
|
1403
|
+
# registry, the default registry is assumed.
|
1334
1404
|
#
|
1335
1405
|
# @option params [required, String] :repository_name
|
1336
1406
|
# The name of the repository that is associated with the image layer to
|
@@ -1369,9 +1439,9 @@ module Aws::ECR
|
|
1369
1439
|
# Retrieves the lifecycle policy for the specified repository.
|
1370
1440
|
#
|
1371
1441
|
# @option params [String] :registry_id
|
1372
|
-
# The
|
1373
|
-
# repository. If you do not specify a registry, the default
|
1374
|
-
# assumed.
|
1442
|
+
# The Amazon Web Services account ID associated with the registry that
|
1443
|
+
# contains the repository. If you do not specify a registry, the default
|
1444
|
+
# registry is assumed.
|
1375
1445
|
#
|
1376
1446
|
# @option params [required, String] :repository_name
|
1377
1447
|
# The name of the repository.
|
@@ -1410,9 +1480,9 @@ module Aws::ECR
|
|
1410
1480
|
# specified repository.
|
1411
1481
|
#
|
1412
1482
|
# @option params [String] :registry_id
|
1413
|
-
# The
|
1414
|
-
# repository. If you do not specify a registry, the default
|
1415
|
-
# assumed.
|
1483
|
+
# The Amazon Web Services account ID associated with the registry that
|
1484
|
+
# contains the repository. If you do not specify a registry, the default
|
1485
|
+
# registry is assumed.
|
1416
1486
|
#
|
1417
1487
|
# @option params [required, String] :repository_name
|
1418
1488
|
# The name of the repository.
|
@@ -1530,9 +1600,9 @@ module Aws::ECR
|
|
1530
1600
|
# Retrieves the repository policy for the specified repository.
|
1531
1601
|
#
|
1532
1602
|
# @option params [String] :registry_id
|
1533
|
-
# The
|
1534
|
-
# repository. If you do not specify a registry, the default
|
1535
|
-
# assumed.
|
1603
|
+
# The Amazon Web Services account ID associated with the registry that
|
1604
|
+
# contains the repository. If you do not specify a registry, the default
|
1605
|
+
# registry is assumed.
|
1536
1606
|
#
|
1537
1607
|
# @option params [required, String] :repository_name
|
1538
1608
|
# The name of the repository with the policy to retrieve.
|
@@ -1595,9 +1665,9 @@ module Aws::ECR
|
|
1595
1665
|
# </note>
|
1596
1666
|
#
|
1597
1667
|
# @option params [String] :registry_id
|
1598
|
-
# The
|
1599
|
-
# upload layers. If you do not specify a registry,
|
1600
|
-
# is assumed.
|
1668
|
+
# The Amazon Web Services account ID associated with the registry to
|
1669
|
+
# which you intend to upload layers. If you do not specify a registry,
|
1670
|
+
# the default registry is assumed.
|
1601
1671
|
#
|
1602
1672
|
# @option params [required, String] :repository_name
|
1603
1673
|
# The name of the repository to which you intend to upload layers.
|
@@ -1638,9 +1708,9 @@ module Aws::ECR
|
|
1638
1708
|
# only `TAGGED` images to list all of the tags in your repository.
|
1639
1709
|
#
|
1640
1710
|
# @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.
|
1711
|
+
# The Amazon Web Services account ID associated with the registry that
|
1712
|
+
# contains the repository in which to list images. If you do not specify
|
1713
|
+
# a registry, the default registry is assumed.
|
1644
1714
|
#
|
1645
1715
|
# @option params [required, String] :repository_name
|
1646
1716
|
# The repository with image IDs to be listed.
|
@@ -1772,9 +1842,9 @@ module Aws::ECR
|
|
1772
1842
|
# </note>
|
1773
1843
|
#
|
1774
1844
|
# @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.
|
1845
|
+
# The Amazon Web Services account ID associated with the registry that
|
1846
|
+
# contains the repository in which to put the image. If you do not
|
1847
|
+
# specify a registry, the default registry is assumed.
|
1778
1848
|
#
|
1779
1849
|
# @option params [required, String] :repository_name
|
1780
1850
|
# The name of the repository in which to put the image.
|
@@ -1831,10 +1901,10 @@ module Aws::ECR
|
|
1831
1901
|
# Updates the image scanning configuration for the specified repository.
|
1832
1902
|
#
|
1833
1903
|
# @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.
|
1904
|
+
# The Amazon Web Services account ID associated with the registry that
|
1905
|
+
# contains the repository in which to update the image scanning
|
1906
|
+
# configuration setting. If you do not specify a registry, the default
|
1907
|
+
# registry is assumed.
|
1838
1908
|
#
|
1839
1909
|
# @option params [required, String] :repository_name
|
1840
1910
|
# The name of the repository in which to update the image scanning
|
@@ -1877,7 +1947,7 @@ module Aws::ECR
|
|
1877
1947
|
end
|
1878
1948
|
|
1879
1949
|
# Updates the image tag mutability settings for the specified
|
1880
|
-
# repository. For more information, see [Image
|
1950
|
+
# repository. For more information, see [Image tag mutability][1] in the
|
1881
1951
|
# *Amazon Elastic Container Registry User Guide*.
|
1882
1952
|
#
|
1883
1953
|
#
|
@@ -1885,9 +1955,10 @@ module Aws::ECR
|
|
1885
1955
|
# [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-tag-mutability.html
|
1886
1956
|
#
|
1887
1957
|
# @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
|
1958
|
+
# The Amazon Web Services account ID associated with the registry that
|
1959
|
+
# contains the repository in which to update the image tag mutability
|
1960
|
+
# settings. If you do not specify a registry, the default registry is
|
1961
|
+
# assumed.
|
1891
1962
|
#
|
1892
1963
|
# @option params [required, String] :repository_name
|
1893
1964
|
# The name of the repository in which to update the image tag mutability
|
@@ -1929,16 +2000,16 @@ module Aws::ECR
|
|
1929
2000
|
end
|
1930
2001
|
|
1931
2002
|
# Creates or updates the lifecycle policy for the specified repository.
|
1932
|
-
# For more information, see [Lifecycle
|
2003
|
+
# For more information, see [Lifecycle policy template][1].
|
1933
2004
|
#
|
1934
2005
|
#
|
1935
2006
|
#
|
1936
2007
|
# [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html
|
1937
2008
|
#
|
1938
2009
|
# @option params [String] :registry_id
|
1939
|
-
# The
|
1940
|
-
# repository. If you do
not specify a registry, the
|
1941
|
-
# assumed.
|
2010
|
+
# The Amazon Web Services account ID associated with the registry that
|
2011
|
+
# contains the repository. If you do
not specify a registry, the
|
2012
|
+
# default registry is assumed.
|
1942
2013
|
#
|
1943
2014
|
# @option params [required, String] :repository_name
|
1944
2015
|
# The name of the repository to receive the policy.
|
@@ -1977,10 +2048,10 @@ module Aws::ECR
|
|
1977
2048
|
|
1978
2049
|
# Creates or updates the permissions policy for your registry.
|
1979
2050
|
#
|
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*.
|
2051
|
+
# A registry policy is used to specify permissions for another Amazon
|
2052
|
+
# Web Services account and is used when configuring cross-account
|
2053
|
+
# replication. For more information, see [Registry permissions][1] in
|
2054
|
+
# the *Amazon Elastic Container Registry User Guide*.
|
1984
2055
|
#
|
1985
2056
|
#
|
1986
2057
|
#
|
@@ -2026,7 +2097,7 @@ module Aws::ECR
|
|
2026
2097
|
# with the DescribeRegistry API action. The first time the
|
2027
2098
|
# PutReplicationConfiguration API is called, a service-linked IAM role
|
2028
2099
|
# is created in your account for the replication process. For more
|
2029
|
-
# information, see [Using
|
2100
|
+
# information, see [Using service-linked roles for Amazon ECR][1] in the
|
2030
2101
|
# *Amazon Elastic Container Registry User Guide*.
|
2031
2102
|
#
|
2032
2103
|
# <note markdown="1"> When configuring cross-account replication, the destination account
|
@@ -2059,6 +2130,12 @@ module Aws::ECR
|
|
2059
2130
|
# registry_id: "RegistryId", # required
|
2060
2131
|
# },
|
2061
2132
|
# ],
|
2133
|
+
# repository_filters: [
|
2134
|
+
# {
|
2135
|
+
# filter: "RepositoryFilterValue", # required
|
2136
|
+
# filter_type: "PREFIX_MATCH", # required, accepts PREFIX_MATCH
|
2137
|
+
# },
|
2138
|
+
# ],
|
2062
2139
|
# },
|
2063
2140
|
# ],
|
2064
2141
|
# },
|
@@ -2070,6 +2147,9 @@ module Aws::ECR
|
|
2070
2147
|
# resp.replication_configuration.rules[0].destinations #=> Array
|
2071
2148
|
# resp.replication_configuration.rules[0].destinations[0].region #=> String
|
2072
2149
|
# resp.replication_configuration.rules[0].destinations[0].registry_id #=> String
|
2150
|
+
# resp.replication_configuration.rules[0].repository_filters #=> Array
|
2151
|
+
# resp.replication_configuration.rules[0].repository_filters[0].filter #=> String
|
2152
|
+
# resp.replication_configuration.rules[0].repository_filters[0].filter_type #=> String, one of "PREFIX_MATCH"
|
2073
2153
|
#
|
2074
2154
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutReplicationConfiguration AWS API Documentation
|
2075
2155
|
#
|
@@ -2082,23 +2162,23 @@ module Aws::ECR
|
|
2082
2162
|
|
2083
2163
|
# Applies a repository policy to the specified repository to control
|
2084
2164
|
# access permissions. For more information, see [Amazon ECR Repository
|
2085
|
-
#
|
2165
|
+
# policies][1] in the *Amazon Elastic Container Registry User Guide*.
|
2086
2166
|
#
|
2087
2167
|
#
|
2088
2168
|
#
|
2089
2169
|
# [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policies.html
|
2090
2170
|
#
|
2091
2171
|
# @option params [String] :registry_id
|
2092
|
-
# The
|
2093
|
-
# repository. If you do not specify a registry, the default
|
2094
|
-
# assumed.
|
2172
|
+
# The Amazon Web Services account ID associated with the registry that
|
2173
|
+
# contains the repository. If you do not specify a registry, the default
|
2174
|
+
# registry is assumed.
|
2095
2175
|
#
|
2096
2176
|
# @option params [required, String] :repository_name
|
2097
2177
|
# The name of the repository to receive the policy.
|
2098
2178
|
#
|
2099
2179
|
# @option params [required, String] :policy_text
|
2100
2180
|
# The JSON repository policy text to apply to the repository. For more
|
2101
|
-
# information, see [Amazon ECR
|
2181
|
+
# information, see [Amazon ECR repository policies][1] in the *Amazon
|
2102
2182
|
# Elastic Container Registry User Guide*.
|
2103
2183
|
#
|
2104
2184
|
#
|
@@ -2142,24 +2222,25 @@ module Aws::ECR
|
|
2142
2222
|
end
|
2143
2223
|
|
2144
2224
|
# 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
|
-
#
|
2225
|
+
# once per 24 hours on an individual image. This limit includes if an
|
2226
|
+
# image was scanned on initial push. For more information, see [Image
|
2227
|
+
# scanning][1] in the *Amazon Elastic Container Registry User Guide*.
|
2148
2228
|
#
|
2149
2229
|
#
|
2150
2230
|
#
|
2151
2231
|
# [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning.html
|
2152
2232
|
#
|
2153
2233
|
# @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.
|
2234
|
+
# The Amazon Web Services account ID associated with the registry that
|
2235
|
+
# contains the repository in which to start an image scan request. If
|
2236
|
+
# you do not specify a registry, the default registry is assumed.
|
2157
2237
|
#
|
2158
2238
|
# @option params [required, String] :repository_name
|
2159
2239
|
# The name of the repository that contains the images to scan.
|
2160
2240
|
#
|
2161
2241
|
# @option params [required, Types::ImageIdentifier] :image_id
|
2162
|
-
# An object with identifying information for an Amazon ECR
|
2242
|
+
# An object with identifying information for an image in an Amazon ECR
|
2243
|
+
# repository.
|
2163
2244
|
#
|
2164
2245
|
# @return [Types::StartImageScanResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2165
2246
|
#
|
@@ -2202,9 +2283,9 @@ module Aws::ECR
|
|
2202
2283
|
# policy with the repository.
|
2203
2284
|
#
|
2204
2285
|
# @option params [String] :registry_id
|
2205
|
-
# The
|
2206
|
-
# repository. If you do not specify a registry, the default
|
2207
|
-
# assumed.
|
2286
|
+
# The Amazon Web Services account ID associated with the registry that
|
2287
|
+
# contains the repository. If you do not specify a registry, the default
|
2288
|
+
# registry is assumed.
|
2208
2289
|
#
|
2209
2290
|
# @option params [required, String] :repository_name
|
2210
2291
|
# The name of the repository to be evaluated.
|
@@ -2323,9 +2404,9 @@ module Aws::ECR
|
|
2323
2404
|
# </note>
|
2324
2405
|
#
|
2325
2406
|
# @option params [String] :registry_id
|
2326
|
-
# The
|
2327
|
-
# uploading layer parts. If you do not specify a registry,
|
2328
|
-
# registry is assumed.
|
2407
|
+
# The Amazon Web Services account ID associated with the registry to
|
2408
|
+
# which you are uploading layer parts. If you do not specify a registry,
|
2409
|
+
# the default registry is assumed.
|
2329
2410
|
#
|
2330
2411
|
# @option params [required, String] :repository_name
|
2331
2412
|
# The name of the repository to which you are uploading layer parts.
|
@@ -2392,7 +2473,7 @@ module Aws::ECR
|
|
2392
2473
|
params: params,
|
2393
2474
|
config: config)
|
2394
2475
|
context[:gem_name] = 'aws-sdk-ecr'
|
2395
|
-
context[:gem_version] = '1.
|
2476
|
+
context[:gem_version] = '1.49.0'
|
2396
2477
|
Seahorse::Client::Request.new(handlers, context)
|
2397
2478
|
end
|
2398
2479
|
|