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
data/lib/aws-sdk-ecr/types.rb
CHANGED
@@ -70,9 +70,9 @@ module Aws::ECR
|
|
70
70
|
# }
|
71
71
|
#
|
72
72
|
# @!attribute [rw] registry_id
|
73
|
-
# The
|
74
|
-
# image layers to check. If you do not specify a
|
75
|
-
# registry is assumed.
|
73
|
+
# The Amazon Web Services account ID associated with the registry that
|
74
|
+
# contains the image layers to check. If you do not specify a
|
75
|
+
# registry, the default registry is assumed.
|
76
76
|
# @return [String]
|
77
77
|
#
|
78
78
|
# @!attribute [rw] repository_name
|
@@ -130,9 +130,9 @@ module Aws::ECR
|
|
130
130
|
# }
|
131
131
|
#
|
132
132
|
# @!attribute [rw] registry_id
|
133
|
-
# The
|
134
|
-
# image to delete. If you do not specify a registry, the
|
135
|
-
# registry is assumed.
|
133
|
+
# The Amazon Web Services account ID associated with the registry that
|
134
|
+
# contains the image to delete. If you do not specify a registry, the
|
135
|
+
# default registry is assumed.
|
136
136
|
# @return [String]
|
137
137
|
#
|
138
138
|
# @!attribute [rw] repository_name
|
@@ -188,9 +188,9 @@ module Aws::ECR
|
|
188
188
|
# }
|
189
189
|
#
|
190
190
|
# @!attribute [rw] registry_id
|
191
|
-
# The
|
192
|
-
# images to describe. If you do not specify a registry,
|
193
|
-
# registry is assumed.
|
191
|
+
# The Amazon Web Services account ID associated with the registry that
|
192
|
+
# contains the images to describe. If you do not specify a registry,
|
193
|
+
# the default registry is assumed.
|
194
194
|
# @return [String]
|
195
195
|
#
|
196
196
|
# @!attribute [rw] repository_name
|
@@ -251,9 +251,9 @@ module Aws::ECR
|
|
251
251
|
# }
|
252
252
|
#
|
253
253
|
# @!attribute [rw] registry_id
|
254
|
-
# The
|
255
|
-
# layers. If you do not specify a registry, the
|
256
|
-
# assumed.
|
254
|
+
# The Amazon Web Services account ID associated with the registry to
|
255
|
+
# which to upload layers. If you do not specify a registry, the
|
256
|
+
# default registry is assumed.
|
257
257
|
# @return [String]
|
258
258
|
#
|
259
259
|
# @!attribute [rw] repository_name
|
@@ -311,6 +311,7 @@ module Aws::ECR
|
|
311
311
|
# data as a hash:
|
312
312
|
#
|
313
313
|
# {
|
314
|
+
# registry_id: "RegistryId",
|
314
315
|
# repository_name: "RepositoryName", # required
|
315
316
|
# tags: [
|
316
317
|
# {
|
@@ -328,6 +329,12 @@ module Aws::ECR
|
|
328
329
|
# },
|
329
330
|
# }
|
330
331
|
#
|
332
|
+
# @!attribute [rw] registry_id
|
333
|
+
# The AWS account ID associated with the registry to create the
|
334
|
+
# repository. If you do not specify a registry, the default registry
|
335
|
+
# is assumed.
|
336
|
+
# @return [String]
|
337
|
+
#
|
331
338
|
# @!attribute [rw] repository_name
|
332
339
|
# The name to use for the repository. The repository name may be
|
333
340
|
# specified on its own (such as `nginx-web-app`) or it can be
|
@@ -365,6 +372,7 @@ module Aws::ECR
|
|
365
372
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CreateRepositoryRequest AWS API Documentation
|
366
373
|
#
|
367
374
|
class CreateRepositoryRequest < Struct.new(
|
375
|
+
:registry_id,
|
368
376
|
:repository_name,
|
369
377
|
:tags,
|
370
378
|
:image_tag_mutability,
|
@@ -395,9 +403,9 @@ module Aws::ECR
|
|
395
403
|
# }
|
396
404
|
#
|
397
405
|
# @!attribute [rw] registry_id
|
398
|
-
# The
|
399
|
-
# repository. If you do not specify a registry, the
|
400
|
-
# is assumed.
|
406
|
+
# The Amazon Web Services account ID associated with the registry that
|
407
|
+
# contains the repository. If you do not specify a registry, the
|
408
|
+
# default registry is assumed.
|
401
409
|
# @return [String]
|
402
410
|
#
|
403
411
|
# @!attribute [rw] repository_name
|
@@ -472,9 +480,9 @@ module Aws::ECR
|
|
472
480
|
# }
|
473
481
|
#
|
474
482
|
# @!attribute [rw] registry_id
|
475
|
-
# The
|
476
|
-
# repository policy to delete. If you do not specify a
|
477
|
-
# default registry is assumed.
|
483
|
+
# The Amazon Web Services account ID associated with the registry that
|
484
|
+
# contains the repository policy to delete. If you do not specify a
|
485
|
+
# registry, the default registry is assumed.
|
478
486
|
# @return [String]
|
479
487
|
#
|
480
488
|
# @!attribute [rw] repository_name
|
@@ -523,9 +531,9 @@ module Aws::ECR
|
|
523
531
|
# }
|
524
532
|
#
|
525
533
|
# @!attribute [rw] registry_id
|
526
|
-
# The
|
527
|
-
# repository to delete. If you do not specify a registry,
|
528
|
-
# registry is assumed.
|
534
|
+
# The Amazon Web Services account ID associated with the registry that
|
535
|
+
# contains the repository to delete. If you do not specify a registry,
|
536
|
+
# the default registry is assumed.
|
529
537
|
# @return [String]
|
530
538
|
#
|
531
539
|
# @!attribute [rw] repository_name
|
@@ -558,6 +566,66 @@ module Aws::ECR
|
|
558
566
|
include Aws::Structure
|
559
567
|
end
|
560
568
|
|
569
|
+
# @note When making an API call, you may pass DescribeImageReplicationStatusRequest
|
570
|
+
# data as a hash:
|
571
|
+
#
|
572
|
+
# {
|
573
|
+
# repository_name: "RepositoryName", # required
|
574
|
+
# image_id: { # required
|
575
|
+
# image_digest: "ImageDigest",
|
576
|
+
# image_tag: "ImageTag",
|
577
|
+
# },
|
578
|
+
# registry_id: "RegistryId",
|
579
|
+
# }
|
580
|
+
#
|
581
|
+
# @!attribute [rw] repository_name
|
582
|
+
# The name of the repository that the image is in.
|
583
|
+
# @return [String]
|
584
|
+
#
|
585
|
+
# @!attribute [rw] image_id
|
586
|
+
# An object with identifying information for an image in an Amazon ECR
|
587
|
+
# repository.
|
588
|
+
# @return [Types::ImageIdentifier]
|
589
|
+
#
|
590
|
+
# @!attribute [rw] registry_id
|
591
|
+
# The Amazon Web Services account ID associated with the registry. If
|
592
|
+
# you do not specify a registry, the default registry is assumed.
|
593
|
+
# @return [String]
|
594
|
+
#
|
595
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImageReplicationStatusRequest AWS API Documentation
|
596
|
+
#
|
597
|
+
class DescribeImageReplicationStatusRequest < Struct.new(
|
598
|
+
:repository_name,
|
599
|
+
:image_id,
|
600
|
+
:registry_id)
|
601
|
+
SENSITIVE = []
|
602
|
+
include Aws::Structure
|
603
|
+
end
|
604
|
+
|
605
|
+
# @!attribute [rw] repository_name
|
606
|
+
# The repository name associated with the request.
|
607
|
+
# @return [String]
|
608
|
+
#
|
609
|
+
# @!attribute [rw] image_id
|
610
|
+
# An object with identifying information for an image in an Amazon ECR
|
611
|
+
# repository.
|
612
|
+
# @return [Types::ImageIdentifier]
|
613
|
+
#
|
614
|
+
# @!attribute [rw] replication_statuses
|
615
|
+
# The replication status details for the images in the specified
|
616
|
+
# repository.
|
617
|
+
# @return [Array<Types::ImageReplicationStatus>]
|
618
|
+
#
|
619
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImageReplicationStatusResponse AWS API Documentation
|
620
|
+
#
|
621
|
+
class DescribeImageReplicationStatusResponse < Struct.new(
|
622
|
+
:repository_name,
|
623
|
+
:image_id,
|
624
|
+
:replication_statuses)
|
625
|
+
SENSITIVE = []
|
626
|
+
include Aws::Structure
|
627
|
+
end
|
628
|
+
|
561
629
|
# @note When making an API call, you may pass DescribeImageScanFindingsRequest
|
562
630
|
# data as a hash:
|
563
631
|
#
|
@@ -573,9 +641,10 @@ module Aws::ECR
|
|
573
641
|
# }
|
574
642
|
#
|
575
643
|
# @!attribute [rw] registry_id
|
576
|
-
# The
|
577
|
-
# repository in which to describe the image scan findings
|
578
|
-
# do not specify a registry, the default registry is
|
644
|
+
# The Amazon Web Services account ID associated with the registry that
|
645
|
+
# contains the repository in which to describe the image scan findings
|
646
|
+
# for. If you do not specify a registry, the default registry is
|
647
|
+
# assumed.
|
579
648
|
# @return [String]
|
580
649
|
#
|
581
650
|
# @!attribute [rw] repository_name
|
@@ -584,7 +653,8 @@ module Aws::ECR
|
|
584
653
|
# @return [String]
|
585
654
|
#
|
586
655
|
# @!attribute [rw] image_id
|
587
|
-
# An object with identifying information for an Amazon ECR
|
656
|
+
# An object with identifying information for an image in an Amazon ECR
|
657
|
+
# repository.
|
588
658
|
# @return [Types::ImageIdentifier]
|
589
659
|
#
|
590
660
|
# @!attribute [rw] next_token
|
@@ -629,7 +699,8 @@ module Aws::ECR
|
|
629
699
|
# @return [String]
|
630
700
|
#
|
631
701
|
# @!attribute [rw] image_id
|
632
|
-
# An object with identifying information for an Amazon ECR
|
702
|
+
# An object with identifying information for an image in an Amazon ECR
|
703
|
+
# repository.
|
633
704
|
# @return [Types::ImageIdentifier]
|
634
705
|
#
|
635
706
|
# @!attribute [rw] image_scan_status
|
@@ -703,9 +774,9 @@ module Aws::ECR
|
|
703
774
|
# }
|
704
775
|
#
|
705
776
|
# @!attribute [rw] registry_id
|
706
|
-
# The
|
707
|
-
# repository in which to describe images. If you do not
|
708
|
-
# registry, the default registry is assumed.
|
777
|
+
# The Amazon Web Services account ID associated with the registry that
|
778
|
+
# contains the repository in which to describe images. If you do not
|
779
|
+
# specify a registry, the default registry is assumed.
|
709
780
|
# @return [String]
|
710
781
|
#
|
711
782
|
# @!attribute [rw] repository_name
|
@@ -811,9 +882,9 @@ module Aws::ECR
|
|
811
882
|
# }
|
812
883
|
#
|
813
884
|
# @!attribute [rw] registry_id
|
814
|
-
# The
|
815
|
-
# repositories to be described. If you do not specify a
|
816
|
-
# default registry is assumed.
|
885
|
+
# The Amazon Web Services account ID associated with the registry that
|
886
|
+
# contains the repositories to be described. If you do not specify a
|
887
|
+
# registry, the default registry is assumed.
|
817
888
|
# @return [String]
|
818
889
|
#
|
819
890
|
# @!attribute [rw] repository_names
|
@@ -906,10 +977,10 @@ module Aws::ECR
|
|
906
977
|
# action on your part.
|
907
978
|
#
|
908
979
|
# For more control over the encryption of the contents of your
|
909
|
-
# repository, you can use server-side encryption with
|
910
|
-
#
|
911
|
-
#
|
912
|
-
#
|
980
|
+
# repository, you can use server-side encryption with Key Management
|
981
|
+
# Service key stored in Key Management Service (KMS) to encrypt your
|
982
|
+
# images. For more information, see [Amazon ECR encryption at rest][1]
|
983
|
+
# in the *Amazon Elastic Container Registry User Guide*.
|
913
984
|
#
|
914
985
|
#
|
915
986
|
#
|
@@ -927,19 +998,20 @@ module Aws::ECR
|
|
927
998
|
# The encryption type to use.
|
928
999
|
#
|
929
1000
|
# If you use the `KMS` encryption type, the contents of the repository
|
930
|
-
# will be encrypted using server-side encryption with
|
931
|
-
#
|
932
|
-
#
|
933
|
-
# or specify your own
|
934
|
-
# information, see [Protecting
|
935
|
-
#
|
936
|
-
# *Amazon Simple Storage Service Console
|
1001
|
+
# will be encrypted using server-side encryption with Key Management
|
1002
|
+
# Service key stored in KMS. When you use KMS to encrypt your data,
|
1003
|
+
# you can either use the default Amazon Web Services managed KMS key
|
1004
|
+
# for Amazon ECR, or specify your own KMS key, which you already
|
1005
|
+
# created. For more information, see [Protecting data using
|
1006
|
+
# server-side encryption with an KMS key stored in Key Management
|
1007
|
+
# Service (SSE-KMS)][1] in the *Amazon Simple Storage Service Console
|
1008
|
+
# Developer Guide.*.
|
937
1009
|
#
|
938
1010
|
# If you use the `AES256` encryption type, Amazon ECR uses server-side
|
939
1011
|
# encryption with Amazon S3-managed encryption keys which encrypts the
|
940
1012
|
# images in the repository using an AES-256 encryption algorithm. For
|
941
|
-
# more information, see [Protecting
|
942
|
-
# with Amazon S3-
|
1013
|
+
# more information, see [Protecting data using server-side encryption
|
1014
|
+
# with Amazon S3-managed encryption keys (SSE-S3)][2] in the *Amazon
|
943
1015
|
# Simple Storage Service Console Developer Guide.*.
|
944
1016
|
#
|
945
1017
|
#
|
@@ -949,11 +1021,11 @@ module Aws::ECR
|
|
949
1021
|
# @return [String]
|
950
1022
|
#
|
951
1023
|
# @!attribute [rw] kms_key
|
952
|
-
# If you use the `KMS` encryption type, specify the
|
953
|
-
# encryption. The alias, key ID, or full ARN of the
|
1024
|
+
# If you use the `KMS` encryption type, specify the KMS key to use for
|
1025
|
+
# encryption. The alias, key ID, or full ARN of the KMS key can be
|
954
1026
|
# specified. The key must exist in the same Region as the repository.
|
955
|
-
# If no key is specified, the default
|
956
|
-
# will be used.
|
1027
|
+
# If no key is specified, the default Amazon Web Services managed KMS
|
1028
|
+
# key for Amazon ECR will be used.
|
957
1029
|
# @return [String]
|
958
1030
|
#
|
959
1031
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/EncryptionConfiguration AWS API Documentation
|
@@ -973,9 +1045,9 @@ module Aws::ECR
|
|
973
1045
|
# }
|
974
1046
|
#
|
975
1047
|
# @!attribute [rw] registry_ids
|
976
|
-
# A list of
|
977
|
-
# for which to get AuthorizationData objects. If you do
|
978
|
-
# registry, the default registry is assumed.
|
1048
|
+
# A list of Amazon Web Services account IDs that are associated with
|
1049
|
+
# the registries for which to get AuthorizationData objects. If you do
|
1050
|
+
# not specify a registry, the default registry is assumed.
|
979
1051
|
# @return [Array<String>]
|
980
1052
|
#
|
981
1053
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetAuthorizationTokenRequest AWS API Documentation
|
@@ -1009,9 +1081,9 @@ module Aws::ECR
|
|
1009
1081
|
# }
|
1010
1082
|
#
|
1011
1083
|
# @!attribute [rw] registry_id
|
1012
|
-
# The
|
1013
|
-
# image layer to download. If you do not specify a
|
1014
|
-
# default registry is assumed.
|
1084
|
+
# The Amazon Web Services account ID associated with the registry that
|
1085
|
+
# contains the image layer to download. If you do not specify a
|
1086
|
+
# registry, the default registry is assumed.
|
1015
1087
|
# @return [String]
|
1016
1088
|
#
|
1017
1089
|
# @!attribute [rw] repository_name
|
@@ -1070,9 +1142,9 @@ module Aws::ECR
|
|
1070
1142
|
# }
|
1071
1143
|
#
|
1072
1144
|
# @!attribute [rw] registry_id
|
1073
|
-
# The
|
1074
|
-
# repository. If you do not specify a registry, the
|
1075
|
-
# is assumed.
|
1145
|
+
# The Amazon Web Services account ID associated with the registry that
|
1146
|
+
# contains the repository. If you do not specify a registry, the
|
1147
|
+
# default registry is assumed.
|
1076
1148
|
# @return [String]
|
1077
1149
|
#
|
1078
1150
|
# @!attribute [rw] repository_name
|
@@ -1180,9 +1252,9 @@ module Aws::ECR
|
|
1180
1252
|
# }
|
1181
1253
|
#
|
1182
1254
|
# @!attribute [rw] registry_id
|
1183
|
-
# The
|
1184
|
-
# repository. If you do not specify a registry, the
|
1185
|
-
# is assumed.
|
1255
|
+
# The Amazon Web Services account ID associated with the registry that
|
1256
|
+
# contains the repository. If you do not specify a registry, the
|
1257
|
+
# default registry is assumed.
|
1186
1258
|
# @return [String]
|
1187
1259
|
#
|
1188
1260
|
# @!attribute [rw] repository_name
|
@@ -1257,9 +1329,9 @@ module Aws::ECR
|
|
1257
1329
|
# }
|
1258
1330
|
#
|
1259
1331
|
# @!attribute [rw] registry_id
|
1260
|
-
# The
|
1261
|
-
# repository. If you do not specify a registry, the
|
1262
|
-
# is assumed.
|
1332
|
+
# The Amazon Web Services account ID associated with the registry that
|
1333
|
+
# contains the repository. If you do not specify a registry, the
|
1334
|
+
# default registry is assumed.
|
1263
1335
|
# @return [String]
|
1264
1336
|
#
|
1265
1337
|
# @!attribute [rw] repository_name
|
@@ -1300,8 +1372,8 @@ module Aws::ECR
|
|
1300
1372
|
# An object representing an Amazon ECR image.
|
1301
1373
|
#
|
1302
1374
|
# @!attribute [rw] registry_id
|
1303
|
-
# The
|
1304
|
-
# image.
|
1375
|
+
# The Amazon Web Services account ID associated with the registry
|
1376
|
+
# containing the image.
|
1305
1377
|
# @return [String]
|
1306
1378
|
#
|
1307
1379
|
# @!attribute [rw] repository_name
|
@@ -1352,8 +1424,8 @@ module Aws::ECR
|
|
1352
1424
|
# operation.
|
1353
1425
|
#
|
1354
1426
|
# @!attribute [rw] registry_id
|
1355
|
-
# The
|
1356
|
-
# belongs.
|
1427
|
+
# The Amazon Web Services account ID associated with the registry to
|
1428
|
+
# which this image belongs.
|
1357
1429
|
# @return [String]
|
1358
1430
|
#
|
1359
1431
|
# @!attribute [rw] repository_name
|
@@ -1459,7 +1531,8 @@ module Aws::ECR
|
|
1459
1531
|
include Aws::Structure
|
1460
1532
|
end
|
1461
1533
|
|
1462
|
-
# An object with identifying information for an Amazon ECR
|
1534
|
+
# An object with identifying information for an image in an Amazon ECR
|
1535
|
+
# repository.
|
1463
1536
|
#
|
1464
1537
|
# @note When making an API call, you may pass ImageIdentifier
|
1465
1538
|
# data as a hash:
|
@@ -1499,6 +1572,36 @@ module Aws::ECR
|
|
1499
1572
|
include Aws::Structure
|
1500
1573
|
end
|
1501
1574
|
|
1575
|
+
# The status of the replication process for an image.
|
1576
|
+
#
|
1577
|
+
# @!attribute [rw] region
|
1578
|
+
# The destination Region for the image replication.
|
1579
|
+
# @return [String]
|
1580
|
+
#
|
1581
|
+
# @!attribute [rw] registry_id
|
1582
|
+
# The AWS account ID associated with the registry to which the image
|
1583
|
+
# belongs.
|
1584
|
+
# @return [String]
|
1585
|
+
#
|
1586
|
+
# @!attribute [rw] status
|
1587
|
+
# The image replication status.
|
1588
|
+
# @return [String]
|
1589
|
+
#
|
1590
|
+
# @!attribute [rw] failure_code
|
1591
|
+
# The failure code for a replication that has failed.
|
1592
|
+
# @return [String]
|
1593
|
+
#
|
1594
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageReplicationStatus AWS API Documentation
|
1595
|
+
#
|
1596
|
+
class ImageReplicationStatus < Struct.new(
|
1597
|
+
:region,
|
1598
|
+
:registry_id,
|
1599
|
+
:status,
|
1600
|
+
:failure_code)
|
1601
|
+
SENSITIVE = []
|
1602
|
+
include Aws::Structure
|
1603
|
+
end
|
1604
|
+
|
1502
1605
|
# Contains information about an image scan finding.
|
1503
1606
|
#
|
1504
1607
|
# @!attribute [rw] name
|
@@ -1621,7 +1724,11 @@ module Aws::ECR
|
|
1621
1724
|
# pushed to a repository. If set to `true`, images will be scanned
|
1622
1725
|
# after being pushed. If this parameter is not specified, it will
|
1623
1726
|
# default to `false` and images will not be scanned unless a scan is
|
1624
|
-
# manually started with the
|
1727
|
+
# manually started with the [API\_StartImageScan][1] API.
|
1728
|
+
#
|
1729
|
+
#
|
1730
|
+
#
|
1731
|
+
# [1]: https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_StartImageScan.html
|
1625
1732
|
# @return [Boolean]
|
1626
1733
|
#
|
1627
1734
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageScanningConfiguration AWS API Documentation
|
@@ -1655,9 +1762,9 @@ module Aws::ECR
|
|
1655
1762
|
# }
|
1656
1763
|
#
|
1657
1764
|
# @!attribute [rw] registry_id
|
1658
|
-
# The
|
1659
|
-
# to upload layers. If you do not specify a registry,
|
1660
|
-
# registry is assumed.
|
1765
|
+
# The Amazon Web Services account ID associated with the registry to
|
1766
|
+
# which you intend to upload layers. If you do not specify a registry,
|
1767
|
+
# the default registry is assumed.
|
1661
1768
|
# @return [String]
|
1662
1769
|
#
|
1663
1770
|
# @!attribute [rw] repository_name
|
@@ -1779,7 +1886,7 @@ module Aws::ECR
|
|
1779
1886
|
# @return [String]
|
1780
1887
|
#
|
1781
1888
|
# @!attribute [rw] kms_error
|
1782
|
-
# The error code returned by
|
1889
|
+
# The error code returned by KMS.
|
1783
1890
|
# @return [String]
|
1784
1891
|
#
|
1785
1892
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/KmsException AWS API Documentation
|
@@ -2030,8 +2137,8 @@ module Aws::ECR
|
|
2030
2137
|
end
|
2031
2138
|
|
2032
2139
|
# The operation did not succeed because it would have exceeded a service
|
2033
|
-
# limit for your account. For more information, see [Amazon ECR
|
2034
|
-
#
|
2140
|
+
# limit for your account. For more information, see [Amazon ECR service
|
2141
|
+
# quotas][1] in the Amazon Elastic Container Registry User Guide.
|
2035
2142
|
#
|
2036
2143
|
#
|
2037
2144
|
#
|
@@ -2085,9 +2192,9 @@ module Aws::ECR
|
|
2085
2192
|
# }
|
2086
2193
|
#
|
2087
2194
|
# @!attribute [rw] registry_id
|
2088
|
-
# The
|
2089
|
-
# repository in which to list images. If you do not
|
2090
|
-
# registry, the default registry is assumed.
|
2195
|
+
# The Amazon Web Services account ID associated with the registry that
|
2196
|
+
# contains the repository in which to list images. If you do not
|
2197
|
+
# specify a registry, the default registry is assumed.
|
2091
2198
|
# @return [String]
|
2092
2199
|
#
|
2093
2200
|
# @!attribute [rw] repository_name
|
@@ -2202,9 +2309,9 @@ module Aws::ECR
|
|
2202
2309
|
# }
|
2203
2310
|
#
|
2204
2311
|
# @!attribute [rw] registry_id
|
2205
|
-
# The
|
2206
|
-
# repository in which to put the image. If you do not
|
2207
|
-
# registry, the default registry is assumed.
|
2312
|
+
# The Amazon Web Services account ID associated with the registry that
|
2313
|
+
# contains the repository in which to put the image. If you do not
|
2314
|
+
# specify a registry, the default registry is assumed.
|
2208
2315
|
# @return [String]
|
2209
2316
|
#
|
2210
2317
|
# @!attribute [rw] repository_name
|
@@ -2268,10 +2375,10 @@ module Aws::ECR
|
|
2268
2375
|
# }
|
2269
2376
|
#
|
2270
2377
|
# @!attribute [rw] registry_id
|
2271
|
-
# The
|
2272
|
-
# repository in which to update the image scanning
|
2273
|
-
# setting. If you do not specify a registry, the default
|
2274
|
-
# assumed.
|
2378
|
+
# The Amazon Web Services account ID associated with the registry that
|
2379
|
+
# contains the repository in which to update the image scanning
|
2380
|
+
# configuration setting. If you do not specify a registry, the default
|
2381
|
+
# registry is assumed.
|
2275
2382
|
# @return [String]
|
2276
2383
|
#
|
2277
2384
|
# @!attribute [rw] repository_name
|
@@ -2327,9 +2434,10 @@ module Aws::ECR
|
|
2327
2434
|
# }
|
2328
2435
|
#
|
2329
2436
|
# @!attribute [rw] registry_id
|
2330
|
-
# The
|
2331
|
-
# repository in which to update the image tag mutability
|
2332
|
-
# you do not specify a registry, the default registry is
|
2437
|
+
# The Amazon Web Services account ID associated with the registry that
|
2438
|
+
# contains the repository in which to update the image tag mutability
|
2439
|
+
# settings. If you do not specify a registry, the default registry is
|
2440
|
+
# assumed.
|
2333
2441
|
# @return [String]
|
2334
2442
|
#
|
2335
2443
|
# @!attribute [rw] repository_name
|
@@ -2386,9 +2494,9 @@ module Aws::ECR
|
|
2386
2494
|
# }
|
2387
2495
|
#
|
2388
2496
|
# @!attribute [rw] registry_id
|
2389
|
-
# The
|
2390
|
-
# repository. If you do
not specify a registry, the
|
2391
|
-
# is assumed.
|
2497
|
+
# The Amazon Web Services account ID associated with the registry that
|
2498
|
+
# contains the repository. If you do
not specify a registry, the
|
2499
|
+
# default registry is assumed.
|
2392
2500
|
# @return [String]
|
2393
2501
|
#
|
2394
2502
|
# @!attribute [rw] repository_name
|
@@ -2487,6 +2595,12 @@ module Aws::ECR
|
|
2487
2595
|
# registry_id: "RegistryId", # required
|
2488
2596
|
# },
|
2489
2597
|
# ],
|
2598
|
+
# repository_filters: [
|
2599
|
+
# {
|
2600
|
+
# filter: "RepositoryFilterValue", # required
|
2601
|
+
# filter_type: "PREFIX_MATCH", # required, accepts PREFIX_MATCH
|
2602
|
+
# },
|
2603
|
+
# ],
|
2490
2604
|
# },
|
2491
2605
|
# ],
|
2492
2606
|
# },
|
@@ -2556,15 +2670,19 @@ module Aws::ECR
|
|
2556
2670
|
# registry_id: "RegistryId", # required
|
2557
2671
|
# },
|
2558
2672
|
# ],
|
2673
|
+
# repository_filters: [
|
2674
|
+
# {
|
2675
|
+
# filter: "RepositoryFilterValue", # required
|
2676
|
+
# filter_type: "PREFIX_MATCH", # required, accepts PREFIX_MATCH
|
2677
|
+
# },
|
2678
|
+
# ],
|
2559
2679
|
# },
|
2560
2680
|
# ],
|
2561
2681
|
# }
|
2562
2682
|
#
|
2563
2683
|
# @!attribute [rw] rules
|
2564
|
-
# An array of objects representing the replication
|
2565
|
-
#
|
2566
|
-
# only one replication rule but the rule may contain one or more
|
2567
|
-
# replication destinations.
|
2684
|
+
# An array of objects representing the replication destinations and
|
2685
|
+
# repository filters for a replication configuration.
|
2568
2686
|
# @return [Array<Types::ReplicationRule>]
|
2569
2687
|
#
|
2570
2688
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ReplicationConfiguration AWS API Documentation
|
@@ -2575,8 +2693,8 @@ module Aws::ECR
|
|
2575
2693
|
include Aws::Structure
|
2576
2694
|
end
|
2577
2695
|
|
2578
|
-
# An array of objects representing the
|
2579
|
-
#
|
2696
|
+
# An array of objects representing the destination for a replication
|
2697
|
+
# rule.
|
2580
2698
|
#
|
2581
2699
|
# @note When making an API call, you may pass ReplicationDestination
|
2582
2700
|
# data as a hash:
|
@@ -2587,11 +2705,13 @@ module Aws::ECR
|
|
2587
2705
|
# }
|
2588
2706
|
#
|
2589
2707
|
# @!attribute [rw] region
|
2590
|
-
#
|
2708
|
+
# The Region to replicate to.
|
2591
2709
|
# @return [String]
|
2592
2710
|
#
|
2593
2711
|
# @!attribute [rw] registry_id
|
2594
|
-
# The account ID of the
|
2712
|
+
# The Amazon Web Services account ID of the Amazon ECR private
|
2713
|
+
# registry to replicate to. When configuring cross-Region replication
|
2714
|
+
# within your own registry, specify your own account ID.
|
2595
2715
|
# @return [String]
|
2596
2716
|
#
|
2597
2717
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ReplicationDestination AWS API Documentation
|
@@ -2603,10 +2723,8 @@ module Aws::ECR
|
|
2603
2723
|
include Aws::Structure
|
2604
2724
|
end
|
2605
2725
|
|
2606
|
-
# An array of objects representing the replication destinations
|
2607
|
-
#
|
2608
|
-
# only one replication rule but the rule may contain one or more
|
2609
|
-
# replication destinations.
|
2726
|
+
# An array of objects representing the replication destinations and
|
2727
|
+
# repository filters for a replication configuration.
|
2610
2728
|
#
|
2611
2729
|
# @note When making an API call, you may pass ReplicationRule
|
2612
2730
|
# data as a hash:
|
@@ -2618,17 +2736,31 @@ module Aws::ECR
|
|
2618
2736
|
# registry_id: "RegistryId", # required
|
2619
2737
|
# },
|
2620
2738
|
# ],
|
2739
|
+
# repository_filters: [
|
2740
|
+
# {
|
2741
|
+
# filter: "RepositoryFilterValue", # required
|
2742
|
+
# filter_type: "PREFIX_MATCH", # required, accepts PREFIX_MATCH
|
2743
|
+
# },
|
2744
|
+
# ],
|
2621
2745
|
# }
|
2622
2746
|
#
|
2623
2747
|
# @!attribute [rw] destinations
|
2624
|
-
# An array of objects representing the
|
2625
|
-
#
|
2748
|
+
# An array of objects representing the destination for a replication
|
2749
|
+
# rule.
|
2626
2750
|
# @return [Array<Types::ReplicationDestination>]
|
2627
2751
|
#
|
2752
|
+
# @!attribute [rw] repository_filters
|
2753
|
+
# An array of objects representing the filters for a replication rule.
|
2754
|
+
# Specifying a repository filter for a replication rule provides a
|
2755
|
+
# method for controlling which repositories in a private registry are
|
2756
|
+
# replicated.
|
2757
|
+
# @return [Array<Types::RepositoryFilter>]
|
2758
|
+
#
|
2628
2759
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ReplicationRule AWS API Documentation
|
2629
2760
|
#
|
2630
2761
|
class ReplicationRule < Struct.new(
|
2631
|
-
:destinations
|
2762
|
+
:destinations,
|
2763
|
+
:repository_filters)
|
2632
2764
|
SENSITIVE = []
|
2633
2765
|
include Aws::Structure
|
2634
2766
|
end
|
@@ -2638,14 +2770,14 @@ module Aws::ECR
|
|
2638
2770
|
# @!attribute [rw] repository_arn
|
2639
2771
|
# The Amazon Resource Name (ARN) that identifies the repository. The
|
2640
2772
|
# ARN contains the `arn:aws:ecr` namespace, followed by the region of
|
2641
|
-
# the repository,
|
2642
|
-
# namespace, and repository name. For example,
|
2773
|
+
# the repository, Amazon Web Services account ID of the repository
|
2774
|
+
# owner, repository namespace, and repository name. For example,
|
2643
2775
|
# `arn:aws:ecr:region:012345678910:repository/test`.
|
2644
2776
|
# @return [String]
|
2645
2777
|
#
|
2646
2778
|
# @!attribute [rw] registry_id
|
2647
|
-
# The
|
2648
|
-
# repository.
|
2779
|
+
# The Amazon Web Services account ID associated with the registry that
|
2780
|
+
# contains the repository.
|
2649
2781
|
# @return [String]
|
2650
2782
|
#
|
2651
2783
|
# @!attribute [rw] repository_name
|
@@ -2704,6 +2836,41 @@ module Aws::ECR
|
|
2704
2836
|
include Aws::Structure
|
2705
2837
|
end
|
2706
2838
|
|
2839
|
+
# The filter settings used with image replication. Specifying a
|
2840
|
+
# repository filter to a replication rule provides a method for
|
2841
|
+
# controlling which repositories in a private registry are replicated.
|
2842
|
+
# If no repository filter is specified, all images in the repository are
|
2843
|
+
# replicated.
|
2844
|
+
#
|
2845
|
+
# @note When making an API call, you may pass RepositoryFilter
|
2846
|
+
# data as a hash:
|
2847
|
+
#
|
2848
|
+
# {
|
2849
|
+
# filter: "RepositoryFilterValue", # required
|
2850
|
+
# filter_type: "PREFIX_MATCH", # required, accepts PREFIX_MATCH
|
2851
|
+
# }
|
2852
|
+
#
|
2853
|
+
# @!attribute [rw] filter
|
2854
|
+
# The repository filter details. When the `PREFIX_MATCH` filter type
|
2855
|
+
# is specified, this value is required and should be the repository
|
2856
|
+
# name prefix to configure replication for.
|
2857
|
+
# @return [String]
|
2858
|
+
#
|
2859
|
+
# @!attribute [rw] filter_type
|
2860
|
+
# The repository filter type. The only supported value is
|
2861
|
+
# `PREFIX_MATCH`, which is a repository name prefix specified with the
|
2862
|
+
# `filter` parameter.
|
2863
|
+
# @return [String]
|
2864
|
+
#
|
2865
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/RepositoryFilter AWS API Documentation
|
2866
|
+
#
|
2867
|
+
class RepositoryFilter < Struct.new(
|
2868
|
+
:filter,
|
2869
|
+
:filter_type)
|
2870
|
+
SENSITIVE = []
|
2871
|
+
include Aws::Structure
|
2872
|
+
end
|
2873
|
+
|
2707
2874
|
# The specified repository contains images. To delete a repository that
|
2708
2875
|
# contains images, you must force the deletion with the `force`
|
2709
2876
|
# parameter.
|
@@ -2790,9 +2957,9 @@ module Aws::ECR
|
|
2790
2957
|
# }
|
2791
2958
|
#
|
2792
2959
|
# @!attribute [rw] registry_id
|
2793
|
-
# The
|
2794
|
-
# repository. If you do not specify a registry, the
|
2795
|
-
# is assumed.
|
2960
|
+
# The Amazon Web Services account ID associated with the registry that
|
2961
|
+
# contains the repository. If you do not specify a registry, the
|
2962
|
+
# default registry is assumed.
|
2796
2963
|
# @return [String]
|
2797
2964
|
#
|
2798
2965
|
# @!attribute [rw] repository_name
|
@@ -2801,7 +2968,7 @@ module Aws::ECR
|
|
2801
2968
|
#
|
2802
2969
|
# @!attribute [rw] policy_text
|
2803
2970
|
# The JSON repository policy text to apply to the repository. For more
|
2804
|
-
# information, see [Amazon ECR
|
2971
|
+
# information, see [Amazon ECR repository policies][1] in the *Amazon
|
2805
2972
|
# Elastic Container Registry User Guide*.
|
2806
2973
|
#
|
2807
2974
|
#
|
@@ -2862,9 +3029,9 @@ module Aws::ECR
|
|
2862
3029
|
# }
|
2863
3030
|
#
|
2864
3031
|
# @!attribute [rw] registry_id
|
2865
|
-
# The
|
2866
|
-
# repository in which to start an image scan request. If
|
2867
|
-
# specify a registry, the default registry is assumed.
|
3032
|
+
# The Amazon Web Services account ID associated with the registry that
|
3033
|
+
# contains the repository in which to start an image scan request. If
|
3034
|
+
# you do not specify a registry, the default registry is assumed.
|
2868
3035
|
# @return [String]
|
2869
3036
|
#
|
2870
3037
|
# @!attribute [rw] repository_name
|
@@ -2872,7 +3039,8 @@ module Aws::ECR
|
|
2872
3039
|
# @return [String]
|
2873
3040
|
#
|
2874
3041
|
# @!attribute [rw] image_id
|
2875
|
-
# An object with identifying information for an Amazon ECR
|
3042
|
+
# An object with identifying information for an image in an Amazon ECR
|
3043
|
+
# repository.
|
2876
3044
|
# @return [Types::ImageIdentifier]
|
2877
3045
|
#
|
2878
3046
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/StartImageScanRequest AWS API Documentation
|
@@ -2894,7 +3062,8 @@ module Aws::ECR
|
|
2894
3062
|
# @return [String]
|
2895
3063
|
#
|
2896
3064
|
# @!attribute [rw] image_id
|
2897
|
-
# An object with identifying information for an Amazon ECR
|
3065
|
+
# An object with identifying information for an image in an Amazon ECR
|
3066
|
+
# repository.
|
2898
3067
|
# @return [Types::ImageIdentifier]
|
2899
3068
|
#
|
2900
3069
|
# @!attribute [rw] image_scan_status
|
@@ -2922,9 +3091,9 @@ module Aws::ECR
|
|
2922
3091
|
# }
|
2923
3092
|
#
|
2924
3093
|
# @!attribute [rw] registry_id
|
2925
|
-
# The
|
2926
|
-
# repository. If you do not specify a registry, the
|
2927
|
-
# is assumed.
|
3094
|
+
# The Amazon Web Services account ID associated with the registry that
|
3095
|
+
# contains the repository. If you do not specify a registry, the
|
3096
|
+
# default registry is assumed.
|
2928
3097
|
# @return [String]
|
2929
3098
|
#
|
2930
3099
|
# @!attribute [rw] repository_name
|
@@ -3117,9 +3286,9 @@ module Aws::ECR
|
|
3117
3286
|
# }
|
3118
3287
|
#
|
3119
3288
|
# @!attribute [rw] registry_id
|
3120
|
-
# The
|
3121
|
-
# uploading layer parts. If you do not specify a
|
3122
|
-
# registry is assumed.
|
3289
|
+
# The Amazon Web Services account ID associated with the registry to
|
3290
|
+
# which you are uploading layer parts. If you do not specify a
|
3291
|
+
# registry, the default registry is assumed.
|
3123
3292
|
# @return [String]
|
3124
3293
|
#
|
3125
3294
|
# @!attribute [rw] repository_name
|