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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecr/client.rb +1 -1
- data/lib/aws-sdk-ecr/endpoint_provider.rb +15 -0
- data/lib/aws-sdk-ecr.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3500fea5006e29526043d310666e7a723d6117f40b7f88b982057dd3f29f484
|
4
|
+
data.tar.gz: 41a4677646f7ccbe6e00d801cc274318b3d19133ed6db8f2aa45a704392ac6dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
1
|
+
1.100.0
|
data/lib/aws-sdk-ecr/client.rb
CHANGED
@@ -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
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.
|
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-
|
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
|