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,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,49 +12,69 @@ 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
|
-
|
|
50
|
-
|
|
51
|
-
|
|
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
|
|
52
74
|
|
|
53
|
-
|
|
54
|
-
self.response: Dict[str, Any]
|
|
55
|
-
self.operation_name: str
|
|
75
|
+
__all__ = ("TimestreamWriteClient",)
|
|
56
76
|
|
|
57
|
-
class Exceptions:
|
|
77
|
+
class Exceptions(BaseClientExceptions):
|
|
58
78
|
AccessDeniedException: Type[BotocoreClientError]
|
|
59
79
|
ClientError: Type[BotocoreClientError]
|
|
60
80
|
ConflictException: Type[BotocoreClientError]
|
|
@@ -79,104 +99,98 @@ class TimestreamWriteClient(BaseClient):
|
|
|
79
99
|
"""
|
|
80
100
|
TimestreamWriteClient exceptions.
|
|
81
101
|
|
|
82
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client
|
|
102
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client)
|
|
83
103
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#exceptions)
|
|
84
104
|
"""
|
|
85
105
|
|
|
86
106
|
def can_paginate(self, operation_name: str) -> bool:
|
|
87
107
|
"""
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.can_paginate)
|
|
108
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/can_paginate.html)
|
|
91
109
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#can_paginate)
|
|
92
110
|
"""
|
|
93
111
|
|
|
94
|
-
def
|
|
112
|
+
def generate_presigned_url(
|
|
113
|
+
self,
|
|
114
|
+
ClientMethod: str,
|
|
115
|
+
Params: Mapping[str, Any] = ...,
|
|
116
|
+
ExpiresIn: int = 3600,
|
|
117
|
+
HttpMethod: str = ...,
|
|
118
|
+
) -> str:
|
|
95
119
|
"""
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.close)
|
|
99
|
-
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#close)
|
|
120
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/generate_presigned_url.html)
|
|
121
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#generate_presigned_url)
|
|
100
122
|
"""
|
|
101
123
|
|
|
102
124
|
def create_batch_load_task(
|
|
103
|
-
self,
|
|
104
|
-
*,
|
|
105
|
-
DataSourceConfiguration: DataSourceConfigurationTypeDef,
|
|
106
|
-
ReportConfiguration: ReportConfigurationTypeDef,
|
|
107
|
-
TargetDatabaseName: str,
|
|
108
|
-
TargetTableName: str,
|
|
109
|
-
ClientToken: str = ...,
|
|
110
|
-
DataModelConfiguration: DataModelConfigurationTypeDef = ...,
|
|
111
|
-
RecordVersion: int = ...
|
|
125
|
+
self, **kwargs: Unpack[CreateBatchLoadTaskRequestRequestTypeDef]
|
|
112
126
|
) -> CreateBatchLoadTaskResponseTypeDef:
|
|
113
127
|
"""
|
|
114
128
|
Creates a new Timestream batch load task.
|
|
115
129
|
|
|
116
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html
|
|
130
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/create_batch_load_task.html)
|
|
117
131
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#create_batch_load_task)
|
|
118
132
|
"""
|
|
119
133
|
|
|
120
134
|
def create_database(
|
|
121
|
-
self,
|
|
135
|
+
self, **kwargs: Unpack[CreateDatabaseRequestRequestTypeDef]
|
|
122
136
|
) -> CreateDatabaseResponseTypeDef:
|
|
123
137
|
"""
|
|
124
138
|
Creates a new Timestream database.
|
|
125
139
|
|
|
126
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html
|
|
140
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/create_database.html)
|
|
127
141
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#create_database)
|
|
128
142
|
"""
|
|
129
143
|
|
|
130
144
|
def create_table(
|
|
131
|
-
self,
|
|
132
|
-
*,
|
|
133
|
-
DatabaseName: str,
|
|
134
|
-
TableName: str,
|
|
135
|
-
RetentionProperties: RetentionPropertiesTypeDef = ...,
|
|
136
|
-
Tags: Sequence[TagTypeDef] = ...,
|
|
137
|
-
MagneticStoreWriteProperties: MagneticStoreWritePropertiesTypeDef = ...,
|
|
138
|
-
Schema: SchemaTypeDef = ...
|
|
145
|
+
self, **kwargs: Unpack[CreateTableRequestRequestTypeDef]
|
|
139
146
|
) -> CreateTableResponseTypeDef:
|
|
140
147
|
"""
|
|
141
148
|
Adds a new table to an existing database in your account.
|
|
142
149
|
|
|
143
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html
|
|
150
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/create_table.html)
|
|
144
151
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#create_table)
|
|
145
152
|
"""
|
|
146
153
|
|
|
147
|
-
def delete_database(
|
|
154
|
+
def delete_database(
|
|
155
|
+
self, **kwargs: Unpack[DeleteDatabaseRequestRequestTypeDef]
|
|
156
|
+
) -> EmptyResponseMetadataTypeDef:
|
|
148
157
|
"""
|
|
149
158
|
Deletes a given Timestream database.
|
|
150
159
|
|
|
151
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html
|
|
160
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/delete_database.html)
|
|
152
161
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#delete_database)
|
|
153
162
|
"""
|
|
154
163
|
|
|
155
|
-
def delete_table(
|
|
164
|
+
def delete_table(
|
|
165
|
+
self, **kwargs: Unpack[DeleteTableRequestRequestTypeDef]
|
|
166
|
+
) -> EmptyResponseMetadataTypeDef:
|
|
156
167
|
"""
|
|
157
168
|
Deletes a given Timestream table.
|
|
158
169
|
|
|
159
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html
|
|
170
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/delete_table.html)
|
|
160
171
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#delete_table)
|
|
161
172
|
"""
|
|
162
173
|
|
|
163
|
-
def describe_batch_load_task(
|
|
174
|
+
def describe_batch_load_task(
|
|
175
|
+
self, **kwargs: Unpack[DescribeBatchLoadTaskRequestRequestTypeDef]
|
|
176
|
+
) -> DescribeBatchLoadTaskResponseTypeDef:
|
|
164
177
|
"""
|
|
165
178
|
Returns information about the batch load task, including configurations,
|
|
166
|
-
mappings, progress, and other
|
|
167
|
-
details.
|
|
179
|
+
mappings, progress, and other details.
|
|
168
180
|
|
|
169
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html
|
|
181
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/describe_batch_load_task.html)
|
|
170
182
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#describe_batch_load_task)
|
|
171
183
|
"""
|
|
172
184
|
|
|
173
|
-
def describe_database(
|
|
185
|
+
def describe_database(
|
|
186
|
+
self, **kwargs: Unpack[DescribeDatabaseRequestRequestTypeDef]
|
|
187
|
+
) -> DescribeDatabaseResponseTypeDef:
|
|
174
188
|
"""
|
|
175
189
|
Returns information about the database, including the database name, time that
|
|
176
190
|
the database was created, and the total number of tables found within the
|
|
177
191
|
database.
|
|
178
192
|
|
|
179
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html
|
|
193
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/describe_database.html)
|
|
180
194
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#describe_database)
|
|
181
195
|
"""
|
|
182
196
|
|
|
@@ -184,138 +198,116 @@ class TimestreamWriteClient(BaseClient):
|
|
|
184
198
|
"""
|
|
185
199
|
Returns a list of available endpoints to make Timestream API calls against.
|
|
186
200
|
|
|
187
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html
|
|
201
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/describe_endpoints.html)
|
|
188
202
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#describe_endpoints)
|
|
189
203
|
"""
|
|
190
204
|
|
|
191
|
-
def describe_table(
|
|
205
|
+
def describe_table(
|
|
206
|
+
self, **kwargs: Unpack[DescribeTableRequestRequestTypeDef]
|
|
207
|
+
) -> DescribeTableResponseTypeDef:
|
|
192
208
|
"""
|
|
193
209
|
Returns information about the table, including the table name, database name,
|
|
194
|
-
retention duration of the memory store and the magnetic
|
|
195
|
-
store.
|
|
210
|
+
retention duration of the memory store and the magnetic store.
|
|
196
211
|
|
|
197
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html
|
|
212
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/describe_table.html)
|
|
198
213
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#describe_table)
|
|
199
214
|
"""
|
|
200
215
|
|
|
201
|
-
def generate_presigned_url(
|
|
202
|
-
self,
|
|
203
|
-
ClientMethod: str,
|
|
204
|
-
Params: Mapping[str, Any] = ...,
|
|
205
|
-
ExpiresIn: int = 3600,
|
|
206
|
-
HttpMethod: str = ...,
|
|
207
|
-
) -> str:
|
|
208
|
-
"""
|
|
209
|
-
Generate a presigned url given a client, its method, and arguments.
|
|
210
|
-
|
|
211
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.generate_presigned_url)
|
|
212
|
-
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#generate_presigned_url)
|
|
213
|
-
"""
|
|
214
|
-
|
|
215
216
|
def list_batch_load_tasks(
|
|
216
|
-
self,
|
|
217
|
+
self, **kwargs: Unpack[ListBatchLoadTasksRequestRequestTypeDef]
|
|
217
218
|
) -> ListBatchLoadTasksResponseTypeDef:
|
|
218
219
|
"""
|
|
219
220
|
Provides a list of batch load tasks, along with the name, status, when the task
|
|
220
|
-
is resumable until, and other
|
|
221
|
-
details.
|
|
221
|
+
is resumable until, and other details.
|
|
222
222
|
|
|
223
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html
|
|
223
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/list_batch_load_tasks.html)
|
|
224
224
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#list_batch_load_tasks)
|
|
225
225
|
"""
|
|
226
226
|
|
|
227
227
|
def list_databases(
|
|
228
|
-
self,
|
|
228
|
+
self, **kwargs: Unpack[ListDatabasesRequestRequestTypeDef]
|
|
229
229
|
) -> ListDatabasesResponseTypeDef:
|
|
230
230
|
"""
|
|
231
231
|
Returns a list of your Timestream databases.
|
|
232
232
|
|
|
233
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html
|
|
233
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/list_databases.html)
|
|
234
234
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#list_databases)
|
|
235
235
|
"""
|
|
236
236
|
|
|
237
237
|
def list_tables(
|
|
238
|
-
self,
|
|
238
|
+
self, **kwargs: Unpack[ListTablesRequestRequestTypeDef]
|
|
239
239
|
) -> ListTablesResponseTypeDef:
|
|
240
240
|
"""
|
|
241
241
|
Provides a list of tables, along with the name, status, and retention
|
|
242
|
-
properties of each
|
|
243
|
-
table.
|
|
242
|
+
properties of each table.
|
|
244
243
|
|
|
245
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html
|
|
244
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/list_tables.html)
|
|
246
245
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#list_tables)
|
|
247
246
|
"""
|
|
248
247
|
|
|
249
|
-
def list_tags_for_resource(
|
|
248
|
+
def list_tags_for_resource(
|
|
249
|
+
self, **kwargs: Unpack[ListTagsForResourceRequestRequestTypeDef]
|
|
250
|
+
) -> ListTagsForResourceResponseTypeDef:
|
|
250
251
|
"""
|
|
251
252
|
Lists all tags on a Timestream resource.
|
|
252
253
|
|
|
253
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html
|
|
254
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/list_tags_for_resource.html)
|
|
254
255
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#list_tags_for_resource)
|
|
255
256
|
"""
|
|
256
257
|
|
|
257
|
-
def resume_batch_load_task(
|
|
258
|
+
def resume_batch_load_task(
|
|
259
|
+
self, **kwargs: Unpack[ResumeBatchLoadTaskRequestRequestTypeDef]
|
|
260
|
+
) -> Dict[str, Any]:
|
|
258
261
|
"""
|
|
259
|
-
|
|
260
|
-
Documentation](https://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/ResumeBatchLoadTask).
|
|
261
|
-
|
|
262
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.resume_batch_load_task)
|
|
262
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/resume_batch_load_task.html)
|
|
263
263
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#resume_batch_load_task)
|
|
264
264
|
"""
|
|
265
265
|
|
|
266
|
-
def tag_resource(self,
|
|
266
|
+
def tag_resource(self, **kwargs: Unpack[TagResourceRequestRequestTypeDef]) -> Dict[str, Any]:
|
|
267
267
|
"""
|
|
268
268
|
Associates a set of tags with a Timestream resource.
|
|
269
269
|
|
|
270
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html
|
|
270
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/tag_resource.html)
|
|
271
271
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#tag_resource)
|
|
272
272
|
"""
|
|
273
273
|
|
|
274
|
-
def untag_resource(
|
|
274
|
+
def untag_resource(
|
|
275
|
+
self, **kwargs: Unpack[UntagResourceRequestRequestTypeDef]
|
|
276
|
+
) -> Dict[str, Any]:
|
|
275
277
|
"""
|
|
276
278
|
Removes the association of tags from a Timestream resource.
|
|
277
279
|
|
|
278
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html
|
|
280
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/untag_resource.html)
|
|
279
281
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#untag_resource)
|
|
280
282
|
"""
|
|
281
283
|
|
|
282
|
-
def update_database(
|
|
284
|
+
def update_database(
|
|
285
|
+
self, **kwargs: Unpack[UpdateDatabaseRequestRequestTypeDef]
|
|
286
|
+
) -> UpdateDatabaseResponseTypeDef:
|
|
283
287
|
"""
|
|
284
288
|
Modifies the KMS key for an existing database.
|
|
285
289
|
|
|
286
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html
|
|
290
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/update_database.html)
|
|
287
291
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#update_database)
|
|
288
292
|
"""
|
|
289
293
|
|
|
290
294
|
def update_table(
|
|
291
|
-
self,
|
|
292
|
-
*,
|
|
293
|
-
DatabaseName: str,
|
|
294
|
-
TableName: str,
|
|
295
|
-
RetentionProperties: RetentionPropertiesTypeDef = ...,
|
|
296
|
-
MagneticStoreWriteProperties: MagneticStoreWritePropertiesTypeDef = ...,
|
|
297
|
-
Schema: SchemaTypeDef = ...
|
|
295
|
+
self, **kwargs: Unpack[UpdateTableRequestRequestTypeDef]
|
|
298
296
|
) -> UpdateTableResponseTypeDef:
|
|
299
297
|
"""
|
|
300
298
|
Modifies the retention duration of the memory store and magnetic store for your
|
|
301
|
-
Timestream
|
|
302
|
-
table.
|
|
299
|
+
Timestream table.
|
|
303
300
|
|
|
304
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html
|
|
301
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/update_table.html)
|
|
305
302
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#update_table)
|
|
306
303
|
"""
|
|
307
304
|
|
|
308
305
|
def write_records(
|
|
309
|
-
self,
|
|
310
|
-
*,
|
|
311
|
-
DatabaseName: str,
|
|
312
|
-
TableName: str,
|
|
313
|
-
Records: Sequence[RecordTypeDef],
|
|
314
|
-
CommonAttributes: RecordTypeDef = ...
|
|
306
|
+
self, **kwargs: Unpack[WriteRecordsRequestRequestTypeDef]
|
|
315
307
|
) -> WriteRecordsResponseTypeDef:
|
|
316
308
|
"""
|
|
317
309
|
Enables you to write your time-series data into Timestream.
|
|
318
310
|
|
|
319
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html
|
|
311
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/write_records.html)
|
|
320
312
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#write_records)
|
|
321
313
|
"""
|