mypy-boto3-timestream-write 1.19.9__py3-none-any.whl → 1.41.0__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.
- mypy_boto3_timestream_write/__init__.py +8 -5
- mypy_boto3_timestream_write/__init__.pyi +8 -5
- mypy_boto3_timestream_write/__main__.py +13 -9
- mypy_boto3_timestream_write/client.py +175 -115
- mypy_boto3_timestream_write/client.pyi +193 -114
- mypy_boto3_timestream_write/literals.py +185 -27
- mypy_boto3_timestream_write/literals.pyi +185 -27
- mypy_boto3_timestream_write/type_defs.py +457 -309
- mypy_boto3_timestream_write/type_defs.pyi +423 -338
- mypy_boto3_timestream_write/version.py +4 -1
- mypy_boto3_timestream_write-1.41.0.dist-info/METADATA +452 -0
- mypy_boto3_timestream_write-1.41.0.dist-info/RECORD +16 -0
- {mypy_boto3_timestream_write-1.19.9.dist-info → mypy_boto3_timestream_write-1.41.0.dist-info}/WHEEL +1 -1
- mypy_boto3_timestream_write-1.41.0.dist-info/licenses/LICENSE +21 -0
- mypy_boto3_timestream_write-1.19.9.dist-info/METADATA +0 -268
- mypy_boto3_timestream_write-1.19.9.dist-info/RECORD +0 -15
- {mypy_boto3_timestream_write-1.19.9.dist-info → mypy_boto3_timestream_write-1.41.0.dist-info}/top_level.txt +0 -0
|
@@ -1,225 +1,304 @@
|
|
|
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
|
+
|
|
6
|
+
Copyright 2025 Vlad Emelianov
|
|
5
7
|
|
|
6
8
|
Usage::
|
|
7
9
|
|
|
8
10
|
```python
|
|
9
|
-
import
|
|
10
|
-
from mypy_boto3_timestream_write import TimestreamWriteClient
|
|
11
|
+
from boto3.session import Session
|
|
12
|
+
from mypy_boto3_timestream_write.client import TimestreamWriteClient
|
|
11
13
|
|
|
12
|
-
|
|
14
|
+
session = Session()
|
|
15
|
+
client: TimestreamWriteClient = session.client("timestream-write")
|
|
13
16
|
```
|
|
14
17
|
"""
|
|
15
|
-
|
|
18
|
+
|
|
19
|
+
from __future__ import annotations
|
|
20
|
+
|
|
21
|
+
import sys
|
|
22
|
+
from collections.abc import Mapping
|
|
23
|
+
from typing import Any
|
|
16
24
|
|
|
17
25
|
from botocore.client import BaseClient, ClientMeta
|
|
26
|
+
from botocore.errorfactory import BaseClientExceptions
|
|
27
|
+
from botocore.exceptions import ClientError as BotocoreClientError
|
|
18
28
|
|
|
19
29
|
from .type_defs import (
|
|
30
|
+
CreateBatchLoadTaskRequestTypeDef,
|
|
31
|
+
CreateBatchLoadTaskResponseTypeDef,
|
|
32
|
+
CreateDatabaseRequestTypeDef,
|
|
20
33
|
CreateDatabaseResponseTypeDef,
|
|
34
|
+
CreateTableRequestTypeDef,
|
|
21
35
|
CreateTableResponseTypeDef,
|
|
36
|
+
DeleteDatabaseRequestTypeDef,
|
|
37
|
+
DeleteTableRequestTypeDef,
|
|
38
|
+
DescribeBatchLoadTaskRequestTypeDef,
|
|
39
|
+
DescribeBatchLoadTaskResponseTypeDef,
|
|
40
|
+
DescribeDatabaseRequestTypeDef,
|
|
22
41
|
DescribeDatabaseResponseTypeDef,
|
|
23
42
|
DescribeEndpointsResponseTypeDef,
|
|
43
|
+
DescribeTableRequestTypeDef,
|
|
24
44
|
DescribeTableResponseTypeDef,
|
|
45
|
+
EmptyResponseMetadataTypeDef,
|
|
46
|
+
ListBatchLoadTasksRequestTypeDef,
|
|
47
|
+
ListBatchLoadTasksResponseTypeDef,
|
|
48
|
+
ListDatabasesRequestTypeDef,
|
|
25
49
|
ListDatabasesResponseTypeDef,
|
|
50
|
+
ListTablesRequestTypeDef,
|
|
26
51
|
ListTablesResponseTypeDef,
|
|
52
|
+
ListTagsForResourceRequestTypeDef,
|
|
27
53
|
ListTagsForResourceResponseTypeDef,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
54
|
+
ResumeBatchLoadTaskRequestTypeDef,
|
|
55
|
+
TagResourceRequestTypeDef,
|
|
56
|
+
UntagResourceRequestTypeDef,
|
|
57
|
+
UpdateDatabaseRequestTypeDef,
|
|
31
58
|
UpdateDatabaseResponseTypeDef,
|
|
59
|
+
UpdateTableRequestTypeDef,
|
|
32
60
|
UpdateTableResponseTypeDef,
|
|
61
|
+
WriteRecordsRequestTypeDef,
|
|
62
|
+
WriteRecordsResponseTypeDef,
|
|
33
63
|
)
|
|
34
64
|
|
|
65
|
+
if sys.version_info >= (3, 12):
|
|
66
|
+
from typing import Unpack
|
|
67
|
+
else:
|
|
68
|
+
from typing_extensions import Unpack
|
|
69
|
+
|
|
35
70
|
__all__ = ("TimestreamWriteClient",)
|
|
36
71
|
|
|
37
|
-
class
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
InvalidEndpointException: Type[BotocoreClientError]
|
|
49
|
-
RejectedRecordsException: Type[BotocoreClientError]
|
|
50
|
-
ResourceNotFoundException: Type[BotocoreClientError]
|
|
51
|
-
ServiceQuotaExceededException: Type[BotocoreClientError]
|
|
52
|
-
ThrottlingException: Type[BotocoreClientError]
|
|
53
|
-
ValidationException: Type[BotocoreClientError]
|
|
72
|
+
class Exceptions(BaseClientExceptions):
|
|
73
|
+
AccessDeniedException: type[BotocoreClientError]
|
|
74
|
+
ClientError: type[BotocoreClientError]
|
|
75
|
+
ConflictException: type[BotocoreClientError]
|
|
76
|
+
InternalServerException: type[BotocoreClientError]
|
|
77
|
+
InvalidEndpointException: type[BotocoreClientError]
|
|
78
|
+
RejectedRecordsException: type[BotocoreClientError]
|
|
79
|
+
ResourceNotFoundException: type[BotocoreClientError]
|
|
80
|
+
ServiceQuotaExceededException: type[BotocoreClientError]
|
|
81
|
+
ThrottlingException: type[BotocoreClientError]
|
|
82
|
+
ValidationException: type[BotocoreClientError]
|
|
54
83
|
|
|
55
84
|
class TimestreamWriteClient(BaseClient):
|
|
56
85
|
"""
|
|
57
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/
|
|
58
|
-
[Show boto3-stubs documentation](https://
|
|
86
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client)
|
|
87
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/)
|
|
59
88
|
"""
|
|
60
89
|
|
|
61
90
|
meta: ClientMeta
|
|
91
|
+
|
|
62
92
|
@property
|
|
63
93
|
def exceptions(self) -> Exceptions:
|
|
64
94
|
"""
|
|
65
95
|
TimestreamWriteClient exceptions.
|
|
96
|
+
|
|
97
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client)
|
|
98
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#exceptions)
|
|
66
99
|
"""
|
|
100
|
+
|
|
67
101
|
def can_paginate(self, operation_name: str) -> bool:
|
|
68
102
|
"""
|
|
69
|
-
|
|
103
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/can_paginate.html)
|
|
104
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#can_paginate)
|
|
105
|
+
"""
|
|
106
|
+
|
|
107
|
+
def generate_presigned_url(
|
|
108
|
+
self,
|
|
109
|
+
ClientMethod: str,
|
|
110
|
+
Params: Mapping[str, Any] = ...,
|
|
111
|
+
ExpiresIn: int = 3600,
|
|
112
|
+
HttpMethod: str = ...,
|
|
113
|
+
) -> str:
|
|
114
|
+
"""
|
|
115
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/generate_presigned_url.html)
|
|
116
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#generate_presigned_url)
|
|
117
|
+
"""
|
|
70
118
|
|
|
71
|
-
|
|
72
|
-
|
|
119
|
+
def create_batch_load_task(
|
|
120
|
+
self, **kwargs: Unpack[CreateBatchLoadTaskRequestTypeDef]
|
|
121
|
+
) -> CreateBatchLoadTaskResponseTypeDef:
|
|
73
122
|
"""
|
|
123
|
+
Creates a new Timestream batch load task.
|
|
124
|
+
|
|
125
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/create_batch_load_task.html)
|
|
126
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#create_batch_load_task)
|
|
127
|
+
"""
|
|
128
|
+
|
|
74
129
|
def create_database(
|
|
75
|
-
self,
|
|
130
|
+
self, **kwargs: Unpack[CreateDatabaseRequestTypeDef]
|
|
76
131
|
) -> CreateDatabaseResponseTypeDef:
|
|
77
132
|
"""
|
|
78
133
|
Creates a new Timestream database.
|
|
79
134
|
|
|
80
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/
|
|
81
|
-
[Show boto3-stubs documentation](https://
|
|
135
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/create_database.html)
|
|
136
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#create_database)
|
|
82
137
|
"""
|
|
138
|
+
|
|
83
139
|
def create_table(
|
|
84
|
-
self,
|
|
85
|
-
*,
|
|
86
|
-
DatabaseName: str,
|
|
87
|
-
TableName: str,
|
|
88
|
-
RetentionProperties: "RetentionPropertiesTypeDef" = ...,
|
|
89
|
-
Tags: Sequence["TagTypeDef"] = ...
|
|
140
|
+
self, **kwargs: Unpack[CreateTableRequestTypeDef]
|
|
90
141
|
) -> CreateTableResponseTypeDef:
|
|
91
142
|
"""
|
|
92
|
-
|
|
93
|
-
account.
|
|
143
|
+
Adds a new table to an existing database in your account.
|
|
94
144
|
|
|
95
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/
|
|
96
|
-
[Show boto3-stubs documentation](https://
|
|
145
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/create_table.html)
|
|
146
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#create_table)
|
|
97
147
|
"""
|
|
98
|
-
|
|
148
|
+
|
|
149
|
+
def delete_database(
|
|
150
|
+
self, **kwargs: Unpack[DeleteDatabaseRequestTypeDef]
|
|
151
|
+
) -> EmptyResponseMetadataTypeDef:
|
|
99
152
|
"""
|
|
100
153
|
Deletes a given Timestream database.
|
|
101
154
|
|
|
102
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/
|
|
103
|
-
[Show boto3-stubs documentation](https://
|
|
155
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/delete_database.html)
|
|
156
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#delete_database)
|
|
104
157
|
"""
|
|
105
|
-
|
|
158
|
+
|
|
159
|
+
def delete_table(
|
|
160
|
+
self, **kwargs: Unpack[DeleteTableRequestTypeDef]
|
|
161
|
+
) -> EmptyResponseMetadataTypeDef:
|
|
106
162
|
"""
|
|
107
163
|
Deletes a given Timestream table.
|
|
108
164
|
|
|
109
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/
|
|
110
|
-
[Show boto3-stubs documentation](https://
|
|
165
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/delete_table.html)
|
|
166
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#delete_table)
|
|
111
167
|
"""
|
|
112
|
-
|
|
168
|
+
|
|
169
|
+
def describe_batch_load_task(
|
|
170
|
+
self, **kwargs: Unpack[DescribeBatchLoadTaskRequestTypeDef]
|
|
171
|
+
) -> DescribeBatchLoadTaskResponseTypeDef:
|
|
172
|
+
"""
|
|
173
|
+
Returns information about the batch load task, including configurations,
|
|
174
|
+
mappings, progress, and other details.
|
|
175
|
+
|
|
176
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/describe_batch_load_task.html)
|
|
177
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#describe_batch_load_task)
|
|
178
|
+
"""
|
|
179
|
+
|
|
180
|
+
def describe_database(
|
|
181
|
+
self, **kwargs: Unpack[DescribeDatabaseRequestTypeDef]
|
|
182
|
+
) -> DescribeDatabaseResponseTypeDef:
|
|
113
183
|
"""
|
|
114
184
|
Returns information about the database, including the database name, time that
|
|
115
185
|
the database was created, and the total number of tables found within the
|
|
116
186
|
database.
|
|
117
187
|
|
|
118
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/
|
|
119
|
-
[Show boto3-stubs documentation](https://
|
|
188
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/describe_database.html)
|
|
189
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#describe_database)
|
|
120
190
|
"""
|
|
191
|
+
|
|
121
192
|
def describe_endpoints(self) -> DescribeEndpointsResponseTypeDef:
|
|
122
193
|
"""
|
|
123
|
-
|
|
124
|
-
calls against.
|
|
194
|
+
Returns a list of available endpoints to make Timestream API calls against.
|
|
125
195
|
|
|
126
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/
|
|
127
|
-
[Show boto3-stubs documentation](https://
|
|
196
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/describe_endpoints.html)
|
|
197
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#describe_endpoints)
|
|
128
198
|
"""
|
|
129
|
-
|
|
199
|
+
|
|
200
|
+
def describe_table(
|
|
201
|
+
self, **kwargs: Unpack[DescribeTableRequestTypeDef]
|
|
202
|
+
) -> DescribeTableResponseTypeDef:
|
|
130
203
|
"""
|
|
131
204
|
Returns information about the table, including the table name, database name,
|
|
132
205
|
retention duration of the memory store and the magnetic store.
|
|
133
206
|
|
|
134
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/
|
|
135
|
-
[Show boto3-stubs documentation](https://
|
|
207
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/describe_table.html)
|
|
208
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#describe_table)
|
|
136
209
|
"""
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
ExpiresIn: int = 3600,
|
|
142
|
-
HttpMethod: str = ...,
|
|
143
|
-
) -> str:
|
|
210
|
+
|
|
211
|
+
def list_batch_load_tasks(
|
|
212
|
+
self, **kwargs: Unpack[ListBatchLoadTasksRequestTypeDef]
|
|
213
|
+
) -> ListBatchLoadTasksResponseTypeDef:
|
|
144
214
|
"""
|
|
145
|
-
|
|
215
|
+
Provides a list of batch load tasks, along with the name, status, when the task
|
|
216
|
+
is resumable until, and other details.
|
|
146
217
|
|
|
147
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/
|
|
148
|
-
[Show boto3-stubs documentation](https://
|
|
218
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/list_batch_load_tasks.html)
|
|
219
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#list_batch_load_tasks)
|
|
149
220
|
"""
|
|
221
|
+
|
|
150
222
|
def list_databases(
|
|
151
|
-
self,
|
|
223
|
+
self, **kwargs: Unpack[ListDatabasesRequestTypeDef]
|
|
152
224
|
) -> ListDatabasesResponseTypeDef:
|
|
153
225
|
"""
|
|
154
226
|
Returns a list of your Timestream databases.
|
|
155
227
|
|
|
156
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/
|
|
157
|
-
[Show boto3-stubs documentation](https://
|
|
228
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/list_databases.html)
|
|
229
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#list_databases)
|
|
158
230
|
"""
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
) -> ListTablesResponseTypeDef:
|
|
231
|
+
|
|
232
|
+
def list_tables(self, **kwargs: Unpack[ListTablesRequestTypeDef]) -> ListTablesResponseTypeDef:
|
|
162
233
|
"""
|
|
163
|
-
|
|
164
|
-
table.
|
|
234
|
+
Provides a list of tables, along with the name, status, and retention
|
|
235
|
+
properties of each table.
|
|
165
236
|
|
|
166
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/
|
|
167
|
-
[Show boto3-stubs documentation](https://
|
|
237
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/list_tables.html)
|
|
238
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#list_tables)
|
|
168
239
|
"""
|
|
169
|
-
|
|
240
|
+
|
|
241
|
+
def list_tags_for_resource(
|
|
242
|
+
self, **kwargs: Unpack[ListTagsForResourceRequestTypeDef]
|
|
243
|
+
) -> ListTagsForResourceResponseTypeDef:
|
|
244
|
+
"""
|
|
245
|
+
Lists all tags on a Timestream resource.
|
|
246
|
+
|
|
247
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/list_tags_for_resource.html)
|
|
248
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#list_tags_for_resource)
|
|
170
249
|
"""
|
|
171
|
-
List all tags on a Timestream resource.
|
|
172
250
|
|
|
173
|
-
|
|
174
|
-
|
|
251
|
+
def resume_batch_load_task(
|
|
252
|
+
self, **kwargs: Unpack[ResumeBatchLoadTaskRequestTypeDef]
|
|
253
|
+
) -> dict[str, Any]:
|
|
175
254
|
"""
|
|
176
|
-
|
|
255
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/resume_batch_load_task.html)
|
|
256
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#resume_batch_load_task)
|
|
177
257
|
"""
|
|
178
|
-
Associate a set of tags with a Timestream resource.
|
|
179
258
|
|
|
180
|
-
|
|
181
|
-
[Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client.html#tag_resource)
|
|
259
|
+
def tag_resource(self, **kwargs: Unpack[TagResourceRequestTypeDef]) -> dict[str, Any]:
|
|
182
260
|
"""
|
|
183
|
-
|
|
261
|
+
Associates a set of tags with a Timestream resource.
|
|
262
|
+
|
|
263
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/tag_resource.html)
|
|
264
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#tag_resource)
|
|
265
|
+
"""
|
|
266
|
+
|
|
267
|
+
def untag_resource(self, **kwargs: Unpack[UntagResourceRequestTypeDef]) -> dict[str, Any]:
|
|
184
268
|
"""
|
|
185
269
|
Removes the association of tags from a Timestream resource.
|
|
186
270
|
|
|
187
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/
|
|
188
|
-
[Show boto3-stubs documentation](https://
|
|
271
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/untag_resource.html)
|
|
272
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#untag_resource)
|
|
189
273
|
"""
|
|
190
|
-
|
|
274
|
+
|
|
275
|
+
def update_database(
|
|
276
|
+
self, **kwargs: Unpack[UpdateDatabaseRequestTypeDef]
|
|
277
|
+
) -> UpdateDatabaseResponseTypeDef:
|
|
191
278
|
"""
|
|
192
279
|
Modifies the KMS key for an existing database.
|
|
193
280
|
|
|
194
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/
|
|
195
|
-
[Show boto3-stubs documentation](https://
|
|
281
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/update_database.html)
|
|
282
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#update_database)
|
|
196
283
|
"""
|
|
284
|
+
|
|
197
285
|
def update_table(
|
|
198
|
-
self,
|
|
199
|
-
*,
|
|
200
|
-
DatabaseName: str,
|
|
201
|
-
TableName: str,
|
|
202
|
-
RetentionProperties: "RetentionPropertiesTypeDef"
|
|
286
|
+
self, **kwargs: Unpack[UpdateTableRequestTypeDef]
|
|
203
287
|
) -> UpdateTableResponseTypeDef:
|
|
204
288
|
"""
|
|
205
289
|
Modifies the retention duration of the memory store and magnetic store for your
|
|
206
290
|
Timestream table.
|
|
207
291
|
|
|
208
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/
|
|
209
|
-
[Show boto3-stubs documentation](https://
|
|
292
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/update_table.html)
|
|
293
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#update_table)
|
|
210
294
|
"""
|
|
295
|
+
|
|
211
296
|
def write_records(
|
|
212
|
-
self,
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
"""
|
|
220
|
-
The WriteRecords operation enables you to write your time series data into
|
|
221
|
-
Timestream.
|
|
222
|
-
|
|
223
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.19.9/reference/services/timestream-write.html#TimestreamWrite.Client.write_records)
|
|
224
|
-
[Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client.html#write_records)
|
|
297
|
+
self, **kwargs: Unpack[WriteRecordsRequestTypeDef]
|
|
298
|
+
) -> WriteRecordsResponseTypeDef:
|
|
299
|
+
"""
|
|
300
|
+
Enables you to write your time-series data into Timestream.
|
|
301
|
+
|
|
302
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write/client/write_records.html)
|
|
303
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#write_records)
|
|
225
304
|
"""
|