aws-sdk-ecr 1.99.0 → 1.101.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: b1a76746b015077b5788119e01f0229a78505529c430f7916a2124d59de8c950
4
+ data.tar.gz: 379e217004d3179f68aab1dfc19026afaf4b7804c3b9167fed0e5fe715236a84
5
5
  SHA512:
6
- metadata.gz: 04eaa573abcfcf8a05644d8d0bf9e7c2bdfb65dd6d7117a3b5e55080e3fdf8912c1156653a064f130e4df226f8da805f282d7ff86c73fee12bb20ce3f3704c3c
7
- data.tar.gz: 888b9a96077f5ca9e68143442722cfa7ee5803355a871c3e2894b9a2e7f975d3e2c03c1dca27e6d387c434662130caa06250f2661449209449d63f06aee33510
6
+ metadata.gz: 326de0814a2228df242b9075887cbeae8bfb065de0e104102e2f4730be8b3e57a0de232c1968cacddcb2c7b4c618c55d73372b6a72e146d85007dd65fe4948fc
7
+ data.tar.gz: c8e781338d35def53af276d4164da2fa84ce4e00be1bdd8b2b4c882188454b3408968823f4482565a02a125318f3f36f8099d1f05b585a20afb47765129cb29b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.101.0 (2025-05-01)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.100.0 (2025-04-30)
10
+ ------------------
11
+
12
+ * Feature - Adds dualstack support for Amazon Elastic Container Registry (Amazon ECR).
13
+
4
14
  1.99.0 (2025-04-02)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.99.0
1
+ 1.101.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.101.0'
3753
3753
  Seahorse::Client::Request.new(handlers, context)
3754
3754
  end
3755
3755
 
@@ -665,7 +665,7 @@ module Aws::ECR
665
665
 
666
666
  GetAuthorizationTokenRegistryIdList.member = Shapes::ShapeRef.new(shape: RegistryId)
667
667
 
668
- GetAuthorizationTokenRequest.add_member(:registry_ids, Shapes::ShapeRef.new(shape: GetAuthorizationTokenRegistryIdList, deprecated: true, location_name: "registryIds", metadata: {"deprecatedMessage"=>"This field is deprecated. The returned authorization token can be used to access any Amazon ECR registry that the IAM principal has access to, specifying a registry ID doesn't change the permissions scope of the authorization token."}))
668
+ GetAuthorizationTokenRequest.add_member(:registry_ids, Shapes::ShapeRef.new(shape: GetAuthorizationTokenRegistryIdList, deprecated: true, location_name: "registryIds", metadata: {"deprecatedMessage" => "This field is deprecated. The returned authorization token can be used to access any Amazon ECR registry that the IAM principal has access to, specifying a registry ID doesn't change the permissions scope of the authorization token."}))
669
669
  GetAuthorizationTokenRequest.struct_class = Types::GetAuthorizationTokenRequest
670
670
 
671
671
  GetAuthorizationTokenResponse.add_member(:authorization_data, Shapes::ShapeRef.new(shape: AuthorizationDataList, location_name: "authorizationData"))
@@ -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.101.0'
59
59
 
60
60
  end
61
61
 
metadata CHANGED
@@ -1,14 +1,13 @@
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.101.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-04-02 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: aws-sdk-core
@@ -78,7 +77,6 @@ licenses:
78
77
  metadata:
79
78
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-ecr
80
79
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-ecr/CHANGELOG.md
81
- post_install_message:
82
80
  rdoc_options: []
83
81
  require_paths:
84
82
  - lib
@@ -93,8 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
91
  - !ruby/object:Gem::Version
94
92
  version: '0'
95
93
  requirements: []
96
- rubygems_version: 3.4.10
97
- signing_key:
94
+ rubygems_version: 3.6.7
98
95
  specification_version: 4
99
96
  summary: AWS SDK for Ruby - Amazon ECR
100
97
  test_files: []