aws-sdk-ecr 1.24.0 → 1.25.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 695a39bbac45848e68529621e4d9914c9035d255
4
- data.tar.gz: 871c57b7957fc8678eff180170ffe4e0b8678b10
3
+ metadata.gz: 60b0150ad9f4a6d7f82cf2ca541b409368954f2c
4
+ data.tar.gz: 7ff3b852653e24ab526f924d3fb9a29cd2aee04b
5
5
  SHA512:
6
- metadata.gz: 4417785f27ea27c21593d4d4ce20c75bc2b966848a4176602a9392bdcf031a59c4a6d1aaa34c41eb710ff204b16c48c9da7eac7a2863cc3227eed330837b1491
7
- data.tar.gz: 7026b8dcee205e6c4d058eba05fbd7ac2c91b76e071c8ed8f9b3c25fad39c673ea854f783659cccba518ac4802b17861d5fdb0cfa1fcf2148b25c64a4a235f2b
6
+ metadata.gz: 9234712b70fc193c8d8998ba1252affbf151a28a4d19bc95cd8a204d9a1bb69c8297f98a074f516f2a6ff18128a9b251db15ce500c4c3709ce877e8d3fe9e67e
7
+ data.tar.gz: 1a4b1a59795f3deb65078da5cde605a2c3245773ee616e78d68aae33e1ac4ddde4d845c720bd73eaea8801524c18c1735010f2c0385134bb8925798ece9545de
@@ -43,6 +43,6 @@ require_relative 'aws-sdk-ecr/customizations'
43
43
  # @service
44
44
  module Aws::ECR
45
45
 
46
- GEM_VERSION = '1.24.0'
46
+ GEM_VERSION = '1.25.0'
47
47
 
48
48
  end
@@ -264,8 +264,14 @@ module Aws::ECR
264
264
 
265
265
  # @!group API Operations
266
266
 
267
- # Check the availability of multiple image layers in a specified
268
- # registry and repository.
267
+ # Checks the availability of one or more image layers in a repository.
268
+ #
269
+ # When an image is pushed to a repository, each image layer is checked
270
+ # to verify if it has been uploaded before. If it is, then the image
271
+ # layer is skipped.
272
+ #
273
+ # When an image is pulled from a repository, each image layer is checked
274
+ # once to verify it is available to be pulled.
269
275
  #
270
276
  # <note markdown="1"> This operation is used by the Amazon ECR proxy, and it is not intended
271
277
  # for general use by customers for pulling and pushing images. In most
@@ -319,8 +325,8 @@ module Aws::ECR
319
325
  req.send_request(options)
320
326
  end
321
327
 
322
- # Deletes a list of specified images within a specified repository.
323
- # Images are specified with either `imageTag` or `imageDigest`.
328
+ # Deletes a list of specified images within a repository. Images are
329
+ # specified with either an `imageTag` or `imageDigest`.
324
330
  #
325
331
  # You can remove a tag from an image by specifying the image's tag in
326
332
  # your request. When you remove the last tag from an image, the image is
@@ -407,9 +413,11 @@ module Aws::ECR
407
413
  req.send_request(options)
408
414
  end
409
415
 
410
- # Gets detailed information for specified images within a specified
411
- # repository. Images are specified with either `imageTag` or
412
- # `imageDigest`.
416
+ # Gets detailed information for an image. Images are specified with
417
+ # either an `imageTag` or `imageDigest`.
418
+ #
419
+ # When an image is pulled, the BatchGetImage API is called once to
420
+ # retrieve the image manifest.
413
421
  #
414
422
  # @option params [String] :registry_id
415
423
  # The AWS account ID associated with the registry that contains the
@@ -510,6 +518,9 @@ module Aws::ECR
510
518
  # provide a `sha256` digest of the image layer for data validation
511
519
  # purposes.
512
520
  #
521
+ # When an image is pushed, the CompleteLayerUpload API is called once
522
+ # per each new image layer to verify that the upload has completed.
523
+ #
513
524
  # <note markdown="1"> This operation is used by the Amazon ECR proxy, and it is not intended
514
525
  # for general use by customers for pulling and pushing images. In most
515
526
  # cases, you should use the `docker` CLI to pull, tag, and push images.
@@ -563,10 +574,9 @@ module Aws::ECR
563
574
  req.send_request(options)
564
575
  end
565
576
 
566
- # Creates an Amazon Elastic Container Registry (Amazon ECR) repository,
567
- # where users can push and pull Docker images. For more information, see
568
- # [Amazon ECR Repositories][1] in the *Amazon Elastic Container Registry
569
- # User Guide*.
577
+ # Creates a repository. For more information, see [Amazon ECR
578
+ # Repositories][1] in the *Amazon Elastic Container Registry User
579
+ # Guide*.
570
580
  #
571
581
  #
572
582
  #
@@ -655,7 +665,7 @@ module Aws::ECR
655
665
  req.send_request(options)
656
666
  end
657
667
 
658
- # Deletes the specified lifecycle policy.
668
+ # Deletes the lifecycle policy associated with the specified repository.
659
669
  #
660
670
  # @option params [String] :registry_id
661
671
  # The AWS account ID associated with the registry that contains the
@@ -695,8 +705,9 @@ module Aws::ECR
695
705
  req.send_request(options)
696
706
  end
697
707
 
698
- # Deletes an existing image repository. If a repository contains images,
699
- # you must use the `force` option to delete it.
708
+ # Deletes a repository. If the repository contains images, you must
709
+ # either delete all images in the repository or use the `force` option
710
+ # to delete the repository.
700
711
  #
701
712
  # @option params [String] :registry_id
702
713
  # The AWS account ID associated with the registry that contains the
@@ -760,7 +771,8 @@ module Aws::ECR
760
771
  req.send_request(options)
761
772
  end
762
773
 
763
- # Deletes the repository policy from a specified repository.
774
+ # Deletes the repository policy associated with the specified
775
+ # repository.
764
776
  #
765
777
  # @option params [String] :registry_id
766
778
  # The AWS account ID associated with the registry that contains the
@@ -815,7 +827,7 @@ module Aws::ECR
815
827
  req.send_request(options)
816
828
  end
817
829
 
818
- # Describes the image scan findings for the specified image.
830
+ # Returns the scan findings for the specified image.
819
831
  #
820
832
  # @option params [String] :registry_id
821
833
  # The AWS account ID associated with the registry that contains the
@@ -899,8 +911,7 @@ module Aws::ECR
899
911
  req.send_request(options)
900
912
  end
901
913
 
902
- # Returns metadata about the images in a repository, including image
903
- # size, image tags, and creation date.
914
+ # Returns metadata about the images in a repository.
904
915
  #
905
916
  # <note markdown="1"> Beginning with Docker version 1.9, the Docker client compresses image
906
917
  # layers before pushing them to a V2 Docker registry. The output of the
@@ -1092,20 +1103,26 @@ module Aws::ECR
1092
1103
  req.send_request(options)
1093
1104
  end
1094
1105
 
1095
- # Retrieves a token that is valid for a specified registry for 12 hours.
1096
- # This command allows you to use the `docker` CLI to push and pull
1097
- # images with Amazon ECR. If you do not specify a registry, the default
1098
- # registry is assumed.
1106
+ # Retrieves an authorization token. An authorization token represents
1107
+ # your IAM authentication credentials and can be used to access any
1108
+ # Amazon ECR registry that your IAM principal has access to. The
1109
+ # authorization token is valid for 12 hours.
1110
+ #
1111
+ # The `authorizationToken` returned is a base64 encoded string that can
1112
+ # be decoded and used in a `docker login` command to authenticate to a
1113
+ # registry. The AWS CLI offers an `get-login-password` command that
1114
+ # simplifies the login process. For more information, see [Registry
1115
+ # Authentication][1] in the *Amazon Elastic Container Registry User
1116
+ # Guide*.
1117
+ #
1118
+ #
1099
1119
  #
1100
- # The `authorizationToken` returned for each registry specified is a
1101
- # base64 encoded string that can be decoded and used in a `docker login`
1102
- # command to authenticate to a registry. The AWS CLI offers an `aws ecr
1103
- # get-login` command that simplifies the login process.
1120
+ # [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/Registries.html#registry_auth
1104
1121
  #
1105
1122
  # @option params [Array<String>] :registry_ids
1106
1123
  # A list of AWS account IDs that are associated with the registries for
1107
- # which to get authorization tokens. If you do not specify a registry,
1108
- # the default registry is assumed.
1124
+ # which to get AuthorizationData objects. If you do not specify a
1125
+ # registry, the default registry is assumed.
1109
1126
  #
1110
1127
  # @return [Types::GetAuthorizationTokenResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1111
1128
  #
@@ -1156,6 +1173,9 @@ module Aws::ECR
1156
1173
  # image layer. You can only get URLs for image layers that are
1157
1174
  # referenced in an image.
1158
1175
  #
1176
+ # When an image is pulled, the GetDownloadUrlForLayer API is called once
1177
+ # per image layer.
1178
+ #
1159
1179
  # <note markdown="1"> This operation is used by the Amazon ECR proxy, and it is not intended
1160
1180
  # for general use by customers for pulling and pushing images. In most
1161
1181
  # cases, you should use the `docker` CLI to pull, tag, and push images.
@@ -1201,7 +1221,7 @@ module Aws::ECR
1201
1221
  req.send_request(options)
1202
1222
  end
1203
1223
 
1204
- # Retrieves the specified lifecycle policy.
1224
+ # Retrieves the lifecycle policy for the specified repository.
1205
1225
  #
1206
1226
  # @option params [String] :registry_id
1207
1227
  # The AWS account ID associated with the registry that contains the
@@ -1241,8 +1261,8 @@ module Aws::ECR
1241
1261
  req.send_request(options)
1242
1262
  end
1243
1263
 
1244
- # Retrieves the results of the specified lifecycle policy preview
1245
- # request.
1264
+ # Retrieves the results of the lifecycle policy preview request for the
1265
+ # specified repository.
1246
1266
  #
1247
1267
  # @option params [String] :registry_id
1248
1268
  # The AWS account ID associated with the registry that contains the
@@ -1334,7 +1354,7 @@ module Aws::ECR
1334
1354
  req.send_request(options)
1335
1355
  end
1336
1356
 
1337
- # Retrieves the repository policy for a specified repository.
1357
+ # Retrieves the repository policy for the specified repository.
1338
1358
  #
1339
1359
  # @option params [String] :registry_id
1340
1360
  # The AWS account ID associated with the registry that contains the
@@ -1388,7 +1408,12 @@ module Aws::ECR
1388
1408
  req.send_request(options)
1389
1409
  end
1390
1410
 
1391
- # Notify Amazon ECR that you intend to upload an image layer.
1411
+ # Notifies Amazon ECR that you intend to upload an image layer.
1412
+ #
1413
+ # When an image is pushed, the InitiateLayerUpload API is called once
1414
+ # per image layer that has not already been uploaded. Whether an image
1415
+ # layer has been uploaded before is determined by the
1416
+ # BatchCheckLayerAvailability API action.
1392
1417
  #
1393
1418
  # <note markdown="1"> This operation is used by the Amazon ECR proxy, and it is not intended
1394
1419
  # for general use by customers for pulling and pushing images. In most
@@ -1430,14 +1455,14 @@ module Aws::ECR
1430
1455
  req.send_request(options)
1431
1456
  end
1432
1457
 
1433
- # Lists all the image IDs for a given repository.
1458
+ # Lists all the image IDs for the specified repository.
1434
1459
  #
1435
- # You can filter images based on whether or not they are tagged by
1436
- # setting the `tagStatus` parameter to `TAGGED` or `UNTAGGED`. For
1437
- # example, you can filter your results to return only `UNTAGGED` images
1438
- # and then pipe that result to a BatchDeleteImage operation to delete
1439
- # them. Or, you can filter your results to return only `TAGGED` images
1440
- # to list all of the tags in your repository.
1460
+ # You can filter images based on whether or not they are tagged by using
1461
+ # the `tagStatus` filter and specifying either `TAGGED`, `UNTAGGED` or
1462
+ # `ANY`. For example, you can filter your results to return only
1463
+ # `UNTAGGED` images and then pipe that result to a BatchDeleteImage
1464
+ # operation to delete them. Or, you can filter your results to return
1465
+ # only `TAGGED` images to list all of the tags in your repository.
1441
1466
  #
1442
1467
  # @option params [String] :registry_id
1443
1468
  # The AWS account ID associated with the registry that contains the
@@ -1561,6 +1586,10 @@ module Aws::ECR
1561
1586
  # Creates or updates the image manifest and tags associated with an
1562
1587
  # image.
1563
1588
  #
1589
+ # When an image is pushed and all new image layers have been uploaded,
1590
+ # the PutImage API is called once to create or update the image manifest
1591
+ # and tags associated with the image.
1592
+ #
1564
1593
  # <note markdown="1"> This operation is used by the Amazon ECR proxy, and it is not intended
1565
1594
  # for general use by customers for pulling and pushing images. In most
1566
1595
  # cases, you should use the `docker` CLI to pull, tag, and push images.
@@ -1612,7 +1641,7 @@ module Aws::ECR
1612
1641
  req.send_request(options)
1613
1642
  end
1614
1643
 
1615
- # Updates the image scanning configuration for a repository.
1644
+ # Updates the image scanning configuration for the specified repository.
1616
1645
  #
1617
1646
  # @option params [String] :registry_id
1618
1647
  # The AWS account ID associated with the registry that contains the
@@ -1660,11 +1689,9 @@ module Aws::ECR
1660
1689
  req.send_request(options)
1661
1690
  end
1662
1691
 
1663
- # Updates the image tag mutability settings for a repository. When a
1664
- # repository is configured with tag immutability, all image tags within
1665
- # the repository will be prevented them from being overwritten. For more
1666
- # information, see [Image Tag Mutability][1] in the *Amazon Elastic
1667
- # Container Registry User Guide*.
1692
+ # Updates the image tag mutability settings for the specified
1693
+ # repository. For more information, see [Image Tag Mutability][1] in the
1694
+ # *Amazon Elastic Container Registry User Guide*.
1668
1695
  #
1669
1696
  #
1670
1697
  #
@@ -1714,8 +1741,8 @@ module Aws::ECR
1714
1741
  req.send_request(options)
1715
1742
  end
1716
1743
 
1717
- # Creates or updates a lifecycle policy. For information about lifecycle
1718
- # policy syntax, see [Lifecycle Policy Template][1].
1744
+ # Creates or updates the lifecycle policy for the specified repository.
1745
+ # For more information, see [Lifecycle Policy Template][1].
1719
1746
  #
1720
1747
  #
1721
1748
  #
@@ -1761,7 +1788,7 @@ module Aws::ECR
1761
1788
  req.send_request(options)
1762
1789
  end
1763
1790
 
1764
- # Applies a repository policy on a specified repository to control
1791
+ # Applies a repository policy to the specified repository to control
1765
1792
  # access permissions. For more information, see [Amazon ECR Repository
1766
1793
  # Policies][1] in the *Amazon Elastic Container Registry User Guide*.
1767
1794
  #
@@ -1878,8 +1905,9 @@ module Aws::ECR
1878
1905
  req.send_request(options)
1879
1906
  end
1880
1907
 
1881
- # Starts a preview of the specified lifecycle policy. This allows you to
1882
- # see the results before creating the lifecycle policy.
1908
+ # Starts a preview of a lifecycle policy for the specified repository.
1909
+ # This allows you to see the results before associating the lifecycle
1910
+ # policy with the repository.
1883
1911
  #
1884
1912
  # @option params [String] :registry_id
1885
1913
  # The AWS account ID associated with the registry that contains the
@@ -1991,6 +2019,11 @@ module Aws::ECR
1991
2019
 
1992
2020
  # Uploads an image layer part to Amazon ECR.
1993
2021
  #
2022
+ # When an image is pushed, each new image layer is uploaded in parts.
2023
+ # The maximum size of each image layer part can be 20971520 bytes (or
2024
+ # about 20MB). The UploadLayerPart API is called once per each new image
2025
+ # layer part.
2026
+ #
1994
2027
  # <note markdown="1"> This operation is used by the Amazon ECR proxy, and it is not intended
1995
2028
  # for general use by customers for pulling and pushing images. In most
1996
2029
  # cases, you should use the `docker` CLI to pull, tag, and push images.
@@ -2065,7 +2098,7 @@ module Aws::ECR
2065
2098
  params: params,
2066
2099
  config: config)
2067
2100
  context[:gem_name] = 'aws-sdk-ecr'
2068
- context[:gem_version] = '1.24.0'
2101
+ context[:gem_version] = '1.25.0'
2069
2102
  Seahorse::Client::Request.new(handlers, context)
2070
2103
  end
2071
2104
 
@@ -821,7 +821,7 @@ module Aws::ECR
821
821
  #
822
822
  # @!attribute [rw] registry_ids
823
823
  # A list of AWS account IDs that are associated with the registries
824
- # for which to get authorization tokens. If you do not specify a
824
+ # for which to get AuthorizationData objects. If you do not specify a
825
825
  # registry, the default registry is assumed.
826
826
  # @return [Array<String>]
827
827
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ecr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.24.0
4
+ version: 1.25.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-02 00:00:00.000000000 Z
11
+ date: 2020-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core