aws-sdk-timestreamquery 1.23.0 → 1.32.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -236,6 +236,34 @@ module Aws::TimestreamQuery
236
236
  include Aws::Structure
237
237
  end
238
238
 
239
+ # @api private
240
+ #
241
+ # @see http://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/DescribeAccountSettingsRequest AWS API Documentation
242
+ #
243
+ class DescribeAccountSettingsRequest < Aws::EmptyStructure; end
244
+
245
+ # @!attribute [rw] max_query_tcu
246
+ # The maximum number of [Timestream compute units][1] (TCUs) the
247
+ # service will use at any point in time to serve your queries.
248
+ #
249
+ #
250
+ #
251
+ # [1]: https://docs.aws.amazon.com/timestream/latest/developerguide/tcu.html
252
+ # @return [Integer]
253
+ #
254
+ # @!attribute [rw] query_pricing_model
255
+ # The pricing model for queries in your account.
256
+ # @return [String]
257
+ #
258
+ # @see http://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/DescribeAccountSettingsResponse AWS API Documentation
259
+ #
260
+ class DescribeAccountSettingsResponse < Struct.new(
261
+ :max_query_tcu,
262
+ :query_pricing_model)
263
+ SENSITIVE = []
264
+ include Aws::Structure
265
+ end
266
+
239
267
  # @api private
240
268
  #
241
269
  # @see http://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/DescribeEndpointsRequest AWS API Documentation
@@ -390,6 +418,10 @@ module Aws::TimestreamQuery
390
418
  # Bytes metered for a single scheduled query run.
391
419
  # @return [Integer]
392
420
  #
421
+ # @!attribute [rw] cumulative_bytes_scanned
422
+ # Bytes scanned for a single scheduled query run.
423
+ # @return [Integer]
424
+ #
393
425
  # @!attribute [rw] records_ingested
394
426
  # The number of records ingested for a single scheduled query run.
395
427
  # @return [Integer]
@@ -405,13 +437,14 @@ module Aws::TimestreamQuery
405
437
  :execution_time_in_millis,
406
438
  :data_writes,
407
439
  :bytes_metered,
440
+ :cumulative_bytes_scanned,
408
441
  :records_ingested,
409
442
  :query_result_rows)
410
443
  SENSITIVE = []
411
444
  include Aws::Structure
412
445
  end
413
446
 
414
- # Timestream was unable to fully process this request because of an
447
+ # The service was unable to fully process this request because of an
415
448
  # internal server error.
416
449
  #
417
450
  # @!attribute [rw] message
@@ -1394,7 +1427,12 @@ module Aws::TimestreamQuery
1394
1427
  #
1395
1428
  # @!attribute [rw] scalar_type
1396
1429
  # Indicates if the column is of type string, integer, Boolean, double,
1397
- # timestamp, date, time.
1430
+ # timestamp, date, time. For more information, see [Supported data
1431
+ # types][1].
1432
+ #
1433
+ #
1434
+ #
1435
+ # [1]: https://docs.aws.amazon.com/timestream/latest/developerguide/supported-data-types.html
1398
1436
  # @return [String]
1399
1437
  #
1400
1438
  # @!attribute [rw] array_column_info
@@ -1443,6 +1481,53 @@ module Aws::TimestreamQuery
1443
1481
  #
1444
1482
  class UntagResourceResponse < Aws::EmptyStructure; end
1445
1483
 
1484
+ # @!attribute [rw] max_query_tcu
1485
+ # The maximum number of compute units the service will use at any
1486
+ # point in time to serve your queries. To run queries, you must set a
1487
+ # minimum capacity of 4 TCU. You can set the maximum number of TCU in
1488
+ # multiples of 4, for example, 4, 8, 16, 32, and so on.
1489
+ #
1490
+ # The maximum value supported for `MaxQueryTCU` is 1000. To request an
1491
+ # increase to this soft limit, contact Amazon Web Services Support.
1492
+ # For information about the default quota for maxQueryTCU, see
1493
+ # [Default quotas][1].
1494
+ #
1495
+ #
1496
+ #
1497
+ # [1]: https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html#limits.default
1498
+ # @return [Integer]
1499
+ #
1500
+ # @!attribute [rw] query_pricing_model
1501
+ # The pricing model for queries in an account.
1502
+ # @return [String]
1503
+ #
1504
+ # @see http://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/UpdateAccountSettingsRequest AWS API Documentation
1505
+ #
1506
+ class UpdateAccountSettingsRequest < Struct.new(
1507
+ :max_query_tcu,
1508
+ :query_pricing_model)
1509
+ SENSITIVE = []
1510
+ include Aws::Structure
1511
+ end
1512
+
1513
+ # @!attribute [rw] max_query_tcu
1514
+ # The configured maximum number of compute units the service will use
1515
+ # at any point in time to serve your queries.
1516
+ # @return [Integer]
1517
+ #
1518
+ # @!attribute [rw] query_pricing_model
1519
+ # The pricing model for an account.
1520
+ # @return [String]
1521
+ #
1522
+ # @see http://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/UpdateAccountSettingsResponse AWS API Documentation
1523
+ #
1524
+ class UpdateAccountSettingsResponse < Struct.new(
1525
+ :max_query_tcu,
1526
+ :query_pricing_model)
1527
+ SENSITIVE = []
1528
+ include Aws::Structure
1529
+ end
1530
+
1446
1531
  # @!attribute [rw] scheduled_query_arn
1447
1532
  # ARN of the scheuled query.
1448
1533
  # @return [String]
@@ -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.23.0'
55
+ GEM_VERSION = '1.32.0'
56
56
 
57
57
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,304 @@
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 _DescribeAccountSettingsResponseSuccess
167
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAccountSettingsResponse]
168
+ def max_query_tcu: () -> ::Integer
169
+ def query_pricing_model: () -> ("BYTES_SCANNED" | "COMPUTE_UNITS")
170
+ end
171
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamQuery/Client.html#describe_account_settings-instance_method
172
+ def describe_account_settings: (
173
+ ) -> _DescribeAccountSettingsResponseSuccess
174
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAccountSettingsResponseSuccess
175
+
176
+ interface _DescribeEndpointsResponseSuccess
177
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeEndpointsResponse]
178
+ def endpoints: () -> ::Array[Types::Endpoint]
179
+ end
180
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamQuery/Client.html#describe_endpoints-instance_method
181
+ def describe_endpoints: (
182
+ ) -> _DescribeEndpointsResponseSuccess
183
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeEndpointsResponseSuccess
184
+
185
+ interface _DescribeScheduledQueryResponseSuccess
186
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeScheduledQueryResponse]
187
+ def scheduled_query: () -> Types::ScheduledQueryDescription
188
+ end
189
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamQuery/Client.html#describe_scheduled_query-instance_method
190
+ def describe_scheduled_query: (
191
+ scheduled_query_arn: ::String
192
+ ) -> _DescribeScheduledQueryResponseSuccess
193
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeScheduledQueryResponseSuccess
194
+
195
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamQuery/Client.html#execute_scheduled_query-instance_method
196
+ def execute_scheduled_query: (
197
+ scheduled_query_arn: ::String,
198
+ invocation_time: ::Time,
199
+ ?client_token: ::String
200
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
201
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
202
+
203
+ interface _ListScheduledQueriesResponseSuccess
204
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListScheduledQueriesResponse]
205
+ def scheduled_queries: () -> ::Array[Types::ScheduledQuery]
206
+ def next_token: () -> ::String
207
+ end
208
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamQuery/Client.html#list_scheduled_queries-instance_method
209
+ def list_scheduled_queries: (
210
+ ?max_results: ::Integer,
211
+ ?next_token: ::String
212
+ ) -> _ListScheduledQueriesResponseSuccess
213
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListScheduledQueriesResponseSuccess
214
+
215
+ interface _ListTagsForResourceResponseSuccess
216
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
217
+ def tags: () -> ::Array[Types::Tag]
218
+ def next_token: () -> ::String
219
+ end
220
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamQuery/Client.html#list_tags_for_resource-instance_method
221
+ def list_tags_for_resource: (
222
+ resource_arn: ::String,
223
+ ?max_results: ::Integer,
224
+ ?next_token: ::String
225
+ ) -> _ListTagsForResourceResponseSuccess
226
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
227
+
228
+ interface _PrepareQueryResponseSuccess
229
+ include ::Seahorse::Client::_ResponseSuccess[Types::PrepareQueryResponse]
230
+ def query_string: () -> ::String
231
+ def columns: () -> ::Array[Types::SelectColumn]
232
+ def parameters: () -> ::Array[Types::ParameterMapping]
233
+ end
234
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamQuery/Client.html#prepare_query-instance_method
235
+ def prepare_query: (
236
+ query_string: ::String,
237
+ ?validate_only: bool
238
+ ) -> _PrepareQueryResponseSuccess
239
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PrepareQueryResponseSuccess
240
+
241
+ interface _QueryResponseSuccess
242
+ include ::Seahorse::Client::_ResponseSuccess[Types::QueryResponse]
243
+ def query_id: () -> ::String
244
+ def next_token: () -> ::String
245
+ def rows: () -> ::Array[Types::Row]
246
+ def column_info: () -> ::Array[Types::ColumnInfo]
247
+ def query_status: () -> Types::QueryStatus
248
+ end
249
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamQuery/Client.html#query-instance_method
250
+ def query: (
251
+ query_string: ::String,
252
+ ?client_token: ::String,
253
+ ?next_token: ::String,
254
+ ?max_rows: ::Integer
255
+ ) -> _QueryResponseSuccess
256
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _QueryResponseSuccess
257
+
258
+ interface _TagResourceResponseSuccess
259
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
260
+ end
261
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamQuery/Client.html#tag_resource-instance_method
262
+ def tag_resource: (
263
+ resource_arn: ::String,
264
+ tags: Array[
265
+ {
266
+ key: ::String,
267
+ value: ::String
268
+ },
269
+ ]
270
+ ) -> _TagResourceResponseSuccess
271
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
272
+
273
+ interface _UntagResourceResponseSuccess
274
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
275
+ end
276
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamQuery/Client.html#untag_resource-instance_method
277
+ def untag_resource: (
278
+ resource_arn: ::String,
279
+ tag_keys: Array[::String]
280
+ ) -> _UntagResourceResponseSuccess
281
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
282
+
283
+ interface _UpdateAccountSettingsResponseSuccess
284
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAccountSettingsResponse]
285
+ def max_query_tcu: () -> ::Integer
286
+ def query_pricing_model: () -> ("BYTES_SCANNED" | "COMPUTE_UNITS")
287
+ end
288
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamQuery/Client.html#update_account_settings-instance_method
289
+ def update_account_settings: (
290
+ ?max_query_tcu: ::Integer,
291
+ ?query_pricing_model: ("BYTES_SCANNED" | "COMPUTE_UNITS")
292
+ ) -> _UpdateAccountSettingsResponseSuccess
293
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAccountSettingsResponseSuccess
294
+
295
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamQuery/Client.html#update_scheduled_query-instance_method
296
+ def update_scheduled_query: (
297
+ scheduled_query_arn: ::String,
298
+ state: ("ENABLED" | "DISABLED")
299
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
300
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
301
+ end
302
+ end
303
+ end
304
+
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