mypy-boto3-timestream-write 1.28.36__tar.gz → 1.33.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.36 → mypy-boto3-timestream-write-1.33.0}/PKG-INFO +6 -6
- {mypy-boto3-timestream-write-1.28.36 → mypy-boto3-timestream-write-1.33.0}/README.md +3 -4
- mypy-boto3-timestream-write-1.28.36/mypy_boto3_timestream_write/__init__.pyi → mypy-boto3-timestream-write-1.33.0/mypy_boto3_timestream_write/__init__.py +2 -0
- {mypy-boto3-timestream-write-1.28.36 → mypy-boto3-timestream-write-1.33.0}/mypy_boto3_timestream_write/__main__.py +4 -3
- mypy-boto3-timestream-write-1.28.36/mypy_boto3_timestream_write/client.pyi → mypy-boto3-timestream-write-1.33.0/mypy_boto3_timestream_write/client.py +39 -9
- mypy-boto3-timestream-write-1.28.36/mypy_boto3_timestream_write/client.py → mypy-boto3-timestream-write-1.33.0/mypy_boto3_timestream_write/client.pyi +14 -12
- mypy-boto3-timestream-write-1.28.36/mypy_boto3_timestream_write/literals.pyi → mypy-boto3-timestream-write-1.33.0/mypy_boto3_timestream_write/literals.py +19 -2
- mypy-boto3-timestream-write-1.28.36/mypy_boto3_timestream_write/literals.py → mypy-boto3-timestream-write-1.33.0/mypy_boto3_timestream_write/literals.pyi +17 -4
- mypy-boto3-timestream-write-1.28.36/mypy_boto3_timestream_write/type_defs.pyi → mypy-boto3-timestream-write-1.33.0/mypy_boto3_timestream_write/type_defs.py +2 -62
- mypy-boto3-timestream-write-1.28.36/mypy_boto3_timestream_write/type_defs.py → mypy-boto3-timestream-write-1.33.0/mypy_boto3_timestream_write/type_defs.pyi +1 -63
- {mypy-boto3-timestream-write-1.28.36 → mypy-boto3-timestream-write-1.33.0}/mypy_boto3_timestream_write/version.py +2 -1
- {mypy-boto3-timestream-write-1.28.36 → mypy-boto3-timestream-write-1.33.0}/mypy_boto3_timestream_write.egg-info/PKG-INFO +6 -6
- {mypy-boto3-timestream-write-1.28.36 → mypy-boto3-timestream-write-1.33.0}/setup.py +5 -3
- {mypy-boto3-timestream-write-1.28.36 → mypy-boto3-timestream-write-1.33.0}/LICENSE +0 -0
- mypy-boto3-timestream-write-1.28.36/mypy_boto3_timestream_write/__init__.py → mypy-boto3-timestream-write-1.33.0/mypy_boto3_timestream_write/__init__.pyi +1 -1
- {mypy-boto3-timestream-write-1.28.36 → mypy-boto3-timestream-write-1.33.0}/mypy_boto3_timestream_write/py.typed +0 -0
- {mypy-boto3-timestream-write-1.28.36 → mypy-boto3-timestream-write-1.33.0}/mypy_boto3_timestream_write.egg-info/SOURCES.txt +0 -0
- {mypy-boto3-timestream-write-1.28.36 → mypy-boto3-timestream-write-1.33.0}/mypy_boto3_timestream_write.egg-info/dependency_links.txt +0 -0
- {mypy-boto3-timestream-write-1.28.36 → mypy-boto3-timestream-write-1.33.0}/mypy_boto3_timestream_write.egg-info/not-zip-safe +0 -0
- {mypy-boto3-timestream-write-1.28.36 → mypy-boto3-timestream-write-1.33.0}/mypy_boto3_timestream_write.egg-info/requires.txt +0 -0
- {mypy-boto3-timestream-write-1.28.36 → mypy-boto3-timestream-write-1.33.0}/mypy_boto3_timestream_write.egg-info/top_level.txt +0 -0
- {mypy-boto3-timestream-write-1.28.36 → mypy-boto3-timestream-write-1.33.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.33.0
|
|
4
|
+
Summary: Type annotations for boto3.TimestreamWrite 1.33.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.33.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
|
|
@@ -286,8 +287,7 @@ Full list of `TimestreamWrite` Literals can be found in
|
|
|
286
287
|
from mypy_boto3_timestream_write.literals import BatchLoadDataFormatType
|
|
287
288
|
|
|
288
289
|
|
|
289
|
-
def check_value(value: BatchLoadDataFormatType) -> bool:
|
|
290
|
-
...
|
|
290
|
+
def check_value(value: BatchLoadDataFormatType) -> bool: ...
|
|
291
291
|
```
|
|
292
292
|
|
|
293
293
|
<a id="type-definitions"></a>
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|

|
|
11
11
|
|
|
12
12
|
Type annotations for
|
|
13
|
-
[boto3.TimestreamWrite 1.
|
|
13
|
+
[boto3.TimestreamWrite 1.33.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
|
|
@@ -254,8 +254,7 @@ Full list of `TimestreamWrite` Literals can be found in
|
|
|
254
254
|
from mypy_boto3_timestream_write.literals import BatchLoadDataFormatType
|
|
255
255
|
|
|
256
256
|
|
|
257
|
-
def check_value(value: BatchLoadDataFormatType) -> bool:
|
|
258
|
-
...
|
|
257
|
+
def check_value(value: BatchLoadDataFormatType) -> bool: ...
|
|
259
258
|
```
|
|
260
259
|
|
|
261
260
|
<a id="type-definitions"></a>
|
|
@@ -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.33.0\nVersion: 1.33.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.33.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
|
|
@@ -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
|
*,
|
|
@@ -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
|
*,
|
|
@@ -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
|
*,
|
|
@@ -273,11 +301,13 @@ class TimestreamWriteClient(BaseClient):
|
|
|
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
|
*,
|
|
@@ -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
|
|
@@ -46,15 +47,13 @@ from .type_defs import (
|
|
|
46
47
|
|
|
47
48
|
__all__ = ("TimestreamWriteClient",)
|
|
48
49
|
|
|
49
|
-
|
|
50
|
-
class BotocoreClientError(BaseException):
|
|
50
|
+
class BotocoreClientError(Exception):
|
|
51
51
|
MSG_TEMPLATE: str
|
|
52
52
|
|
|
53
53
|
def __init__(self, error_response: Mapping[str, Any], operation_name: str) -> None:
|
|
54
54
|
self.response: Dict[str, Any]
|
|
55
55
|
self.operation_name: str
|
|
56
56
|
|
|
57
|
-
|
|
58
57
|
class Exceptions:
|
|
59
58
|
AccessDeniedException: Type[BotocoreClientError]
|
|
60
59
|
ClientError: Type[BotocoreClientError]
|
|
@@ -67,7 +66,6 @@ class Exceptions:
|
|
|
67
66
|
ThrottlingException: Type[BotocoreClientError]
|
|
68
67
|
ValidationException: Type[BotocoreClientError]
|
|
69
68
|
|
|
70
|
-
|
|
71
69
|
class TimestreamWriteClient(BaseClient):
|
|
72
70
|
"""
|
|
73
71
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client)
|
|
@@ -165,7 +163,8 @@ class TimestreamWriteClient(BaseClient):
|
|
|
165
163
|
def describe_batch_load_task(self, *, TaskId: str) -> DescribeBatchLoadTaskResponseTypeDef:
|
|
166
164
|
"""
|
|
167
165
|
Returns information about the batch load task, including configurations,
|
|
168
|
-
mappings, progress, and other
|
|
166
|
+
mappings, progress, and other
|
|
167
|
+
details.
|
|
169
168
|
|
|
170
169
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.describe_batch_load_task)
|
|
171
170
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#describe_batch_load_task)
|
|
@@ -192,7 +191,8 @@ class TimestreamWriteClient(BaseClient):
|
|
|
192
191
|
def describe_table(self, *, DatabaseName: str, TableName: str) -> DescribeTableResponseTypeDef:
|
|
193
192
|
"""
|
|
194
193
|
Returns information about the table, including the table name, database name,
|
|
195
|
-
retention duration of the memory store and the magnetic
|
|
194
|
+
retention duration of the memory store and the magnetic
|
|
195
|
+
store.
|
|
196
196
|
|
|
197
197
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.describe_table)
|
|
198
198
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#describe_table)
|
|
@@ -217,7 +217,8 @@ class TimestreamWriteClient(BaseClient):
|
|
|
217
217
|
) -> ListBatchLoadTasksResponseTypeDef:
|
|
218
218
|
"""
|
|
219
219
|
Provides a list of batch load tasks, along with the name, status, when the task
|
|
220
|
-
is resumable until, and other
|
|
220
|
+
is resumable until, and other
|
|
221
|
+
details.
|
|
221
222
|
|
|
222
223
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.list_batch_load_tasks)
|
|
223
224
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#list_batch_load_tasks)
|
|
@@ -237,8 +238,9 @@ class TimestreamWriteClient(BaseClient):
|
|
|
237
238
|
self, *, DatabaseName: str = ..., NextToken: str = ..., MaxResults: int = ...
|
|
238
239
|
) -> ListTablesResponseTypeDef:
|
|
239
240
|
"""
|
|
240
|
-
Provides a list of tables, along with the name, status, and retention
|
|
241
|
-
of each
|
|
241
|
+
Provides a list of tables, along with the name, status, and retention
|
|
242
|
+
properties of each
|
|
243
|
+
table.
|
|
242
244
|
|
|
243
245
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.list_tables)
|
|
244
246
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#list_tables)
|
|
@@ -255,8 +257,7 @@ class TimestreamWriteClient(BaseClient):
|
|
|
255
257
|
def resume_batch_load_task(self, *, TaskId: str) -> Dict[str, Any]:
|
|
256
258
|
"""
|
|
257
259
|
See also: [AWS API
|
|
258
|
-
Documentation](https://docs.aws.amazon.com/goto/WebAPI/timestream-
|
|
259
|
-
write-2018-11-01/ResumeBatchLoadTask).
|
|
260
|
+
Documentation](https://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/ResumeBatchLoadTask).
|
|
260
261
|
|
|
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
263
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#resume_batch_load_task)
|
|
@@ -297,7 +298,8 @@ class TimestreamWriteClient(BaseClient):
|
|
|
297
298
|
) -> UpdateTableResponseTypeDef:
|
|
298
299
|
"""
|
|
299
300
|
Modifies the retention duration of the memory store and magnetic store for your
|
|
300
|
-
Timestream
|
|
301
|
+
Timestream
|
|
302
|
+
table.
|
|
301
303
|
|
|
302
304
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.update_table)
|
|
303
305
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#update_table)
|
|
@@ -11,6 +11,7 @@ Usage::
|
|
|
11
11
|
data: BatchLoadDataFormatType = "CSV"
|
|
12
12
|
```
|
|
13
13
|
"""
|
|
14
|
+
|
|
14
15
|
import sys
|
|
15
16
|
|
|
16
17
|
if sys.version_info >= (3, 12):
|
|
@@ -18,6 +19,7 @@ if sys.version_info >= (3, 12):
|
|
|
18
19
|
else:
|
|
19
20
|
from typing_extensions import Literal
|
|
20
21
|
|
|
22
|
+
|
|
21
23
|
__all__ = (
|
|
22
24
|
"BatchLoadDataFormatType",
|
|
23
25
|
"BatchLoadStatusType",
|
|
@@ -35,6 +37,7 @@ __all__ = (
|
|
|
35
37
|
"RegionName",
|
|
36
38
|
)
|
|
37
39
|
|
|
40
|
+
|
|
38
41
|
BatchLoadDataFormatType = Literal["CSV"]
|
|
39
42
|
BatchLoadStatusType = Literal[
|
|
40
43
|
"CREATED", "FAILED", "IN_PROGRESS", "PENDING_RESUME", "PROGRESS_STOPPED", "SUCCEEDED"
|
|
@@ -78,10 +81,14 @@ ServiceName = Literal[
|
|
|
78
81
|
"auditmanager",
|
|
79
82
|
"autoscaling",
|
|
80
83
|
"autoscaling-plans",
|
|
84
|
+
"b2bi",
|
|
81
85
|
"backup",
|
|
82
86
|
"backup-gateway",
|
|
83
87
|
"backupstorage",
|
|
84
88
|
"batch",
|
|
89
|
+
"bcm-data-exports",
|
|
90
|
+
"bedrock",
|
|
91
|
+
"bedrock-runtime",
|
|
85
92
|
"billingconductor",
|
|
86
93
|
"braket",
|
|
87
94
|
"budgets",
|
|
@@ -98,6 +105,7 @@ ServiceName = Literal[
|
|
|
98
105
|
"clouddirectory",
|
|
99
106
|
"cloudformation",
|
|
100
107
|
"cloudfront",
|
|
108
|
+
"cloudfront-keyvaluestore",
|
|
101
109
|
"cloudhsm",
|
|
102
110
|
"cloudhsmv2",
|
|
103
111
|
"cloudsearch",
|
|
@@ -130,12 +138,14 @@ ServiceName = Literal[
|
|
|
130
138
|
"connectcases",
|
|
131
139
|
"connectparticipant",
|
|
132
140
|
"controltower",
|
|
141
|
+
"cost-optimization-hub",
|
|
133
142
|
"cur",
|
|
134
143
|
"customer-profiles",
|
|
135
144
|
"databrew",
|
|
136
145
|
"dataexchange",
|
|
137
146
|
"datapipeline",
|
|
138
147
|
"datasync",
|
|
148
|
+
"datazone",
|
|
139
149
|
"dax",
|
|
140
150
|
"detective",
|
|
141
151
|
"devicefarm",
|
|
@@ -158,6 +168,7 @@ ServiceName = Literal[
|
|
|
158
168
|
"ecs",
|
|
159
169
|
"efs",
|
|
160
170
|
"eks",
|
|
171
|
+
"eks-auth",
|
|
161
172
|
"elastic-inference",
|
|
162
173
|
"elasticache",
|
|
163
174
|
"elasticbeanstalk",
|
|
@@ -179,9 +190,9 @@ ServiceName = Literal[
|
|
|
179
190
|
"forecast",
|
|
180
191
|
"forecastquery",
|
|
181
192
|
"frauddetector",
|
|
193
|
+
"freetier",
|
|
182
194
|
"fsx",
|
|
183
195
|
"gamelift",
|
|
184
|
-
"gamesparks",
|
|
185
196
|
"glacier",
|
|
186
197
|
"globalaccelerator",
|
|
187
198
|
"glue",
|
|
@@ -198,6 +209,7 @@ ServiceName = Literal[
|
|
|
198
209
|
"imagebuilder",
|
|
199
210
|
"importexport",
|
|
200
211
|
"inspector",
|
|
212
|
+
"inspector-scan",
|
|
201
213
|
"inspector2",
|
|
202
214
|
"internetmonitor",
|
|
203
215
|
"iot",
|
|
@@ -236,6 +248,7 @@ ServiceName = Literal[
|
|
|
236
248
|
"kms",
|
|
237
249
|
"lakeformation",
|
|
238
250
|
"lambda",
|
|
251
|
+
"launch-wizard",
|
|
239
252
|
"lex-models",
|
|
240
253
|
"lex-runtime",
|
|
241
254
|
"lexv2-models",
|
|
@@ -251,7 +264,6 @@ ServiceName = Literal[
|
|
|
251
264
|
"lookoutvision",
|
|
252
265
|
"m2",
|
|
253
266
|
"machinelearning",
|
|
254
|
-
"macie",
|
|
255
267
|
"macie2",
|
|
256
268
|
"managedblockchain",
|
|
257
269
|
"managedblockchain-query",
|
|
@@ -281,6 +293,7 @@ ServiceName = Literal[
|
|
|
281
293
|
"mturk",
|
|
282
294
|
"mwaa",
|
|
283
295
|
"neptune",
|
|
296
|
+
"neptunedata",
|
|
284
297
|
"network-firewall",
|
|
285
298
|
"networkmanager",
|
|
286
299
|
"nimble",
|
|
@@ -296,6 +309,7 @@ ServiceName = Literal[
|
|
|
296
309
|
"panorama",
|
|
297
310
|
"payment-cryptography",
|
|
298
311
|
"payment-cryptography-data",
|
|
312
|
+
"pca-connector-ad",
|
|
299
313
|
"personalize",
|
|
300
314
|
"personalize-events",
|
|
301
315
|
"personalize-runtime",
|
|
@@ -320,6 +334,7 @@ ServiceName = Literal[
|
|
|
320
334
|
"redshift-data",
|
|
321
335
|
"redshift-serverless",
|
|
322
336
|
"rekognition",
|
|
337
|
+
"repostspace",
|
|
323
338
|
"resiliencehub",
|
|
324
339
|
"resource-explorer-2",
|
|
325
340
|
"resource-groups",
|
|
@@ -387,6 +402,7 @@ ServiceName = Literal[
|
|
|
387
402
|
"transcribe",
|
|
388
403
|
"transfer",
|
|
389
404
|
"translate",
|
|
405
|
+
"trustedadvisor",
|
|
390
406
|
"verifiedpermissions",
|
|
391
407
|
"voice-id",
|
|
392
408
|
"vpc-lattice",
|
|
@@ -400,6 +416,7 @@ ServiceName = Literal[
|
|
|
400
416
|
"workmail",
|
|
401
417
|
"workmailmessageflow",
|
|
402
418
|
"workspaces",
|
|
419
|
+
"workspaces-thin-client",
|
|
403
420
|
"workspaces-web",
|
|
404
421
|
"xray",
|
|
405
422
|
]
|