aws-sdk-greengrass 1.52.0 → 1.54.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-greengrass/client.rb +6 -1
- data/lib/aws-sdk-greengrass/endpoint_provider.rb +16 -4
- data/lib/aws-sdk-greengrass.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 30532ff8bee6de60cebb3db5386a97a886d50a4f0299b492586ef498d2bc51d0
|
4
|
+
data.tar.gz: 2b9086b3e87eedfe1e643a5538419ee5675cf79810886c54ea46d0e47bd6041d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8aa28f36bd81a3e67e9389a63d09b2fc211f59361a7871984becaa566891a460c2888c60cf081b189f7fb607c84de25ad51987f0003aaf8979c6f778e5add2fe
|
7
|
+
data.tar.gz: 1edd865098b3961bc16b7f87702459a8e339890177fa5cfee54d5e3615dc6032a2b6d4a4c9009bdd0dc4be5f71fe3a1791a5d1e024aa57c3321eedd76d109c8b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.54.0 (2023-05-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.53.0 (2023-01-27)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Enabled FIPS endpoints for GovCloud (US) regions in SDK.
|
13
|
+
|
4
14
|
1.52.0 (2023-01-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.54.0
|
@@ -275,6 +275,11 @@ module Aws::Greengrass
|
|
275
275
|
# in the future.
|
276
276
|
#
|
277
277
|
#
|
278
|
+
# @option options [String] :sdk_ua_app_id
|
279
|
+
# A unique and opaque application ID that is appended to the
|
280
|
+
# User-Agent header as app/<sdk_ua_app_id>. It should have a
|
281
|
+
# maximum length of 50.
|
282
|
+
#
|
278
283
|
# @option options [String] :secret_access_key
|
279
284
|
#
|
280
285
|
# @option options [String] :session_token
|
@@ -4138,7 +4143,7 @@ module Aws::Greengrass
|
|
4138
4143
|
params: params,
|
4139
4144
|
config: config)
|
4140
4145
|
context[:gem_name] = 'aws-sdk-greengrass'
|
4141
|
-
context[:gem_version] = '1.
|
4146
|
+
context[:gem_version] = '1.54.0'
|
4142
4147
|
Seahorse::Client::Request.new(handlers, context)
|
4143
4148
|
end
|
4144
4149
|
|
@@ -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.54.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-
|
11
|
+
date: 2023-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.174.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.174.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|