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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecr/client.rb +6 -6
- data/lib/aws-sdk-ecr/endpoint_provider.rb +15 -0
- data/lib/aws-sdk-ecr/types.rb +3 -9
- 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
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.100.0
|
data/lib/aws-sdk-ecr/client.rb
CHANGED
@@ -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`) –
|
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">
|
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
|
1735
|
-
#
|
1736
|
-
#
|
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.
|
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/types.rb
CHANGED
@@ -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`) –
|
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
|
2084
|
-
#
|
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
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-04-
|
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
|