aws-sdk-timestreamwrite 1.23.0 → 1.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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.23.0
4
+ version: 1.30.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-07-11 00:00:00.000000000 Z
11
+ date: 2024-05-13 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.177.0
22
+ version: 3.193.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.177.0
32
+ version: 3.193.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
@@ -80,15 +85,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
80
85
  requirements:
81
86
  - - ">="
82
87
  - !ruby/object:Gem::Version
83
- version: '2.3'
88
+ version: '2.5'
84
89
  required_rubygems_version: !ruby/object:Gem::Requirement
85
90
  requirements:
86
91
  - - ">="
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: []