aws-sdk-ecr 1.92.0 → 1.93.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: 2d47e7b92505b06de9f45008da250ac997a9c4e2c05730927226fe8f82733ca5
4
- data.tar.gz: 4f4fd5335f0bc97f2d2e10ef07b0f795c37de609ecbd805846c4e3ed1d8caa4a
3
+ metadata.gz: f3112deb70ce129fa146861143e67bb531097e144e9923ed6fdd77f92510d449
4
+ data.tar.gz: 26c8562bd6433e707d5d76643fe3e1ee095b22dfdef1615520a8d55a6d4306b1
5
5
  SHA512:
6
- metadata.gz: 94e684965047fec7dbcc6ba28e034163a37b7c7712167f724dca829c1be8ca20cc8113a8b25272a2841da8bc402b7e36db46823973d75d4117727ea9d0418ea0
7
- data.tar.gz: b5b47a2a1dd5b6cf0e3f0785e95b6670ad49ba1464d3aac1b087e045263af58123a6de25bb951a86ec45bcfe482691db062fed9977fb670ab4589910ef592484
6
+ metadata.gz: c13fa0c0ee0f3cc4ddd465c9083172a5a6e77423ab0c2c9b96da33ec4b6578f5d33a38c6a2002021182661f7d9bebd1c2693afb10df887b5cdf7b48f2749242a
7
+ data.tar.gz: e29170cb0ea5d91e5042ccfa3172bbcf7a9f3fff9d080183dce76dce55af7df1a30dfcb390fad88a077178e6e157b67be4ec3b165c09e299ec1951734cdd028c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.93.0 (2025-01-29)
5
+ ------------------
6
+
7
+ * Feature - Add support for Dualstack and Dualstack-with-FIPS Endpoints
8
+
4
9
  1.92.0 (2025-01-15)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.92.0
1
+ 1.93.0
@@ -3700,7 +3700,7 @@ module Aws::ECR
3700
3700
  tracer: tracer
3701
3701
  )
3702
3702
  context[:gem_name] = 'aws-sdk-ecr'
3703
- context[:gem_version] = '1.92.0'
3703
+ context[:gem_version] = '1.93.0'
3704
3704
  Seahorse::Client::Request.new(handlers, context)
3705
3705
  end
3706
3706
 
@@ -27,6 +27,12 @@ module Aws::ECR
27
27
  if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
28
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
29
  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"))
30
+ if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
31
+ return Aws::Endpoints::Endpoint.new(url: "https://ecr-fips.#{region}.api.aws", headers: {}, properties: {})
32
+ end
33
+ if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
34
+ return Aws::Endpoints::Endpoint.new(url: "https://ecr-fips.#{region}.api.aws", headers: {}, properties: {})
35
+ end
30
36
  return Aws::Endpoints::Endpoint.new(url: "https://api.ecr-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
37
  end
32
38
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
@@ -45,6 +51,15 @@ module Aws::ECR
45
51
  end
46
52
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
47
53
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
54
+ if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
55
+ return Aws::Endpoints::Endpoint.new(url: "https://ecr.#{region}.api.aws", headers: {}, properties: {})
56
+ end
57
+ if Aws::Endpoints::Matchers.string_equals?("aws-cn", Aws::Endpoints::Matchers.attr(partition_result, "name"))
58
+ return Aws::Endpoints::Endpoint.new(url: "https://ecr.#{region}.api.amazonwebservices.com.cn", headers: {}, properties: {})
59
+ end
60
+ if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
61
+ return Aws::Endpoints::Endpoint.new(url: "https://ecr.#{region}.api.aws", headers: {}, properties: {})
62
+ end
48
63
  return Aws::Endpoints::Endpoint.new(url: "https://api.ecr.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
49
64
  end
50
65
  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.92.0'
58
+ GEM_VERSION = '1.93.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.92.0
4
+ version: 1.93.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-01-15 00:00:00.000000000 Z
11
+ date: 2025-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core