aws-sdk-timestreamquery 1.26.0 → 1.28.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: 7a6fa211d944847d20d27f1799b7a28b30d491cc41be711690bb8113fcc4a7e0
4
- data.tar.gz: 7c9f042fea394c680eec45d01862724ee416b53f61a1de582fb1154c09161b54
3
+ metadata.gz: 478284546c87b7a05a7c685f4782a6a9c290a0782d6f2b1d053a4655741021ba
4
+ data.tar.gz: dad263103e66d42b2328fdd299704509e90c06b4aa09e00ab8ce380e194339ce
5
5
  SHA512:
6
- metadata.gz: 28625dd283b52adc21feb8009e04b8ebd8830bcbed2a9729ec797be40a34e88750948fc90f6412a63c7f79076c3208855ac6c29773487c957b1528fd2fa517e6
7
- data.tar.gz: ef047c58eecf99eb45cf3862a469483da97a1fdf84ef7b83a0fb24885462bb131062dc18713ac9192d4c2cde3b61273ea9dbc1539974c96ac906e9129c83c2c9
6
+ metadata.gz: 0a58508e31cf96b4b7c0a6e53873c3da128b47c13dee99f39ecbe342ffc85b44e5ef7b33f81af7804b7e591adc4ff7a0ef85e149e318d1c4f5ffe609c7e92c86
7
+ data.tar.gz: 52e03007d03a969989fb1b557bd021c637e0b5a5f1f7731cfc5f1e15545fb88adc816483fcbf4d49ece72e71872ee6b057463f7dfbe89791b20a499bca51a9f5
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.28.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.27.0 (2023-11-28)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.26.0 (2023-11-22)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.26.0
1
+ 1.28.0
@@ -1198,7 +1198,7 @@ module Aws::TimestreamQuery
1198
1198
  params: params,
1199
1199
  config: config)
1200
1200
  context[:gem_name] = 'aws-sdk-timestreamquery'
1201
- context[:gem_version] = '1.26.0'
1201
+ context[:gem_version] = '1.28.0'
1202
1202
  Seahorse::Client::Request.new(handlers, context)
1203
1203
  end
1204
1204
 
@@ -14,6 +14,7 @@ module Aws::TimestreamQuery
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::TimestreamQuery::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -25,16 +26,17 @@ module Aws::TimestreamQuery
25
26
  # @api private
26
27
  class Handler < Seahorse::Client::Handler
27
28
  def call(context)
28
- # If endpoint was discovered, do not resolve or apply the endpoint.
29
29
  unless context[:discovered_endpoint]
30
30
  params = parameters_for_operation(context)
31
31
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
32
 
33
33
  context.http_request.endpoint = endpoint.url
34
34
  apply_endpoint_headers(context, endpoint.headers)
35
+
36
+ context[:endpoint_params] = params
37
+ context[:endpoint_properties] = endpoint.properties
35
38
  end
36
39
 
37
- context[:endpoint_params] = params
38
40
  context[:auth_scheme] =
39
41
  Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
42
 
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-timestreamquery/customizations'
52
52
  # @!group service
53
53
  module Aws::TimestreamQuery
54
54
 
55
- GEM_VERSION = '1.26.0'
55
+ GEM_VERSION = '1.28.0'
56
56
 
57
57
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,282 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module TimestreamQuery
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamQuery/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?simple_json: bool,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?endpoint_provider: untyped,
58
+ ?http_proxy: String,
59
+ ?http_open_timeout: (Float | Integer),
60
+ ?http_read_timeout: (Float | Integer),
61
+ ?http_idle_timeout: (Float | Integer),
62
+ ?http_continue_timeout: (Float | Integer),
63
+ ?ssl_timeout: (Float | Integer | nil),
64
+ ?http_wire_trace: bool,
65
+ ?ssl_verify_peer: bool,
66
+ ?ssl_ca_bundle: String,
67
+ ?ssl_ca_directory: String,
68
+ ?ssl_ca_store: String,
69
+ ?on_chunk_received: Proc,
70
+ ?on_chunk_sent: Proc,
71
+ ?raise_response_errors: bool
72
+ ) -> instance
73
+ | (?Hash[Symbol, untyped]) -> instance
74
+
75
+
76
+ interface _CancelQueryResponseSuccess
77
+ include ::Seahorse::Client::_ResponseSuccess[Types::CancelQueryResponse]
78
+ def cancellation_message: () -> ::String
79
+ end
80
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamQuery/Client.html#cancel_query-instance_method
81
+ def cancel_query: (
82
+ query_id: ::String
83
+ ) -> _CancelQueryResponseSuccess
84
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelQueryResponseSuccess
85
+
86
+ interface _CreateScheduledQueryResponseSuccess
87
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateScheduledQueryResponse]
88
+ def arn: () -> ::String
89
+ end
90
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamQuery/Client.html#create_scheduled_query-instance_method
91
+ def create_scheduled_query: (
92
+ name: ::String,
93
+ query_string: ::String,
94
+ schedule_configuration: {
95
+ schedule_expression: ::String
96
+ },
97
+ notification_configuration: {
98
+ sns_configuration: {
99
+ topic_arn: ::String
100
+ }
101
+ },
102
+ ?target_configuration: {
103
+ timestream_configuration: {
104
+ database_name: ::String,
105
+ table_name: ::String,
106
+ time_column: ::String,
107
+ dimension_mappings: Array[
108
+ {
109
+ name: ::String,
110
+ dimension_value_type: ("VARCHAR")
111
+ },
112
+ ],
113
+ multi_measure_mappings: {
114
+ target_multi_measure_name: ::String?,
115
+ multi_measure_attribute_mappings: Array[
116
+ {
117
+ source_column: ::String,
118
+ target_multi_measure_attribute_name: ::String?,
119
+ measure_value_type: ("BIGINT" | "BOOLEAN" | "DOUBLE" | "VARCHAR" | "TIMESTAMP")
120
+ },
121
+ ]
122
+ }?,
123
+ mixed_measure_mappings: Array[
124
+ {
125
+ measure_name: ::String?,
126
+ source_column: ::String?,
127
+ target_measure_name: ::String?,
128
+ measure_value_type: ("BIGINT" | "BOOLEAN" | "DOUBLE" | "VARCHAR" | "MULTI"),
129
+ multi_measure_attribute_mappings: Array[
130
+ {
131
+ source_column: ::String,
132
+ target_multi_measure_attribute_name: ::String?,
133
+ measure_value_type: ("BIGINT" | "BOOLEAN" | "DOUBLE" | "VARCHAR" | "TIMESTAMP")
134
+ },
135
+ ]?
136
+ },
137
+ ]?,
138
+ measure_name_column: ::String?
139
+ }
140
+ },
141
+ ?client_token: ::String,
142
+ scheduled_query_execution_role_arn: ::String,
143
+ ?tags: Array[
144
+ {
145
+ key: ::String,
146
+ value: ::String
147
+ },
148
+ ],
149
+ ?kms_key_id: ::String,
150
+ error_report_configuration: {
151
+ s3_configuration: {
152
+ bucket_name: ::String,
153
+ object_key_prefix: ::String?,
154
+ encryption_option: ("SSE_S3" | "SSE_KMS")?
155
+ }
156
+ }
157
+ ) -> _CreateScheduledQueryResponseSuccess
158
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateScheduledQueryResponseSuccess
159
+
160
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamQuery/Client.html#delete_scheduled_query-instance_method
161
+ def delete_scheduled_query: (
162
+ scheduled_query_arn: ::String
163
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
164
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
165
+
166
+ interface _DescribeEndpointsResponseSuccess
167
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeEndpointsResponse]
168
+ def endpoints: () -> ::Array[Types::Endpoint]
169
+ end
170
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamQuery/Client.html#describe_endpoints-instance_method
171
+ def describe_endpoints: (
172
+ ) -> _DescribeEndpointsResponseSuccess
173
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeEndpointsResponseSuccess
174
+
175
+ interface _DescribeScheduledQueryResponseSuccess
176
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeScheduledQueryResponse]
177
+ def scheduled_query: () -> Types::ScheduledQueryDescription
178
+ end
179
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamQuery/Client.html#describe_scheduled_query-instance_method
180
+ def describe_scheduled_query: (
181
+ scheduled_query_arn: ::String
182
+ ) -> _DescribeScheduledQueryResponseSuccess
183
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeScheduledQueryResponseSuccess
184
+
185
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamQuery/Client.html#execute_scheduled_query-instance_method
186
+ def execute_scheduled_query: (
187
+ scheduled_query_arn: ::String,
188
+ invocation_time: ::Time,
189
+ ?client_token: ::String
190
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
191
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
192
+
193
+ interface _ListScheduledQueriesResponseSuccess
194
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListScheduledQueriesResponse]
195
+ def scheduled_queries: () -> ::Array[Types::ScheduledQuery]
196
+ def next_token: () -> ::String
197
+ end
198
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamQuery/Client.html#list_scheduled_queries-instance_method
199
+ def list_scheduled_queries: (
200
+ ?max_results: ::Integer,
201
+ ?next_token: ::String
202
+ ) -> _ListScheduledQueriesResponseSuccess
203
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListScheduledQueriesResponseSuccess
204
+
205
+ interface _ListTagsForResourceResponseSuccess
206
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
207
+ def tags: () -> ::Array[Types::Tag]
208
+ def next_token: () -> ::String
209
+ end
210
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamQuery/Client.html#list_tags_for_resource-instance_method
211
+ def list_tags_for_resource: (
212
+ resource_arn: ::String,
213
+ ?max_results: ::Integer,
214
+ ?next_token: ::String
215
+ ) -> _ListTagsForResourceResponseSuccess
216
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
217
+
218
+ interface _PrepareQueryResponseSuccess
219
+ include ::Seahorse::Client::_ResponseSuccess[Types::PrepareQueryResponse]
220
+ def query_string: () -> ::String
221
+ def columns: () -> ::Array[Types::SelectColumn]
222
+ def parameters: () -> ::Array[Types::ParameterMapping]
223
+ end
224
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamQuery/Client.html#prepare_query-instance_method
225
+ def prepare_query: (
226
+ query_string: ::String,
227
+ ?validate_only: bool
228
+ ) -> _PrepareQueryResponseSuccess
229
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PrepareQueryResponseSuccess
230
+
231
+ interface _QueryResponseSuccess
232
+ include ::Seahorse::Client::_ResponseSuccess[Types::QueryResponse]
233
+ def query_id: () -> ::String
234
+ def next_token: () -> ::String
235
+ def rows: () -> ::Array[Types::Row]
236
+ def column_info: () -> ::Array[Types::ColumnInfo]
237
+ def query_status: () -> Types::QueryStatus
238
+ end
239
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamQuery/Client.html#query-instance_method
240
+ def query: (
241
+ query_string: ::String,
242
+ ?client_token: ::String,
243
+ ?next_token: ::String,
244
+ ?max_rows: ::Integer
245
+ ) -> _QueryResponseSuccess
246
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _QueryResponseSuccess
247
+
248
+ interface _TagResourceResponseSuccess
249
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
250
+ end
251
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamQuery/Client.html#tag_resource-instance_method
252
+ def tag_resource: (
253
+ resource_arn: ::String,
254
+ tags: Array[
255
+ {
256
+ key: ::String,
257
+ value: ::String
258
+ },
259
+ ]
260
+ ) -> _TagResourceResponseSuccess
261
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
262
+
263
+ interface _UntagResourceResponseSuccess
264
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
265
+ end
266
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamQuery/Client.html#untag_resource-instance_method
267
+ def untag_resource: (
268
+ resource_arn: ::String,
269
+ tag_keys: Array[::String]
270
+ ) -> _UntagResourceResponseSuccess
271
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
272
+
273
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamQuery/Client.html#update_scheduled_query-instance_method
274
+ def update_scheduled_query: (
275
+ scheduled_query_arn: ::String,
276
+ state: ("ENABLED" | "DISABLED")
277
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
278
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
279
+ end
280
+ end
281
+ end
282
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,44 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module TimestreamQuery
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class AccessDeniedException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class ConflictException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class InternalServerException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class InvalidEndpointException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ class QueryExecutionException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ end
29
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
30
+ def message: () -> ::String
31
+ def scheduled_query_arn: () -> ::String
32
+ end
33
+ class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
34
+ def message: () -> ::String
35
+ end
36
+ class ThrottlingException < ::Aws::Errors::ServiceError
37
+ def message: () -> ::String
38
+ end
39
+ class ValidationException < ::Aws::Errors::ServiceError
40
+ def message: () -> ::String
41
+ end
42
+ end
43
+ end
44
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,80 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module TimestreamQuery
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamQuery/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamQuery/Resource.html#initialize-instance_method
13
+ def initialize: (
14
+ ?client: Client,
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?simple_json: bool,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?endpoint_provider: untyped,
58
+ ?http_proxy: String,
59
+ ?http_open_timeout: (Float | Integer),
60
+ ?http_read_timeout: (Float | Integer),
61
+ ?http_idle_timeout: (Float | Integer),
62
+ ?http_continue_timeout: (Float | Integer),
63
+ ?ssl_timeout: (Float | Integer | nil),
64
+ ?http_wire_trace: bool,
65
+ ?ssl_verify_peer: bool,
66
+ ?ssl_ca_bundle: String,
67
+ ?ssl_ca_directory: String,
68
+ ?ssl_ca_store: String,
69
+ ?on_chunk_received: Proc,
70
+ ?on_chunk_sent: Proc,
71
+ ?raise_response_errors: bool
72
+ ) -> void
73
+ | (?Hash[Symbol, untyped]) -> void
74
+
75
+ def client: () -> Client
76
+
77
+
78
+ end
79
+ end
80
+ end
data/sig/types.rbs ADDED
@@ -0,0 +1,407 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::TimestreamQuery
9
+ module Types
10
+
11
+ class AccessDeniedException
12
+ attr_accessor message: ::String
13
+ SENSITIVE: []
14
+ end
15
+
16
+ class CancelQueryRequest
17
+ attr_accessor query_id: ::String
18
+ SENSITIVE: []
19
+ end
20
+
21
+ class CancelQueryResponse
22
+ attr_accessor cancellation_message: ::String
23
+ SENSITIVE: []
24
+ end
25
+
26
+ class ColumnInfo
27
+ attr_accessor name: ::String
28
+ attr_accessor type: Types::Type
29
+ SENSITIVE: []
30
+ end
31
+
32
+ class ConflictException
33
+ attr_accessor message: ::String
34
+ SENSITIVE: []
35
+ end
36
+
37
+ class CreateScheduledQueryRequest
38
+ attr_accessor name: ::String
39
+ attr_accessor query_string: ::String
40
+ attr_accessor schedule_configuration: Types::ScheduleConfiguration
41
+ attr_accessor notification_configuration: Types::NotificationConfiguration
42
+ attr_accessor target_configuration: Types::TargetConfiguration
43
+ attr_accessor client_token: ::String
44
+ attr_accessor scheduled_query_execution_role_arn: ::String
45
+ attr_accessor tags: ::Array[Types::Tag]
46
+ attr_accessor kms_key_id: ::String
47
+ attr_accessor error_report_configuration: Types::ErrorReportConfiguration
48
+ SENSITIVE: [:query_string, :client_token]
49
+ end
50
+
51
+ class CreateScheduledQueryResponse
52
+ attr_accessor arn: ::String
53
+ SENSITIVE: []
54
+ end
55
+
56
+ class Datum
57
+ attr_accessor scalar_value: ::String
58
+ attr_accessor time_series_value: ::Array[Types::TimeSeriesDataPoint]
59
+ attr_accessor array_value: ::Array[Types::Datum]
60
+ attr_accessor row_value: Types::Row
61
+ attr_accessor null_value: bool
62
+ SENSITIVE: []
63
+ end
64
+
65
+ class DeleteScheduledQueryRequest
66
+ attr_accessor scheduled_query_arn: ::String
67
+ SENSITIVE: []
68
+ end
69
+
70
+ class DescribeEndpointsRequest < Aws::EmptyStructure
71
+ end
72
+
73
+ class DescribeEndpointsResponse
74
+ attr_accessor endpoints: ::Array[Types::Endpoint]
75
+ SENSITIVE: []
76
+ end
77
+
78
+ class DescribeScheduledQueryRequest
79
+ attr_accessor scheduled_query_arn: ::String
80
+ SENSITIVE: []
81
+ end
82
+
83
+ class DescribeScheduledQueryResponse
84
+ attr_accessor scheduled_query: Types::ScheduledQueryDescription
85
+ SENSITIVE: []
86
+ end
87
+
88
+ class DimensionMapping
89
+ attr_accessor name: ::String
90
+ attr_accessor dimension_value_type: ("VARCHAR")
91
+ SENSITIVE: []
92
+ end
93
+
94
+ class Endpoint
95
+ attr_accessor address: ::String
96
+ attr_accessor cache_period_in_minutes: ::Integer
97
+ SENSITIVE: []
98
+ end
99
+
100
+ class ErrorReportConfiguration
101
+ attr_accessor s3_configuration: Types::S3Configuration
102
+ SENSITIVE: []
103
+ end
104
+
105
+ class ErrorReportLocation
106
+ attr_accessor s3_report_location: Types::S3ReportLocation
107
+ SENSITIVE: []
108
+ end
109
+
110
+ class ExecuteScheduledQueryRequest
111
+ attr_accessor scheduled_query_arn: ::String
112
+ attr_accessor invocation_time: ::Time
113
+ attr_accessor client_token: ::String
114
+ SENSITIVE: [:client_token]
115
+ end
116
+
117
+ class ExecutionStats
118
+ attr_accessor execution_time_in_millis: ::Integer
119
+ attr_accessor data_writes: ::Integer
120
+ attr_accessor bytes_metered: ::Integer
121
+ attr_accessor records_ingested: ::Integer
122
+ attr_accessor query_result_rows: ::Integer
123
+ SENSITIVE: []
124
+ end
125
+
126
+ class InternalServerException
127
+ attr_accessor message: ::String
128
+ SENSITIVE: []
129
+ end
130
+
131
+ class InvalidEndpointException
132
+ attr_accessor message: ::String
133
+ SENSITIVE: []
134
+ end
135
+
136
+ class ListScheduledQueriesRequest
137
+ attr_accessor max_results: ::Integer
138
+ attr_accessor next_token: ::String
139
+ SENSITIVE: []
140
+ end
141
+
142
+ class ListScheduledQueriesResponse
143
+ attr_accessor scheduled_queries: ::Array[Types::ScheduledQuery]
144
+ attr_accessor next_token: ::String
145
+ SENSITIVE: []
146
+ end
147
+
148
+ class ListTagsForResourceRequest
149
+ attr_accessor resource_arn: ::String
150
+ attr_accessor max_results: ::Integer
151
+ attr_accessor next_token: ::String
152
+ SENSITIVE: []
153
+ end
154
+
155
+ class ListTagsForResourceResponse
156
+ attr_accessor tags: ::Array[Types::Tag]
157
+ attr_accessor next_token: ::String
158
+ SENSITIVE: []
159
+ end
160
+
161
+ class MixedMeasureMapping
162
+ attr_accessor measure_name: ::String
163
+ attr_accessor source_column: ::String
164
+ attr_accessor target_measure_name: ::String
165
+ attr_accessor measure_value_type: ("BIGINT" | "BOOLEAN" | "DOUBLE" | "VARCHAR" | "MULTI")
166
+ attr_accessor multi_measure_attribute_mappings: ::Array[Types::MultiMeasureAttributeMapping]
167
+ SENSITIVE: []
168
+ end
169
+
170
+ class MultiMeasureAttributeMapping
171
+ attr_accessor source_column: ::String
172
+ attr_accessor target_multi_measure_attribute_name: ::String
173
+ attr_accessor measure_value_type: ("BIGINT" | "BOOLEAN" | "DOUBLE" | "VARCHAR" | "TIMESTAMP")
174
+ SENSITIVE: []
175
+ end
176
+
177
+ class MultiMeasureMappings
178
+ attr_accessor target_multi_measure_name: ::String
179
+ attr_accessor multi_measure_attribute_mappings: ::Array[Types::MultiMeasureAttributeMapping]
180
+ SENSITIVE: []
181
+ end
182
+
183
+ class NotificationConfiguration
184
+ attr_accessor sns_configuration: Types::SnsConfiguration
185
+ SENSITIVE: []
186
+ end
187
+
188
+ class ParameterMapping
189
+ attr_accessor name: ::String
190
+ attr_accessor type: Types::Type
191
+ SENSITIVE: []
192
+ end
193
+
194
+ class PrepareQueryRequest
195
+ attr_accessor query_string: ::String
196
+ attr_accessor validate_only: bool
197
+ SENSITIVE: [:query_string]
198
+ end
199
+
200
+ class PrepareQueryResponse
201
+ attr_accessor query_string: ::String
202
+ attr_accessor columns: ::Array[Types::SelectColumn]
203
+ attr_accessor parameters: ::Array[Types::ParameterMapping]
204
+ SENSITIVE: [:query_string]
205
+ end
206
+
207
+ class QueryExecutionException
208
+ attr_accessor message: ::String
209
+ SENSITIVE: []
210
+ end
211
+
212
+ class QueryRequest
213
+ attr_accessor query_string: ::String
214
+ attr_accessor client_token: ::String
215
+ attr_accessor next_token: ::String
216
+ attr_accessor max_rows: ::Integer
217
+ SENSITIVE: [:query_string, :client_token]
218
+ end
219
+
220
+ class QueryResponse
221
+ attr_accessor query_id: ::String
222
+ attr_accessor next_token: ::String
223
+ attr_accessor rows: ::Array[Types::Row]
224
+ attr_accessor column_info: ::Array[Types::ColumnInfo]
225
+ attr_accessor query_status: Types::QueryStatus
226
+ SENSITIVE: []
227
+ end
228
+
229
+ class QueryStatus
230
+ attr_accessor progress_percentage: ::Float
231
+ attr_accessor cumulative_bytes_scanned: ::Integer
232
+ attr_accessor cumulative_bytes_metered: ::Integer
233
+ SENSITIVE: []
234
+ end
235
+
236
+ class ResourceNotFoundException
237
+ attr_accessor message: ::String
238
+ attr_accessor scheduled_query_arn: ::String
239
+ SENSITIVE: []
240
+ end
241
+
242
+ class Row
243
+ attr_accessor data: ::Array[Types::Datum]
244
+ SENSITIVE: []
245
+ end
246
+
247
+ class S3Configuration
248
+ attr_accessor bucket_name: ::String
249
+ attr_accessor object_key_prefix: ::String
250
+ attr_accessor encryption_option: ("SSE_S3" | "SSE_KMS")
251
+ SENSITIVE: []
252
+ end
253
+
254
+ class S3ReportLocation
255
+ attr_accessor bucket_name: ::String
256
+ attr_accessor object_key: ::String
257
+ SENSITIVE: []
258
+ end
259
+
260
+ class ScheduleConfiguration
261
+ attr_accessor schedule_expression: ::String
262
+ SENSITIVE: []
263
+ end
264
+
265
+ class ScheduledQuery
266
+ attr_accessor arn: ::String
267
+ attr_accessor name: ::String
268
+ attr_accessor creation_time: ::Time
269
+ attr_accessor state: ("ENABLED" | "DISABLED")
270
+ attr_accessor previous_invocation_time: ::Time
271
+ attr_accessor next_invocation_time: ::Time
272
+ attr_accessor error_report_configuration: Types::ErrorReportConfiguration
273
+ attr_accessor target_destination: Types::TargetDestination
274
+ attr_accessor last_run_status: ("AUTO_TRIGGER_SUCCESS" | "AUTO_TRIGGER_FAILURE" | "MANUAL_TRIGGER_SUCCESS" | "MANUAL_TRIGGER_FAILURE")
275
+ SENSITIVE: []
276
+ end
277
+
278
+ class ScheduledQueryDescription
279
+ attr_accessor arn: ::String
280
+ attr_accessor name: ::String
281
+ attr_accessor query_string: ::String
282
+ attr_accessor creation_time: ::Time
283
+ attr_accessor state: ("ENABLED" | "DISABLED")
284
+ attr_accessor previous_invocation_time: ::Time
285
+ attr_accessor next_invocation_time: ::Time
286
+ attr_accessor schedule_configuration: Types::ScheduleConfiguration
287
+ attr_accessor notification_configuration: Types::NotificationConfiguration
288
+ attr_accessor target_configuration: Types::TargetConfiguration
289
+ attr_accessor scheduled_query_execution_role_arn: ::String
290
+ attr_accessor kms_key_id: ::String
291
+ attr_accessor error_report_configuration: Types::ErrorReportConfiguration
292
+ attr_accessor last_run_summary: Types::ScheduledQueryRunSummary
293
+ attr_accessor recently_failed_runs: ::Array[Types::ScheduledQueryRunSummary]
294
+ SENSITIVE: [:query_string]
295
+ end
296
+
297
+ class ScheduledQueryRunSummary
298
+ attr_accessor invocation_time: ::Time
299
+ attr_accessor trigger_time: ::Time
300
+ attr_accessor run_status: ("AUTO_TRIGGER_SUCCESS" | "AUTO_TRIGGER_FAILURE" | "MANUAL_TRIGGER_SUCCESS" | "MANUAL_TRIGGER_FAILURE")
301
+ attr_accessor execution_stats: Types::ExecutionStats
302
+ attr_accessor error_report_location: Types::ErrorReportLocation
303
+ attr_accessor failure_reason: ::String
304
+ SENSITIVE: []
305
+ end
306
+
307
+ class SelectColumn
308
+ attr_accessor name: ::String
309
+ attr_accessor type: Types::Type
310
+ attr_accessor database_name: ::String
311
+ attr_accessor table_name: ::String
312
+ attr_accessor aliased: bool
313
+ SENSITIVE: []
314
+ end
315
+
316
+ class ServiceQuotaExceededException
317
+ attr_accessor message: ::String
318
+ SENSITIVE: []
319
+ end
320
+
321
+ class SnsConfiguration
322
+ attr_accessor topic_arn: ::String
323
+ SENSITIVE: []
324
+ end
325
+
326
+ class Tag
327
+ attr_accessor key: ::String
328
+ attr_accessor value: ::String
329
+ SENSITIVE: []
330
+ end
331
+
332
+ class TagResourceRequest
333
+ attr_accessor resource_arn: ::String
334
+ attr_accessor tags: ::Array[Types::Tag]
335
+ SENSITIVE: []
336
+ end
337
+
338
+ class TagResourceResponse < Aws::EmptyStructure
339
+ end
340
+
341
+ class TargetConfiguration
342
+ attr_accessor timestream_configuration: Types::TimestreamConfiguration
343
+ SENSITIVE: []
344
+ end
345
+
346
+ class TargetDestination
347
+ attr_accessor timestream_destination: Types::TimestreamDestination
348
+ SENSITIVE: []
349
+ end
350
+
351
+ class ThrottlingException
352
+ attr_accessor message: ::String
353
+ SENSITIVE: []
354
+ end
355
+
356
+ class TimeSeriesDataPoint
357
+ attr_accessor time: ::String
358
+ attr_accessor value: Types::Datum
359
+ SENSITIVE: []
360
+ end
361
+
362
+ class TimestreamConfiguration
363
+ attr_accessor database_name: ::String
364
+ attr_accessor table_name: ::String
365
+ attr_accessor time_column: ::String
366
+ attr_accessor dimension_mappings: ::Array[Types::DimensionMapping]
367
+ attr_accessor multi_measure_mappings: Types::MultiMeasureMappings
368
+ attr_accessor mixed_measure_mappings: ::Array[Types::MixedMeasureMapping]
369
+ attr_accessor measure_name_column: ::String
370
+ SENSITIVE: []
371
+ end
372
+
373
+ class TimestreamDestination
374
+ attr_accessor database_name: ::String
375
+ attr_accessor table_name: ::String
376
+ SENSITIVE: []
377
+ end
378
+
379
+ class Type
380
+ attr_accessor scalar_type: ("VARCHAR" | "BOOLEAN" | "BIGINT" | "DOUBLE" | "TIMESTAMP" | "DATE" | "TIME" | "INTERVAL_DAY_TO_SECOND" | "INTERVAL_YEAR_TO_MONTH" | "UNKNOWN" | "INTEGER")
381
+ attr_accessor array_column_info: Types::ColumnInfo
382
+ attr_accessor time_series_measure_value_column_info: Types::ColumnInfo
383
+ attr_accessor row_column_info: ::Array[Types::ColumnInfo]
384
+ SENSITIVE: []
385
+ end
386
+
387
+ class UntagResourceRequest
388
+ attr_accessor resource_arn: ::String
389
+ attr_accessor tag_keys: ::Array[::String]
390
+ SENSITIVE: []
391
+ end
392
+
393
+ class UntagResourceResponse < Aws::EmptyStructure
394
+ end
395
+
396
+ class UpdateScheduledQueryRequest
397
+ attr_accessor scheduled_query_arn: ::String
398
+ attr_accessor state: ("ENABLED" | "DISABLED")
399
+ SENSITIVE: []
400
+ end
401
+
402
+ class ValidationException
403
+ attr_accessor message: ::String
404
+ SENSITIVE: []
405
+ end
406
+ end
407
+ end
data/sig/waiters.rbs ADDED
@@ -0,0 +1,13 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module TimestreamQuery
10
+ module Waiters
11
+ end
12
+ end
13
+ 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.26.0
4
+ version: 1.28.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-22 00:00:00.000000000 Z
11
+ date: 2024-01-26 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.188.0
22
+ version: 3.191.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.188.0
32
+ version: 3.191.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -66,13 +66,18 @@ files:
66
66
  - lib/aws-sdk-timestreamquery/plugins/endpoints.rb
67
67
  - lib/aws-sdk-timestreamquery/resource.rb
68
68
  - lib/aws-sdk-timestreamquery/types.rb
69
+ - sig/client.rbs
70
+ - sig/errors.rbs
71
+ - sig/resource.rbs
72
+ - sig/types.rbs
73
+ - sig/waiters.rbs
69
74
  homepage: https://github.com/aws/aws-sdk-ruby
70
75
  licenses:
71
76
  - Apache-2.0
72
77
  metadata:
73
78
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-timestreamquery
74
79
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-timestreamquery/CHANGELOG.md
75
- post_install_message:
80
+ post_install_message:
76
81
  rdoc_options: []
77
82
  require_paths:
78
83
  - lib
@@ -87,8 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
92
  - !ruby/object:Gem::Version
88
93
  version: '0'
89
94
  requirements: []
90
- rubygems_version: 3.1.6
91
- signing_key:
95
+ rubygems_version: 3.4.10
96
+ signing_key:
92
97
  specification_version: 4
93
98
  summary: AWS SDK for Ruby - Timestream Query
94
99
  test_files: []