aws-sdk-timestreamwrite 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: 10a6ec146cf7ecd269a265086b3b88a376d1e33e5dce2440f655aa37e4695d08
4
- data.tar.gz: c8169bfb474b9095ec2c49e10f786129df16a9aa4bd1d09f64fa50f703c40aba
3
+ metadata.gz: c5959b3ae16355c3cc5d09a0c37e20c83650ae808d82b90933ef617e091883d5
4
+ data.tar.gz: 99502d453d11bba86983c01f0ed344e5b7397f8072dc18a979d3c961f9147f59
5
5
  SHA512:
6
- metadata.gz: a5a8116e1cc048261766cd7440cbb87a43f6f881790eba35711c7921abc5277dbbff754d0bcb329ba3c5037a0eb2dadf2d238d19e2589bc667a6996c18897182
7
- data.tar.gz: 779eb51253824d434ddb31b4c2e1d6739a38c010d891f71976a4deb64ebbe33a3a803efde0f190e59f584ea1382484329ed693801a7b420d4d26691baaf66f4e
6
+ metadata.gz: 40e31aea8b8dddcf14b27f70b7e91e0fc2e0b5fe30b6d2f4edbe6db41754252975bc75910096be93406f7507d2b363066fad8c61428b7735762bd1eaf06bd288
7
+ data.tar.gz: 99ca0b56ec311fc50f26dbc6c32bf78426e639afe902b8857befe9c533fef135ea0d720712c74f5c86df17f6f7395f95b64b35ad6bd3f58551d504a90e1a78f7
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
@@ -1594,7 +1594,7 @@ module Aws::TimestreamWrite
1594
1594
  params: params,
1595
1595
  config: config)
1596
1596
  context[:gem_name] = 'aws-sdk-timestreamwrite'
1597
- context[:gem_version] = '1.26.0'
1597
+ context[:gem_version] = '1.28.0'
1598
1598
  Seahorse::Client::Request.new(handlers, context)
1599
1599
  end
1600
1600
 
@@ -14,6 +14,7 @@ module Aws::TimestreamWrite
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::TimestreamWrite::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::TimestreamWrite
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-timestreamwrite/customizations'
52
52
  # @!group service
53
53
  module Aws::TimestreamWrite
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,451 @@
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 TimestreamWrite
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/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 _CreateBatchLoadTaskResponseSuccess
77
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateBatchLoadTaskResponse]
78
+ def task_id: () -> ::String
79
+ end
80
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/Client.html#create_batch_load_task-instance_method
81
+ def create_batch_load_task: (
82
+ ?client_token: ::String,
83
+ ?data_model_configuration: {
84
+ data_model: {
85
+ time_column: ::String?,
86
+ time_unit: ("MILLISECONDS" | "SECONDS" | "MICROSECONDS" | "NANOSECONDS")?,
87
+ dimension_mappings: Array[
88
+ {
89
+ source_column: ::String?,
90
+ destination_column: ::String?
91
+ },
92
+ ],
93
+ multi_measure_mappings: {
94
+ target_multi_measure_name: ::String?,
95
+ multi_measure_attribute_mappings: Array[
96
+ {
97
+ source_column: ::String,
98
+ target_multi_measure_attribute_name: ::String?,
99
+ measure_value_type: ("DOUBLE" | "BIGINT" | "BOOLEAN" | "VARCHAR" | "TIMESTAMP")?
100
+ },
101
+ ]
102
+ }?,
103
+ mixed_measure_mappings: Array[
104
+ {
105
+ measure_name: ::String?,
106
+ source_column: ::String?,
107
+ target_measure_name: ::String?,
108
+ measure_value_type: ("DOUBLE" | "BIGINT" | "VARCHAR" | "BOOLEAN" | "TIMESTAMP" | "MULTI"),
109
+ multi_measure_attribute_mappings: Array[
110
+ {
111
+ source_column: ::String,
112
+ target_multi_measure_attribute_name: ::String?,
113
+ measure_value_type: ("DOUBLE" | "BIGINT" | "BOOLEAN" | "VARCHAR" | "TIMESTAMP")?
114
+ },
115
+ ]?
116
+ },
117
+ ]?,
118
+ measure_name_column: ::String?
119
+ }?,
120
+ data_model_s3_configuration: {
121
+ bucket_name: ::String?,
122
+ object_key: ::String?
123
+ }?
124
+ },
125
+ data_source_configuration: {
126
+ data_source_s3_configuration: {
127
+ bucket_name: ::String,
128
+ object_key_prefix: ::String?
129
+ },
130
+ csv_configuration: {
131
+ column_separator: ::String?,
132
+ escape_char: ::String?,
133
+ quote_char: ::String?,
134
+ null_value: ::String?,
135
+ trim_white_space: bool?
136
+ }?,
137
+ data_format: ("CSV")
138
+ },
139
+ report_configuration: {
140
+ report_s3_configuration: {
141
+ bucket_name: ::String,
142
+ object_key_prefix: ::String?,
143
+ encryption_option: ("SSE_S3" | "SSE_KMS")?,
144
+ kms_key_id: ::String?
145
+ }?
146
+ },
147
+ target_database_name: ::String,
148
+ target_table_name: ::String,
149
+ ?record_version: ::Integer
150
+ ) -> _CreateBatchLoadTaskResponseSuccess
151
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBatchLoadTaskResponseSuccess
152
+
153
+ interface _CreateDatabaseResponseSuccess
154
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateDatabaseResponse]
155
+ def database: () -> Types::Database
156
+ end
157
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/Client.html#create_database-instance_method
158
+ def create_database: (
159
+ database_name: ::String,
160
+ ?kms_key_id: ::String,
161
+ ?tags: Array[
162
+ {
163
+ key: ::String,
164
+ value: ::String
165
+ },
166
+ ]
167
+ ) -> _CreateDatabaseResponseSuccess
168
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDatabaseResponseSuccess
169
+
170
+ interface _CreateTableResponseSuccess
171
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateTableResponse]
172
+ def table: () -> Types::Table
173
+ end
174
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/Client.html#create_table-instance_method
175
+ def create_table: (
176
+ database_name: ::String,
177
+ table_name: ::String,
178
+ ?retention_properties: {
179
+ memory_store_retention_period_in_hours: ::Integer,
180
+ magnetic_store_retention_period_in_days: ::Integer
181
+ },
182
+ ?tags: Array[
183
+ {
184
+ key: ::String,
185
+ value: ::String
186
+ },
187
+ ],
188
+ ?magnetic_store_write_properties: {
189
+ enable_magnetic_store_writes: bool,
190
+ magnetic_store_rejected_data_location: {
191
+ s3_configuration: {
192
+ bucket_name: ::String?,
193
+ object_key_prefix: ::String?,
194
+ encryption_option: ("SSE_S3" | "SSE_KMS")?,
195
+ kms_key_id: ::String?
196
+ }?
197
+ }?
198
+ },
199
+ ?schema: {
200
+ composite_partition_key: Array[
201
+ {
202
+ type: ("DIMENSION" | "MEASURE"),
203
+ name: ::String?,
204
+ enforcement_in_record: ("REQUIRED" | "OPTIONAL")?
205
+ },
206
+ ]?
207
+ }
208
+ ) -> _CreateTableResponseSuccess
209
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTableResponseSuccess
210
+
211
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/Client.html#delete_database-instance_method
212
+ def delete_database: (
213
+ database_name: ::String
214
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
215
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
216
+
217
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/Client.html#delete_table-instance_method
218
+ def delete_table: (
219
+ database_name: ::String,
220
+ table_name: ::String
221
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
222
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
223
+
224
+ interface _DescribeBatchLoadTaskResponseSuccess
225
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeBatchLoadTaskResponse]
226
+ def batch_load_task_description: () -> Types::BatchLoadTaskDescription
227
+ end
228
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/Client.html#describe_batch_load_task-instance_method
229
+ def describe_batch_load_task: (
230
+ task_id: ::String
231
+ ) -> _DescribeBatchLoadTaskResponseSuccess
232
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeBatchLoadTaskResponseSuccess
233
+
234
+ interface _DescribeDatabaseResponseSuccess
235
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDatabaseResponse]
236
+ def database: () -> Types::Database
237
+ end
238
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/Client.html#describe_database-instance_method
239
+ def describe_database: (
240
+ database_name: ::String
241
+ ) -> _DescribeDatabaseResponseSuccess
242
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDatabaseResponseSuccess
243
+
244
+ interface _DescribeEndpointsResponseSuccess
245
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeEndpointsResponse]
246
+ def endpoints: () -> ::Array[Types::Endpoint]
247
+ end
248
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/Client.html#describe_endpoints-instance_method
249
+ def describe_endpoints: (
250
+ ) -> _DescribeEndpointsResponseSuccess
251
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeEndpointsResponseSuccess
252
+
253
+ interface _DescribeTableResponseSuccess
254
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeTableResponse]
255
+ def table: () -> Types::Table
256
+ end
257
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/Client.html#describe_table-instance_method
258
+ def describe_table: (
259
+ database_name: ::String,
260
+ table_name: ::String
261
+ ) -> _DescribeTableResponseSuccess
262
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeTableResponseSuccess
263
+
264
+ interface _ListBatchLoadTasksResponseSuccess
265
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListBatchLoadTasksResponse]
266
+ def next_token: () -> ::String
267
+ def batch_load_tasks: () -> ::Array[Types::BatchLoadTask]
268
+ end
269
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/Client.html#list_batch_load_tasks-instance_method
270
+ def list_batch_load_tasks: (
271
+ ?next_token: ::String,
272
+ ?max_results: ::Integer,
273
+ ?task_status: ("CREATED" | "IN_PROGRESS" | "FAILED" | "SUCCEEDED" | "PROGRESS_STOPPED" | "PENDING_RESUME")
274
+ ) -> _ListBatchLoadTasksResponseSuccess
275
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBatchLoadTasksResponseSuccess
276
+
277
+ interface _ListDatabasesResponseSuccess
278
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDatabasesResponse]
279
+ def databases: () -> ::Array[Types::Database]
280
+ def next_token: () -> ::String
281
+ end
282
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/Client.html#list_databases-instance_method
283
+ def list_databases: (
284
+ ?next_token: ::String,
285
+ ?max_results: ::Integer
286
+ ) -> _ListDatabasesResponseSuccess
287
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDatabasesResponseSuccess
288
+
289
+ interface _ListTablesResponseSuccess
290
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTablesResponse]
291
+ def tables: () -> ::Array[Types::Table]
292
+ def next_token: () -> ::String
293
+ end
294
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/Client.html#list_tables-instance_method
295
+ def list_tables: (
296
+ ?database_name: ::String,
297
+ ?next_token: ::String,
298
+ ?max_results: ::Integer
299
+ ) -> _ListTablesResponseSuccess
300
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTablesResponseSuccess
301
+
302
+ interface _ListTagsForResourceResponseSuccess
303
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
304
+ def tags: () -> ::Array[Types::Tag]
305
+ end
306
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/Client.html#list_tags_for_resource-instance_method
307
+ def list_tags_for_resource: (
308
+ resource_arn: ::String
309
+ ) -> _ListTagsForResourceResponseSuccess
310
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
311
+
312
+ interface _ResumeBatchLoadTaskResponseSuccess
313
+ include ::Seahorse::Client::_ResponseSuccess[Types::ResumeBatchLoadTaskResponse]
314
+ end
315
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/Client.html#resume_batch_load_task-instance_method
316
+ def resume_batch_load_task: (
317
+ task_id: ::String
318
+ ) -> _ResumeBatchLoadTaskResponseSuccess
319
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ResumeBatchLoadTaskResponseSuccess
320
+
321
+ interface _TagResourceResponseSuccess
322
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
323
+ end
324
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/Client.html#tag_resource-instance_method
325
+ def tag_resource: (
326
+ resource_arn: ::String,
327
+ tags: Array[
328
+ {
329
+ key: ::String,
330
+ value: ::String
331
+ },
332
+ ]
333
+ ) -> _TagResourceResponseSuccess
334
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
335
+
336
+ interface _UntagResourceResponseSuccess
337
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
338
+ end
339
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/Client.html#untag_resource-instance_method
340
+ def untag_resource: (
341
+ resource_arn: ::String,
342
+ tag_keys: Array[::String]
343
+ ) -> _UntagResourceResponseSuccess
344
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
345
+
346
+ interface _UpdateDatabaseResponseSuccess
347
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDatabaseResponse]
348
+ def database: () -> Types::Database
349
+ end
350
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/Client.html#update_database-instance_method
351
+ def update_database: (
352
+ database_name: ::String,
353
+ kms_key_id: ::String
354
+ ) -> _UpdateDatabaseResponseSuccess
355
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDatabaseResponseSuccess
356
+
357
+ interface _UpdateTableResponseSuccess
358
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTableResponse]
359
+ def table: () -> Types::Table
360
+ end
361
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/Client.html#update_table-instance_method
362
+ def update_table: (
363
+ database_name: ::String,
364
+ table_name: ::String,
365
+ ?retention_properties: {
366
+ memory_store_retention_period_in_hours: ::Integer,
367
+ magnetic_store_retention_period_in_days: ::Integer
368
+ },
369
+ ?magnetic_store_write_properties: {
370
+ enable_magnetic_store_writes: bool,
371
+ magnetic_store_rejected_data_location: {
372
+ s3_configuration: {
373
+ bucket_name: ::String?,
374
+ object_key_prefix: ::String?,
375
+ encryption_option: ("SSE_S3" | "SSE_KMS")?,
376
+ kms_key_id: ::String?
377
+ }?
378
+ }?
379
+ },
380
+ ?schema: {
381
+ composite_partition_key: Array[
382
+ {
383
+ type: ("DIMENSION" | "MEASURE"),
384
+ name: ::String?,
385
+ enforcement_in_record: ("REQUIRED" | "OPTIONAL")?
386
+ },
387
+ ]?
388
+ }
389
+ ) -> _UpdateTableResponseSuccess
390
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTableResponseSuccess
391
+
392
+ interface _WriteRecordsResponseSuccess
393
+ include ::Seahorse::Client::_ResponseSuccess[Types::WriteRecordsResponse]
394
+ def records_ingested: () -> Types::RecordsIngested
395
+ end
396
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/Client.html#write_records-instance_method
397
+ def write_records: (
398
+ database_name: ::String,
399
+ table_name: ::String,
400
+ ?common_attributes: {
401
+ dimensions: Array[
402
+ {
403
+ name: ::String,
404
+ value: ::String,
405
+ dimension_value_type: ("VARCHAR")?
406
+ },
407
+ ]?,
408
+ measure_name: ::String?,
409
+ measure_value: ::String?,
410
+ measure_value_type: ("DOUBLE" | "BIGINT" | "VARCHAR" | "BOOLEAN" | "TIMESTAMP" | "MULTI")?,
411
+ time: ::String?,
412
+ time_unit: ("MILLISECONDS" | "SECONDS" | "MICROSECONDS" | "NANOSECONDS")?,
413
+ version: ::Integer?,
414
+ measure_values: Array[
415
+ {
416
+ name: ::String,
417
+ value: ::String,
418
+ type: ("DOUBLE" | "BIGINT" | "VARCHAR" | "BOOLEAN" | "TIMESTAMP" | "MULTI")
419
+ },
420
+ ]?
421
+ },
422
+ records: Array[
423
+ {
424
+ dimensions: Array[
425
+ {
426
+ name: ::String,
427
+ value: ::String,
428
+ dimension_value_type: ("VARCHAR")?
429
+ },
430
+ ]?,
431
+ measure_name: ::String?,
432
+ measure_value: ::String?,
433
+ measure_value_type: ("DOUBLE" | "BIGINT" | "VARCHAR" | "BOOLEAN" | "TIMESTAMP" | "MULTI")?,
434
+ time: ::String?,
435
+ time_unit: ("MILLISECONDS" | "SECONDS" | "MICROSECONDS" | "NANOSECONDS")?,
436
+ version: ::Integer?,
437
+ measure_values: Array[
438
+ {
439
+ name: ::String,
440
+ value: ::String,
441
+ type: ("DOUBLE" | "BIGINT" | "VARCHAR" | "BOOLEAN" | "TIMESTAMP" | "MULTI")
442
+ },
443
+ ]?
444
+ },
445
+ ]
446
+ ) -> _WriteRecordsResponseSuccess
447
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _WriteRecordsResponseSuccess
448
+ end
449
+ end
450
+ end
451
+
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 TimestreamWrite
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 RejectedRecordsException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ def rejected_records: () -> ::String
29
+ end
30
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
31
+ def message: () -> ::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 TimestreamWrite
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TimestreamWrite/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,497 @@
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::TimestreamWrite
9
+ module Types
10
+
11
+ class AccessDeniedException
12
+ attr_accessor message: ::String
13
+ SENSITIVE: []
14
+ end
15
+
16
+ class BatchLoadProgressReport
17
+ attr_accessor records_processed: ::Integer
18
+ attr_accessor records_ingested: ::Integer
19
+ attr_accessor parse_failures: ::Integer
20
+ attr_accessor record_ingestion_failures: ::Integer
21
+ attr_accessor file_failures: ::Integer
22
+ attr_accessor bytes_metered: ::Integer
23
+ SENSITIVE: []
24
+ end
25
+
26
+ class BatchLoadTask
27
+ attr_accessor task_id: ::String
28
+ attr_accessor task_status: ("CREATED" | "IN_PROGRESS" | "FAILED" | "SUCCEEDED" | "PROGRESS_STOPPED" | "PENDING_RESUME")
29
+ attr_accessor database_name: ::String
30
+ attr_accessor table_name: ::String
31
+ attr_accessor creation_time: ::Time
32
+ attr_accessor last_updated_time: ::Time
33
+ attr_accessor resumable_until: ::Time
34
+ SENSITIVE: []
35
+ end
36
+
37
+ class BatchLoadTaskDescription
38
+ attr_accessor task_id: ::String
39
+ attr_accessor error_message: ::String
40
+ attr_accessor data_source_configuration: Types::DataSourceConfiguration
41
+ attr_accessor progress_report: Types::BatchLoadProgressReport
42
+ attr_accessor report_configuration: Types::ReportConfiguration
43
+ attr_accessor data_model_configuration: Types::DataModelConfiguration
44
+ attr_accessor target_database_name: ::String
45
+ attr_accessor target_table_name: ::String
46
+ attr_accessor task_status: ("CREATED" | "IN_PROGRESS" | "FAILED" | "SUCCEEDED" | "PROGRESS_STOPPED" | "PENDING_RESUME")
47
+ attr_accessor record_version: ::Integer
48
+ attr_accessor creation_time: ::Time
49
+ attr_accessor last_updated_time: ::Time
50
+ attr_accessor resumable_until: ::Time
51
+ SENSITIVE: []
52
+ end
53
+
54
+ class ConflictException
55
+ attr_accessor message: ::String
56
+ SENSITIVE: []
57
+ end
58
+
59
+ class CreateBatchLoadTaskRequest
60
+ attr_accessor client_token: ::String
61
+ attr_accessor data_model_configuration: Types::DataModelConfiguration
62
+ attr_accessor data_source_configuration: Types::DataSourceConfiguration
63
+ attr_accessor report_configuration: Types::ReportConfiguration
64
+ attr_accessor target_database_name: ::String
65
+ attr_accessor target_table_name: ::String
66
+ attr_accessor record_version: ::Integer
67
+ SENSITIVE: [:client_token]
68
+ end
69
+
70
+ class CreateBatchLoadTaskResponse
71
+ attr_accessor task_id: ::String
72
+ SENSITIVE: []
73
+ end
74
+
75
+ class CreateDatabaseRequest
76
+ attr_accessor database_name: ::String
77
+ attr_accessor kms_key_id: ::String
78
+ attr_accessor tags: ::Array[Types::Tag]
79
+ SENSITIVE: []
80
+ end
81
+
82
+ class CreateDatabaseResponse
83
+ attr_accessor database: Types::Database
84
+ SENSITIVE: []
85
+ end
86
+
87
+ class CreateTableRequest
88
+ attr_accessor database_name: ::String
89
+ attr_accessor table_name: ::String
90
+ attr_accessor retention_properties: Types::RetentionProperties
91
+ attr_accessor tags: ::Array[Types::Tag]
92
+ attr_accessor magnetic_store_write_properties: Types::MagneticStoreWriteProperties
93
+ attr_accessor schema: Types::Schema
94
+ SENSITIVE: []
95
+ end
96
+
97
+ class CreateTableResponse
98
+ attr_accessor table: Types::Table
99
+ SENSITIVE: []
100
+ end
101
+
102
+ class CsvConfiguration
103
+ attr_accessor column_separator: ::String
104
+ attr_accessor escape_char: ::String
105
+ attr_accessor quote_char: ::String
106
+ attr_accessor null_value: ::String
107
+ attr_accessor trim_white_space: bool
108
+ SENSITIVE: []
109
+ end
110
+
111
+ class DataModel
112
+ attr_accessor time_column: ::String
113
+ attr_accessor time_unit: ("MILLISECONDS" | "SECONDS" | "MICROSECONDS" | "NANOSECONDS")
114
+ attr_accessor dimension_mappings: ::Array[Types::DimensionMapping]
115
+ attr_accessor multi_measure_mappings: Types::MultiMeasureMappings
116
+ attr_accessor mixed_measure_mappings: ::Array[Types::MixedMeasureMapping]
117
+ attr_accessor measure_name_column: ::String
118
+ SENSITIVE: []
119
+ end
120
+
121
+ class DataModelConfiguration
122
+ attr_accessor data_model: Types::DataModel
123
+ attr_accessor data_model_s3_configuration: Types::DataModelS3Configuration
124
+ SENSITIVE: []
125
+ end
126
+
127
+ class DataModelS3Configuration
128
+ attr_accessor bucket_name: ::String
129
+ attr_accessor object_key: ::String
130
+ SENSITIVE: []
131
+ end
132
+
133
+ class DataSourceConfiguration
134
+ attr_accessor data_source_s3_configuration: Types::DataSourceS3Configuration
135
+ attr_accessor csv_configuration: Types::CsvConfiguration
136
+ attr_accessor data_format: ("CSV")
137
+ SENSITIVE: []
138
+ end
139
+
140
+ class DataSourceS3Configuration
141
+ attr_accessor bucket_name: ::String
142
+ attr_accessor object_key_prefix: ::String
143
+ SENSITIVE: []
144
+ end
145
+
146
+ class Database
147
+ attr_accessor arn: ::String
148
+ attr_accessor database_name: ::String
149
+ attr_accessor table_count: ::Integer
150
+ attr_accessor kms_key_id: ::String
151
+ attr_accessor creation_time: ::Time
152
+ attr_accessor last_updated_time: ::Time
153
+ SENSITIVE: []
154
+ end
155
+
156
+ class DeleteDatabaseRequest
157
+ attr_accessor database_name: ::String
158
+ SENSITIVE: []
159
+ end
160
+
161
+ class DeleteTableRequest
162
+ attr_accessor database_name: ::String
163
+ attr_accessor table_name: ::String
164
+ SENSITIVE: []
165
+ end
166
+
167
+ class DescribeBatchLoadTaskRequest
168
+ attr_accessor task_id: ::String
169
+ SENSITIVE: []
170
+ end
171
+
172
+ class DescribeBatchLoadTaskResponse
173
+ attr_accessor batch_load_task_description: Types::BatchLoadTaskDescription
174
+ SENSITIVE: []
175
+ end
176
+
177
+ class DescribeDatabaseRequest
178
+ attr_accessor database_name: ::String
179
+ SENSITIVE: []
180
+ end
181
+
182
+ class DescribeDatabaseResponse
183
+ attr_accessor database: Types::Database
184
+ SENSITIVE: []
185
+ end
186
+
187
+ class DescribeEndpointsRequest < Aws::EmptyStructure
188
+ end
189
+
190
+ class DescribeEndpointsResponse
191
+ attr_accessor endpoints: ::Array[Types::Endpoint]
192
+ SENSITIVE: []
193
+ end
194
+
195
+ class DescribeTableRequest
196
+ attr_accessor database_name: ::String
197
+ attr_accessor table_name: ::String
198
+ SENSITIVE: []
199
+ end
200
+
201
+ class DescribeTableResponse
202
+ attr_accessor table: Types::Table
203
+ SENSITIVE: []
204
+ end
205
+
206
+ class Dimension
207
+ attr_accessor name: ::String
208
+ attr_accessor value: ::String
209
+ attr_accessor dimension_value_type: ("VARCHAR")
210
+ SENSITIVE: []
211
+ end
212
+
213
+ class DimensionMapping
214
+ attr_accessor source_column: ::String
215
+ attr_accessor destination_column: ::String
216
+ SENSITIVE: []
217
+ end
218
+
219
+ class Endpoint
220
+ attr_accessor address: ::String
221
+ attr_accessor cache_period_in_minutes: ::Integer
222
+ SENSITIVE: []
223
+ end
224
+
225
+ class InternalServerException
226
+ attr_accessor message: ::String
227
+ SENSITIVE: []
228
+ end
229
+
230
+ class InvalidEndpointException
231
+ attr_accessor message: ::String
232
+ SENSITIVE: []
233
+ end
234
+
235
+ class ListBatchLoadTasksRequest
236
+ attr_accessor next_token: ::String
237
+ attr_accessor max_results: ::Integer
238
+ attr_accessor task_status: ("CREATED" | "IN_PROGRESS" | "FAILED" | "SUCCEEDED" | "PROGRESS_STOPPED" | "PENDING_RESUME")
239
+ SENSITIVE: []
240
+ end
241
+
242
+ class ListBatchLoadTasksResponse
243
+ attr_accessor next_token: ::String
244
+ attr_accessor batch_load_tasks: ::Array[Types::BatchLoadTask]
245
+ SENSITIVE: []
246
+ end
247
+
248
+ class ListDatabasesRequest
249
+ attr_accessor next_token: ::String
250
+ attr_accessor max_results: ::Integer
251
+ SENSITIVE: []
252
+ end
253
+
254
+ class ListDatabasesResponse
255
+ attr_accessor databases: ::Array[Types::Database]
256
+ attr_accessor next_token: ::String
257
+ SENSITIVE: []
258
+ end
259
+
260
+ class ListTablesRequest
261
+ attr_accessor database_name: ::String
262
+ attr_accessor next_token: ::String
263
+ attr_accessor max_results: ::Integer
264
+ SENSITIVE: []
265
+ end
266
+
267
+ class ListTablesResponse
268
+ attr_accessor tables: ::Array[Types::Table]
269
+ attr_accessor next_token: ::String
270
+ SENSITIVE: []
271
+ end
272
+
273
+ class ListTagsForResourceRequest
274
+ attr_accessor resource_arn: ::String
275
+ SENSITIVE: []
276
+ end
277
+
278
+ class ListTagsForResourceResponse
279
+ attr_accessor tags: ::Array[Types::Tag]
280
+ SENSITIVE: []
281
+ end
282
+
283
+ class MagneticStoreRejectedDataLocation
284
+ attr_accessor s3_configuration: Types::S3Configuration
285
+ SENSITIVE: []
286
+ end
287
+
288
+ class MagneticStoreWriteProperties
289
+ attr_accessor enable_magnetic_store_writes: bool
290
+ attr_accessor magnetic_store_rejected_data_location: Types::MagneticStoreRejectedDataLocation
291
+ SENSITIVE: []
292
+ end
293
+
294
+ class MeasureValue
295
+ attr_accessor name: ::String
296
+ attr_accessor value: ::String
297
+ attr_accessor type: ("DOUBLE" | "BIGINT" | "VARCHAR" | "BOOLEAN" | "TIMESTAMP" | "MULTI")
298
+ SENSITIVE: []
299
+ end
300
+
301
+ class MixedMeasureMapping
302
+ attr_accessor measure_name: ::String
303
+ attr_accessor source_column: ::String
304
+ attr_accessor target_measure_name: ::String
305
+ attr_accessor measure_value_type: ("DOUBLE" | "BIGINT" | "VARCHAR" | "BOOLEAN" | "TIMESTAMP" | "MULTI")
306
+ attr_accessor multi_measure_attribute_mappings: ::Array[Types::MultiMeasureAttributeMapping]
307
+ SENSITIVE: []
308
+ end
309
+
310
+ class MultiMeasureAttributeMapping
311
+ attr_accessor source_column: ::String
312
+ attr_accessor target_multi_measure_attribute_name: ::String
313
+ attr_accessor measure_value_type: ("DOUBLE" | "BIGINT" | "BOOLEAN" | "VARCHAR" | "TIMESTAMP")
314
+ SENSITIVE: []
315
+ end
316
+
317
+ class MultiMeasureMappings
318
+ attr_accessor target_multi_measure_name: ::String
319
+ attr_accessor multi_measure_attribute_mappings: ::Array[Types::MultiMeasureAttributeMapping]
320
+ SENSITIVE: []
321
+ end
322
+
323
+ class PartitionKey
324
+ attr_accessor type: ("DIMENSION" | "MEASURE")
325
+ attr_accessor name: ::String
326
+ attr_accessor enforcement_in_record: ("REQUIRED" | "OPTIONAL")
327
+ SENSITIVE: []
328
+ end
329
+
330
+ class Record
331
+ attr_accessor dimensions: ::Array[Types::Dimension]
332
+ attr_accessor measure_name: ::String
333
+ attr_accessor measure_value: ::String
334
+ attr_accessor measure_value_type: ("DOUBLE" | "BIGINT" | "VARCHAR" | "BOOLEAN" | "TIMESTAMP" | "MULTI")
335
+ attr_accessor time: ::String
336
+ attr_accessor time_unit: ("MILLISECONDS" | "SECONDS" | "MICROSECONDS" | "NANOSECONDS")
337
+ attr_accessor version: ::Integer
338
+ attr_accessor measure_values: ::Array[Types::MeasureValue]
339
+ SENSITIVE: []
340
+ end
341
+
342
+ class RecordsIngested
343
+ attr_accessor total: ::Integer
344
+ attr_accessor memory_store: ::Integer
345
+ attr_accessor magnetic_store: ::Integer
346
+ SENSITIVE: []
347
+ end
348
+
349
+ class RejectedRecord
350
+ attr_accessor record_index: ::Integer
351
+ attr_accessor reason: ::String
352
+ attr_accessor existing_version: ::Integer
353
+ SENSITIVE: []
354
+ end
355
+
356
+ class RejectedRecordsException
357
+ attr_accessor message: ::String
358
+ attr_accessor rejected_records: ::Array[Types::RejectedRecord]
359
+ SENSITIVE: []
360
+ end
361
+
362
+ class ReportConfiguration
363
+ attr_accessor report_s3_configuration: Types::ReportS3Configuration
364
+ SENSITIVE: []
365
+ end
366
+
367
+ class ReportS3Configuration
368
+ attr_accessor bucket_name: ::String
369
+ attr_accessor object_key_prefix: ::String
370
+ attr_accessor encryption_option: ("SSE_S3" | "SSE_KMS")
371
+ attr_accessor kms_key_id: ::String
372
+ SENSITIVE: []
373
+ end
374
+
375
+ class ResourceNotFoundException
376
+ attr_accessor message: ::String
377
+ SENSITIVE: []
378
+ end
379
+
380
+ class ResumeBatchLoadTaskRequest
381
+ attr_accessor task_id: ::String
382
+ SENSITIVE: []
383
+ end
384
+
385
+ class ResumeBatchLoadTaskResponse < Aws::EmptyStructure
386
+ end
387
+
388
+ class RetentionProperties
389
+ attr_accessor memory_store_retention_period_in_hours: ::Integer
390
+ attr_accessor magnetic_store_retention_period_in_days: ::Integer
391
+ SENSITIVE: []
392
+ end
393
+
394
+ class S3Configuration
395
+ attr_accessor bucket_name: ::String
396
+ attr_accessor object_key_prefix: ::String
397
+ attr_accessor encryption_option: ("SSE_S3" | "SSE_KMS")
398
+ attr_accessor kms_key_id: ::String
399
+ SENSITIVE: []
400
+ end
401
+
402
+ class Schema
403
+ attr_accessor composite_partition_key: ::Array[Types::PartitionKey]
404
+ SENSITIVE: []
405
+ end
406
+
407
+ class ServiceQuotaExceededException
408
+ attr_accessor message: ::String
409
+ SENSITIVE: []
410
+ end
411
+
412
+ class Table
413
+ attr_accessor arn: ::String
414
+ attr_accessor table_name: ::String
415
+ attr_accessor database_name: ::String
416
+ attr_accessor table_status: ("ACTIVE" | "DELETING" | "RESTORING")
417
+ attr_accessor retention_properties: Types::RetentionProperties
418
+ attr_accessor creation_time: ::Time
419
+ attr_accessor last_updated_time: ::Time
420
+ attr_accessor magnetic_store_write_properties: Types::MagneticStoreWriteProperties
421
+ attr_accessor schema: Types::Schema
422
+ SENSITIVE: []
423
+ end
424
+
425
+ class Tag
426
+ attr_accessor key: ::String
427
+ attr_accessor value: ::String
428
+ SENSITIVE: []
429
+ end
430
+
431
+ class TagResourceRequest
432
+ attr_accessor resource_arn: ::String
433
+ attr_accessor tags: ::Array[Types::Tag]
434
+ SENSITIVE: []
435
+ end
436
+
437
+ class TagResourceResponse < Aws::EmptyStructure
438
+ end
439
+
440
+ class ThrottlingException
441
+ attr_accessor message: ::String
442
+ SENSITIVE: []
443
+ end
444
+
445
+ class UntagResourceRequest
446
+ attr_accessor resource_arn: ::String
447
+ attr_accessor tag_keys: ::Array[::String]
448
+ SENSITIVE: []
449
+ end
450
+
451
+ class UntagResourceResponse < Aws::EmptyStructure
452
+ end
453
+
454
+ class UpdateDatabaseRequest
455
+ attr_accessor database_name: ::String
456
+ attr_accessor kms_key_id: ::String
457
+ SENSITIVE: []
458
+ end
459
+
460
+ class UpdateDatabaseResponse
461
+ attr_accessor database: Types::Database
462
+ SENSITIVE: []
463
+ end
464
+
465
+ class UpdateTableRequest
466
+ attr_accessor database_name: ::String
467
+ attr_accessor table_name: ::String
468
+ attr_accessor retention_properties: Types::RetentionProperties
469
+ attr_accessor magnetic_store_write_properties: Types::MagneticStoreWriteProperties
470
+ attr_accessor schema: Types::Schema
471
+ SENSITIVE: []
472
+ end
473
+
474
+ class UpdateTableResponse
475
+ attr_accessor table: Types::Table
476
+ SENSITIVE: []
477
+ end
478
+
479
+ class ValidationException
480
+ attr_accessor message: ::String
481
+ SENSITIVE: []
482
+ end
483
+
484
+ class WriteRecordsRequest
485
+ attr_accessor database_name: ::String
486
+ attr_accessor table_name: ::String
487
+ attr_accessor common_attributes: Types::Record
488
+ attr_accessor records: ::Array[Types::Record]
489
+ SENSITIVE: []
490
+ end
491
+
492
+ class WriteRecordsResponse
493
+ attr_accessor records_ingested: Types::RecordsIngested
494
+ SENSITIVE: []
495
+ end
496
+ end
497
+ 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 TimestreamWrite
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-timestreamwrite
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-timestreamwrite/plugins/endpoints.rb
67
67
  - lib/aws-sdk-timestreamwrite/resource.rb
68
68
  - lib/aws-sdk-timestreamwrite/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-timestreamwrite
74
79
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-timestreamwrite/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 Write
94
99
  test_files: []