aws-sdk-timestreamquery 1.16.0 → 1.18.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 +12 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-timestreamquery/client.rb +20 -3
- data/lib/aws-sdk-timestreamquery/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-timestreamquery/endpoint_provider.rb +51 -0
- data/lib/aws-sdk-timestreamquery/endpoints.rb +197 -0
- data/lib/aws-sdk-timestreamquery/plugins/endpoints.rb +94 -0
- data/lib/aws-sdk-timestreamquery/types.rb +0 -348
- data/lib/aws-sdk-timestreamquery.rb +5 -1
- metadata +8 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f60e505f2bef5e97bc001d6f90aebb7408637f052a67b92062c6b29a0e6e4ff9
|
4
|
+
data.tar.gz: bd07eba521036a51e5d0939ffb5d17ab25b2ef0a65c338cf118e1b10a6267873
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e87fc61094f131ee4d4a2afed886b240d82998eaa449be2f740f680f5fcbc18852df08ddce27875d925a4bd404712aae4b47c7fa6e9169888581ea2faaf16c5
|
7
|
+
data.tar.gz: 6550729c4309efbe93ec71d3778eb7a561a8cff9036d6f87ef3f8925256d41dac80564a5474a196b90b54b9151cf707af99258c2a0b53a1e83058a5b5815e039
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.18.0 (2023-01-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
10
|
+
|
11
|
+
1.17.0 (2022-10-25)
|
12
|
+
------------------
|
13
|
+
|
14
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
15
|
+
|
4
16
|
1.16.0 (2022-03-14)
|
5
17
|
------------------
|
6
18
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.18.0
|
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
|
|
30
30
|
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
31
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
33
|
-
require 'aws-sdk-core/plugins/
|
33
|
+
require 'aws-sdk-core/plugins/sign.rb'
|
34
34
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
35
35
|
|
36
36
|
Aws::Plugins::GlobalConfiguration.add_identifier(:timestreamquery)
|
@@ -79,8 +79,9 @@ module Aws::TimestreamQuery
|
|
79
79
|
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
80
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
81
|
add_plugin(Aws::Plugins::RecursionDetection)
|
82
|
-
add_plugin(Aws::Plugins::
|
82
|
+
add_plugin(Aws::Plugins::Sign)
|
83
83
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
84
|
+
add_plugin(Aws::TimestreamQuery::Plugins::Endpoints)
|
84
85
|
|
85
86
|
# @overload initialize(options)
|
86
87
|
# @param [Hash] options
|
@@ -297,6 +298,19 @@ module Aws::TimestreamQuery
|
|
297
298
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
298
299
|
# requests are made, and retries are disabled.
|
299
300
|
#
|
301
|
+
# @option options [Aws::TokenProvider] :token_provider
|
302
|
+
# A Bearer Token Provider. This can be an instance of any one of the
|
303
|
+
# following classes:
|
304
|
+
#
|
305
|
+
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
306
|
+
# tokens.
|
307
|
+
#
|
308
|
+
# * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
|
309
|
+
# access token generated from `aws login`.
|
310
|
+
#
|
311
|
+
# When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
|
312
|
+
# will be used to search for tokens configured for your profile in shared configuration files.
|
313
|
+
#
|
300
314
|
# @option options [Boolean] :use_dualstack_endpoint
|
301
315
|
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
302
316
|
# will be used if available.
|
@@ -310,6 +324,9 @@ module Aws::TimestreamQuery
|
|
310
324
|
# When `true`, request parameters are validated before
|
311
325
|
# sending the request.
|
312
326
|
#
|
327
|
+
# @option options [Aws::TimestreamQuery::EndpointProvider] :endpoint_provider
|
328
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::TimestreamQuery::EndpointParameters`
|
329
|
+
#
|
313
330
|
# @option options [URI::HTTP,String] :http_proxy A proxy to send
|
314
331
|
# requests through. Formatted like 'http://proxy.com:123'.
|
315
332
|
#
|
@@ -1161,7 +1178,7 @@ module Aws::TimestreamQuery
|
|
1161
1178
|
params: params,
|
1162
1179
|
config: config)
|
1163
1180
|
context[:gem_name] = 'aws-sdk-timestreamquery'
|
1164
|
-
context[:gem_version] = '1.
|
1181
|
+
context[:gem_version] = '1.18.0'
|
1165
1182
|
Seahorse::Client::Request.new(handlers, context)
|
1166
1183
|
end
|
1167
1184
|
|
@@ -0,0 +1,66 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::TimestreamQuery
|
11
|
+
# Endpoint parameters used to influence endpoints per request.
|
12
|
+
#
|
13
|
+
# @!attribute region
|
14
|
+
# The AWS region used to dispatch the request.
|
15
|
+
#
|
16
|
+
# @return [String]
|
17
|
+
#
|
18
|
+
# @!attribute use_dual_stack
|
19
|
+
# When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
|
20
|
+
#
|
21
|
+
# @return [Boolean]
|
22
|
+
#
|
23
|
+
# @!attribute use_fips
|
24
|
+
# When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
|
25
|
+
#
|
26
|
+
# @return [Boolean]
|
27
|
+
#
|
28
|
+
# @!attribute endpoint
|
29
|
+
# Override the endpoint used to send this request
|
30
|
+
#
|
31
|
+
# @return [String]
|
32
|
+
#
|
33
|
+
EndpointParameters = Struct.new(
|
34
|
+
:region,
|
35
|
+
:use_dual_stack,
|
36
|
+
:use_fips,
|
37
|
+
:endpoint,
|
38
|
+
) do
|
39
|
+
include Aws::Structure
|
40
|
+
|
41
|
+
# @api private
|
42
|
+
class << self
|
43
|
+
PARAM_MAP = {
|
44
|
+
'Region' => :region,
|
45
|
+
'UseDualStack' => :use_dual_stack,
|
46
|
+
'UseFIPS' => :use_fips,
|
47
|
+
'Endpoint' => :endpoint,
|
48
|
+
}.freeze
|
49
|
+
end
|
50
|
+
|
51
|
+
def initialize(options = {})
|
52
|
+
self[:region] = options[:region]
|
53
|
+
self[:use_dual_stack] = options[:use_dual_stack]
|
54
|
+
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
|
+
if self[:use_dual_stack].nil?
|
56
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
|
57
|
+
end
|
58
|
+
self[:use_fips] = options[:use_fips]
|
59
|
+
self[:use_fips] = false if self[:use_fips].nil?
|
60
|
+
if self[:use_fips].nil?
|
61
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
62
|
+
end
|
63
|
+
self[:endpoint] = options[:endpoint]
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::TimestreamQuery
|
11
|
+
class EndpointProvider
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
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"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://query.timestream-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
+
return Aws::Endpoints::Endpoint.new(url: "https://query.timestream-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
+
end
|
37
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
38
|
+
end
|
39
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
41
|
+
return Aws::Endpoints::Endpoint.new(url: "https://query.timestream.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
42
|
+
end
|
43
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
44
|
+
end
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://query.timestream.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
|
+
end
|
47
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
48
|
+
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,197 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
module Aws::TimestreamQuery
|
12
|
+
module Endpoints
|
13
|
+
|
14
|
+
class CancelQuery
|
15
|
+
def self.build(context)
|
16
|
+
unless context.config.regional_endpoint
|
17
|
+
endpoint = context.config.endpoint.to_s
|
18
|
+
end
|
19
|
+
Aws::TimestreamQuery::EndpointParameters.new(
|
20
|
+
region: context.config.region,
|
21
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
22
|
+
use_fips: context.config.use_fips_endpoint,
|
23
|
+
endpoint: endpoint,
|
24
|
+
)
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
class CreateScheduledQuery
|
29
|
+
def self.build(context)
|
30
|
+
unless context.config.regional_endpoint
|
31
|
+
endpoint = context.config.endpoint.to_s
|
32
|
+
end
|
33
|
+
Aws::TimestreamQuery::EndpointParameters.new(
|
34
|
+
region: context.config.region,
|
35
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
36
|
+
use_fips: context.config.use_fips_endpoint,
|
37
|
+
endpoint: endpoint,
|
38
|
+
)
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
class DeleteScheduledQuery
|
43
|
+
def self.build(context)
|
44
|
+
unless context.config.regional_endpoint
|
45
|
+
endpoint = context.config.endpoint.to_s
|
46
|
+
end
|
47
|
+
Aws::TimestreamQuery::EndpointParameters.new(
|
48
|
+
region: context.config.region,
|
49
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
50
|
+
use_fips: context.config.use_fips_endpoint,
|
51
|
+
endpoint: endpoint,
|
52
|
+
)
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
class DescribeEndpoints
|
57
|
+
def self.build(context)
|
58
|
+
unless context.config.regional_endpoint
|
59
|
+
endpoint = context.config.endpoint.to_s
|
60
|
+
end
|
61
|
+
Aws::TimestreamQuery::EndpointParameters.new(
|
62
|
+
region: context.config.region,
|
63
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
64
|
+
use_fips: context.config.use_fips_endpoint,
|
65
|
+
endpoint: endpoint,
|
66
|
+
)
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
class DescribeScheduledQuery
|
71
|
+
def self.build(context)
|
72
|
+
unless context.config.regional_endpoint
|
73
|
+
endpoint = context.config.endpoint.to_s
|
74
|
+
end
|
75
|
+
Aws::TimestreamQuery::EndpointParameters.new(
|
76
|
+
region: context.config.region,
|
77
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
78
|
+
use_fips: context.config.use_fips_endpoint,
|
79
|
+
endpoint: endpoint,
|
80
|
+
)
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
class ExecuteScheduledQuery
|
85
|
+
def self.build(context)
|
86
|
+
unless context.config.regional_endpoint
|
87
|
+
endpoint = context.config.endpoint.to_s
|
88
|
+
end
|
89
|
+
Aws::TimestreamQuery::EndpointParameters.new(
|
90
|
+
region: context.config.region,
|
91
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
92
|
+
use_fips: context.config.use_fips_endpoint,
|
93
|
+
endpoint: endpoint,
|
94
|
+
)
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
class ListScheduledQueries
|
99
|
+
def self.build(context)
|
100
|
+
unless context.config.regional_endpoint
|
101
|
+
endpoint = context.config.endpoint.to_s
|
102
|
+
end
|
103
|
+
Aws::TimestreamQuery::EndpointParameters.new(
|
104
|
+
region: context.config.region,
|
105
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
106
|
+
use_fips: context.config.use_fips_endpoint,
|
107
|
+
endpoint: endpoint,
|
108
|
+
)
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
class ListTagsForResource
|
113
|
+
def self.build(context)
|
114
|
+
unless context.config.regional_endpoint
|
115
|
+
endpoint = context.config.endpoint.to_s
|
116
|
+
end
|
117
|
+
Aws::TimestreamQuery::EndpointParameters.new(
|
118
|
+
region: context.config.region,
|
119
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
120
|
+
use_fips: context.config.use_fips_endpoint,
|
121
|
+
endpoint: endpoint,
|
122
|
+
)
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
126
|
+
class PrepareQuery
|
127
|
+
def self.build(context)
|
128
|
+
unless context.config.regional_endpoint
|
129
|
+
endpoint = context.config.endpoint.to_s
|
130
|
+
end
|
131
|
+
Aws::TimestreamQuery::EndpointParameters.new(
|
132
|
+
region: context.config.region,
|
133
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
134
|
+
use_fips: context.config.use_fips_endpoint,
|
135
|
+
endpoint: endpoint,
|
136
|
+
)
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
140
|
+
class Query
|
141
|
+
def self.build(context)
|
142
|
+
unless context.config.regional_endpoint
|
143
|
+
endpoint = context.config.endpoint.to_s
|
144
|
+
end
|
145
|
+
Aws::TimestreamQuery::EndpointParameters.new(
|
146
|
+
region: context.config.region,
|
147
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
148
|
+
use_fips: context.config.use_fips_endpoint,
|
149
|
+
endpoint: endpoint,
|
150
|
+
)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
class TagResource
|
155
|
+
def self.build(context)
|
156
|
+
unless context.config.regional_endpoint
|
157
|
+
endpoint = context.config.endpoint.to_s
|
158
|
+
end
|
159
|
+
Aws::TimestreamQuery::EndpointParameters.new(
|
160
|
+
region: context.config.region,
|
161
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
162
|
+
use_fips: context.config.use_fips_endpoint,
|
163
|
+
endpoint: endpoint,
|
164
|
+
)
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
168
|
+
class UntagResource
|
169
|
+
def self.build(context)
|
170
|
+
unless context.config.regional_endpoint
|
171
|
+
endpoint = context.config.endpoint.to_s
|
172
|
+
end
|
173
|
+
Aws::TimestreamQuery::EndpointParameters.new(
|
174
|
+
region: context.config.region,
|
175
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
176
|
+
use_fips: context.config.use_fips_endpoint,
|
177
|
+
endpoint: endpoint,
|
178
|
+
)
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
182
|
+
class UpdateScheduledQuery
|
183
|
+
def self.build(context)
|
184
|
+
unless context.config.regional_endpoint
|
185
|
+
endpoint = context.config.endpoint.to_s
|
186
|
+
end
|
187
|
+
Aws::TimestreamQuery::EndpointParameters.new(
|
188
|
+
region: context.config.region,
|
189
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
190
|
+
use_fips: context.config.use_fips_endpoint,
|
191
|
+
endpoint: endpoint,
|
192
|
+
)
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
end
|
197
|
+
end
|
@@ -0,0 +1,94 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
module Aws::TimestreamQuery
|
12
|
+
module Plugins
|
13
|
+
class Endpoints < Seahorse::Client::Plugin
|
14
|
+
option(
|
15
|
+
:endpoint_provider,
|
16
|
+
doc_type: 'Aws::TimestreamQuery::EndpointProvider',
|
17
|
+
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
|
+
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
|
+
'where `parameters` is a Struct similar to '\
|
20
|
+
'`Aws::TimestreamQuery::EndpointParameters`'
|
21
|
+
) do |cfg|
|
22
|
+
Aws::TimestreamQuery::EndpointProvider.new
|
23
|
+
end
|
24
|
+
|
25
|
+
# @api private
|
26
|
+
class Handler < Seahorse::Client::Handler
|
27
|
+
def call(context)
|
28
|
+
# If endpoint was discovered, do not resolve or apply the endpoint.
|
29
|
+
unless context[:discovered_endpoint]
|
30
|
+
params = parameters_for_operation(context)
|
31
|
+
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
|
+
|
33
|
+
context.http_request.endpoint = endpoint.url
|
34
|
+
apply_endpoint_headers(context, endpoint.headers)
|
35
|
+
end
|
36
|
+
|
37
|
+
context[:endpoint_params] = params
|
38
|
+
context[:auth_scheme] =
|
39
|
+
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
|
40
|
+
|
41
|
+
@handler.call(context)
|
42
|
+
end
|
43
|
+
|
44
|
+
private
|
45
|
+
|
46
|
+
def apply_endpoint_headers(context, headers)
|
47
|
+
headers.each do |key, values|
|
48
|
+
value = values
|
49
|
+
.compact
|
50
|
+
.map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
|
51
|
+
.join(',')
|
52
|
+
|
53
|
+
context.http_request.headers[key] = value
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
def parameters_for_operation(context)
|
58
|
+
case context.operation_name
|
59
|
+
when :cancel_query
|
60
|
+
Aws::TimestreamQuery::Endpoints::CancelQuery.build(context)
|
61
|
+
when :create_scheduled_query
|
62
|
+
Aws::TimestreamQuery::Endpoints::CreateScheduledQuery.build(context)
|
63
|
+
when :delete_scheduled_query
|
64
|
+
Aws::TimestreamQuery::Endpoints::DeleteScheduledQuery.build(context)
|
65
|
+
when :describe_endpoints
|
66
|
+
Aws::TimestreamQuery::Endpoints::DescribeEndpoints.build(context)
|
67
|
+
when :describe_scheduled_query
|
68
|
+
Aws::TimestreamQuery::Endpoints::DescribeScheduledQuery.build(context)
|
69
|
+
when :execute_scheduled_query
|
70
|
+
Aws::TimestreamQuery::Endpoints::ExecuteScheduledQuery.build(context)
|
71
|
+
when :list_scheduled_queries
|
72
|
+
Aws::TimestreamQuery::Endpoints::ListScheduledQueries.build(context)
|
73
|
+
when :list_tags_for_resource
|
74
|
+
Aws::TimestreamQuery::Endpoints::ListTagsForResource.build(context)
|
75
|
+
when :prepare_query
|
76
|
+
Aws::TimestreamQuery::Endpoints::PrepareQuery.build(context)
|
77
|
+
when :query
|
78
|
+
Aws::TimestreamQuery::Endpoints::Query.build(context)
|
79
|
+
when :tag_resource
|
80
|
+
Aws::TimestreamQuery::Endpoints::TagResource.build(context)
|
81
|
+
when :untag_resource
|
82
|
+
Aws::TimestreamQuery::Endpoints::UntagResource.build(context)
|
83
|
+
when :update_scheduled_query
|
84
|
+
Aws::TimestreamQuery::Endpoints::UpdateScheduledQuery.build(context)
|
85
|
+
end
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
def add_handlers(handlers, _config)
|
90
|
+
handlers.add(Handler, step: :build, priority: 75)
|
91
|
+
end
|
92
|
+
end
|
93
|
+
end
|
94
|
+
end
|
@@ -23,13 +23,6 @@ module Aws::TimestreamQuery
|
|
23
23
|
include Aws::Structure
|
24
24
|
end
|
25
25
|
|
26
|
-
# @note When making an API call, you may pass CancelQueryRequest
|
27
|
-
# data as a hash:
|
28
|
-
#
|
29
|
-
# {
|
30
|
-
# query_id: "QueryId", # required
|
31
|
-
# }
|
32
|
-
#
|
33
26
|
# @!attribute [rw] query_id
|
34
27
|
# The ID of the query that needs to be cancelled. `QueryID` is
|
35
28
|
# returned as part of the query result.
|
@@ -93,77 +86,6 @@ module Aws::TimestreamQuery
|
|
93
86
|
include Aws::Structure
|
94
87
|
end
|
95
88
|
|
96
|
-
# @note When making an API call, you may pass CreateScheduledQueryRequest
|
97
|
-
# data as a hash:
|
98
|
-
#
|
99
|
-
# {
|
100
|
-
# name: "ScheduledQueryName", # required
|
101
|
-
# query_string: "QueryString", # required
|
102
|
-
# schedule_configuration: { # required
|
103
|
-
# schedule_expression: "ScheduleExpression", # required
|
104
|
-
# },
|
105
|
-
# notification_configuration: { # required
|
106
|
-
# sns_configuration: { # required
|
107
|
-
# topic_arn: "AmazonResourceName", # required
|
108
|
-
# },
|
109
|
-
# },
|
110
|
-
# target_configuration: {
|
111
|
-
# timestream_configuration: { # required
|
112
|
-
# database_name: "ResourceName", # required
|
113
|
-
# table_name: "ResourceName", # required
|
114
|
-
# time_column: "SchemaName", # required
|
115
|
-
# dimension_mappings: [ # required
|
116
|
-
# {
|
117
|
-
# name: "SchemaName", # required
|
118
|
-
# dimension_value_type: "VARCHAR", # required, accepts VARCHAR
|
119
|
-
# },
|
120
|
-
# ],
|
121
|
-
# multi_measure_mappings: {
|
122
|
-
# target_multi_measure_name: "SchemaName",
|
123
|
-
# multi_measure_attribute_mappings: [ # required
|
124
|
-
# {
|
125
|
-
# source_column: "SchemaName", # required
|
126
|
-
# target_multi_measure_attribute_name: "SchemaName",
|
127
|
-
# measure_value_type: "BIGINT", # required, accepts BIGINT, BOOLEAN, DOUBLE, VARCHAR, TIMESTAMP
|
128
|
-
# },
|
129
|
-
# ],
|
130
|
-
# },
|
131
|
-
# mixed_measure_mappings: [
|
132
|
-
# {
|
133
|
-
# measure_name: "SchemaName",
|
134
|
-
# source_column: "SchemaName",
|
135
|
-
# target_measure_name: "SchemaName",
|
136
|
-
# measure_value_type: "BIGINT", # required, accepts BIGINT, BOOLEAN, DOUBLE, VARCHAR, MULTI
|
137
|
-
# multi_measure_attribute_mappings: [
|
138
|
-
# {
|
139
|
-
# source_column: "SchemaName", # required
|
140
|
-
# target_multi_measure_attribute_name: "SchemaName",
|
141
|
-
# measure_value_type: "BIGINT", # required, accepts BIGINT, BOOLEAN, DOUBLE, VARCHAR, TIMESTAMP
|
142
|
-
# },
|
143
|
-
# ],
|
144
|
-
# },
|
145
|
-
# ],
|
146
|
-
# measure_name_column: "SchemaName",
|
147
|
-
# },
|
148
|
-
# },
|
149
|
-
# client_token: "ClientToken",
|
150
|
-
# scheduled_query_execution_role_arn: "AmazonResourceName", # required
|
151
|
-
# tags: [
|
152
|
-
# {
|
153
|
-
# key: "TagKey", # required
|
154
|
-
# value: "TagValue", # required
|
155
|
-
# },
|
156
|
-
# ],
|
157
|
-
# kms_key_id: "StringValue2048",
|
158
|
-
# error_report_configuration: { # required
|
159
|
-
# s3_configuration: { # required
|
160
|
-
# bucket_name: "S3BucketName", # required
|
161
|
-
# object_key_prefix: "S3ObjectKeyPrefix",
|
162
|
-
# encryption_option: "SSE_S3", # accepts SSE_S3, SSE_KMS
|
163
|
-
# },
|
164
|
-
# },
|
165
|
-
# }
|
166
|
-
#
|
167
89
|
# @!attribute [rw] name
|
168
90
|
# Name of the scheduled query.
|
169
91
|
# @return [String]
|
@@ -302,13 +224,6 @@ module Aws::TimestreamQuery
|
|
302
224
|
include Aws::Structure
|
303
225
|
end
|
304
226
|
|
305
|
-
# @note When making an API call, you may pass DeleteScheduledQueryRequest
|
306
|
-
# data as a hash:
|
307
|
-
#
|
308
|
-
# {
|
309
|
-
# scheduled_query_arn: "AmazonResourceName", # required
|
310
|
-
# }
|
311
|
-
#
|
312
227
|
# @!attribute [rw] scheduled_query_arn
|
313
228
|
# The ARN of the scheduled query.
|
314
229
|
# @return [String]
|
@@ -340,13 +255,6 @@ module Aws::TimestreamQuery
|
|
340
255
|
include Aws::Structure
|
341
256
|
end
|
342
257
|
|
343
|
-
# @note When making an API call, you may pass DescribeScheduledQueryRequest
|
344
|
-
# data as a hash:
|
345
|
-
#
|
346
|
-
# {
|
347
|
-
# scheduled_query_arn: "AmazonResourceName", # required
|
348
|
-
# }
|
349
|
-
#
|
350
258
|
# @!attribute [rw] scheduled_query_arn
|
351
259
|
# The ARN of the scheduled query.
|
352
260
|
# @return [String]
|
@@ -374,14 +282,6 @@ module Aws::TimestreamQuery
|
|
374
282
|
# This type is used to map column(s) from the query result to a
|
375
283
|
# dimension in the destination table.
|
376
284
|
#
|
377
|
-
# @note When making an API call, you may pass DimensionMapping
|
378
|
-
# data as a hash:
|
379
|
-
#
|
380
|
-
# {
|
381
|
-
# name: "SchemaName", # required
|
382
|
-
# dimension_value_type: "VARCHAR", # required, accepts VARCHAR
|
383
|
-
# }
|
384
|
-
#
|
385
285
|
# @!attribute [rw] name
|
386
286
|
# Column name from query result.
|
387
287
|
# @return [String]
|
@@ -421,17 +321,6 @@ module Aws::TimestreamQuery
|
|
421
321
|
|
422
322
|
# Configuration required for error reporting.
|
423
323
|
#
|
424
|
-
# @note When making an API call, you may pass ErrorReportConfiguration
|
425
|
-
# data as a hash:
|
426
|
-
#
|
427
|
-
# {
|
428
|
-
# s3_configuration: { # required
|
429
|
-
# bucket_name: "S3BucketName", # required
|
430
|
-
# object_key_prefix: "S3ObjectKeyPrefix",
|
431
|
-
# encryption_option: "SSE_S3", # accepts SSE_S3, SSE_KMS
|
432
|
-
# },
|
433
|
-
# }
|
434
|
-
#
|
435
324
|
# @!attribute [rw] s3_configuration
|
436
325
|
# The S3 configuration for the error reports.
|
437
326
|
# @return [Types::S3Configuration]
|
@@ -459,15 +348,6 @@ module Aws::TimestreamQuery
|
|
459
348
|
include Aws::Structure
|
460
349
|
end
|
461
350
|
|
462
|
-
# @note When making an API call, you may pass ExecuteScheduledQueryRequest
|
463
|
-
# data as a hash:
|
464
|
-
#
|
465
|
-
# {
|
466
|
-
# scheduled_query_arn: "AmazonResourceName", # required
|
467
|
-
# invocation_time: Time.now, # required
|
468
|
-
# client_token: "ClientToken",
|
469
|
-
# }
|
470
|
-
#
|
471
351
|
# @!attribute [rw] scheduled_query_arn
|
472
352
|
# ARN of the scheduled query.
|
473
353
|
# @return [String]
|
@@ -558,14 +438,6 @@ module Aws::TimestreamQuery
|
|
558
438
|
include Aws::Structure
|
559
439
|
end
|
560
440
|
|
561
|
-
# @note When making an API call, you may pass ListScheduledQueriesRequest
|
562
|
-
# data as a hash:
|
563
|
-
#
|
564
|
-
# {
|
565
|
-
# max_results: 1,
|
566
|
-
# next_token: "NextScheduledQueriesResultsToken",
|
567
|
-
# }
|
568
|
-
#
|
569
441
|
# @!attribute [rw] max_results
|
570
442
|
# The maximum number of items to return in the output. If the total
|
571
443
|
# number of items available is more than the value specified, a
|
@@ -605,15 +477,6 @@ module Aws::TimestreamQuery
|
|
605
477
|
include Aws::Structure
|
606
478
|
end
|
607
479
|
|
608
|
-
# @note When making an API call, you may pass ListTagsForResourceRequest
|
609
|
-
# data as a hash:
|
610
|
-
#
|
611
|
-
# {
|
612
|
-
# resource_arn: "AmazonResourceName", # required
|
613
|
-
# max_results: 1,
|
614
|
-
# next_token: "NextTagsForResourceResultsToken",
|
615
|
-
# }
|
616
|
-
#
|
617
480
|
# @!attribute [rw] resource_arn
|
618
481
|
# The Timestream resource with tags to be listed. This value is an
|
619
482
|
# Amazon Resource Name (ARN).
|
@@ -658,23 +521,6 @@ module Aws::TimestreamQuery
|
|
658
521
|
# MixedMeasureMappings are mappings that can be used to ingest data into
|
659
522
|
# a mixture of narrow and multi measures in the derived table.
|
660
523
|
#
|
661
|
-
# @note When making an API call, you may pass MixedMeasureMapping
|
662
|
-
# data as a hash:
|
663
|
-
#
|
664
|
-
# {
|
665
|
-
# measure_name: "SchemaName",
|
666
|
-
# source_column: "SchemaName",
|
667
|
-
# target_measure_name: "SchemaName",
|
668
|
-
# measure_value_type: "BIGINT", # required, accepts BIGINT, BOOLEAN, DOUBLE, VARCHAR, MULTI
|
669
|
-
# multi_measure_attribute_mappings: [
|
670
|
-
# {
|
671
|
-
# source_column: "SchemaName", # required
|
672
|
-
# target_multi_measure_attribute_name: "SchemaName",
|
673
|
-
# measure_value_type: "BIGINT", # required, accepts BIGINT, BOOLEAN, DOUBLE, VARCHAR, TIMESTAMP
|
674
|
-
# },
|
675
|
-
# ],
|
676
|
-
# }
|
677
|
-
#
|
678
524
|
# @!attribute [rw] measure_name
|
679
525
|
# Refers to the value of measure\_name in a result row. This field is
|
680
526
|
# required if MeasureNameColumn is provided.
|
@@ -715,15 +561,6 @@ module Aws::TimestreamQuery
|
|
715
561
|
|
716
562
|
# Attribute mapping for MULTI value measures.
|
717
563
|
#
|
718
|
-
# @note When making an API call, you may pass MultiMeasureAttributeMapping
|
719
|
-
# data as a hash:
|
720
|
-
#
|
721
|
-
# {
|
722
|
-
# source_column: "SchemaName", # required
|
723
|
-
# target_multi_measure_attribute_name: "SchemaName",
|
724
|
-
# measure_value_type: "BIGINT", # required, accepts BIGINT, BOOLEAN, DOUBLE, VARCHAR, TIMESTAMP
|
725
|
-
# }
|
726
|
-
#
|
727
564
|
# @!attribute [rw] source_column
|
728
565
|
# Source column from where the attribute value is to be read.
|
729
566
|
# @return [String]
|
@@ -751,20 +588,6 @@ module Aws::TimestreamQuery
|
|
751
588
|
# provided. MultiMeasureMappings can be used to ingest data as multi
|
752
589
|
# measures in the derived table.
|
753
590
|
#
|
754
|
-
# @note When making an API call, you may pass MultiMeasureMappings
|
755
|
-
# data as a hash:
|
756
|
-
#
|
757
|
-
# {
|
758
|
-
# target_multi_measure_name: "SchemaName",
|
759
|
-
# multi_measure_attribute_mappings: [ # required
|
760
|
-
# {
|
761
|
-
# source_column: "SchemaName", # required
|
762
|
-
# target_multi_measure_attribute_name: "SchemaName",
|
763
|
-
# measure_value_type: "BIGINT", # required, accepts BIGINT, BOOLEAN, DOUBLE, VARCHAR, TIMESTAMP
|
764
|
-
# },
|
765
|
-
# ],
|
766
|
-
# }
|
767
|
-
#
|
768
591
|
# @!attribute [rw] target_multi_measure_name
|
769
592
|
# The name of the target multi-measure name in the derived table. This
|
770
593
|
# input is required when measureNameColumn is not provided. If
|
@@ -790,15 +613,6 @@ module Aws::TimestreamQuery
|
|
790
613
|
# sent by Timestream when a scheduled query is created, its state is
|
791
614
|
# updated or when it is deleted.
|
792
615
|
#
|
793
|
-
# @note When making an API call, you may pass NotificationConfiguration
|
794
|
-
# data as a hash:
|
795
|
-
#
|
796
|
-
# {
|
797
|
-
# sns_configuration: { # required
|
798
|
-
# topic_arn: "AmazonResourceName", # required
|
799
|
-
# },
|
800
|
-
# }
|
801
|
-
#
|
802
616
|
# @!attribute [rw] sns_configuration
|
803
617
|
# Details on SNS configuration.
|
804
618
|
# @return [Types::SnsConfiguration]
|
@@ -834,14 +648,6 @@ module Aws::TimestreamQuery
|
|
834
648
|
include Aws::Structure
|
835
649
|
end
|
836
650
|
|
837
|
-
# @note When making an API call, you may pass PrepareQueryRequest
|
838
|
-
# data as a hash:
|
839
|
-
#
|
840
|
-
# {
|
841
|
-
# query_string: "QueryString", # required
|
842
|
-
# validate_only: false,
|
843
|
-
# }
|
844
|
-
#
|
845
651
|
# @!attribute [rw] query_string
|
846
652
|
# The Timestream query string that you want to use as a prepared
|
847
653
|
# statement. Parameter names can be specified in the query string `@`
|
@@ -898,16 +704,6 @@ module Aws::TimestreamQuery
|
|
898
704
|
include Aws::Structure
|
899
705
|
end
|
900
706
|
|
901
|
-
# @note When making an API call, you may pass QueryRequest
|
902
|
-
# data as a hash:
|
903
|
-
#
|
904
|
-
# {
|
905
|
-
# query_string: "QueryString", # required
|
906
|
-
# client_token: "ClientRequestToken",
|
907
|
-
# next_token: "PaginationToken",
|
908
|
-
# max_rows: 1,
|
909
|
-
# }
|
910
|
-
#
|
911
707
|
# @!attribute [rw] query_string
|
912
708
|
# The query to be run by Timestream.
|
913
709
|
# @return [String]
|
@@ -1104,15 +900,6 @@ module Aws::TimestreamQuery
|
|
1104
900
|
# Details on S3 location for error reports that result from running a
|
1105
901
|
# query.
|
1106
902
|
#
|
1107
|
-
# @note When making an API call, you may pass S3Configuration
|
1108
|
-
# data as a hash:
|
1109
|
-
#
|
1110
|
-
# {
|
1111
|
-
# bucket_name: "S3BucketName", # required
|
1112
|
-
# object_key_prefix: "S3ObjectKeyPrefix",
|
1113
|
-
# encryption_option: "SSE_S3", # accepts SSE_S3, SSE_KMS
|
1114
|
-
# }
|
1115
|
-
#
|
1116
903
|
# @!attribute [rw] bucket_name
|
1117
904
|
# Name of the S3 bucket under which error reports will be created.
|
1118
905
|
# @return [String]
|
@@ -1158,13 +945,6 @@ module Aws::TimestreamQuery
|
|
1158
945
|
|
1159
946
|
# Configuration of the schedule of the query.
|
1160
947
|
#
|
1161
|
-
# @note When making an API call, you may pass ScheduleConfiguration
|
1162
|
-
# data as a hash:
|
1163
|
-
#
|
1164
|
-
# {
|
1165
|
-
# schedule_expression: "ScheduleExpression", # required
|
1166
|
-
# }
|
1167
|
-
#
|
1168
948
|
# @!attribute [rw] schedule_expression
|
1169
949
|
# An expression that denotes when to trigger the scheduled query run.
|
1170
950
|
# This can be a cron expression or a rate expression.
|
@@ -1413,13 +1193,6 @@ module Aws::TimestreamQuery
|
|
1413
1193
|
|
1414
1194
|
# Details on SNS that are required to send the notification.
|
1415
1195
|
#
|
1416
|
-
# @note When making an API call, you may pass SnsConfiguration
|
1417
|
-
# data as a hash:
|
1418
|
-
#
|
1419
|
-
# {
|
1420
|
-
# topic_arn: "AmazonResourceName", # required
|
1421
|
-
# }
|
1422
|
-
#
|
1423
1196
|
# @!attribute [rw] topic_arn
|
1424
1197
|
# SNS topic ARN that the scheduled query status notifications will be
|
1425
1198
|
# sent to.
|
@@ -1438,14 +1211,6 @@ module Aws::TimestreamQuery
|
|
1438
1211
|
# you define. Tags enable you to categorize databases and/or tables, for
|
1439
1212
|
# example, by purpose, owner, or environment.
|
1440
1213
|
#
|
1441
|
-
# @note When making an API call, you may pass Tag
|
1442
|
-
# data as a hash:
|
1443
|
-
#
|
1444
|
-
# {
|
1445
|
-
# key: "TagKey", # required
|
1446
|
-
# value: "TagValue", # required
|
1447
|
-
# }
|
1448
|
-
#
|
1449
1214
|
# @!attribute [rw] key
|
1450
1215
|
# The key of the tag. Tag keys are case sensitive.
|
1451
1216
|
# @return [String]
|
@@ -1463,19 +1228,6 @@ module Aws::TimestreamQuery
|
|
1463
1228
|
include Aws::Structure
|
1464
1229
|
end
|
1465
1230
|
|
1466
|
-
# @note When making an API call, you may pass TagResourceRequest
|
1467
|
-
# data as a hash:
|
1468
|
-
#
|
1469
|
-
# {
|
1470
|
-
# resource_arn: "AmazonResourceName", # required
|
1471
|
-
# tags: [ # required
|
1472
|
-
# {
|
1473
|
-
# key: "TagKey", # required
|
1474
|
-
# value: "TagValue", # required
|
1475
|
-
# },
|
1476
|
-
# ],
|
1477
|
-
# }
|
1478
|
-
#
|
1479
1231
|
# @!attribute [rw] resource_arn
|
1480
1232
|
# Identifies the Timestream resource to which tags should be added.
|
1481
1233
|
# This value is an Amazon Resource Name (ARN).
|
@@ -1500,49 +1252,6 @@ module Aws::TimestreamQuery
|
|
1500
1252
|
|
1501
1253
|
# Configuration used for writing the output of a query.
|
1502
1254
|
#
|
1503
|
-
# @note When making an API call, you may pass TargetConfiguration
|
1504
|
-
# data as a hash:
|
1505
|
-
#
|
1506
|
-
# {
|
1507
|
-
# timestream_configuration: { # required
|
1508
|
-
# database_name: "ResourceName", # required
|
1509
|
-
# table_name: "ResourceName", # required
|
1510
|
-
# time_column: "SchemaName", # required
|
1511
|
-
# dimension_mappings: [ # required
|
1512
|
-
# {
|
1513
|
-
# name: "SchemaName", # required
|
1514
|
-
# dimension_value_type: "VARCHAR", # required, accepts VARCHAR
|
1515
|
-
# },
|
1516
|
-
# ],
|
1517
|
-
# multi_measure_mappings: {
|
1518
|
-
# target_multi_measure_name: "SchemaName",
|
1519
|
-
# multi_measure_attribute_mappings: [ # required
|
1520
|
-
# {
|
1521
|
-
# source_column: "SchemaName", # required
|
1522
|
-
# target_multi_measure_attribute_name: "SchemaName",
|
1523
|
-
# measure_value_type: "BIGINT", # required, accepts BIGINT, BOOLEAN, DOUBLE, VARCHAR, TIMESTAMP
|
1524
|
-
# },
|
1525
|
-
# ],
|
1526
|
-
# },
|
1527
|
-
# mixed_measure_mappings: [
|
1528
|
-
# {
|
1529
|
-
# measure_name: "SchemaName",
|
1530
|
-
# source_column: "SchemaName",
|
1531
|
-
# target_measure_name: "SchemaName",
|
1532
|
-
# measure_value_type: "BIGINT", # required, accepts BIGINT, BOOLEAN, DOUBLE, VARCHAR, MULTI
|
1533
|
-
# multi_measure_attribute_mappings: [
|
1534
|
-
# {
|
1535
|
-
# source_column: "SchemaName", # required
|
1536
|
-
# target_multi_measure_attribute_name: "SchemaName",
|
1537
|
-
# measure_value_type: "BIGINT", # required, accepts BIGINT, BOOLEAN, DOUBLE, VARCHAR, TIMESTAMP
|
1538
|
-
# },
|
1539
|
-
# ],
|
1540
|
-
# },
|
1541
|
-
# ],
|
1542
|
-
# measure_name_column: "SchemaName",
|
1543
|
-
# },
|
1544
|
-
# }
|
1545
|
-
#
|
1546
1255
|
# @!attribute [rw] timestream_configuration
|
1547
1256
|
# Configuration needed to write data into the Timestream database and
|
1548
1257
|
# table.
|
@@ -1611,47 +1320,6 @@ module Aws::TimestreamQuery
|
|
1611
1320
|
# configuration allows the user to map the query result select columns
|
1612
1321
|
# into the destination table columns.
|
1613
1322
|
#
|
1614
|
-
# @note When making an API call, you may pass TimestreamConfiguration
|
1615
|
-
# data as a hash:
|
1616
|
-
#
|
1617
|
-
# {
|
1618
|
-
# database_name: "ResourceName", # required
|
1619
|
-
# table_name: "ResourceName", # required
|
1620
|
-
# time_column: "SchemaName", # required
|
1621
|
-
# dimension_mappings: [ # required
|
1622
|
-
# {
|
1623
|
-
# name: "SchemaName", # required
|
1624
|
-
# dimension_value_type: "VARCHAR", # required, accepts VARCHAR
|
1625
|
-
# },
|
1626
|
-
# ],
|
1627
|
-
# multi_measure_mappings: {
|
1628
|
-
# target_multi_measure_name: "SchemaName",
|
1629
|
-
# multi_measure_attribute_mappings: [ # required
|
1630
|
-
# {
|
1631
|
-
# source_column: "SchemaName", # required
|
1632
|
-
# target_multi_measure_attribute_name: "SchemaName",
|
1633
|
-
# measure_value_type: "BIGINT", # required, accepts BIGINT, BOOLEAN, DOUBLE, VARCHAR, TIMESTAMP
|
1634
|
-
# },
|
1635
|
-
# ],
|
1636
|
-
# },
|
1637
|
-
# mixed_measure_mappings: [
|
1638
|
-
# {
|
1639
|
-
# measure_name: "SchemaName",
|
1640
|
-
# source_column: "SchemaName",
|
1641
|
-
# target_measure_name: "SchemaName",
|
1642
|
-
# measure_value_type: "BIGINT", # required, accepts BIGINT, BOOLEAN, DOUBLE, VARCHAR, MULTI
|
1643
|
-
# multi_measure_attribute_mappings: [
|
1644
|
-
# {
|
1645
|
-
# source_column: "SchemaName", # required
|
1646
|
-
# target_multi_measure_attribute_name: "SchemaName",
|
1647
|
-
# measure_value_type: "BIGINT", # required, accepts BIGINT, BOOLEAN, DOUBLE, VARCHAR, TIMESTAMP
|
1648
|
-
# },
|
1649
|
-
# ],
|
1650
|
-
# },
|
1651
|
-
# ],
|
1652
|
-
# measure_name_column: "SchemaName",
|
1653
|
-
# }
|
1654
|
-
#
|
1655
1323
|
# @!attribute [rw] database_name
|
1656
1324
|
# Name of Timestream database to which the query result will be
|
1657
1325
|
# written.
|
@@ -1752,14 +1420,6 @@ module Aws::TimestreamQuery
|
|
1752
1420
|
include Aws::Structure
|
1753
1421
|
end
|
1754
1422
|
|
1755
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
1756
|
-
# data as a hash:
|
1757
|
-
#
|
1758
|
-
# {
|
1759
|
-
# resource_arn: "AmazonResourceName", # required
|
1760
|
-
# tag_keys: ["TagKey"], # required
|
1761
|
-
# }
|
1762
|
-
#
|
1763
1423
|
# @!attribute [rw] resource_arn
|
1764
1424
|
# The Timestream resource that the tags will be removed from. This
|
1765
1425
|
# value is an Amazon Resource Name (ARN).
|
@@ -1783,14 +1443,6 @@ module Aws::TimestreamQuery
|
|
1783
1443
|
#
|
1784
1444
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
1785
1445
|
|
1786
|
-
# @note When making an API call, you may pass UpdateScheduledQueryRequest
|
1787
|
-
# data as a hash:
|
1788
|
-
#
|
1789
|
-
# {
|
1790
|
-
# scheduled_query_arn: "AmazonResourceName", # required
|
1791
|
-
# state: "ENABLED", # required, accepts ENABLED, DISABLED
|
1792
|
-
# }
|
1793
|
-
#
|
1794
1446
|
# @!attribute [rw] scheduled_query_arn
|
1795
1447
|
# ARN of the scheuled query.
|
1796
1448
|
# @return [String]
|
@@ -13,9 +13,13 @@ require 'aws-sigv4'
|
|
13
13
|
|
14
14
|
require_relative 'aws-sdk-timestreamquery/types'
|
15
15
|
require_relative 'aws-sdk-timestreamquery/client_api'
|
16
|
+
require_relative 'aws-sdk-timestreamquery/plugins/endpoints.rb'
|
16
17
|
require_relative 'aws-sdk-timestreamquery/client'
|
17
18
|
require_relative 'aws-sdk-timestreamquery/errors'
|
18
19
|
require_relative 'aws-sdk-timestreamquery/resource'
|
20
|
+
require_relative 'aws-sdk-timestreamquery/endpoint_parameters'
|
21
|
+
require_relative 'aws-sdk-timestreamquery/endpoint_provider'
|
22
|
+
require_relative 'aws-sdk-timestreamquery/endpoints'
|
19
23
|
require_relative 'aws-sdk-timestreamquery/customizations'
|
20
24
|
|
21
25
|
# This module provides support for Amazon Timestream Query. This module is available in the
|
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-timestreamquery/customizations'
|
|
48
52
|
# @!group service
|
49
53
|
module Aws::TimestreamQuery
|
50
54
|
|
51
|
-
GEM_VERSION = '1.
|
55
|
+
GEM_VERSION = '1.18.0'
|
52
56
|
|
53
57
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-timestreamquery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.18.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:
|
11
|
+
date: 2023-01-18 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.165.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.165.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,7 +59,11 @@ files:
|
|
59
59
|
- lib/aws-sdk-timestreamquery/client.rb
|
60
60
|
- lib/aws-sdk-timestreamquery/client_api.rb
|
61
61
|
- lib/aws-sdk-timestreamquery/customizations.rb
|
62
|
+
- lib/aws-sdk-timestreamquery/endpoint_parameters.rb
|
63
|
+
- lib/aws-sdk-timestreamquery/endpoint_provider.rb
|
64
|
+
- lib/aws-sdk-timestreamquery/endpoints.rb
|
62
65
|
- lib/aws-sdk-timestreamquery/errors.rb
|
66
|
+
- lib/aws-sdk-timestreamquery/plugins/endpoints.rb
|
63
67
|
- lib/aws-sdk-timestreamquery/resource.rb
|
64
68
|
- lib/aws-sdk-timestreamquery/types.rb
|
65
69
|
homepage: https://github.com/aws/aws-sdk-ruby
|