mypy-boto3-timestream-write 1.34.0__py3-none-any.whl → 1.35.93__py3-none-any.whl
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/__init__.py +2 -0
- mypy_boto3_timestream_write/__init__.pyi +2 -0
- mypy_boto3_timestream_write/__main__.py +13 -9
- mypy_boto3_timestream_write/client.py +111 -119
- mypy_boto3_timestream_write/client.pyi +111 -119
- mypy_boto3_timestream_write/literals.py +46 -12
- mypy_boto3_timestream_write/literals.pyi +46 -12
- mypy_boto3_timestream_write/type_defs.py +479 -544
- mypy_boto3_timestream_write/type_defs.pyi +408 -544
- mypy_boto3_timestream_write/version.py +3 -1
- {mypy_boto3_timestream_write-1.34.0.dist-info → mypy_boto3_timestream_write-1.35.93.dist-info}/LICENSE +1 -1
- {mypy_boto3_timestream_write-1.34.0.dist-info → mypy_boto3_timestream_write-1.35.93.dist-info}/METADATA +82 -28
- mypy_boto3_timestream_write-1.35.93.dist-info/RECORD +16 -0
- {mypy_boto3_timestream_write-1.34.0.dist-info → mypy_boto3_timestream_write-1.35.93.dist-info}/WHEEL +1 -1
- mypy_boto3_timestream_write-1.34.0.dist-info/RECORD +0 -16
- {mypy_boto3_timestream_write-1.34.0.dist-info → mypy_boto3_timestream_write-1.35.93.dist-info}/top_level.txt +0 -0
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Main CLI entrypoint.
|
|
3
|
+
|
|
4
|
+
Copyright 2025 Vlad Emelianov
|
|
3
5
|
"""
|
|
4
6
|
|
|
5
7
|
import sys
|
|
@@ -9,13 +11,14 @@ def print_info() -> None:
|
|
|
9
11
|
"""
|
|
10
12
|
Print package info to stdout.
|
|
11
13
|
"""
|
|
12
|
-
|
|
13
|
-
"Type annotations for boto3
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
" https://
|
|
14
|
+
sys.stdout.write(
|
|
15
|
+
"Type annotations for boto3 TimestreamWrite 1.35.93\n"
|
|
16
|
+
"Version: 1.35.93\n"
|
|
17
|
+
"Builder version: 8.8.0\n"
|
|
18
|
+
"Docs: https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write//\n"
|
|
19
|
+
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#timestreamwrite\n"
|
|
20
|
+
"Other services: https://pypi.org/project/boto3-stubs/\n"
|
|
21
|
+
"Changelog: https://github.com/youtype/mypy_boto3_builder/releases\n"
|
|
19
22
|
)
|
|
20
23
|
|
|
21
24
|
|
|
@@ -23,7 +26,7 @@ def print_version() -> None:
|
|
|
23
26
|
"""
|
|
24
27
|
Print package version to stdout.
|
|
25
28
|
"""
|
|
26
|
-
|
|
29
|
+
sys.stdout.write("1.35.93\n")
|
|
27
30
|
|
|
28
31
|
|
|
29
32
|
def main() -> None:
|
|
@@ -31,7 +34,8 @@ def main() -> None:
|
|
|
31
34
|
Main CLI entrypoint.
|
|
32
35
|
"""
|
|
33
36
|
if "--version" in sys.argv:
|
|
34
|
-
|
|
37
|
+
print_version()
|
|
38
|
+
return
|
|
35
39
|
print_info()
|
|
36
40
|
|
|
37
41
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
|
-
Type annotations for timestream-write service
|
|
2
|
+
Type annotations for timestream-write service Client.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -12,51 +12,71 @@ Usage::
|
|
|
12
12
|
session = Session()
|
|
13
13
|
client: TimestreamWriteClient = session.client("timestream-write")
|
|
14
14
|
```
|
|
15
|
+
|
|
16
|
+
Copyright 2025 Vlad Emelianov
|
|
15
17
|
"""
|
|
16
18
|
|
|
17
|
-
from
|
|
19
|
+
from __future__ import annotations
|
|
20
|
+
|
|
21
|
+
import sys
|
|
22
|
+
from typing import Any
|
|
18
23
|
|
|
19
24
|
from botocore.client import BaseClient, ClientMeta
|
|
25
|
+
from botocore.errorfactory import BaseClientExceptions
|
|
26
|
+
from botocore.exceptions import ClientError as BotocoreClientError
|
|
20
27
|
|
|
21
|
-
from .literals import BatchLoadStatusType
|
|
22
28
|
from .type_defs import (
|
|
29
|
+
CreateBatchLoadTaskRequestRequestTypeDef,
|
|
23
30
|
CreateBatchLoadTaskResponseTypeDef,
|
|
31
|
+
CreateDatabaseRequestRequestTypeDef,
|
|
24
32
|
CreateDatabaseResponseTypeDef,
|
|
33
|
+
CreateTableRequestRequestTypeDef,
|
|
25
34
|
CreateTableResponseTypeDef,
|
|
26
|
-
|
|
27
|
-
|
|
35
|
+
DeleteDatabaseRequestRequestTypeDef,
|
|
36
|
+
DeleteTableRequestRequestTypeDef,
|
|
37
|
+
DescribeBatchLoadTaskRequestRequestTypeDef,
|
|
28
38
|
DescribeBatchLoadTaskResponseTypeDef,
|
|
39
|
+
DescribeDatabaseRequestRequestTypeDef,
|
|
29
40
|
DescribeDatabaseResponseTypeDef,
|
|
30
41
|
DescribeEndpointsResponseTypeDef,
|
|
42
|
+
DescribeTableRequestRequestTypeDef,
|
|
31
43
|
DescribeTableResponseTypeDef,
|
|
32
44
|
EmptyResponseMetadataTypeDef,
|
|
45
|
+
ListBatchLoadTasksRequestRequestTypeDef,
|
|
33
46
|
ListBatchLoadTasksResponseTypeDef,
|
|
47
|
+
ListDatabasesRequestRequestTypeDef,
|
|
34
48
|
ListDatabasesResponseTypeDef,
|
|
49
|
+
ListTablesRequestRequestTypeDef,
|
|
35
50
|
ListTablesResponseTypeDef,
|
|
51
|
+
ListTagsForResourceRequestRequestTypeDef,
|
|
36
52
|
ListTagsForResourceResponseTypeDef,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
SchemaTypeDef,
|
|
42
|
-
TagTypeDef,
|
|
53
|
+
ResumeBatchLoadTaskRequestRequestTypeDef,
|
|
54
|
+
TagResourceRequestRequestTypeDef,
|
|
55
|
+
UntagResourceRequestRequestTypeDef,
|
|
56
|
+
UpdateDatabaseRequestRequestTypeDef,
|
|
43
57
|
UpdateDatabaseResponseTypeDef,
|
|
58
|
+
UpdateTableRequestRequestTypeDef,
|
|
44
59
|
UpdateTableResponseTypeDef,
|
|
60
|
+
WriteRecordsRequestRequestTypeDef,
|
|
45
61
|
WriteRecordsResponseTypeDef,
|
|
46
62
|
)
|
|
47
63
|
|
|
48
|
-
|
|
49
|
-
|
|
64
|
+
if sys.version_info >= (3, 9):
|
|
65
|
+
from builtins import dict as Dict
|
|
66
|
+
from builtins import type as Type
|
|
67
|
+
from collections.abc import Mapping
|
|
68
|
+
else:
|
|
69
|
+
from typing import Dict, Mapping, Type
|
|
70
|
+
if sys.version_info >= (3, 12):
|
|
71
|
+
from typing import Unpack
|
|
72
|
+
else:
|
|
73
|
+
from typing_extensions import Unpack
|
|
50
74
|
|
|
51
|
-
class BotocoreClientError(Exception):
|
|
52
|
-
MSG_TEMPLATE: str
|
|
53
75
|
|
|
54
|
-
|
|
55
|
-
self.response: Dict[str, Any]
|
|
56
|
-
self.operation_name: str
|
|
76
|
+
__all__ = ("TimestreamWriteClient",)
|
|
57
77
|
|
|
58
78
|
|
|
59
|
-
class Exceptions:
|
|
79
|
+
class Exceptions(BaseClientExceptions):
|
|
60
80
|
AccessDeniedException: Type[BotocoreClientError]
|
|
61
81
|
ClientError: Type[BotocoreClientError]
|
|
62
82
|
ConflictException: Type[BotocoreClientError]
|
|
@@ -82,104 +102,98 @@ class TimestreamWriteClient(BaseClient):
|
|
|
82
102
|
"""
|
|
83
103
|
TimestreamWriteClient exceptions.
|
|
84
104
|
|
|
85
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client
|
|
105
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client)
|
|
86
106
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#exceptions)
|
|
87
107
|
"""
|
|
88
108
|
|
|
89
109
|
def can_paginate(self, operation_name: str) -> bool:
|
|
90
110
|
"""
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.can_paginate)
|
|
111
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/can_paginate.html)
|
|
94
112
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#can_paginate)
|
|
95
113
|
"""
|
|
96
114
|
|
|
97
|
-
def
|
|
115
|
+
def generate_presigned_url(
|
|
116
|
+
self,
|
|
117
|
+
ClientMethod: str,
|
|
118
|
+
Params: Mapping[str, Any] = ...,
|
|
119
|
+
ExpiresIn: int = 3600,
|
|
120
|
+
HttpMethod: str = ...,
|
|
121
|
+
) -> str:
|
|
98
122
|
"""
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.close)
|
|
102
|
-
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#close)
|
|
123
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/generate_presigned_url.html)
|
|
124
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#generate_presigned_url)
|
|
103
125
|
"""
|
|
104
126
|
|
|
105
127
|
def create_batch_load_task(
|
|
106
|
-
self,
|
|
107
|
-
*,
|
|
108
|
-
DataSourceConfiguration: DataSourceConfigurationTypeDef,
|
|
109
|
-
ReportConfiguration: ReportConfigurationTypeDef,
|
|
110
|
-
TargetDatabaseName: str,
|
|
111
|
-
TargetTableName: str,
|
|
112
|
-
ClientToken: str = ...,
|
|
113
|
-
DataModelConfiguration: DataModelConfigurationTypeDef = ...,
|
|
114
|
-
RecordVersion: int = ...
|
|
128
|
+
self, **kwargs: Unpack[CreateBatchLoadTaskRequestRequestTypeDef]
|
|
115
129
|
) -> CreateBatchLoadTaskResponseTypeDef:
|
|
116
130
|
"""
|
|
117
131
|
Creates a new Timestream batch load task.
|
|
118
132
|
|
|
119
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html
|
|
133
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/create_batch_load_task.html)
|
|
120
134
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#create_batch_load_task)
|
|
121
135
|
"""
|
|
122
136
|
|
|
123
137
|
def create_database(
|
|
124
|
-
self,
|
|
138
|
+
self, **kwargs: Unpack[CreateDatabaseRequestRequestTypeDef]
|
|
125
139
|
) -> CreateDatabaseResponseTypeDef:
|
|
126
140
|
"""
|
|
127
141
|
Creates a new Timestream database.
|
|
128
142
|
|
|
129
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html
|
|
143
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/create_database.html)
|
|
130
144
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#create_database)
|
|
131
145
|
"""
|
|
132
146
|
|
|
133
147
|
def create_table(
|
|
134
|
-
self,
|
|
135
|
-
*,
|
|
136
|
-
DatabaseName: str,
|
|
137
|
-
TableName: str,
|
|
138
|
-
RetentionProperties: RetentionPropertiesTypeDef = ...,
|
|
139
|
-
Tags: Sequence[TagTypeDef] = ...,
|
|
140
|
-
MagneticStoreWriteProperties: MagneticStoreWritePropertiesTypeDef = ...,
|
|
141
|
-
Schema: SchemaTypeDef = ...
|
|
148
|
+
self, **kwargs: Unpack[CreateTableRequestRequestTypeDef]
|
|
142
149
|
) -> CreateTableResponseTypeDef:
|
|
143
150
|
"""
|
|
144
151
|
Adds a new table to an existing database in your account.
|
|
145
152
|
|
|
146
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html
|
|
153
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/create_table.html)
|
|
147
154
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#create_table)
|
|
148
155
|
"""
|
|
149
156
|
|
|
150
|
-
def delete_database(
|
|
157
|
+
def delete_database(
|
|
158
|
+
self, **kwargs: Unpack[DeleteDatabaseRequestRequestTypeDef]
|
|
159
|
+
) -> EmptyResponseMetadataTypeDef:
|
|
151
160
|
"""
|
|
152
161
|
Deletes a given Timestream database.
|
|
153
162
|
|
|
154
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html
|
|
163
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/delete_database.html)
|
|
155
164
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#delete_database)
|
|
156
165
|
"""
|
|
157
166
|
|
|
158
|
-
def delete_table(
|
|
167
|
+
def delete_table(
|
|
168
|
+
self, **kwargs: Unpack[DeleteTableRequestRequestTypeDef]
|
|
169
|
+
) -> EmptyResponseMetadataTypeDef:
|
|
159
170
|
"""
|
|
160
171
|
Deletes a given Timestream table.
|
|
161
172
|
|
|
162
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html
|
|
173
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/delete_table.html)
|
|
163
174
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#delete_table)
|
|
164
175
|
"""
|
|
165
176
|
|
|
166
|
-
def describe_batch_load_task(
|
|
177
|
+
def describe_batch_load_task(
|
|
178
|
+
self, **kwargs: Unpack[DescribeBatchLoadTaskRequestRequestTypeDef]
|
|
179
|
+
) -> DescribeBatchLoadTaskResponseTypeDef:
|
|
167
180
|
"""
|
|
168
181
|
Returns information about the batch load task, including configurations,
|
|
169
|
-
mappings, progress, and other
|
|
170
|
-
details.
|
|
182
|
+
mappings, progress, and other details.
|
|
171
183
|
|
|
172
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html
|
|
184
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/describe_batch_load_task.html)
|
|
173
185
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#describe_batch_load_task)
|
|
174
186
|
"""
|
|
175
187
|
|
|
176
|
-
def describe_database(
|
|
188
|
+
def describe_database(
|
|
189
|
+
self, **kwargs: Unpack[DescribeDatabaseRequestRequestTypeDef]
|
|
190
|
+
) -> DescribeDatabaseResponseTypeDef:
|
|
177
191
|
"""
|
|
178
192
|
Returns information about the database, including the database name, time that
|
|
179
193
|
the database was created, and the total number of tables found within the
|
|
180
194
|
database.
|
|
181
195
|
|
|
182
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html
|
|
196
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/describe_database.html)
|
|
183
197
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#describe_database)
|
|
184
198
|
"""
|
|
185
199
|
|
|
@@ -187,138 +201,116 @@ class TimestreamWriteClient(BaseClient):
|
|
|
187
201
|
"""
|
|
188
202
|
Returns a list of available endpoints to make Timestream API calls against.
|
|
189
203
|
|
|
190
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html
|
|
204
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/describe_endpoints.html)
|
|
191
205
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#describe_endpoints)
|
|
192
206
|
"""
|
|
193
207
|
|
|
194
|
-
def describe_table(
|
|
208
|
+
def describe_table(
|
|
209
|
+
self, **kwargs: Unpack[DescribeTableRequestRequestTypeDef]
|
|
210
|
+
) -> DescribeTableResponseTypeDef:
|
|
195
211
|
"""
|
|
196
212
|
Returns information about the table, including the table name, database name,
|
|
197
|
-
retention duration of the memory store and the magnetic
|
|
198
|
-
store.
|
|
213
|
+
retention duration of the memory store and the magnetic store.
|
|
199
214
|
|
|
200
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html
|
|
215
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/describe_table.html)
|
|
201
216
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#describe_table)
|
|
202
217
|
"""
|
|
203
218
|
|
|
204
|
-
def generate_presigned_url(
|
|
205
|
-
self,
|
|
206
|
-
ClientMethod: str,
|
|
207
|
-
Params: Mapping[str, Any] = ...,
|
|
208
|
-
ExpiresIn: int = 3600,
|
|
209
|
-
HttpMethod: str = ...,
|
|
210
|
-
) -> str:
|
|
211
|
-
"""
|
|
212
|
-
Generate a presigned url given a client, its method, and arguments.
|
|
213
|
-
|
|
214
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.generate_presigned_url)
|
|
215
|
-
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#generate_presigned_url)
|
|
216
|
-
"""
|
|
217
|
-
|
|
218
219
|
def list_batch_load_tasks(
|
|
219
|
-
self,
|
|
220
|
+
self, **kwargs: Unpack[ListBatchLoadTasksRequestRequestTypeDef]
|
|
220
221
|
) -> ListBatchLoadTasksResponseTypeDef:
|
|
221
222
|
"""
|
|
222
223
|
Provides a list of batch load tasks, along with the name, status, when the task
|
|
223
|
-
is resumable until, and other
|
|
224
|
-
details.
|
|
224
|
+
is resumable until, and other details.
|
|
225
225
|
|
|
226
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html
|
|
226
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/list_batch_load_tasks.html)
|
|
227
227
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#list_batch_load_tasks)
|
|
228
228
|
"""
|
|
229
229
|
|
|
230
230
|
def list_databases(
|
|
231
|
-
self,
|
|
231
|
+
self, **kwargs: Unpack[ListDatabasesRequestRequestTypeDef]
|
|
232
232
|
) -> ListDatabasesResponseTypeDef:
|
|
233
233
|
"""
|
|
234
234
|
Returns a list of your Timestream databases.
|
|
235
235
|
|
|
236
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html
|
|
236
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/list_databases.html)
|
|
237
237
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#list_databases)
|
|
238
238
|
"""
|
|
239
239
|
|
|
240
240
|
def list_tables(
|
|
241
|
-
self,
|
|
241
|
+
self, **kwargs: Unpack[ListTablesRequestRequestTypeDef]
|
|
242
242
|
) -> ListTablesResponseTypeDef:
|
|
243
243
|
"""
|
|
244
244
|
Provides a list of tables, along with the name, status, and retention
|
|
245
|
-
properties of each
|
|
246
|
-
table.
|
|
245
|
+
properties of each table.
|
|
247
246
|
|
|
248
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html
|
|
247
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/list_tables.html)
|
|
249
248
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#list_tables)
|
|
250
249
|
"""
|
|
251
250
|
|
|
252
|
-
def list_tags_for_resource(
|
|
251
|
+
def list_tags_for_resource(
|
|
252
|
+
self, **kwargs: Unpack[ListTagsForResourceRequestRequestTypeDef]
|
|
253
|
+
) -> ListTagsForResourceResponseTypeDef:
|
|
253
254
|
"""
|
|
254
255
|
Lists all tags on a Timestream resource.
|
|
255
256
|
|
|
256
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html
|
|
257
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/list_tags_for_resource.html)
|
|
257
258
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#list_tags_for_resource)
|
|
258
259
|
"""
|
|
259
260
|
|
|
260
|
-
def resume_batch_load_task(
|
|
261
|
+
def resume_batch_load_task(
|
|
262
|
+
self, **kwargs: Unpack[ResumeBatchLoadTaskRequestRequestTypeDef]
|
|
263
|
+
) -> Dict[str, Any]:
|
|
261
264
|
"""
|
|
262
|
-
|
|
263
|
-
Documentation](https://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/ResumeBatchLoadTask).
|
|
264
|
-
|
|
265
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.resume_batch_load_task)
|
|
265
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/resume_batch_load_task.html)
|
|
266
266
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#resume_batch_load_task)
|
|
267
267
|
"""
|
|
268
268
|
|
|
269
|
-
def tag_resource(self,
|
|
269
|
+
def tag_resource(self, **kwargs: Unpack[TagResourceRequestRequestTypeDef]) -> Dict[str, Any]:
|
|
270
270
|
"""
|
|
271
271
|
Associates a set of tags with a Timestream resource.
|
|
272
272
|
|
|
273
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html
|
|
273
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/tag_resource.html)
|
|
274
274
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#tag_resource)
|
|
275
275
|
"""
|
|
276
276
|
|
|
277
|
-
def untag_resource(
|
|
277
|
+
def untag_resource(
|
|
278
|
+
self, **kwargs: Unpack[UntagResourceRequestRequestTypeDef]
|
|
279
|
+
) -> Dict[str, Any]:
|
|
278
280
|
"""
|
|
279
281
|
Removes the association of tags from a Timestream resource.
|
|
280
282
|
|
|
281
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html
|
|
283
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/untag_resource.html)
|
|
282
284
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#untag_resource)
|
|
283
285
|
"""
|
|
284
286
|
|
|
285
|
-
def update_database(
|
|
287
|
+
def update_database(
|
|
288
|
+
self, **kwargs: Unpack[UpdateDatabaseRequestRequestTypeDef]
|
|
289
|
+
) -> UpdateDatabaseResponseTypeDef:
|
|
286
290
|
"""
|
|
287
291
|
Modifies the KMS key for an existing database.
|
|
288
292
|
|
|
289
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html
|
|
293
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/update_database.html)
|
|
290
294
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#update_database)
|
|
291
295
|
"""
|
|
292
296
|
|
|
293
297
|
def update_table(
|
|
294
|
-
self,
|
|
295
|
-
*,
|
|
296
|
-
DatabaseName: str,
|
|
297
|
-
TableName: str,
|
|
298
|
-
RetentionProperties: RetentionPropertiesTypeDef = ...,
|
|
299
|
-
MagneticStoreWriteProperties: MagneticStoreWritePropertiesTypeDef = ...,
|
|
300
|
-
Schema: SchemaTypeDef = ...
|
|
298
|
+
self, **kwargs: Unpack[UpdateTableRequestRequestTypeDef]
|
|
301
299
|
) -> UpdateTableResponseTypeDef:
|
|
302
300
|
"""
|
|
303
301
|
Modifies the retention duration of the memory store and magnetic store for your
|
|
304
|
-
Timestream
|
|
305
|
-
table.
|
|
302
|
+
Timestream table.
|
|
306
303
|
|
|
307
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html
|
|
304
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/update_table.html)
|
|
308
305
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#update_table)
|
|
309
306
|
"""
|
|
310
307
|
|
|
311
308
|
def write_records(
|
|
312
|
-
self,
|
|
313
|
-
*,
|
|
314
|
-
DatabaseName: str,
|
|
315
|
-
TableName: str,
|
|
316
|
-
Records: Sequence[RecordTypeDef],
|
|
317
|
-
CommonAttributes: RecordTypeDef = ...
|
|
309
|
+
self, **kwargs: Unpack[WriteRecordsRequestRequestTypeDef]
|
|
318
310
|
) -> WriteRecordsResponseTypeDef:
|
|
319
311
|
"""
|
|
320
312
|
Enables you to write your time-series data into Timestream.
|
|
321
313
|
|
|
322
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html
|
|
314
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/write_records.html)
|
|
323
315
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#write_records)
|
|
324
316
|
"""
|