aws-sdk-outposts 1.40.0 → 1.41.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-outposts/client.rb +1 -1
- data/lib/aws-sdk-outposts/endpoint_provider.rb +9 -0
- data/lib/aws-sdk-outposts.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: 1339e17908c799a9d772629b292d0ee496d0735df4360408e88e6efc878d9d6d
|
|
4
|
+
data.tar.gz: 542370461005ccc5492cbc3ff876601f34110117a5e3f05bfbb43a84f7f0111b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 299c45f52658e65b4ea5848a631a3ee73faccc28a40e188bf6f72ec7e54d84ca55bb0d448f18fcdebd346021736ab16df8a21057bf54cad579565e3593d74d9f
|
|
7
|
+
data.tar.gz: c08bdc29b2ba238429b2d1da4e04d9b45d88dc217f80280d3b9f55ef920da22abd16725e3aedb00f6886117dd3b28a998fdec52d742697b6242afdaf45b055c4
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.41.0
|
|
@@ -1805,7 +1805,7 @@ module Aws::Outposts
|
|
|
1805
1805
|
params: params,
|
|
1806
1806
|
config: config)
|
|
1807
1807
|
context[:gem_name] = 'aws-sdk-outposts'
|
|
1808
|
-
context[:gem_version] = '1.
|
|
1808
|
+
context[:gem_version] = '1.41.0'
|
|
1809
1809
|
Seahorse::Client::Request.new(handlers, context)
|
|
1810
1810
|
end
|
|
1811
1811
|
|
|
@@ -32,6 +32,9 @@ module Aws::Outposts
|
|
|
32
32
|
end
|
|
33
33
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
|
35
|
+
if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://outposts.#{region}.amazonaws.com", headers: {}, properties: {})
|
|
37
|
+
end
|
|
35
38
|
return Aws::Endpoints::Endpoint.new(url: "https://outposts-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
36
39
|
end
|
|
37
40
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
|
@@ -42,6 +45,12 @@ module Aws::Outposts
|
|
|
42
45
|
end
|
|
43
46
|
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
|
44
47
|
end
|
|
48
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-east-1")
|
|
49
|
+
return Aws::Endpoints::Endpoint.new(url: "https://outposts.us-gov-east-1.amazonaws.com", headers: {}, properties: {})
|
|
50
|
+
end
|
|
51
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-west-1")
|
|
52
|
+
return Aws::Endpoints::Endpoint.new(url: "https://outposts.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
|
|
53
|
+
end
|
|
45
54
|
return Aws::Endpoints::Endpoint.new(url: "https://outposts.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
46
55
|
end
|
|
47
56
|
raise ArgumentError, 'No endpoint could be resolved'
|
data/lib/aws-sdk-outposts.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-outposts
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.41.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: 2023-01-
|
|
11
|
+
date: 2023-01-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|