mypy-boto3-timestream-write 1.28.16__tar.gz → 1.29.0__tar.gz
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.
Potentially problematic release.
This version of mypy-boto3-timestream-write might be problematic. Click here for more details.
- {mypy-boto3-timestream-write-1.28.16 → mypy-boto3-timestream-write-1.29.0}/PKG-INFO +16 -96
- {mypy-boto3-timestream-write-1.28.16 → mypy-boto3-timestream-write-1.29.0}/README.md +13 -94
- mypy-boto3-timestream-write-1.28.16/mypy_boto3_timestream_write/__init__.pyi → mypy-boto3-timestream-write-1.29.0/mypy_boto3_timestream_write/__init__.py +2 -0
- {mypy-boto3-timestream-write-1.28.16 → mypy-boto3-timestream-write-1.29.0}/mypy_boto3_timestream_write/__main__.py +4 -3
- mypy-boto3-timestream-write-1.28.16/mypy_boto3_timestream_write/client.pyi → mypy-boto3-timestream-write-1.29.0/mypy_boto3_timestream_write/client.py +44 -14
- mypy-boto3-timestream-write-1.28.16/mypy_boto3_timestream_write/client.py → mypy-boto3-timestream-write-1.29.0/mypy_boto3_timestream_write/client.pyi +19 -17
- mypy-boto3-timestream-write-1.28.16/mypy_boto3_timestream_write/literals.pyi → mypy-boto3-timestream-write-1.29.0/mypy_boto3_timestream_write/literals.py +10 -2
- mypy-boto3-timestream-write-1.28.16/mypy_boto3_timestream_write/literals.py → mypy-boto3-timestream-write-1.29.0/mypy_boto3_timestream_write/literals.pyi +8 -4
- mypy-boto3-timestream-write-1.29.0/mypy_boto3_timestream_write/type_defs.py +621 -0
- mypy-boto3-timestream-write-1.29.0/mypy_boto3_timestream_write/type_defs.pyi +620 -0
- {mypy-boto3-timestream-write-1.28.16 → mypy-boto3-timestream-write-1.29.0}/mypy_boto3_timestream_write/version.py +2 -1
- {mypy-boto3-timestream-write-1.28.16 → mypy-boto3-timestream-write-1.29.0}/mypy_boto3_timestream_write.egg-info/PKG-INFO +16 -96
- mypy-boto3-timestream-write-1.29.0/mypy_boto3_timestream_write.egg-info/requires.txt +3 -0
- {mypy-boto3-timestream-write-1.28.16 → mypy-boto3-timestream-write-1.29.0}/setup.py +6 -4
- mypy-boto3-timestream-write-1.28.16/mypy_boto3_timestream_write/type_defs.py +0 -982
- mypy-boto3-timestream-write-1.28.16/mypy_boto3_timestream_write/type_defs.pyi +0 -945
- mypy-boto3-timestream-write-1.28.16/mypy_boto3_timestream_write.egg-info/requires.txt +0 -3
- {mypy-boto3-timestream-write-1.28.16 → mypy-boto3-timestream-write-1.29.0}/LICENSE +0 -0
- mypy-boto3-timestream-write-1.28.16/mypy_boto3_timestream_write/__init__.py → mypy-boto3-timestream-write-1.29.0/mypy_boto3_timestream_write/__init__.pyi +1 -1
- {mypy-boto3-timestream-write-1.28.16 → mypy-boto3-timestream-write-1.29.0}/mypy_boto3_timestream_write/py.typed +0 -0
- {mypy-boto3-timestream-write-1.28.16 → mypy-boto3-timestream-write-1.29.0}/mypy_boto3_timestream_write.egg-info/SOURCES.txt +0 -0
- {mypy-boto3-timestream-write-1.28.16 → mypy-boto3-timestream-write-1.29.0}/mypy_boto3_timestream_write.egg-info/dependency_links.txt +0 -0
- {mypy-boto3-timestream-write-1.28.16 → mypy-boto3-timestream-write-1.29.0}/mypy_boto3_timestream_write.egg-info/not-zip-safe +0 -0
- {mypy-boto3-timestream-write-1.28.16 → mypy-boto3-timestream-write-1.29.0}/mypy_boto3_timestream_write.egg-info/top_level.txt +0 -0
- {mypy-boto3-timestream-write-1.28.16 → mypy-boto3-timestream-write-1.29.0}/setup.cfg +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mypy-boto3-timestream-write
|
|
3
|
-
Version: 1.
|
|
4
|
-
Summary: Type annotations for boto3.TimestreamWrite 1.
|
|
3
|
+
Version: 1.29.0
|
|
4
|
+
Summary: Type annotations for boto3.TimestreamWrite 1.29.0 service generated with mypy-boto3-builder 7.20.3
|
|
5
5
|
Home-page: https://github.com/youtype/mypy_boto3_builder
|
|
6
6
|
Author: Vlad Emelianov
|
|
7
7
|
Author-email: vlad.emelianov.nz@gmail.com
|
|
@@ -23,6 +23,7 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
23
23
|
Classifier: Programming Language :: Python :: 3.10
|
|
24
24
|
Classifier: Programming Language :: Python :: 3.11
|
|
25
25
|
Classifier: Programming Language :: Python :: 3.12
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
26
27
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
27
28
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
28
29
|
Classifier: Typing :: Typed
|
|
@@ -42,7 +43,7 @@ License-File: LICENSE
|
|
|
42
43
|

|
|
43
44
|
|
|
44
45
|
Type annotations for
|
|
45
|
-
[boto3.TimestreamWrite 1.
|
|
46
|
+
[boto3.TimestreamWrite 1.29.0](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite)
|
|
46
47
|
service compatible with [VSCode](https://code.visualstudio.com/),
|
|
47
48
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
48
49
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
@@ -51,7 +52,7 @@ service compatible with [VSCode](https://code.visualstudio.com/),
|
|
|
51
52
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
52
53
|
|
|
53
54
|
Generated by
|
|
54
|
-
[mypy-boto3-builder 7.
|
|
55
|
+
[mypy-boto3-builder 7.20.3](https://github.com/youtype/mypy_boto3_builder).
|
|
55
56
|
|
|
56
57
|
More information can be found on
|
|
57
58
|
[boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
|
|
@@ -279,27 +280,14 @@ client: TimestreamWriteClient = Session().client("timestream-write")
|
|
|
279
280
|
`mypy_boto3_timestream_write.literals` module contains literals extracted from
|
|
280
281
|
shapes that can be used in user code for type checking.
|
|
281
282
|
|
|
283
|
+
Full list of `TimestreamWrite` Literals can be found in
|
|
284
|
+
[docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/literals/).
|
|
285
|
+
|
|
282
286
|
```python
|
|
283
|
-
from mypy_boto3_timestream_write.literals import
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
MeasureValueTypeType,
|
|
288
|
-
PartitionKeyEnforcementLevelType,
|
|
289
|
-
PartitionKeyTypeType,
|
|
290
|
-
S3EncryptionOptionType,
|
|
291
|
-
ScalarMeasureValueTypeType,
|
|
292
|
-
TableStatusType,
|
|
293
|
-
TimeUnitType,
|
|
294
|
-
TimestreamWriteServiceName,
|
|
295
|
-
ServiceName,
|
|
296
|
-
ResourceServiceName,
|
|
297
|
-
RegionName,
|
|
298
|
-
)
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
def check_value(value: BatchLoadDataFormatType) -> bool:
|
|
302
|
-
...
|
|
287
|
+
from mypy_boto3_timestream_write.literals import BatchLoadDataFormatType
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
def check_value(value: BatchLoadDataFormatType) -> bool: ...
|
|
303
291
|
```
|
|
304
292
|
|
|
305
293
|
<a id="type-definitions"></a>
|
|
@@ -309,79 +297,11 @@ def check_value(value: BatchLoadDataFormatType) -> bool:
|
|
|
309
297
|
`mypy_boto3_timestream_write.type_defs` module contains structures and shapes
|
|
310
298
|
assembled to typed dictionaries and unions for additional type checking.
|
|
311
299
|
|
|
300
|
+
Full list of `TimestreamWrite` TypeDefs can be found in
|
|
301
|
+
[docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/type_defs/).
|
|
302
|
+
|
|
312
303
|
```python
|
|
313
|
-
from mypy_boto3_timestream_write.type_defs import
|
|
314
|
-
BatchLoadProgressReportTypeDef,
|
|
315
|
-
BatchLoadTaskTypeDef,
|
|
316
|
-
ResponseMetadataTypeDef,
|
|
317
|
-
TagTypeDef,
|
|
318
|
-
DatabaseTypeDef,
|
|
319
|
-
RetentionPropertiesTypeDef,
|
|
320
|
-
CsvConfigurationTypeDef,
|
|
321
|
-
DataModelS3ConfigurationTypeDef,
|
|
322
|
-
DimensionMappingTypeDef,
|
|
323
|
-
DataSourceS3ConfigurationTypeDef,
|
|
324
|
-
DeleteDatabaseRequestRequestTypeDef,
|
|
325
|
-
DeleteTableRequestRequestTypeDef,
|
|
326
|
-
DescribeBatchLoadTaskRequestRequestTypeDef,
|
|
327
|
-
DescribeDatabaseRequestRequestTypeDef,
|
|
328
|
-
EndpointTypeDef,
|
|
329
|
-
DescribeTableRequestRequestTypeDef,
|
|
330
|
-
DimensionTypeDef,
|
|
331
|
-
ListBatchLoadTasksRequestRequestTypeDef,
|
|
332
|
-
ListDatabasesRequestRequestTypeDef,
|
|
333
|
-
ListTablesRequestRequestTypeDef,
|
|
334
|
-
ListTagsForResourceRequestRequestTypeDef,
|
|
335
|
-
S3ConfigurationTypeDef,
|
|
336
|
-
MeasureValueTypeDef,
|
|
337
|
-
MultiMeasureAttributeMappingTypeDef,
|
|
338
|
-
PartitionKeyTypeDef,
|
|
339
|
-
RecordsIngestedTypeDef,
|
|
340
|
-
ReportS3ConfigurationTypeDef,
|
|
341
|
-
ResumeBatchLoadTaskRequestRequestTypeDef,
|
|
342
|
-
UntagResourceRequestRequestTypeDef,
|
|
343
|
-
UpdateDatabaseRequestRequestTypeDef,
|
|
344
|
-
CreateBatchLoadTaskResponseTypeDef,
|
|
345
|
-
EmptyResponseMetadataTypeDef,
|
|
346
|
-
ListBatchLoadTasksResponseTypeDef,
|
|
347
|
-
CreateDatabaseRequestRequestTypeDef,
|
|
348
|
-
ListTagsForResourceResponseTypeDef,
|
|
349
|
-
TagResourceRequestRequestTypeDef,
|
|
350
|
-
CreateDatabaseResponseTypeDef,
|
|
351
|
-
DescribeDatabaseResponseTypeDef,
|
|
352
|
-
ListDatabasesResponseTypeDef,
|
|
353
|
-
UpdateDatabaseResponseTypeDef,
|
|
354
|
-
DataSourceConfigurationTypeDef,
|
|
355
|
-
DescribeEndpointsResponseTypeDef,
|
|
356
|
-
MagneticStoreRejectedDataLocationTypeDef,
|
|
357
|
-
RecordTypeDef,
|
|
358
|
-
MixedMeasureMappingOutputTypeDef,
|
|
359
|
-
MixedMeasureMappingTypeDef,
|
|
360
|
-
MultiMeasureMappingsOutputTypeDef,
|
|
361
|
-
MultiMeasureMappingsTypeDef,
|
|
362
|
-
SchemaOutputTypeDef,
|
|
363
|
-
SchemaTypeDef,
|
|
364
|
-
WriteRecordsResponseTypeDef,
|
|
365
|
-
ReportConfigurationTypeDef,
|
|
366
|
-
MagneticStoreWritePropertiesTypeDef,
|
|
367
|
-
WriteRecordsRequestRequestTypeDef,
|
|
368
|
-
DataModelOutputTypeDef,
|
|
369
|
-
DataModelTypeDef,
|
|
370
|
-
SchemaUnionTypeDef,
|
|
371
|
-
CreateTableRequestRequestTypeDef,
|
|
372
|
-
TableTypeDef,
|
|
373
|
-
UpdateTableRequestRequestTypeDef,
|
|
374
|
-
DataModelConfigurationOutputTypeDef,
|
|
375
|
-
DataModelConfigurationTypeDef,
|
|
376
|
-
CreateTableResponseTypeDef,
|
|
377
|
-
DescribeTableResponseTypeDef,
|
|
378
|
-
ListTablesResponseTypeDef,
|
|
379
|
-
UpdateTableResponseTypeDef,
|
|
380
|
-
BatchLoadTaskDescriptionTypeDef,
|
|
381
|
-
CreateBatchLoadTaskRequestRequestTypeDef,
|
|
382
|
-
DataModelConfigurationUnionTypeDef,
|
|
383
|
-
DescribeBatchLoadTaskResponseTypeDef,
|
|
384
|
-
)
|
|
304
|
+
from mypy_boto3_timestream_write.type_defs import BatchLoadProgressReportTypeDef
|
|
385
305
|
|
|
386
306
|
|
|
387
307
|
def get_value() -> BatchLoadProgressReportTypeDef:
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|

|
|
11
11
|
|
|
12
12
|
Type annotations for
|
|
13
|
-
[boto3.TimestreamWrite 1.
|
|
13
|
+
[boto3.TimestreamWrite 1.29.0](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite)
|
|
14
14
|
service compatible with [VSCode](https://code.visualstudio.com/),
|
|
15
15
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
16
16
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
@@ -19,7 +19,7 @@ service compatible with [VSCode](https://code.visualstudio.com/),
|
|
|
19
19
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
20
20
|
|
|
21
21
|
Generated by
|
|
22
|
-
[mypy-boto3-builder 7.
|
|
22
|
+
[mypy-boto3-builder 7.20.3](https://github.com/youtype/mypy_boto3_builder).
|
|
23
23
|
|
|
24
24
|
More information can be found on
|
|
25
25
|
[boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
|
|
@@ -247,27 +247,14 @@ client: TimestreamWriteClient = Session().client("timestream-write")
|
|
|
247
247
|
`mypy_boto3_timestream_write.literals` module contains literals extracted from
|
|
248
248
|
shapes that can be used in user code for type checking.
|
|
249
249
|
|
|
250
|
+
Full list of `TimestreamWrite` Literals can be found in
|
|
251
|
+
[docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/literals/).
|
|
252
|
+
|
|
250
253
|
```python
|
|
251
|
-
from mypy_boto3_timestream_write.literals import
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
MeasureValueTypeType,
|
|
256
|
-
PartitionKeyEnforcementLevelType,
|
|
257
|
-
PartitionKeyTypeType,
|
|
258
|
-
S3EncryptionOptionType,
|
|
259
|
-
ScalarMeasureValueTypeType,
|
|
260
|
-
TableStatusType,
|
|
261
|
-
TimeUnitType,
|
|
262
|
-
TimestreamWriteServiceName,
|
|
263
|
-
ServiceName,
|
|
264
|
-
ResourceServiceName,
|
|
265
|
-
RegionName,
|
|
266
|
-
)
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
def check_value(value: BatchLoadDataFormatType) -> bool:
|
|
270
|
-
...
|
|
254
|
+
from mypy_boto3_timestream_write.literals import BatchLoadDataFormatType
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
def check_value(value: BatchLoadDataFormatType) -> bool: ...
|
|
271
258
|
```
|
|
272
259
|
|
|
273
260
|
<a id="type-definitions"></a>
|
|
@@ -277,79 +264,11 @@ def check_value(value: BatchLoadDataFormatType) -> bool:
|
|
|
277
264
|
`mypy_boto3_timestream_write.type_defs` module contains structures and shapes
|
|
278
265
|
assembled to typed dictionaries and unions for additional type checking.
|
|
279
266
|
|
|
267
|
+
Full list of `TimestreamWrite` TypeDefs can be found in
|
|
268
|
+
[docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/type_defs/).
|
|
269
|
+
|
|
280
270
|
```python
|
|
281
|
-
from mypy_boto3_timestream_write.type_defs import
|
|
282
|
-
BatchLoadProgressReportTypeDef,
|
|
283
|
-
BatchLoadTaskTypeDef,
|
|
284
|
-
ResponseMetadataTypeDef,
|
|
285
|
-
TagTypeDef,
|
|
286
|
-
DatabaseTypeDef,
|
|
287
|
-
RetentionPropertiesTypeDef,
|
|
288
|
-
CsvConfigurationTypeDef,
|
|
289
|
-
DataModelS3ConfigurationTypeDef,
|
|
290
|
-
DimensionMappingTypeDef,
|
|
291
|
-
DataSourceS3ConfigurationTypeDef,
|
|
292
|
-
DeleteDatabaseRequestRequestTypeDef,
|
|
293
|
-
DeleteTableRequestRequestTypeDef,
|
|
294
|
-
DescribeBatchLoadTaskRequestRequestTypeDef,
|
|
295
|
-
DescribeDatabaseRequestRequestTypeDef,
|
|
296
|
-
EndpointTypeDef,
|
|
297
|
-
DescribeTableRequestRequestTypeDef,
|
|
298
|
-
DimensionTypeDef,
|
|
299
|
-
ListBatchLoadTasksRequestRequestTypeDef,
|
|
300
|
-
ListDatabasesRequestRequestTypeDef,
|
|
301
|
-
ListTablesRequestRequestTypeDef,
|
|
302
|
-
ListTagsForResourceRequestRequestTypeDef,
|
|
303
|
-
S3ConfigurationTypeDef,
|
|
304
|
-
MeasureValueTypeDef,
|
|
305
|
-
MultiMeasureAttributeMappingTypeDef,
|
|
306
|
-
PartitionKeyTypeDef,
|
|
307
|
-
RecordsIngestedTypeDef,
|
|
308
|
-
ReportS3ConfigurationTypeDef,
|
|
309
|
-
ResumeBatchLoadTaskRequestRequestTypeDef,
|
|
310
|
-
UntagResourceRequestRequestTypeDef,
|
|
311
|
-
UpdateDatabaseRequestRequestTypeDef,
|
|
312
|
-
CreateBatchLoadTaskResponseTypeDef,
|
|
313
|
-
EmptyResponseMetadataTypeDef,
|
|
314
|
-
ListBatchLoadTasksResponseTypeDef,
|
|
315
|
-
CreateDatabaseRequestRequestTypeDef,
|
|
316
|
-
ListTagsForResourceResponseTypeDef,
|
|
317
|
-
TagResourceRequestRequestTypeDef,
|
|
318
|
-
CreateDatabaseResponseTypeDef,
|
|
319
|
-
DescribeDatabaseResponseTypeDef,
|
|
320
|
-
ListDatabasesResponseTypeDef,
|
|
321
|
-
UpdateDatabaseResponseTypeDef,
|
|
322
|
-
DataSourceConfigurationTypeDef,
|
|
323
|
-
DescribeEndpointsResponseTypeDef,
|
|
324
|
-
MagneticStoreRejectedDataLocationTypeDef,
|
|
325
|
-
RecordTypeDef,
|
|
326
|
-
MixedMeasureMappingOutputTypeDef,
|
|
327
|
-
MixedMeasureMappingTypeDef,
|
|
328
|
-
MultiMeasureMappingsOutputTypeDef,
|
|
329
|
-
MultiMeasureMappingsTypeDef,
|
|
330
|
-
SchemaOutputTypeDef,
|
|
331
|
-
SchemaTypeDef,
|
|
332
|
-
WriteRecordsResponseTypeDef,
|
|
333
|
-
ReportConfigurationTypeDef,
|
|
334
|
-
MagneticStoreWritePropertiesTypeDef,
|
|
335
|
-
WriteRecordsRequestRequestTypeDef,
|
|
336
|
-
DataModelOutputTypeDef,
|
|
337
|
-
DataModelTypeDef,
|
|
338
|
-
SchemaUnionTypeDef,
|
|
339
|
-
CreateTableRequestRequestTypeDef,
|
|
340
|
-
TableTypeDef,
|
|
341
|
-
UpdateTableRequestRequestTypeDef,
|
|
342
|
-
DataModelConfigurationOutputTypeDef,
|
|
343
|
-
DataModelConfigurationTypeDef,
|
|
344
|
-
CreateTableResponseTypeDef,
|
|
345
|
-
DescribeTableResponseTypeDef,
|
|
346
|
-
ListTablesResponseTypeDef,
|
|
347
|
-
UpdateTableResponseTypeDef,
|
|
348
|
-
BatchLoadTaskDescriptionTypeDef,
|
|
349
|
-
CreateBatchLoadTaskRequestRequestTypeDef,
|
|
350
|
-
DataModelConfigurationUnionTypeDef,
|
|
351
|
-
DescribeBatchLoadTaskResponseTypeDef,
|
|
352
|
-
)
|
|
271
|
+
from mypy_boto3_timestream_write.type_defs import BatchLoadProgressReportTypeDef
|
|
353
272
|
|
|
354
273
|
|
|
355
274
|
def get_value() -> BatchLoadProgressReportTypeDef:
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Main CLI entrypoint.
|
|
3
3
|
"""
|
|
4
|
+
|
|
4
5
|
import sys
|
|
5
6
|
|
|
6
7
|
|
|
@@ -9,8 +10,8 @@ def print_info() -> None:
|
|
|
9
10
|
Print package info to stdout.
|
|
10
11
|
"""
|
|
11
12
|
print(
|
|
12
|
-
"Type annotations for boto3.TimestreamWrite 1.
|
|
13
|
-
" version: 7.
|
|
13
|
+
"Type annotations for boto3.TimestreamWrite 1.29.0\nVersion: 1.29.0\nBuilder"
|
|
14
|
+
" version: 7.20.3\nDocs: "
|
|
14
15
|
" https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write//\nBoto3 docs: "
|
|
15
16
|
" https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite\nOther"
|
|
16
17
|
" services: https://pypi.org/project/boto3-stubs/\nChangelog: "
|
|
@@ -22,7 +23,7 @@ def print_version() -> None:
|
|
|
22
23
|
"""
|
|
23
24
|
Print package version to stdout.
|
|
24
25
|
"""
|
|
25
|
-
print("1.
|
|
26
|
+
print("1.29.0")
|
|
26
27
|
|
|
27
28
|
|
|
28
29
|
def main() -> None:
|
|
@@ -13,6 +13,7 @@ Usage::
|
|
|
13
13
|
client: TimestreamWriteClient = session.client("timestream-write")
|
|
14
14
|
```
|
|
15
15
|
"""
|
|
16
|
+
|
|
16
17
|
from typing import Any, Dict, Mapping, Sequence, Type
|
|
17
18
|
|
|
18
19
|
from botocore.client import BaseClient, ClientMeta
|
|
@@ -22,7 +23,7 @@ from .type_defs import (
|
|
|
22
23
|
CreateBatchLoadTaskResponseTypeDef,
|
|
23
24
|
CreateDatabaseResponseTypeDef,
|
|
24
25
|
CreateTableResponseTypeDef,
|
|
25
|
-
|
|
26
|
+
DataModelConfigurationTypeDef,
|
|
26
27
|
DataSourceConfigurationTypeDef,
|
|
27
28
|
DescribeBatchLoadTaskResponseTypeDef,
|
|
28
29
|
DescribeDatabaseResponseTypeDef,
|
|
@@ -37,7 +38,7 @@ from .type_defs import (
|
|
|
37
38
|
RecordTypeDef,
|
|
38
39
|
ReportConfigurationTypeDef,
|
|
39
40
|
RetentionPropertiesTypeDef,
|
|
40
|
-
|
|
41
|
+
SchemaTypeDef,
|
|
41
42
|
TagTypeDef,
|
|
42
43
|
UpdateDatabaseResponseTypeDef,
|
|
43
44
|
UpdateTableResponseTypeDef,
|
|
@@ -46,13 +47,15 @@ from .type_defs import (
|
|
|
46
47
|
|
|
47
48
|
__all__ = ("TimestreamWriteClient",)
|
|
48
49
|
|
|
49
|
-
|
|
50
|
+
|
|
51
|
+
class BotocoreClientError(Exception):
|
|
50
52
|
MSG_TEMPLATE: str
|
|
51
53
|
|
|
52
54
|
def __init__(self, error_response: Mapping[str, Any], operation_name: str) -> None:
|
|
53
55
|
self.response: Dict[str, Any]
|
|
54
56
|
self.operation_name: str
|
|
55
57
|
|
|
58
|
+
|
|
56
59
|
class Exceptions:
|
|
57
60
|
AccessDeniedException: Type[BotocoreClientError]
|
|
58
61
|
ClientError: Type[BotocoreClientError]
|
|
@@ -65,6 +68,7 @@ class Exceptions:
|
|
|
65
68
|
ThrottlingException: Type[BotocoreClientError]
|
|
66
69
|
ValidationException: Type[BotocoreClientError]
|
|
67
70
|
|
|
71
|
+
|
|
68
72
|
class TimestreamWriteClient(BaseClient):
|
|
69
73
|
"""
|
|
70
74
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client)
|
|
@@ -81,6 +85,7 @@ class TimestreamWriteClient(BaseClient):
|
|
|
81
85
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.exceptions)
|
|
82
86
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#exceptions)
|
|
83
87
|
"""
|
|
88
|
+
|
|
84
89
|
def can_paginate(self, operation_name: str) -> bool:
|
|
85
90
|
"""
|
|
86
91
|
Check if an operation can be paginated.
|
|
@@ -88,6 +93,7 @@ class TimestreamWriteClient(BaseClient):
|
|
|
88
93
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.can_paginate)
|
|
89
94
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#can_paginate)
|
|
90
95
|
"""
|
|
96
|
+
|
|
91
97
|
def close(self) -> None:
|
|
92
98
|
"""
|
|
93
99
|
Closes underlying endpoint connections.
|
|
@@ -95,6 +101,7 @@ class TimestreamWriteClient(BaseClient):
|
|
|
95
101
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.close)
|
|
96
102
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#close)
|
|
97
103
|
"""
|
|
104
|
+
|
|
98
105
|
def create_batch_load_task(
|
|
99
106
|
self,
|
|
100
107
|
*,
|
|
@@ -103,7 +110,7 @@ class TimestreamWriteClient(BaseClient):
|
|
|
103
110
|
TargetDatabaseName: str,
|
|
104
111
|
TargetTableName: str,
|
|
105
112
|
ClientToken: str = ...,
|
|
106
|
-
DataModelConfiguration:
|
|
113
|
+
DataModelConfiguration: DataModelConfigurationTypeDef = ...,
|
|
107
114
|
RecordVersion: int = ...
|
|
108
115
|
) -> CreateBatchLoadTaskResponseTypeDef:
|
|
109
116
|
"""
|
|
@@ -112,6 +119,7 @@ class TimestreamWriteClient(BaseClient):
|
|
|
112
119
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.create_batch_load_task)
|
|
113
120
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#create_batch_load_task)
|
|
114
121
|
"""
|
|
122
|
+
|
|
115
123
|
def create_database(
|
|
116
124
|
self, *, DatabaseName: str, KmsKeyId: str = ..., Tags: Sequence[TagTypeDef] = ...
|
|
117
125
|
) -> CreateDatabaseResponseTypeDef:
|
|
@@ -121,6 +129,7 @@ class TimestreamWriteClient(BaseClient):
|
|
|
121
129
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.create_database)
|
|
122
130
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#create_database)
|
|
123
131
|
"""
|
|
132
|
+
|
|
124
133
|
def create_table(
|
|
125
134
|
self,
|
|
126
135
|
*,
|
|
@@ -129,7 +138,7 @@ class TimestreamWriteClient(BaseClient):
|
|
|
129
138
|
RetentionProperties: RetentionPropertiesTypeDef = ...,
|
|
130
139
|
Tags: Sequence[TagTypeDef] = ...,
|
|
131
140
|
MagneticStoreWriteProperties: MagneticStoreWritePropertiesTypeDef = ...,
|
|
132
|
-
Schema:
|
|
141
|
+
Schema: SchemaTypeDef = ...
|
|
133
142
|
) -> CreateTableResponseTypeDef:
|
|
134
143
|
"""
|
|
135
144
|
Adds a new table to an existing database in your account.
|
|
@@ -137,6 +146,7 @@ class TimestreamWriteClient(BaseClient):
|
|
|
137
146
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.create_table)
|
|
138
147
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#create_table)
|
|
139
148
|
"""
|
|
149
|
+
|
|
140
150
|
def delete_database(self, *, DatabaseName: str) -> EmptyResponseMetadataTypeDef:
|
|
141
151
|
"""
|
|
142
152
|
Deletes a given Timestream database.
|
|
@@ -144,6 +154,7 @@ class TimestreamWriteClient(BaseClient):
|
|
|
144
154
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.delete_database)
|
|
145
155
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#delete_database)
|
|
146
156
|
"""
|
|
157
|
+
|
|
147
158
|
def delete_table(self, *, DatabaseName: str, TableName: str) -> EmptyResponseMetadataTypeDef:
|
|
148
159
|
"""
|
|
149
160
|
Deletes a given Timestream table.
|
|
@@ -151,14 +162,17 @@ class TimestreamWriteClient(BaseClient):
|
|
|
151
162
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.delete_table)
|
|
152
163
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#delete_table)
|
|
153
164
|
"""
|
|
165
|
+
|
|
154
166
|
def describe_batch_load_task(self, *, TaskId: str) -> DescribeBatchLoadTaskResponseTypeDef:
|
|
155
167
|
"""
|
|
156
168
|
Returns information about the batch load task, including configurations,
|
|
157
|
-
mappings, progress, and other
|
|
169
|
+
mappings, progress, and other
|
|
170
|
+
details.
|
|
158
171
|
|
|
159
172
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.describe_batch_load_task)
|
|
160
173
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#describe_batch_load_task)
|
|
161
174
|
"""
|
|
175
|
+
|
|
162
176
|
def describe_database(self, *, DatabaseName: str) -> DescribeDatabaseResponseTypeDef:
|
|
163
177
|
"""
|
|
164
178
|
Returns information about the database, including the database name, time that
|
|
@@ -168,6 +182,7 @@ class TimestreamWriteClient(BaseClient):
|
|
|
168
182
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.describe_database)
|
|
169
183
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#describe_database)
|
|
170
184
|
"""
|
|
185
|
+
|
|
171
186
|
def describe_endpoints(self) -> DescribeEndpointsResponseTypeDef:
|
|
172
187
|
"""
|
|
173
188
|
Returns a list of available endpoints to make Timestream API calls against.
|
|
@@ -175,14 +190,17 @@ class TimestreamWriteClient(BaseClient):
|
|
|
175
190
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.describe_endpoints)
|
|
176
191
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#describe_endpoints)
|
|
177
192
|
"""
|
|
193
|
+
|
|
178
194
|
def describe_table(self, *, DatabaseName: str, TableName: str) -> DescribeTableResponseTypeDef:
|
|
179
195
|
"""
|
|
180
196
|
Returns information about the table, including the table name, database name,
|
|
181
|
-
retention duration of the memory store and the magnetic
|
|
197
|
+
retention duration of the memory store and the magnetic
|
|
198
|
+
store.
|
|
182
199
|
|
|
183
200
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.describe_table)
|
|
184
201
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#describe_table)
|
|
185
202
|
"""
|
|
203
|
+
|
|
186
204
|
def generate_presigned_url(
|
|
187
205
|
self,
|
|
188
206
|
ClientMethod: str,
|
|
@@ -196,16 +214,19 @@ class TimestreamWriteClient(BaseClient):
|
|
|
196
214
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.generate_presigned_url)
|
|
197
215
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#generate_presigned_url)
|
|
198
216
|
"""
|
|
217
|
+
|
|
199
218
|
def list_batch_load_tasks(
|
|
200
219
|
self, *, NextToken: str = ..., MaxResults: int = ..., TaskStatus: BatchLoadStatusType = ...
|
|
201
220
|
) -> ListBatchLoadTasksResponseTypeDef:
|
|
202
221
|
"""
|
|
203
222
|
Provides a list of batch load tasks, along with the name, status, when the task
|
|
204
|
-
is resumable until, and other
|
|
223
|
+
is resumable until, and other
|
|
224
|
+
details.
|
|
205
225
|
|
|
206
226
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.list_batch_load_tasks)
|
|
207
227
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#list_batch_load_tasks)
|
|
208
228
|
"""
|
|
229
|
+
|
|
209
230
|
def list_databases(
|
|
210
231
|
self, *, NextToken: str = ..., MaxResults: int = ...
|
|
211
232
|
) -> ListDatabasesResponseTypeDef:
|
|
@@ -215,16 +236,19 @@ class TimestreamWriteClient(BaseClient):
|
|
|
215
236
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.list_databases)
|
|
216
237
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#list_databases)
|
|
217
238
|
"""
|
|
239
|
+
|
|
218
240
|
def list_tables(
|
|
219
241
|
self, *, DatabaseName: str = ..., NextToken: str = ..., MaxResults: int = ...
|
|
220
242
|
) -> ListTablesResponseTypeDef:
|
|
221
243
|
"""
|
|
222
|
-
Provides a list of tables, along with the name, status, and retention
|
|
223
|
-
of each
|
|
244
|
+
Provides a list of tables, along with the name, status, and retention
|
|
245
|
+
properties of each
|
|
246
|
+
table.
|
|
224
247
|
|
|
225
248
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.list_tables)
|
|
226
249
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#list_tables)
|
|
227
250
|
"""
|
|
251
|
+
|
|
228
252
|
def list_tags_for_resource(self, *, ResourceARN: str) -> ListTagsForResourceResponseTypeDef:
|
|
229
253
|
"""
|
|
230
254
|
Lists all tags on a Timestream resource.
|
|
@@ -232,15 +256,16 @@ class TimestreamWriteClient(BaseClient):
|
|
|
232
256
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.list_tags_for_resource)
|
|
233
257
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#list_tags_for_resource)
|
|
234
258
|
"""
|
|
259
|
+
|
|
235
260
|
def resume_batch_load_task(self, *, TaskId: str) -> Dict[str, Any]:
|
|
236
261
|
"""
|
|
237
262
|
See also: [AWS API
|
|
238
|
-
Documentation](https://docs.aws.amazon.com/goto/WebAPI/timestream-
|
|
239
|
-
write-2018-11-01/ResumeBatchLoadTask).
|
|
263
|
+
Documentation](https://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/ResumeBatchLoadTask).
|
|
240
264
|
|
|
241
265
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.resume_batch_load_task)
|
|
242
266
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#resume_batch_load_task)
|
|
243
267
|
"""
|
|
268
|
+
|
|
244
269
|
def tag_resource(self, *, ResourceARN: str, Tags: Sequence[TagTypeDef]) -> Dict[str, Any]:
|
|
245
270
|
"""
|
|
246
271
|
Associates a set of tags with a Timestream resource.
|
|
@@ -248,6 +273,7 @@ class TimestreamWriteClient(BaseClient):
|
|
|
248
273
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.tag_resource)
|
|
249
274
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#tag_resource)
|
|
250
275
|
"""
|
|
276
|
+
|
|
251
277
|
def untag_resource(self, *, ResourceARN: str, TagKeys: Sequence[str]) -> Dict[str, Any]:
|
|
252
278
|
"""
|
|
253
279
|
Removes the association of tags from a Timestream resource.
|
|
@@ -255,6 +281,7 @@ class TimestreamWriteClient(BaseClient):
|
|
|
255
281
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.untag_resource)
|
|
256
282
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#untag_resource)
|
|
257
283
|
"""
|
|
284
|
+
|
|
258
285
|
def update_database(self, *, DatabaseName: str, KmsKeyId: str) -> UpdateDatabaseResponseTypeDef:
|
|
259
286
|
"""
|
|
260
287
|
Modifies the KMS key for an existing database.
|
|
@@ -262,6 +289,7 @@ class TimestreamWriteClient(BaseClient):
|
|
|
262
289
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.update_database)
|
|
263
290
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#update_database)
|
|
264
291
|
"""
|
|
292
|
+
|
|
265
293
|
def update_table(
|
|
266
294
|
self,
|
|
267
295
|
*,
|
|
@@ -269,15 +297,17 @@ class TimestreamWriteClient(BaseClient):
|
|
|
269
297
|
TableName: str,
|
|
270
298
|
RetentionProperties: RetentionPropertiesTypeDef = ...,
|
|
271
299
|
MagneticStoreWriteProperties: MagneticStoreWritePropertiesTypeDef = ...,
|
|
272
|
-
Schema:
|
|
300
|
+
Schema: SchemaTypeDef = ...
|
|
273
301
|
) -> UpdateTableResponseTypeDef:
|
|
274
302
|
"""
|
|
275
303
|
Modifies the retention duration of the memory store and magnetic store for your
|
|
276
|
-
Timestream
|
|
304
|
+
Timestream
|
|
305
|
+
table.
|
|
277
306
|
|
|
278
307
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.update_table)
|
|
279
308
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#update_table)
|
|
280
309
|
"""
|
|
310
|
+
|
|
281
311
|
def write_records(
|
|
282
312
|
self,
|
|
283
313
|
*,
|