aws-sdk-ecr 1.103.0 → 1.105.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 82e43ffe0e46ebe667f1ed5c41d96c3ad7a2918e68bf30dbe97ace8b9fba47e9
4
- data.tar.gz: 45599f7945b49c5c7876fcfcbe64dc1f68b29de733bbbfd2b096756a650782bc
3
+ metadata.gz: 994bfed98809e3416f6677f046d687f4a02ddd13d14cfbbb34356332b44f0adc
4
+ data.tar.gz: b9643f1d9b391fe69cb49e14716c14c66dd8a122adae4c799fb35dab5a3a6986
5
5
  SHA512:
6
- metadata.gz: 4b4638b4f59f0d78a508399fbb4f3bd052d9786a70f7f58430a7e5ecf0c3be9379fa2c61d84870a733ecfbe9a8a04a2934f3da0e47c96c505be3c9fdabc0a2d7
7
- data.tar.gz: f2cf628468c109540b22d263954369b070ba3c63559a9d60b7a0bf3710f7394fcde1a855d71820e8d63dd99bc1da25c3d26fe85a330906e4f5d9790b80e606ca
6
+ metadata.gz: ef75f4709e812c7f81285bfba56e8ca5063f45b0a5404aa6b924785a02085d18e11d40f732546a5d236ceee07a5c733c024459e043f2bb8bba83e6824959ebda
7
+ data.tar.gz: 4fc66eaa64531095d08d4d95adaf57aa9b603b6f0f0ae43c4b4d9b38875b1d3071952cc1a714e30a2ebe0a774a047e216b652f8674cd1268fb75e6e344ad7eb2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.105.0 (2025-07-21)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.104.0 (2025-06-16)
10
+ ------------------
11
+
12
+ * 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.
13
+
4
14
  1.103.0 (2025-06-02)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.103.0
1
+ 1.105.0
@@ -95,7 +95,7 @@ module Aws::ECR
95
95
  # class name or an instance of a plugin class.
96
96
  #
97
97
  # @option options [required, Aws::CredentialProvider] :credentials
98
- # Your AWS credentials. This can be an instance of any one of the
98
+ # Your AWS credentials used for authentication. This can be an instance of any one of the
99
99
  # following classes:
100
100
  #
101
101
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
@@ -128,18 +128,23 @@ module Aws::ECR
128
128
  # locations will be searched for credentials:
129
129
  #
130
130
  # * `Aws.config[:credentials]`
131
+ #
131
132
  # * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
132
133
  # `:account_id` options.
133
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
134
- # ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
134
+ #
135
+ # * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
136
+ # `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
137
+ #
135
138
  # * `~/.aws/credentials`
139
+ #
136
140
  # * `~/.aws/config`
141
+ #
137
142
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
138
143
  # are very aggressive. Construct and pass an instance of
139
144
  # `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
140
145
  # enable retries and extended timeouts. Instance profile credential
141
- # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
142
- # to true.
146
+ # fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
147
+ # to `true`.
143
148
  #
144
149
  # @option options [required, String] :region
145
150
  # The AWS region to connect to. The configured `:region` is
@@ -167,6 +172,11 @@ module Aws::ECR
167
172
  # When false, the request will raise a `RetryCapacityNotAvailableError` and will
168
173
  # not retry instead of sleeping.
169
174
  #
175
+ # @option options [Array<String>] :auth_scheme_preference
176
+ # A list of preferred authentication schemes to use when making a request. Supported values are:
177
+ # `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
178
+ # shared config as `auth_scheme_preference`, the value should be a comma-separated list.
179
+ #
170
180
  # @option options [Boolean] :client_side_monitoring (false)
171
181
  # When `true`, client-side metrics will be collected for all API requests from
172
182
  # this client.
@@ -253,8 +263,8 @@ module Aws::ECR
253
263
  # 4 times. Used in `standard` and `adaptive` retry modes.
254
264
  #
255
265
  # @option options [String] :profile ("default")
256
- # Used when loading credentials from the shared credentials file
257
- # at HOME/.aws/credentials. When not specified, 'default' is used.
266
+ # Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
267
+ # When not specified, 'default' is used.
258
268
  #
259
269
  # @option options [String] :request_checksum_calculation ("when_supported")
260
270
  # Determines when a checksum will be calculated for request payloads. Values are:
@@ -374,7 +384,7 @@ module Aws::ECR
374
384
  # `Aws::Telemetry::OTelProvider` for telemetry provider.
375
385
  #
376
386
  # @option options [Aws::TokenProvider] :token_provider
377
- # A Bearer Token Provider. This can be an instance of any one of the
387
+ # Your Bearer token used for authentication. This can be an instance of any one of the
378
388
  # following classes:
379
389
  #
380
390
  # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
@@ -846,7 +856,7 @@ module Aws::ECR
846
856
  # for the pull through cache rule. The following is the syntax to use
847
857
  # for each supported upstream registry.
848
858
  #
849
- # * Amazon ECR (`ecr`) – `dkr.ecr.<region>.amazonaws.com`
859
+ # * Amazon ECR (`ecr`) – `<accountId>.dkr.ecr.<region>.amazonaws.com`
850
860
  #
851
861
  # * Amazon ECR Public (`ecr-public`) – `public.ecr.aws`
852
862
  #
@@ -1689,6 +1699,8 @@ module Aws::ECR
1689
1699
  # resp.image_scan_findings.enhanced_findings[0].resources[0].details.aws_ecr_container_image.image_tags[0] #=> String
1690
1700
  # resp.image_scan_findings.enhanced_findings[0].resources[0].details.aws_ecr_container_image.platform #=> String
1691
1701
  # resp.image_scan_findings.enhanced_findings[0].resources[0].details.aws_ecr_container_image.pushed_at #=> Time
1702
+ # resp.image_scan_findings.enhanced_findings[0].resources[0].details.aws_ecr_container_image.last_in_use_at #=> Time
1703
+ # resp.image_scan_findings.enhanced_findings[0].resources[0].details.aws_ecr_container_image.in_use_count #=> Integer
1692
1704
  # resp.image_scan_findings.enhanced_findings[0].resources[0].details.aws_ecr_container_image.registry #=> String
1693
1705
  # resp.image_scan_findings.enhanced_findings[0].resources[0].details.aws_ecr_container_image.repository_name #=> String
1694
1706
  # resp.image_scan_findings.enhanced_findings[0].resources[0].id #=> String
@@ -1728,14 +1740,25 @@ module Aws::ECR
1728
1740
 
1729
1741
  # Returns metadata about the images in a repository.
1730
1742
  #
1731
- # <note markdown="1"> Beginning with Docker version 1.9, the Docker client compresses image
1743
+ # <note markdown="1"> Starting with Docker version 1.9, the Docker client compresses image
1732
1744
  # layers before pushing them to a V2 Docker registry. The output of the
1733
- # `docker images` command shows the uncompressed image size, so it may
1734
- # return a larger image size than the image sizes returned by
1735
- # DescribeImages.
1745
+ # `docker images` command shows the uncompressed image size. Therefore,
1746
+ # Docker might return a larger image than the image shown in the Amazon
1747
+ # Web Services Management Console.
1736
1748
  #
1737
1749
  # </note>
1738
1750
  #
1751
+ # The new version of Amazon ECR *Basic Scanning* doesn't use the
1752
+ # ImageDetail$imageScanFindingsSummary and ImageDetail$imageScanStatus
1753
+ # attributes from the API response to return scan results. Use the
1754
+ # DescribeImageScanFindings API instead. For more information about
1755
+ # Amazon Web Services native basic scanning, see [ Scan images for
1756
+ # software vulnerabilities in Amazon ECR][1].
1757
+ #
1758
+ #
1759
+ #
1760
+ # [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning.html
1761
+ #
1739
1762
  # @option params [String] :registry_id
1740
1763
  # The Amazon Web Services account ID associated with the registry that
1741
1764
  # contains the repository in which to describe images. If you do not
@@ -2375,8 +2398,8 @@ module Aws::ECR
2375
2398
  # response element. The remaining results of the initial request can be
2376
2399
  # seen by sending
 another `GetLifecyclePolicyPreviewRequest` request
2377
2400
  # with the returned `nextToken`
 value. This value can be between 1 and
2378
- # 1000. If this
 parameter is not used, then
2379
- # `GetLifecyclePolicyPreviewRequest` returns up to100 results and a
2401
+ # 100. If this
 parameter is not used, then
2402
+ # `GetLifecyclePolicyPreviewRequest` returns up to100 results and a
2380
2403
  # `nextToken` value, if
 applicable. This option cannot be used when you
2381
2404
  # specify images with `imageIds`.
2382
2405
  #
@@ -3748,7 +3771,7 @@ module Aws::ECR
3748
3771
  tracer: tracer
3749
3772
  )
3750
3773
  context[:gem_name] = 'aws-sdk-ecr'
3751
- context[:gem_version] = '1.103.0'
3774
+ context[:gem_version] = '1.105.0'
3752
3775
  Seahorse::Client::Request.new(handlers, context)
3753
3776
  end
3754
3777
 
@@ -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
@@ -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`) – `dkr.ecr.<region>.amazonaws.com`
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 1000. If this
 parameter is not used, then
1795
- # `GetLifecyclePolicyPreviewRequest` returns up to100 results and a
1811
+ # between 1 and 100. If this
 parameter is not used, then
1812
+ # `GetLifecyclePolicyPreviewRequest` returns up to100 results and a
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 sizes
2078
- # returned by DescribeImages.
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
@@ -55,7 +55,7 @@ module Aws::ECR
55
55
  autoload :EndpointProvider, 'aws-sdk-ecr/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-ecr/endpoints'
57
57
 
58
- GEM_VERSION = '1.103.0'
58
+ GEM_VERSION = '1.105.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -18,6 +18,7 @@ module Aws
18
18
  ?account_id: String,
19
19
  ?active_endpoint_cache: bool,
20
20
  ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
21
22
  ?client_side_monitoring: bool,
22
23
  ?client_side_monitoring_client_id: String,
23
24
  ?client_side_monitoring_host: String,
data/sig/resource.rbs CHANGED
@@ -18,6 +18,7 @@ module Aws
18
18
  ?account_id: String,
19
19
  ?active_endpoint_cache: bool,
20
20
  ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
21
22
  ?client_side_monitoring: bool,
22
23
  ?client_side_monitoring_client_id: String,
23
24
  ?client_side_monitoring_host: String,
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: []
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ecr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.103.0
4
+ version: 1.105.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.225.0
21
+ version: 3.227.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.225.0
31
+ version: 3.227.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement