aws-sdk-ecr 1.99.0 → 1.100.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: 3bde772667d3c7be1b425142450d7a968ad5fea4f321168a7edfc829b67c0e69
4
- data.tar.gz: 48f5b387cca4bbf2d1c93fbef0c3234a1d5e598257ce8989e2d538f160d93edf
3
+ metadata.gz: a3500fea5006e29526043d310666e7a723d6117f40b7f88b982057dd3f29f484
4
+ data.tar.gz: 41a4677646f7ccbe6e00d801cc274318b3d19133ed6db8f2aa45a704392ac6dd
5
5
  SHA512:
6
- metadata.gz: 04eaa573abcfcf8a05644d8d0bf9e7c2bdfb65dd6d7117a3b5e55080e3fdf8912c1156653a064f130e4df226f8da805f282d7ff86c73fee12bb20ce3f3704c3c
7
- data.tar.gz: 888b9a96077f5ca9e68143442722cfa7ee5803355a871c3e2894b9a2e7f975d3e2c03c1dca27e6d387c434662130caa06250f2661449209449d63f06aee33510
6
+ metadata.gz: 45aaa9215a2497be93e096f27e0703a747feff42a31c6510231d611236911c1a5e67e18d0b553a03ba41bbeda1467e6ec8252799346b3d27868ca1b8cb7b8dfc
7
+ data.tar.gz: 89954fbc8c95249387a5a9d53ae06edab5c61c04b83d104e9a4dfa66d26ae8d188b883a5a06ae5b83f538103deee1d6ebc5be77e1ac854a7559407121971b471
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.100.0 (2025-04-30)
5
+ ------------------
6
+
7
+ * Feature - Adds dualstack support for Amazon Elastic Container Registry (Amazon ECR).
8
+
4
9
  1.99.0 (2025-04-02)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.99.0
1
+ 1.100.0
@@ -847,7 +847,7 @@ module Aws::ECR
847
847
  # for the pull through cache rule. The following is the syntax to use
848
848
  # for each supported upstream registry.
849
849
  #
850
- # * Amazon ECR (`ecr`) – `<accountId>.dkr.ecr.<region>.amazonaws.com`
850
+ # * Amazon ECR (`ecr`) – `dkr.ecr.<region>.amazonaws.com`
851
851
  #
852
852
  # * Amazon ECR Public (`ecr-public`) – `public.ecr.aws`
853
853
  #
@@ -1729,11 +1729,11 @@ module Aws::ECR
1729
1729
 
1730
1730
  # Returns metadata about the images in a repository.
1731
1731
  #
1732
- # <note markdown="1"> Starting with Docker version 1.9, the Docker client compresses image
1732
+ # <note markdown="1"> Beginning with Docker version 1.9, the Docker client compresses image
1733
1733
  # layers before pushing them to a V2 Docker registry. The output of the
1734
- # `docker images` command shows the uncompressed image size. Therefore,
1735
- # Docker might return a larger image than the image shown in the Amazon
1736
- # Web Services Management Console.
1734
+ # `docker images` command shows the uncompressed image size, so it may
1735
+ # return a larger image size than the image sizes returned by
1736
+ # DescribeImages.
1737
1737
  #
1738
1738
  # </note>
1739
1739
  #
@@ -3749,7 +3749,7 @@ module Aws::ECR
3749
3749
  tracer: tracer
3750
3750
  )
3751
3751
  context[:gem_name] = 'aws-sdk-ecr'
3752
- context[:gem_version] = '1.99.0'
3752
+ context[:gem_version] = '1.100.0'
3753
3753
  Seahorse::Client::Request.new(handlers, context)
3754
3754
  end
3755
3755
 
@@ -23,6 +23,12 @@ module Aws::ECR
23
23
  if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
24
24
  if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
25
25
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
26
+ if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
27
+ return Aws::Endpoints::Endpoint.new(url: "https://ecr-fips.#{parameters.region}.api.aws", headers: {}, properties: {})
28
+ end
29
+ if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://ecr-fips.#{parameters.region}.api.aws", headers: {}, properties: {})
31
+ end
26
32
  return Aws::Endpoints::Endpoint.new(url: "https://api.ecr-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
27
33
  end
28
34
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
@@ -41,6 +47,15 @@ module Aws::ECR
41
47
  end
42
48
  if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
43
49
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
50
+ if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
51
+ return Aws::Endpoints::Endpoint.new(url: "https://ecr.#{parameters.region}.api.aws", headers: {}, properties: {})
52
+ end
53
+ if Aws::Endpoints::Matchers.string_equals?("aws-cn", Aws::Endpoints::Matchers.attr(partition_result, "name"))
54
+ return Aws::Endpoints::Endpoint.new(url: "https://ecr.#{parameters.region}.api.amazonwebservices.com.cn", headers: {}, properties: {})
55
+ end
56
+ if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
57
+ return Aws::Endpoints::Endpoint.new(url: "https://ecr.#{parameters.region}.api.aws", headers: {}, properties: {})
58
+ end
44
59
  return Aws::Endpoints::Endpoint.new(url: "https://api.ecr.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
45
60
  end
46
61
  raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
@@ -352,7 +352,7 @@ module Aws::ECR
352
352
  # source for the pull through cache rule. The following is the syntax
353
353
  # to use for each supported upstream registry.
354
354
  #
355
- # * Amazon ECR (`ecr`) – `<accountId>.dkr.ecr.<region>.amazonaws.com`
355
+ # * Amazon ECR (`ecr`) – `dkr.ecr.<region>.amazonaws.com`
356
356
  #
357
357
  # * Amazon ECR Public (`ecr-public`) – `public.ecr.aws`
358
358
  #
@@ -1707,12 +1707,6 @@ module Aws::ECR
1707
1707
  # @!attribute [rw] authorization_data
1708
1708
  # A list of authorization token data objects that correspond to the
1709
1709
  # `registryIds` values in the request.
1710
- #
1711
- # <note markdown="1"> The size of the authorization token returned by Amazon ECR is not
1712
- # fixed. We recommend that you don't make assumptions about the
1713
- # maximum size.
1714
- #
1715
- # </note>
1716
1710
  # @return [Array<Types::AuthorizationData>]
1717
1711
  #
1718
1712
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetAuthorizationTokenResponse AWS API Documentation
@@ -2080,8 +2074,8 @@ module Aws::ECR
2080
2074
  # <note markdown="1"> Starting with Docker version 1.9, the Docker client compresses image
2081
2075
  # layers before pushing them to a V2 Docker registry. The output of
2082
2076
  # the `docker images` command shows the uncompressed image size.
2083
- # Therefore, Docker might return a larger image than the image shown
2084
- # in the Amazon Web Services Management Console.
2077
+ # Therefore, Docker might return a larger image than the image sizes
2078
+ # returned by DescribeImages.
2085
2079
  #
2086
2080
  # </note>
2087
2081
  # @return [Integer]
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.99.0'
58
+ GEM_VERSION = '1.100.0'
59
59
 
60
60
  end
61
61
 
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.99.0
4
+ version: 1.100.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: 2025-04-02 00:00:00.000000000 Z
11
+ date: 2025-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core