aws-sdk-timestreamquery 1.27.0 → 1.29.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: 3fd3745a7b4feed08433843b0399e9d504539aeb695ac8922158462ca66476df
4
- data.tar.gz: 05bddfbd49d3d49ea50658da26be9613064efddda2250ae21fbc0f1d3519f558
3
+ metadata.gz: 13934fe95e0997cce865ac2d45e2faf29543cf7d37f1b2c6cb6e455df087fd6d
4
+ data.tar.gz: 01f005c502e0cb1454adaa8bcdf0e6f00cb73310abfef10add58f9aae625515b
5
5
  SHA512:
6
- metadata.gz: 1acf8134de087554b6e2b2b3a3ee52454c8641410f1588ea4e3cf37375b4e127c8cf350a7ebd525d00792087d7e46004d88829145e97f82487458ee3d26c073c
7
- data.tar.gz: 2b0652e84bc07242ec6560d0111a58f0b3a1303260307c76502af0b1d4bac761e63d934b40a4417063a58bcc031c7cd85ec4dc105a163e12c7390082e699ae62
6
+ metadata.gz: ab6742f6381e5c62e2b33352ce861420a8d9840ae412475c5a0818114f0bca63b753f2ef730dbf47f5ee677ffb230f744dfe36c17d274c33817b573387e62e14
7
+ data.tar.gz: a871000cbc190df5e7e86b02733215e5652aeaf25dcb2ed84af24d4a88e0568243db1bc1326b4e7ef81eb45b28c4c319bd625bcbf426beb359e9ea328a9018f8
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.29.0 (2024-03-18)
5
+ ------------------
6
+
7
+ * Feature - Documentation updates, March 2024
8
+
9
+ 1.28.0 (2024-01-26)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.27.0 (2023-11-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.27.0
1
+ 1.29.0
@@ -875,8 +875,7 @@ module Aws::TimestreamQuery
875
875
 
876
876
  # A synchronous operation that allows you to submit a query with
877
877
  # parameters to be stored by Timestream for later running. Timestream
878
- # only supports using this operation with the
879
- # `PrepareQueryRequest$ValidateOnly` set to `true`.
878
+ # only supports using this operation with `ValidateOnly` set to `true`.
880
879
  #
881
880
  # @option params [required, String] :query_string
882
881
  # The Timestream query string that you want to use as a prepared
@@ -1198,7 +1197,7 @@ module Aws::TimestreamQuery
1198
1197
  params: params,
1199
1198
  config: config)
1200
1199
  context[:gem_name] = 'aws-sdk-timestreamquery'
1201
- context[:gem_version] = '1.27.0'
1200
+ context[:gem_version] = '1.29.0'
1202
1201
  Seahorse::Client::Request.new(handlers, context)
1203
1202
  end
1204
1203
 
@@ -32,7 +32,7 @@ module Aws::TimestreamQuery
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
36
  return Aws::Endpoints::Endpoint.new(url: "https://query.timestream-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
37
  end
38
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -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 '\
@@ -1394,7 +1394,12 @@ module Aws::TimestreamQuery
1394
1394
  #
1395
1395
  # @!attribute [rw] scalar_type
1396
1396
  # Indicates if the column is of type string, integer, Boolean, double,
1397
- # timestamp, date, time.
1397
+ # timestamp, date, time. For more information, see [Supported data
1398
+ # types][1].
1399
+ #
1400
+ #
1401
+ #
1402
+ # [1]: https://docs.aws.amazon.com/timestream/latest/developerguide/supported-data-types.html
1398
1403
  # @return [String]
1399
1404
  #
1400
1405
  # @!attribute [rw] array_column_info
@@ -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.27.0'
55
+ GEM_VERSION = '1.29.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.27.0
4
+ version: 1.29.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-28 00:00:00.000000000 Z
11
+ date: 2024-03-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.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: []