aws-sdk-timestreamwrite 1.46.0 → 1.47.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: 79e214f9217b1db65ab3a613ab1070b00116bafce5ec4a9d2c5dc117a4c3154e
4
- data.tar.gz: 8e204da2545f8727f601cf3595723257b157ed3d69a1835c20ef37ac33dae09c
3
+ metadata.gz: 564ee6e4ff29cc17c6e18753e34b28477f29dede56784fda660e1aafc9f32029
4
+ data.tar.gz: 1749a348759228812ec744f6a3c169b0353b1bb4a61afafbef6dca9a15f04f1d
5
5
  SHA512:
6
- metadata.gz: 7ce32d35ce398e2ee157c35baa1a6e3fc2831eb8f7507d4b48550941120495ce5096ad33b7dcc30f9d08ce509ee41b5df950b5b734eb3b0eebd0f8287af533ed
7
- data.tar.gz: 6edd4a4fcdd5dfb77f4ca9df74480d03fe70bf1683af00c4956d3a468849e4379f1f1eeb4bee0a5e8a988d82e1377839ba951789459d1895b23874f6e984de27
6
+ metadata.gz: 9333ab943413171463ebccb5ab2344fdc08aa402233a6c544aa2bd5b58223802399322c116f3e58eef1f23ff5aa01885243c6f9166317f78743258bcec8f69bd
7
+ data.tar.gz: 36d1a56d8b8811cc979df3a3894eb98365e2a9764d4235cd1b351d6e7849b36b3c9598e9bb429909ba7d43811530e4ffc0e13953bdca0898615578b2bfef85ea
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.47.0 (2025-05-06)
5
+ ------------------
6
+
7
+ * Feature - Add dualstack endpoints support.
8
+
4
9
  1.46.0 (2025-05-01)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.46.0
1
+ 1.47.0
@@ -1678,7 +1678,7 @@ module Aws::TimestreamWrite
1678
1678
  tracer: tracer
1679
1679
  )
1680
1680
  context[:gem_name] = 'aws-sdk-timestreamwrite'
1681
- context[:gem_version] = '1.46.0'
1681
+ context[:gem_version] = '1.47.0'
1682
1682
  Seahorse::Client::Request.new(handlers, context)
1683
1683
  end
1684
1684
 
@@ -517,9 +517,11 @@ module Aws::TimestreamWrite
517
517
 
518
518
  api.metadata = {
519
519
  "apiVersion" => "2018-11-01",
520
+ "auth" => ["aws.auth#sigv4"],
520
521
  "endpointPrefix" => "ingest.timestream",
521
522
  "jsonVersion" => "1.0",
522
523
  "protocol" => "json",
524
+ "protocols" => ["json"],
523
525
  "serviceAbbreviation" => "Timestream Write",
524
526
  "serviceFullName" => "Amazon Timestream Write",
525
527
  "serviceId" => "Timestream Write",
@@ -23,13 +23,19 @@ module Aws::TimestreamWrite
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-ingest-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-ingest.#{parameters.region}.api.aws", headers: {}, properties: {})
31
+ end
26
32
  return Aws::Endpoints::Endpoint.new(url: "https://ingest.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
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
32
- if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
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")
33
39
  return Aws::Endpoints::Endpoint.new(url: "https://ingest.timestream.#{parameters.region}.amazonaws.com", headers: {}, properties: {})
34
40
  end
35
41
  return Aws::Endpoints::Endpoint.new(url: "https://ingest.timestream-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
@@ -38,6 +44,12 @@ module Aws::TimestreamWrite
38
44
  end
39
45
  if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
40
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-ingest.#{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-ingest.#{parameters.region}.api.aws", headers: {}, properties: {})
52
+ end
41
53
  return Aws::Endpoints::Endpoint.new(url: "https://ingest.timestream.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
54
  end
43
55
  raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
@@ -54,7 +54,7 @@ module Aws::TimestreamWrite
54
54
  autoload :EndpointProvider, 'aws-sdk-timestreamwrite/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-timestreamwrite/endpoints'
56
56
 
57
- GEM_VERSION = '1.46.0'
57
+ GEM_VERSION = '1.47.0'
58
58
 
59
59
  end
60
60
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-timestreamwrite
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.46.0
4
+ version: 1.47.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -35,14 +35,14 @@ dependencies:
35
35
  requirements:
36
36
  - - "~>"
37
37
  - !ruby/object:Gem::Version
38
- version: '1.1'
38
+ version: '1.5'
39
39
  type: :runtime
40
40
  prerelease: false
41
41
  version_requirements: !ruby/object:Gem::Requirement
42
42
  requirements:
43
43
  - - "~>"
44
44
  - !ruby/object:Gem::Version
45
- version: '1.1'
45
+ version: '1.5'
46
46
  description: Official AWS Ruby gem for Amazon Timestream Write (Timestream Write).
47
47
  This gem is part of the AWS SDK for Ruby.
48
48
  email: