aws-sdk-greengrass 1.52.0 → 1.53.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-greengrass/client.rb +1 -1
- data/lib/aws-sdk-greengrass/endpoint_provider.rb +16 -4
- data/lib/aws-sdk-greengrass.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: d8f45ddfab1c0c4de29b24aeb1b3c425cb3eed9b2f7e7ac0f3059d4b460a1131
|
4
|
+
data.tar.gz: db1cebcd84f665535523be28dcabd114cbb080864caa5966a87b006f901f4451
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d041ae7f45a372cb2dfe97086937d56debcb18f80ed6d7d1835dbc096942ee4cdab429155113f6fded93b6aadcdd3d436a3905ed69b95e378b170f1fa7002fc4
|
7
|
+
data.tar.gz: 4017aaf8cfe14677ba350d4d24a9136c6962d0d60d9cef259ee5f22362143e72f47b6f2d478c51f7b045ba509dcd7df6b77fafe68b485cb78425b8e8a66d4a13
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.53.0
|
@@ -4138,7 +4138,7 @@ module Aws::Greengrass
|
|
4138
4138
|
params: params,
|
4139
4139
|
config: config)
|
4140
4140
|
context[:gem_name] = 'aws-sdk-greengrass'
|
4141
|
-
context[:gem_version] = '1.
|
4141
|
+
context[:gem_version] = '1.53.0'
|
4142
4142
|
Seahorse::Client::Request.new(handlers, context)
|
4143
4143
|
end
|
4144
4144
|
|
@@ -15,7 +15,7 @@ module Aws::Greengrass
|
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
17
|
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint)
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
19
19
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
20
|
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
21
|
end
|
@@ -32,6 +32,12 @@ module Aws::Greengrass
|
|
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?(region, "us-gov-east-1")
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://greengrass.us-gov-east-1.amazonaws.com", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-west-1")
|
39
|
+
return Aws::Endpoints::Endpoint.new(url: "https://greengrass.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
|
40
|
+
end
|
35
41
|
return Aws::Endpoints::Endpoint.new(url: "https://greengrass-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
42
|
end
|
37
43
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
@@ -42,11 +48,17 @@ module Aws::Greengrass
|
|
42
48
|
end
|
43
49
|
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
44
50
|
end
|
51
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "dataplane-us-gov-east-1")
|
52
|
+
return Aws::Endpoints::Endpoint.new(url: "https://greengrass-ats.iot.us-gov-east-1.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-gov-east-1", "signingName"=>"greengrass"}]})
|
53
|
+
end
|
45
54
|
if Aws::Endpoints::Matchers.string_equals?(region, "dataplane-us-gov-west-1")
|
46
|
-
return Aws::Endpoints::Endpoint.new(url: "https://greengrass-ats.iot.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
|
55
|
+
return Aws::Endpoints::Endpoint.new(url: "https://greengrass-ats.iot.us-gov-west-1.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-gov-west-1", "signingName"=>"greengrass"}]})
|
47
56
|
end
|
48
|
-
if Aws::Endpoints::Matchers.string_equals?(region, "
|
49
|
-
return Aws::Endpoints::Endpoint.new(url: "https://greengrass
|
57
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-east-1")
|
58
|
+
return Aws::Endpoints::Endpoint.new(url: "https://greengrass.us-gov-east-1.amazonaws.com", headers: {}, properties: {})
|
59
|
+
end
|
60
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-west-1")
|
61
|
+
return Aws::Endpoints::Endpoint.new(url: "https://greengrass.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
|
50
62
|
end
|
51
63
|
return Aws::Endpoints::Endpoint.new(url: "https://greengrass.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
52
64
|
end
|
data/lib/aws-sdk-greengrass.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-greengrass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.53.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-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|