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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ea265ffdc44ba5314d3dffecfd6cd011dafb9c881741f606995f871ffbac9ecc
4
- data.tar.gz: 5f2b47e9bdce08db0f4a083e37205ef2d0e04d3b9091ebd651bc13cb4fa3b57f
3
+ metadata.gz: d8f45ddfab1c0c4de29b24aeb1b3c425cb3eed9b2f7e7ac0f3059d4b460a1131
4
+ data.tar.gz: db1cebcd84f665535523be28dcabd114cbb080864caa5966a87b006f901f4451
5
5
  SHA512:
6
- metadata.gz: 993c6a9d3bf3554d563f7904eccb3d2249fb84aff3f57813f78304c710adf10204b814c479c69ba21345f5d2e9ba7875f0436f57945315901111823adf0788a7
7
- data.tar.gz: 5001946eb7a87f8633f44701a419ff51075d9241ae25f7a8ccc9da22f71245dd8e80e3aab59ba3539c73e09cd98e2536c6ade7571be7487415f8bbf15af60c5b
6
+ metadata.gz: d041ae7f45a372cb2dfe97086937d56debcb18f80ed6d7d1835dbc096942ee4cdab429155113f6fded93b6aadcdd3d436a3905ed69b95e378b170f1fa7002fc4
7
+ data.tar.gz: 4017aaf8cfe14677ba350d4d24a9136c6962d0d60d9cef259ee5f22362143e72f47b6f2d478c51f7b045ba509dcd7df6b77fafe68b485cb78425b8e8a66d4a13
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.53.0 (2023-01-27)
5
+ ------------------
6
+
7
+ * Feature - Enabled FIPS endpoints for GovCloud (US) regions in SDK.
8
+
4
9
  1.52.0 (2023-01-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.52.0
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.52.0'
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) && (url = Aws::Endpoints::Matchers.parse_url(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, "dataplane-us-gov-east-1")
49
- return Aws::Endpoints::Endpoint.new(url: "https://greengrass-ats.iot.us-gov-east-1.amazonaws.com", headers: {}, properties: {})
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
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-greengrass/customizations'
52
52
  # @!group service
53
53
  module Aws::Greengrass
54
54
 
55
- GEM_VERSION = '1.52.0'
55
+ GEM_VERSION = '1.53.0'
56
56
 
57
57
  end
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.52.0
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-18 00:00:00.000000000 Z
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