aws-sdk-ecr 1.103.0 → 1.104.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecr/client.rb +21 -8
- data/lib/aws-sdk-ecr/client_api.rb +3 -0
- data/lib/aws-sdk-ecr/types.rb +24 -7
- data/lib/aws-sdk-ecr.rb +1 -1
- data/sig/types.rbs +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9d4333e44a36b63d56f2c43d4c56fe863b4b4d70920ca7c36ed62750b086642
|
4
|
+
data.tar.gz: f0bf96e990584b5691cd36163efa0cbf7c2fccb4103a04f3ec81b4fe627f8359
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fcf1b1fa5fcabb2564481eeffac022efa557a1768faeb319c2c06178a3c4f18b6ee9f5d15bbc7d7a78b84a6acfb1b7c4969d9930b416ec234abc497217a198b6
|
7
|
+
data.tar.gz: d20849ffe81d3c62ccc32b911d58cc0e2e169f899ce4553a29f0659bb18cbbe7547b545a635f339c4c86f0de63abb3989621ec984e5fdd73a33fd15ff8621b99
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.104.0 (2025-06-16)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - The `DescribeImageScanning` API now includes `lastInUseAt` and `InUseCount` fields that can be used to prioritize vulnerability remediation for images that are actively being used.
|
8
|
+
|
4
9
|
1.103.0 (2025-06-02)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.104.0
|
data/lib/aws-sdk-ecr/client.rb
CHANGED
@@ -846,7 +846,7 @@ module Aws::ECR
|
|
846
846
|
# for the pull through cache rule. The following is the syntax to use
|
847
847
|
# for each supported upstream registry.
|
848
848
|
#
|
849
|
-
# * Amazon ECR (`ecr`) –
|
849
|
+
# * Amazon ECR (`ecr`) – `<accountId>.dkr.ecr.<region>.amazonaws.com`
|
850
850
|
#
|
851
851
|
# * Amazon ECR Public (`ecr-public`) – `public.ecr.aws`
|
852
852
|
#
|
@@ -1689,6 +1689,8 @@ module Aws::ECR
|
|
1689
1689
|
# resp.image_scan_findings.enhanced_findings[0].resources[0].details.aws_ecr_container_image.image_tags[0] #=> String
|
1690
1690
|
# resp.image_scan_findings.enhanced_findings[0].resources[0].details.aws_ecr_container_image.platform #=> String
|
1691
1691
|
# resp.image_scan_findings.enhanced_findings[0].resources[0].details.aws_ecr_container_image.pushed_at #=> Time
|
1692
|
+
# resp.image_scan_findings.enhanced_findings[0].resources[0].details.aws_ecr_container_image.last_in_use_at #=> Time
|
1693
|
+
# resp.image_scan_findings.enhanced_findings[0].resources[0].details.aws_ecr_container_image.in_use_count #=> Integer
|
1692
1694
|
# resp.image_scan_findings.enhanced_findings[0].resources[0].details.aws_ecr_container_image.registry #=> String
|
1693
1695
|
# resp.image_scan_findings.enhanced_findings[0].resources[0].details.aws_ecr_container_image.repository_name #=> String
|
1694
1696
|
# resp.image_scan_findings.enhanced_findings[0].resources[0].id #=> String
|
@@ -1728,14 +1730,25 @@ module Aws::ECR
|
|
1728
1730
|
|
1729
1731
|
# Returns metadata about the images in a repository.
|
1730
1732
|
#
|
1731
|
-
# <note markdown="1">
|
1733
|
+
# <note markdown="1"> Starting with Docker version 1.9, the Docker client compresses image
|
1732
1734
|
# layers before pushing them to a V2 Docker registry. The output of the
|
1733
|
-
# `docker images` command shows the uncompressed image size,
|
1734
|
-
# return a larger image
|
1735
|
-
#
|
1735
|
+
# `docker images` command shows the uncompressed image size. Therefore,
|
1736
|
+
# Docker might return a larger image than the image shown in the Amazon
|
1737
|
+
# Web Services Management Console.
|
1736
1738
|
#
|
1737
1739
|
# </note>
|
1738
1740
|
#
|
1741
|
+
# The new version of Amazon ECR *Basic Scanning* doesn't use the
|
1742
|
+
# ImageDetail$imageScanFindingsSummary and ImageDetail$imageScanStatus
|
1743
|
+
# attributes from the API response to return scan results. Use the
|
1744
|
+
# DescribeImageScanFindings API instead. For more information about
|
1745
|
+
# Amazon Web Services native basic scanning, see [ Scan images for
|
1746
|
+
# software vulnerabilities in Amazon ECR][1].
|
1747
|
+
#
|
1748
|
+
#
|
1749
|
+
#
|
1750
|
+
# [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning.html
|
1751
|
+
#
|
1739
1752
|
# @option params [String] :registry_id
|
1740
1753
|
# The Amazon Web Services account ID associated with the registry that
|
1741
1754
|
# contains the repository in which to describe images. If you do not
|
@@ -2375,8 +2388,8 @@ module Aws::ECR
|
|
2375
2388
|
# response element. The remaining results of the initial request can be
|
2376
2389
|
# seen by sending
another `GetLifecyclePolicyPreviewRequest` request
|
2377
2390
|
# with the returned `nextToken`
value. This value can be between 1 and
|
2378
|
-
#
|
2379
|
-
# `GetLifecyclePolicyPreviewRequest` returns up to
|
2391
|
+
# 100. If this
parameter is not used, then
|
2392
|
+
# `GetLifecyclePolicyPreviewRequest` returns up to
|
2380
2393
|
# `nextToken` value, if
applicable. This option cannot be used when you
|
2381
2394
|
# specify images with `imageIds`.
|
2382
2395
|
#
|
@@ -3748,7 +3761,7 @@ module Aws::ECR
|
|
3748
3761
|
tracer: tracer
|
3749
3762
|
)
|
3750
3763
|
context[:gem_name] = 'aws-sdk-ecr'
|
3751
|
-
context[:gem_version] = '1.
|
3764
|
+
context[:gem_version] = '1.104.0'
|
3752
3765
|
Seahorse::Client::Request.new(handlers, context)
|
3753
3766
|
end
|
3754
3767
|
|
@@ -150,6 +150,7 @@ module Aws::ECR
|
|
150
150
|
ImageTagList = Shapes::ListShape.new(name: 'ImageTagList')
|
151
151
|
ImageTagMutability = Shapes::StringShape.new(name: 'ImageTagMutability')
|
152
152
|
ImageTagsList = Shapes::ListShape.new(name: 'ImageTagsList')
|
153
|
+
InUseCount = Shapes::IntegerShape.new(name: 'InUseCount')
|
153
154
|
InitiateLayerUploadRequest = Shapes::StructureShape.new(name: 'InitiateLayerUploadRequest')
|
154
155
|
InitiateLayerUploadResponse = Shapes::StructureShape.new(name: 'InitiateLayerUploadResponse')
|
155
156
|
InvalidLayerException = Shapes::StructureShape.new(name: 'InvalidLayerException')
|
@@ -373,6 +374,8 @@ module Aws::ECR
|
|
373
374
|
AwsEcrContainerImageDetails.add_member(:image_tags, Shapes::ShapeRef.new(shape: ImageTagsList, location_name: "imageTags"))
|
374
375
|
AwsEcrContainerImageDetails.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, location_name: "platform"))
|
375
376
|
AwsEcrContainerImageDetails.add_member(:pushed_at, Shapes::ShapeRef.new(shape: Date, location_name: "pushedAt"))
|
377
|
+
AwsEcrContainerImageDetails.add_member(:last_in_use_at, Shapes::ShapeRef.new(shape: Date, location_name: "lastInUseAt"))
|
378
|
+
AwsEcrContainerImageDetails.add_member(:in_use_count, Shapes::ShapeRef.new(shape: InUseCount, location_name: "inUseCount"))
|
376
379
|
AwsEcrContainerImageDetails.add_member(:registry, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registry"))
|
377
380
|
AwsEcrContainerImageDetails.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
|
378
381
|
AwsEcrContainerImageDetails.struct_class = Types::AwsEcrContainerImageDetails
|
data/lib/aws-sdk-ecr/types.rb
CHANGED
@@ -86,6 +86,15 @@ module Aws::ECR
|
|
86
86
|
# The date and time the Amazon ECR container image was pushed.
|
87
87
|
# @return [Time]
|
88
88
|
#
|
89
|
+
# @!attribute [rw] last_in_use_at
|
90
|
+
# The most recent date and time a cluster was running the image.
|
91
|
+
# @return [Time]
|
92
|
+
#
|
93
|
+
# @!attribute [rw] in_use_count
|
94
|
+
# The number of Amazon ECS or Amazon EKS clusters currently running
|
95
|
+
# the image.
|
96
|
+
# @return [Integer]
|
97
|
+
#
|
89
98
|
# @!attribute [rw] registry
|
90
99
|
# The registry the Amazon ECR container image belongs to.
|
91
100
|
# @return [String]
|
@@ -104,6 +113,8 @@ module Aws::ECR
|
|
104
113
|
:image_tags,
|
105
114
|
:platform,
|
106
115
|
:pushed_at,
|
116
|
+
:last_in_use_at,
|
117
|
+
:in_use_count,
|
107
118
|
:registry,
|
108
119
|
:repository_name)
|
109
120
|
SENSITIVE = []
|
@@ -352,7 +363,7 @@ module Aws::ECR
|
|
352
363
|
# source for the pull through cache rule. The following is the syntax
|
353
364
|
# to use for each supported upstream registry.
|
354
365
|
#
|
355
|
-
# * Amazon ECR (`ecr`) –
|
366
|
+
# * Amazon ECR (`ecr`) – `<accountId>.dkr.ecr.<region>.amazonaws.com`
|
356
367
|
#
|
357
368
|
# * Amazon ECR Public (`ecr-public`) – `public.ecr.aws`
|
358
369
|
#
|
@@ -1707,6 +1718,12 @@ module Aws::ECR
|
|
1707
1718
|
# @!attribute [rw] authorization_data
|
1708
1719
|
# A list of authorization token data objects that correspond to the
|
1709
1720
|
# `registryIds` values in the request.
|
1721
|
+
#
|
1722
|
+
# <note markdown="1"> The size of the authorization token returned by Amazon ECR is not
|
1723
|
+
# fixed. We recommend that you don't make assumptions about the
|
1724
|
+
# maximum size.
|
1725
|
+
#
|
1726
|
+
# </note>
|
1710
1727
|
# @return [Array<Types::AuthorizationData>]
|
1711
1728
|
#
|
1712
1729
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetAuthorizationTokenResponse AWS API Documentation
|
@@ -1791,8 +1808,8 @@ module Aws::ECR
|
|
1791
1808
|
# response element. The remaining results of the initial request can
|
1792
1809
|
# be seen by sending
another `GetLifecyclePolicyPreviewRequest`
|
1793
1810
|
# request with the returned `nextToken`
value. This value can be
|
1794
|
-
# between 1 and
|
1795
|
-
# `GetLifecyclePolicyPreviewRequest` returns up to
|
1811
|
+
# between 1 and 100. If this
parameter is not used, then
|
1812
|
+
# `GetLifecyclePolicyPreviewRequest` returns up to
|
1796
1813
|
# `nextToken` value, if
applicable. This option cannot be used when
|
1797
1814
|
# you specify images with `imageIds`.
|
1798
1815
|
# @return [Integer]
|
@@ -2074,8 +2091,8 @@ module Aws::ECR
|
|
2074
2091
|
# <note markdown="1"> Starting with Docker version 1.9, the Docker client compresses image
|
2075
2092
|
# layers before pushing them to a V2 Docker registry. The output of
|
2076
2093
|
# the `docker images` command shows the uncompressed image size.
|
2077
|
-
# Therefore, Docker might return a larger image than the image
|
2078
|
-
#
|
2094
|
+
# Therefore, Docker might return a larger image than the image shown
|
2095
|
+
# in the Amazon Web Services Management Console.
|
2079
2096
|
#
|
2080
2097
|
# </note>
|
2081
2098
|
# @return [Integer]
|
@@ -3643,8 +3660,8 @@ module Aws::ECR
|
|
3643
3660
|
#
|
3644
3661
|
# @!attribute [rw] image_tag_mutability
|
3645
3662
|
# The tag mutability setting for the repository. If this parameter is
|
3646
|
-
# omitted, the default setting of MUTABLE will be used which will
|
3647
|
-
# allow image tags to be overwritten. If IMMUTABLE is specified, all
|
3663
|
+
# omitted, the default setting of `MUTABLE` will be used which will
|
3664
|
+
# allow image tags to be overwritten. If `IMMUTABLE` is specified, all
|
3648
3665
|
# image tags within the repository will be immutable which will
|
3649
3666
|
# prevent them from being overwritten.
|
3650
3667
|
# @return [String]
|
data/lib/aws-sdk-ecr.rb
CHANGED
data/sig/types.rbs
CHANGED
@@ -28,6 +28,8 @@ module Aws::ECR
|
|
28
28
|
attr_accessor image_tags: ::Array[::String]
|
29
29
|
attr_accessor platform: ::String
|
30
30
|
attr_accessor pushed_at: ::Time
|
31
|
+
attr_accessor last_in_use_at: ::Time
|
32
|
+
attr_accessor in_use_count: ::Integer
|
31
33
|
attr_accessor registry: ::String
|
32
34
|
attr_accessor repository_name: ::String
|
33
35
|
SENSITIVE: []
|