aws-sdk-timestreamquery 1.51.0 → 1.53.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-timestreamquery/client.rb +2 -3
- data/lib/aws-sdk-timestreamquery/endpoint_provider.rb +15 -0
- data/lib/aws-sdk-timestreamquery.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4cc2925e13384ff6e2c26031993005b268b3746f77c89b120814b9752a163646
|
4
|
+
data.tar.gz: fb50ac823f00ea2d25d7c9b441e5250bc0d50ce0c49a87803e496a273a94362f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e16074f3138c7c3076e20861de62ee7be3207252bf9ac15941a165fed4c0150600ce1a7434d96c8f9866c4b25628a10f3d08e0a684cc11fb6f58bd4af2163099
|
7
|
+
data.tar.gz: 979221c5a2d37ebc181dbda647db437a8170e1d26e7a307f95f64b36c85c6ec109c358a12a457281a8e6b754b92890fbfb930437664f3a511860671d259467e6
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.53.0 (2025-05-12)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.52.0 (2025-05-06)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Add dualstack endpoints support and correct us-gov-west-1 FIPS endpoint.
|
13
|
+
|
4
14
|
1.51.0 (2025-05-01)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.53.0
|
@@ -200,8 +200,7 @@ module Aws::TimestreamQuery
|
|
200
200
|
# accepted modes and the configuration defaults that are included.
|
201
201
|
#
|
202
202
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
203
|
-
#
|
204
|
-
# to default service endpoint when available.
|
203
|
+
# When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
|
205
204
|
#
|
206
205
|
# @option options [Boolean] :disable_request_compression (false)
|
207
206
|
# When set to 'true' the request body will not be compressed
|
@@ -1488,7 +1487,7 @@ module Aws::TimestreamQuery
|
|
1488
1487
|
tracer: tracer
|
1489
1488
|
)
|
1490
1489
|
context[:gem_name] = 'aws-sdk-timestreamquery'
|
1491
|
-
context[:gem_version] = '1.
|
1490
|
+
context[:gem_version] = '1.53.0'
|
1492
1491
|
Seahorse::Client::Request.new(handlers, context)
|
1493
1492
|
end
|
1494
1493
|
|
@@ -23,18 +23,33 @@ module Aws::TimestreamQuery
|
|
23
23
|
if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
|
24
24
|
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
25
25
|
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"))
|
26
|
+
if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
27
|
+
return Aws::Endpoints::Endpoint.new(url: "https://timestream-query-fips.#{parameters.region}.api.aws", headers: {}, properties: {})
|
28
|
+
end
|
29
|
+
if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://timestream-query.#{parameters.region}.api.aws", headers: {}, properties: {})
|
31
|
+
end
|
26
32
|
return Aws::Endpoints::Endpoint.new(url: "https://query.timestream-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
27
33
|
end
|
28
34
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
29
35
|
end
|
30
36
|
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
31
37
|
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
38
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
|
39
|
+
return Aws::Endpoints::Endpoint.new(url: "https://query.timestream.#{parameters.region}.amazonaws.com", headers: {}, properties: {})
|
40
|
+
end
|
32
41
|
return Aws::Endpoints::Endpoint.new(url: "https://query.timestream-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
33
42
|
end
|
34
43
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
35
44
|
end
|
36
45
|
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
37
46
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
47
|
+
if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
48
|
+
return Aws::Endpoints::Endpoint.new(url: "https://timestream-query.#{parameters.region}.api.aws", headers: {}, properties: {})
|
49
|
+
end
|
50
|
+
if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
51
|
+
return Aws::Endpoints::Endpoint.new(url: "https://timestream-query.#{parameters.region}.api.aws", headers: {}, properties: {})
|
52
|
+
end
|
38
53
|
return Aws::Endpoints::Endpoint.new(url: "https://query.timestream.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
39
54
|
end
|
40
55
|
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|