aws-sdk-ecr 1.98.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: 73e9b95a954a912ed8e2ec0a3b068eacbc3bb738bf2cb9cf563e78d4105a8e44
4
- data.tar.gz: b2b0b79205e4f15dcaa7a3676a7fd5744debdabb50a0bbaf4c5cfba04e59789c
3
+ metadata.gz: a3500fea5006e29526043d310666e7a723d6117f40b7f88b982057dd3f29f484
4
+ data.tar.gz: 41a4677646f7ccbe6e00d801cc274318b3d19133ed6db8f2aa45a704392ac6dd
5
5
  SHA512:
6
- metadata.gz: 26cdf11391e23fc036d28a18efd270f97a7aad6fc41525a4713ca6e1e6bffa3d64a0cc54fc442486299b1a219af31b33c4a095c91e87d9efdc045813d90d0fd1
7
- data.tar.gz: c48dffd005aea2289f2f709e4810284663d5bf51b3ff3ce062f6e131addd6b807e193d98cfa03841bba2c910142d2052babf4722e6b1155746031659139caa9f
6
+ metadata.gz: 45aaa9215a2497be93e096f27e0703a747feff42a31c6510231d611236911c1a5e67e18d0b553a03ba41bbeda1467e6ec8252799346b3d27868ca1b8cb7b8dfc
7
+ data.tar.gz: 89954fbc8c95249387a5a9d53ae06edab5c61c04b83d104e9a4dfa66d26ae8d188b883a5a06ae5b83f538103deee1d6ebc5be77e1ac854a7559407121971b471
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.99.0 (2025-04-02)
10
+ ------------------
11
+
12
+ * Feature - Fix for customer issues related to AWS account ID and size limitation for token.
13
+
4
14
  1.98.0 (2025-03-11)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.98.0
1
+ 1.100.0
@@ -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.98.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"
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.98.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.98.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-03-11 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