aws-sdk-iotsecuretunneling 1.47.0 → 1.48.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1e0f43d04f5533be3d21fa995032ab7684d8b45cfbeb534910da2a0adb4a1b9d
4
- data.tar.gz: 02422f03b83ae084cb8d61fffe26482b19bf0a9dd7e2b9409ce2dab4f6d64aae
3
+ metadata.gz: 75ae1b726b90a6844a64fa542191275e1c10c46698193de8bfa06a9c5544d08a
4
+ data.tar.gz: f1b63613194648413fa66f2676d67799fdb91218d016769322a91d8728646ead
5
5
  SHA512:
6
- metadata.gz: 95e211d71421174b9fadda26e68933e8d5bac9c9013cfc256ab5511ac93842159af70ee46c6a7cf2297803d824310b18498c9758859d3976a84b9e0b0bee8c0d
7
- data.tar.gz: b5546d71640b9bbfaf0d63b7f26e940967e68eedef7fb543c975d84c767b15013fb33d791455d39fe1f46fd28a8f9e9a2933d4f4dc1e517b8f48ce8b4dd77b4b
6
+ metadata.gz: 0b83d6bd2bdf7ecf908a62a252760155472e4bef255dfc55e0e7038b84fe3cfdb1d847ca7cce3efda3f4dc1896dd2417a2b8527bdda2713c07ea254fe8486cf6
7
+ data.tar.gz: 403043b211ff106dab3abf4d7478e55ac30fd3d24ceaa2558862dfac0c48ab09c3a1275cf5a03e5de8d6fe1a5902d9cb3a1bd4b484f9ae37543cd7fe892e6832
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.48.0 (2025-01-06)
5
+ ------------------
6
+
7
+ * Feature - Adds dualstack endpoint support for IoT Secure Tunneling
8
+
4
9
  1.47.0 (2024-10-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.47.0
1
+ 1.48.0
@@ -805,7 +805,7 @@ module Aws::IoTSecureTunneling
805
805
  tracer: tracer
806
806
  )
807
807
  context[:gem_name] = 'aws-sdk-iotsecuretunneling'
808
- context[:gem_version] = '1.47.0'
808
+ context[:gem_version] = '1.48.0'
809
809
  Seahorse::Client::Request.new(handlers, context)
810
810
  end
811
811
 
@@ -27,18 +27,36 @@ module Aws::IoTSecureTunneling
27
27
  if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
28
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
29
  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"))
30
+ if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
31
+ return Aws::Endpoints::Endpoint.new(url: "https://api.iot-tunneling-fips.#{region}.api.aws", headers: {}, properties: {})
32
+ end
33
+ if Aws::Endpoints::Matchers.string_equals?("aws-cn", Aws::Endpoints::Matchers.attr(partition_result, "name"))
34
+ return Aws::Endpoints::Endpoint.new(url: "https://api.iot-tunneling-fips.#{region}.api.amazonwebservices.com.cn", headers: {}, properties: {})
35
+ end
36
+ if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
37
+ return Aws::Endpoints::Endpoint.new(url: "https://api.iot-tunneling-fips.#{region}.api.aws", headers: {}, properties: {})
38
+ end
30
39
  return Aws::Endpoints::Endpoint.new(url: "https://api.tunneling.iot-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
40
  end
32
41
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
42
  end
34
43
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
44
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
45
  return Aws::Endpoints::Endpoint.new(url: "https://api.tunneling.iot-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
46
  end
38
47
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
48
  end
40
49
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
50
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
51
+ if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
52
+ return Aws::Endpoints::Endpoint.new(url: "https://api.iot-tunneling.#{region}.api.aws", headers: {}, properties: {})
53
+ end
54
+ if Aws::Endpoints::Matchers.string_equals?("aws-cn", Aws::Endpoints::Matchers.attr(partition_result, "name"))
55
+ return Aws::Endpoints::Endpoint.new(url: "https://api.iot-tunneling.#{region}.api.amazonwebservices.com.cn", headers: {}, properties: {})
56
+ end
57
+ if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
58
+ return Aws::Endpoints::Endpoint.new(url: "https://api.iot-tunneling.#{region}.api.aws", headers: {}, properties: {})
59
+ end
42
60
  return Aws::Endpoints::Endpoint.new(url: "https://api.tunneling.iot.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
61
  end
44
62
  raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
@@ -54,7 +54,7 @@ module Aws::IoTSecureTunneling
54
54
  autoload :EndpointProvider, 'aws-sdk-iotsecuretunneling/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-iotsecuretunneling/endpoints'
56
56
 
57
- GEM_VERSION = '1.47.0'
57
+ GEM_VERSION = '1.48.0'
58
58
 
59
59
  end
60
60
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-iotsecuretunneling
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.47.0
4
+ version: 1.48.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: 2024-10-18 00:00:00.000000000 Z
11
+ date: 2025-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core