mypy-boto3-timestream-write 1.28.16__py3-none-any.whl → 1.29.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.
Potentially problematic release.
This version of mypy-boto3-timestream-write might be problematic. Click here for more details.
- mypy_boto3_timestream_write/__init__.py +1 -0
- mypy_boto3_timestream_write/__init__.pyi +1 -0
- mypy_boto3_timestream_write/__main__.py +4 -3
- mypy_boto3_timestream_write/client.py +19 -14
- mypy_boto3_timestream_write/client.pyi +41 -14
- mypy_boto3_timestream_write/literals.py +8 -2
- mypy_boto3_timestream_write/literals.pyi +8 -2
- mypy_boto3_timestream_write/type_defs.py +152 -513
- mypy_boto3_timestream_write/type_defs.pyi +152 -477
- mypy_boto3_timestream_write/version.py +2 -1
- {mypy_boto3_timestream_write-1.28.16.dist-info → mypy_boto3_timestream_write-1.29.0.dist-info}/METADATA +17 -97
- mypy_boto3_timestream_write-1.29.0.dist-info/RECORD +16 -0
- {mypy_boto3_timestream_write-1.28.16.dist-info → mypy_boto3_timestream_write-1.29.0.dist-info}/WHEEL +1 -1
- mypy_boto3_timestream_write-1.28.16.dist-info/RECORD +0 -16
- {mypy_boto3_timestream_write-1.28.16.dist-info → mypy_boto3_timestream_write-1.29.0.dist-info}/LICENSE +0 -0
- {mypy_boto3_timestream_write-1.28.16.dist-info → mypy_boto3_timestream_write-1.29.0.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Main CLI entrypoint.
|
|
3
3
|
"""
|
|
4
|
+
|
|
4
5
|
import sys
|
|
5
6
|
|
|
6
7
|
|
|
@@ -9,8 +10,8 @@ def print_info() -> None:
|
|
|
9
10
|
Print package info to stdout.
|
|
10
11
|
"""
|
|
11
12
|
print(
|
|
12
|
-
"Type annotations for boto3.TimestreamWrite 1.
|
|
13
|
-
" version: 7.
|
|
13
|
+
"Type annotations for boto3.TimestreamWrite 1.29.0\nVersion: 1.29.0\nBuilder"
|
|
14
|
+
" version: 7.20.3\nDocs: "
|
|
14
15
|
" https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write//\nBoto3 docs: "
|
|
15
16
|
" https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite\nOther"
|
|
16
17
|
" services: https://pypi.org/project/boto3-stubs/\nChangelog: "
|
|
@@ -22,7 +23,7 @@ def print_version() -> None:
|
|
|
22
23
|
"""
|
|
23
24
|
Print package version to stdout.
|
|
24
25
|
"""
|
|
25
|
-
print("1.
|
|
26
|
+
print("1.29.0")
|
|
26
27
|
|
|
27
28
|
|
|
28
29
|
def main() -> None:
|
|
@@ -13,6 +13,7 @@ Usage::
|
|
|
13
13
|
client: TimestreamWriteClient = session.client("timestream-write")
|
|
14
14
|
```
|
|
15
15
|
"""
|
|
16
|
+
|
|
16
17
|
from typing import Any, Dict, Mapping, Sequence, Type
|
|
17
18
|
|
|
18
19
|
from botocore.client import BaseClient, ClientMeta
|
|
@@ -22,7 +23,7 @@ from .type_defs import (
|
|
|
22
23
|
CreateBatchLoadTaskResponseTypeDef,
|
|
23
24
|
CreateDatabaseResponseTypeDef,
|
|
24
25
|
CreateTableResponseTypeDef,
|
|
25
|
-
|
|
26
|
+
DataModelConfigurationTypeDef,
|
|
26
27
|
DataSourceConfigurationTypeDef,
|
|
27
28
|
DescribeBatchLoadTaskResponseTypeDef,
|
|
28
29
|
DescribeDatabaseResponseTypeDef,
|
|
@@ -37,7 +38,7 @@ from .type_defs import (
|
|
|
37
38
|
RecordTypeDef,
|
|
38
39
|
ReportConfigurationTypeDef,
|
|
39
40
|
RetentionPropertiesTypeDef,
|
|
40
|
-
|
|
41
|
+
SchemaTypeDef,
|
|
41
42
|
TagTypeDef,
|
|
42
43
|
UpdateDatabaseResponseTypeDef,
|
|
43
44
|
UpdateTableResponseTypeDef,
|
|
@@ -47,7 +48,7 @@ from .type_defs import (
|
|
|
47
48
|
__all__ = ("TimestreamWriteClient",)
|
|
48
49
|
|
|
49
50
|
|
|
50
|
-
class BotocoreClientError(
|
|
51
|
+
class BotocoreClientError(Exception):
|
|
51
52
|
MSG_TEMPLATE: str
|
|
52
53
|
|
|
53
54
|
def __init__(self, error_response: Mapping[str, Any], operation_name: str) -> None:
|
|
@@ -109,7 +110,7 @@ class TimestreamWriteClient(BaseClient):
|
|
|
109
110
|
TargetDatabaseName: str,
|
|
110
111
|
TargetTableName: str,
|
|
111
112
|
ClientToken: str = ...,
|
|
112
|
-
DataModelConfiguration:
|
|
113
|
+
DataModelConfiguration: DataModelConfigurationTypeDef = ...,
|
|
113
114
|
RecordVersion: int = ...
|
|
114
115
|
) -> CreateBatchLoadTaskResponseTypeDef:
|
|
115
116
|
"""
|
|
@@ -137,7 +138,7 @@ class TimestreamWriteClient(BaseClient):
|
|
|
137
138
|
RetentionProperties: RetentionPropertiesTypeDef = ...,
|
|
138
139
|
Tags: Sequence[TagTypeDef] = ...,
|
|
139
140
|
MagneticStoreWriteProperties: MagneticStoreWritePropertiesTypeDef = ...,
|
|
140
|
-
Schema:
|
|
141
|
+
Schema: SchemaTypeDef = ...
|
|
141
142
|
) -> CreateTableResponseTypeDef:
|
|
142
143
|
"""
|
|
143
144
|
Adds a new table to an existing database in your account.
|
|
@@ -165,7 +166,8 @@ class TimestreamWriteClient(BaseClient):
|
|
|
165
166
|
def describe_batch_load_task(self, *, TaskId: str) -> DescribeBatchLoadTaskResponseTypeDef:
|
|
166
167
|
"""
|
|
167
168
|
Returns information about the batch load task, including configurations,
|
|
168
|
-
mappings, progress, and other
|
|
169
|
+
mappings, progress, and other
|
|
170
|
+
details.
|
|
169
171
|
|
|
170
172
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.describe_batch_load_task)
|
|
171
173
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#describe_batch_load_task)
|
|
@@ -192,7 +194,8 @@ class TimestreamWriteClient(BaseClient):
|
|
|
192
194
|
def describe_table(self, *, DatabaseName: str, TableName: str) -> DescribeTableResponseTypeDef:
|
|
193
195
|
"""
|
|
194
196
|
Returns information about the table, including the table name, database name,
|
|
195
|
-
retention duration of the memory store and the magnetic
|
|
197
|
+
retention duration of the memory store and the magnetic
|
|
198
|
+
store.
|
|
196
199
|
|
|
197
200
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.describe_table)
|
|
198
201
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#describe_table)
|
|
@@ -217,7 +220,8 @@ class TimestreamWriteClient(BaseClient):
|
|
|
217
220
|
) -> ListBatchLoadTasksResponseTypeDef:
|
|
218
221
|
"""
|
|
219
222
|
Provides a list of batch load tasks, along with the name, status, when the task
|
|
220
|
-
is resumable until, and other
|
|
223
|
+
is resumable until, and other
|
|
224
|
+
details.
|
|
221
225
|
|
|
222
226
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.list_batch_load_tasks)
|
|
223
227
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#list_batch_load_tasks)
|
|
@@ -237,8 +241,9 @@ class TimestreamWriteClient(BaseClient):
|
|
|
237
241
|
self, *, DatabaseName: str = ..., NextToken: str = ..., MaxResults: int = ...
|
|
238
242
|
) -> ListTablesResponseTypeDef:
|
|
239
243
|
"""
|
|
240
|
-
Provides a list of tables, along with the name, status, and retention
|
|
241
|
-
of each
|
|
244
|
+
Provides a list of tables, along with the name, status, and retention
|
|
245
|
+
properties of each
|
|
246
|
+
table.
|
|
242
247
|
|
|
243
248
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.list_tables)
|
|
244
249
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#list_tables)
|
|
@@ -255,8 +260,7 @@ class TimestreamWriteClient(BaseClient):
|
|
|
255
260
|
def resume_batch_load_task(self, *, TaskId: str) -> Dict[str, Any]:
|
|
256
261
|
"""
|
|
257
262
|
See also: [AWS API
|
|
258
|
-
Documentation](https://docs.aws.amazon.com/goto/WebAPI/timestream-
|
|
259
|
-
write-2018-11-01/ResumeBatchLoadTask).
|
|
263
|
+
Documentation](https://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/ResumeBatchLoadTask).
|
|
260
264
|
|
|
261
265
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.resume_batch_load_task)
|
|
262
266
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#resume_batch_load_task)
|
|
@@ -293,11 +297,12 @@ class TimestreamWriteClient(BaseClient):
|
|
|
293
297
|
TableName: str,
|
|
294
298
|
RetentionProperties: RetentionPropertiesTypeDef = ...,
|
|
295
299
|
MagneticStoreWriteProperties: MagneticStoreWritePropertiesTypeDef = ...,
|
|
296
|
-
Schema:
|
|
300
|
+
Schema: SchemaTypeDef = ...
|
|
297
301
|
) -> UpdateTableResponseTypeDef:
|
|
298
302
|
"""
|
|
299
303
|
Modifies the retention duration of the memory store and magnetic store for your
|
|
300
|
-
Timestream
|
|
304
|
+
Timestream
|
|
305
|
+
table.
|
|
301
306
|
|
|
302
307
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.update_table)
|
|
303
308
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#update_table)
|
|
@@ -13,6 +13,7 @@ Usage::
|
|
|
13
13
|
client: TimestreamWriteClient = session.client("timestream-write")
|
|
14
14
|
```
|
|
15
15
|
"""
|
|
16
|
+
|
|
16
17
|
from typing import Any, Dict, Mapping, Sequence, Type
|
|
17
18
|
|
|
18
19
|
from botocore.client import BaseClient, ClientMeta
|
|
@@ -22,7 +23,7 @@ from .type_defs import (
|
|
|
22
23
|
CreateBatchLoadTaskResponseTypeDef,
|
|
23
24
|
CreateDatabaseResponseTypeDef,
|
|
24
25
|
CreateTableResponseTypeDef,
|
|
25
|
-
|
|
26
|
+
DataModelConfigurationTypeDef,
|
|
26
27
|
DataSourceConfigurationTypeDef,
|
|
27
28
|
DescribeBatchLoadTaskResponseTypeDef,
|
|
28
29
|
DescribeDatabaseResponseTypeDef,
|
|
@@ -37,7 +38,7 @@ from .type_defs import (
|
|
|
37
38
|
RecordTypeDef,
|
|
38
39
|
ReportConfigurationTypeDef,
|
|
39
40
|
RetentionPropertiesTypeDef,
|
|
40
|
-
|
|
41
|
+
SchemaTypeDef,
|
|
41
42
|
TagTypeDef,
|
|
42
43
|
UpdateDatabaseResponseTypeDef,
|
|
43
44
|
UpdateTableResponseTypeDef,
|
|
@@ -46,7 +47,7 @@ from .type_defs import (
|
|
|
46
47
|
|
|
47
48
|
__all__ = ("TimestreamWriteClient",)
|
|
48
49
|
|
|
49
|
-
class BotocoreClientError(
|
|
50
|
+
class BotocoreClientError(Exception):
|
|
50
51
|
MSG_TEMPLATE: str
|
|
51
52
|
|
|
52
53
|
def __init__(self, error_response: Mapping[str, Any], operation_name: str) -> None:
|
|
@@ -81,6 +82,7 @@ class TimestreamWriteClient(BaseClient):
|
|
|
81
82
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.exceptions)
|
|
82
83
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#exceptions)
|
|
83
84
|
"""
|
|
85
|
+
|
|
84
86
|
def can_paginate(self, operation_name: str) -> bool:
|
|
85
87
|
"""
|
|
86
88
|
Check if an operation can be paginated.
|
|
@@ -88,6 +90,7 @@ class TimestreamWriteClient(BaseClient):
|
|
|
88
90
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.can_paginate)
|
|
89
91
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#can_paginate)
|
|
90
92
|
"""
|
|
93
|
+
|
|
91
94
|
def close(self) -> None:
|
|
92
95
|
"""
|
|
93
96
|
Closes underlying endpoint connections.
|
|
@@ -95,6 +98,7 @@ class TimestreamWriteClient(BaseClient):
|
|
|
95
98
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.close)
|
|
96
99
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#close)
|
|
97
100
|
"""
|
|
101
|
+
|
|
98
102
|
def create_batch_load_task(
|
|
99
103
|
self,
|
|
100
104
|
*,
|
|
@@ -103,7 +107,7 @@ class TimestreamWriteClient(BaseClient):
|
|
|
103
107
|
TargetDatabaseName: str,
|
|
104
108
|
TargetTableName: str,
|
|
105
109
|
ClientToken: str = ...,
|
|
106
|
-
DataModelConfiguration:
|
|
110
|
+
DataModelConfiguration: DataModelConfigurationTypeDef = ...,
|
|
107
111
|
RecordVersion: int = ...
|
|
108
112
|
) -> CreateBatchLoadTaskResponseTypeDef:
|
|
109
113
|
"""
|
|
@@ -112,6 +116,7 @@ class TimestreamWriteClient(BaseClient):
|
|
|
112
116
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.create_batch_load_task)
|
|
113
117
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#create_batch_load_task)
|
|
114
118
|
"""
|
|
119
|
+
|
|
115
120
|
def create_database(
|
|
116
121
|
self, *, DatabaseName: str, KmsKeyId: str = ..., Tags: Sequence[TagTypeDef] = ...
|
|
117
122
|
) -> CreateDatabaseResponseTypeDef:
|
|
@@ -121,6 +126,7 @@ class TimestreamWriteClient(BaseClient):
|
|
|
121
126
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.create_database)
|
|
122
127
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#create_database)
|
|
123
128
|
"""
|
|
129
|
+
|
|
124
130
|
def create_table(
|
|
125
131
|
self,
|
|
126
132
|
*,
|
|
@@ -129,7 +135,7 @@ class TimestreamWriteClient(BaseClient):
|
|
|
129
135
|
RetentionProperties: RetentionPropertiesTypeDef = ...,
|
|
130
136
|
Tags: Sequence[TagTypeDef] = ...,
|
|
131
137
|
MagneticStoreWriteProperties: MagneticStoreWritePropertiesTypeDef = ...,
|
|
132
|
-
Schema:
|
|
138
|
+
Schema: SchemaTypeDef = ...
|
|
133
139
|
) -> CreateTableResponseTypeDef:
|
|
134
140
|
"""
|
|
135
141
|
Adds a new table to an existing database in your account.
|
|
@@ -137,6 +143,7 @@ class TimestreamWriteClient(BaseClient):
|
|
|
137
143
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.create_table)
|
|
138
144
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#create_table)
|
|
139
145
|
"""
|
|
146
|
+
|
|
140
147
|
def delete_database(self, *, DatabaseName: str) -> EmptyResponseMetadataTypeDef:
|
|
141
148
|
"""
|
|
142
149
|
Deletes a given Timestream database.
|
|
@@ -144,6 +151,7 @@ class TimestreamWriteClient(BaseClient):
|
|
|
144
151
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.delete_database)
|
|
145
152
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#delete_database)
|
|
146
153
|
"""
|
|
154
|
+
|
|
147
155
|
def delete_table(self, *, DatabaseName: str, TableName: str) -> EmptyResponseMetadataTypeDef:
|
|
148
156
|
"""
|
|
149
157
|
Deletes a given Timestream table.
|
|
@@ -151,14 +159,17 @@ class TimestreamWriteClient(BaseClient):
|
|
|
151
159
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.delete_table)
|
|
152
160
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#delete_table)
|
|
153
161
|
"""
|
|
162
|
+
|
|
154
163
|
def describe_batch_load_task(self, *, TaskId: str) -> DescribeBatchLoadTaskResponseTypeDef:
|
|
155
164
|
"""
|
|
156
165
|
Returns information about the batch load task, including configurations,
|
|
157
|
-
mappings, progress, and other
|
|
166
|
+
mappings, progress, and other
|
|
167
|
+
details.
|
|
158
168
|
|
|
159
169
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.describe_batch_load_task)
|
|
160
170
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#describe_batch_load_task)
|
|
161
171
|
"""
|
|
172
|
+
|
|
162
173
|
def describe_database(self, *, DatabaseName: str) -> DescribeDatabaseResponseTypeDef:
|
|
163
174
|
"""
|
|
164
175
|
Returns information about the database, including the database name, time that
|
|
@@ -168,6 +179,7 @@ class TimestreamWriteClient(BaseClient):
|
|
|
168
179
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.describe_database)
|
|
169
180
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#describe_database)
|
|
170
181
|
"""
|
|
182
|
+
|
|
171
183
|
def describe_endpoints(self) -> DescribeEndpointsResponseTypeDef:
|
|
172
184
|
"""
|
|
173
185
|
Returns a list of available endpoints to make Timestream API calls against.
|
|
@@ -175,14 +187,17 @@ class TimestreamWriteClient(BaseClient):
|
|
|
175
187
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.describe_endpoints)
|
|
176
188
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#describe_endpoints)
|
|
177
189
|
"""
|
|
190
|
+
|
|
178
191
|
def describe_table(self, *, DatabaseName: str, TableName: str) -> DescribeTableResponseTypeDef:
|
|
179
192
|
"""
|
|
180
193
|
Returns information about the table, including the table name, database name,
|
|
181
|
-
retention duration of the memory store and the magnetic
|
|
194
|
+
retention duration of the memory store and the magnetic
|
|
195
|
+
store.
|
|
182
196
|
|
|
183
197
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.describe_table)
|
|
184
198
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#describe_table)
|
|
185
199
|
"""
|
|
200
|
+
|
|
186
201
|
def generate_presigned_url(
|
|
187
202
|
self,
|
|
188
203
|
ClientMethod: str,
|
|
@@ -196,16 +211,19 @@ class TimestreamWriteClient(BaseClient):
|
|
|
196
211
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.generate_presigned_url)
|
|
197
212
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#generate_presigned_url)
|
|
198
213
|
"""
|
|
214
|
+
|
|
199
215
|
def list_batch_load_tasks(
|
|
200
216
|
self, *, NextToken: str = ..., MaxResults: int = ..., TaskStatus: BatchLoadStatusType = ...
|
|
201
217
|
) -> ListBatchLoadTasksResponseTypeDef:
|
|
202
218
|
"""
|
|
203
219
|
Provides a list of batch load tasks, along with the name, status, when the task
|
|
204
|
-
is resumable until, and other
|
|
220
|
+
is resumable until, and other
|
|
221
|
+
details.
|
|
205
222
|
|
|
206
223
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.list_batch_load_tasks)
|
|
207
224
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#list_batch_load_tasks)
|
|
208
225
|
"""
|
|
226
|
+
|
|
209
227
|
def list_databases(
|
|
210
228
|
self, *, NextToken: str = ..., MaxResults: int = ...
|
|
211
229
|
) -> ListDatabasesResponseTypeDef:
|
|
@@ -215,16 +233,19 @@ class TimestreamWriteClient(BaseClient):
|
|
|
215
233
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.list_databases)
|
|
216
234
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#list_databases)
|
|
217
235
|
"""
|
|
236
|
+
|
|
218
237
|
def list_tables(
|
|
219
238
|
self, *, DatabaseName: str = ..., NextToken: str = ..., MaxResults: int = ...
|
|
220
239
|
) -> ListTablesResponseTypeDef:
|
|
221
240
|
"""
|
|
222
|
-
Provides a list of tables, along with the name, status, and retention
|
|
223
|
-
of each
|
|
241
|
+
Provides a list of tables, along with the name, status, and retention
|
|
242
|
+
properties of each
|
|
243
|
+
table.
|
|
224
244
|
|
|
225
245
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.list_tables)
|
|
226
246
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#list_tables)
|
|
227
247
|
"""
|
|
248
|
+
|
|
228
249
|
def list_tags_for_resource(self, *, ResourceARN: str) -> ListTagsForResourceResponseTypeDef:
|
|
229
250
|
"""
|
|
230
251
|
Lists all tags on a Timestream resource.
|
|
@@ -232,15 +253,16 @@ class TimestreamWriteClient(BaseClient):
|
|
|
232
253
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.list_tags_for_resource)
|
|
233
254
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#list_tags_for_resource)
|
|
234
255
|
"""
|
|
256
|
+
|
|
235
257
|
def resume_batch_load_task(self, *, TaskId: str) -> Dict[str, Any]:
|
|
236
258
|
"""
|
|
237
259
|
See also: [AWS API
|
|
238
|
-
Documentation](https://docs.aws.amazon.com/goto/WebAPI/timestream-
|
|
239
|
-
write-2018-11-01/ResumeBatchLoadTask).
|
|
260
|
+
Documentation](https://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/ResumeBatchLoadTask).
|
|
240
261
|
|
|
241
262
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.resume_batch_load_task)
|
|
242
263
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#resume_batch_load_task)
|
|
243
264
|
"""
|
|
265
|
+
|
|
244
266
|
def tag_resource(self, *, ResourceARN: str, Tags: Sequence[TagTypeDef]) -> Dict[str, Any]:
|
|
245
267
|
"""
|
|
246
268
|
Associates a set of tags with a Timestream resource.
|
|
@@ -248,6 +270,7 @@ class TimestreamWriteClient(BaseClient):
|
|
|
248
270
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.tag_resource)
|
|
249
271
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#tag_resource)
|
|
250
272
|
"""
|
|
273
|
+
|
|
251
274
|
def untag_resource(self, *, ResourceARN: str, TagKeys: Sequence[str]) -> Dict[str, Any]:
|
|
252
275
|
"""
|
|
253
276
|
Removes the association of tags from a Timestream resource.
|
|
@@ -255,6 +278,7 @@ class TimestreamWriteClient(BaseClient):
|
|
|
255
278
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.untag_resource)
|
|
256
279
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#untag_resource)
|
|
257
280
|
"""
|
|
281
|
+
|
|
258
282
|
def update_database(self, *, DatabaseName: str, KmsKeyId: str) -> UpdateDatabaseResponseTypeDef:
|
|
259
283
|
"""
|
|
260
284
|
Modifies the KMS key for an existing database.
|
|
@@ -262,6 +286,7 @@ class TimestreamWriteClient(BaseClient):
|
|
|
262
286
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.update_database)
|
|
263
287
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#update_database)
|
|
264
288
|
"""
|
|
289
|
+
|
|
265
290
|
def update_table(
|
|
266
291
|
self,
|
|
267
292
|
*,
|
|
@@ -269,15 +294,17 @@ class TimestreamWriteClient(BaseClient):
|
|
|
269
294
|
TableName: str,
|
|
270
295
|
RetentionProperties: RetentionPropertiesTypeDef = ...,
|
|
271
296
|
MagneticStoreWriteProperties: MagneticStoreWritePropertiesTypeDef = ...,
|
|
272
|
-
Schema:
|
|
297
|
+
Schema: SchemaTypeDef = ...
|
|
273
298
|
) -> UpdateTableResponseTypeDef:
|
|
274
299
|
"""
|
|
275
300
|
Modifies the retention duration of the memory store and magnetic store for your
|
|
276
|
-
Timestream
|
|
301
|
+
Timestream
|
|
302
|
+
table.
|
|
277
303
|
|
|
278
304
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/timestream-write.html#TimestreamWrite.Client.update_table)
|
|
279
305
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client/#update_table)
|
|
280
306
|
"""
|
|
307
|
+
|
|
281
308
|
def write_records(
|
|
282
309
|
self,
|
|
283
310
|
*,
|
|
@@ -11,9 +11,10 @@ Usage::
|
|
|
11
11
|
data: BatchLoadDataFormatType = "CSV"
|
|
12
12
|
```
|
|
13
13
|
"""
|
|
14
|
+
|
|
14
15
|
import sys
|
|
15
16
|
|
|
16
|
-
if sys.version_info >= (3,
|
|
17
|
+
if sys.version_info >= (3, 12):
|
|
17
18
|
from typing import Literal
|
|
18
19
|
else:
|
|
19
20
|
from typing_extensions import Literal
|
|
@@ -84,6 +85,8 @@ ServiceName = Literal[
|
|
|
84
85
|
"backup-gateway",
|
|
85
86
|
"backupstorage",
|
|
86
87
|
"batch",
|
|
88
|
+
"bedrock",
|
|
89
|
+
"bedrock-runtime",
|
|
87
90
|
"billingconductor",
|
|
88
91
|
"braket",
|
|
89
92
|
"budgets",
|
|
@@ -138,6 +141,7 @@ ServiceName = Literal[
|
|
|
138
141
|
"dataexchange",
|
|
139
142
|
"datapipeline",
|
|
140
143
|
"datasync",
|
|
144
|
+
"datazone",
|
|
141
145
|
"dax",
|
|
142
146
|
"detective",
|
|
143
147
|
"devicefarm",
|
|
@@ -183,7 +187,6 @@ ServiceName = Literal[
|
|
|
183
187
|
"frauddetector",
|
|
184
188
|
"fsx",
|
|
185
189
|
"gamelift",
|
|
186
|
-
"gamesparks",
|
|
187
190
|
"glacier",
|
|
188
191
|
"globalaccelerator",
|
|
189
192
|
"glue",
|
|
@@ -238,6 +241,7 @@ ServiceName = Literal[
|
|
|
238
241
|
"kms",
|
|
239
242
|
"lakeformation",
|
|
240
243
|
"lambda",
|
|
244
|
+
"launch-wizard",
|
|
241
245
|
"lex-models",
|
|
242
246
|
"lex-runtime",
|
|
243
247
|
"lexv2-models",
|
|
@@ -283,6 +287,7 @@ ServiceName = Literal[
|
|
|
283
287
|
"mturk",
|
|
284
288
|
"mwaa",
|
|
285
289
|
"neptune",
|
|
290
|
+
"neptunedata",
|
|
286
291
|
"network-firewall",
|
|
287
292
|
"networkmanager",
|
|
288
293
|
"nimble",
|
|
@@ -298,6 +303,7 @@ ServiceName = Literal[
|
|
|
298
303
|
"panorama",
|
|
299
304
|
"payment-cryptography",
|
|
300
305
|
"payment-cryptography-data",
|
|
306
|
+
"pca-connector-ad",
|
|
301
307
|
"personalize",
|
|
302
308
|
"personalize-events",
|
|
303
309
|
"personalize-runtime",
|
|
@@ -11,9 +11,10 @@ Usage::
|
|
|
11
11
|
data: BatchLoadDataFormatType = "CSV"
|
|
12
12
|
```
|
|
13
13
|
"""
|
|
14
|
+
|
|
14
15
|
import sys
|
|
15
16
|
|
|
16
|
-
if sys.version_info >= (3,
|
|
17
|
+
if sys.version_info >= (3, 12):
|
|
17
18
|
from typing import Literal
|
|
18
19
|
else:
|
|
19
20
|
from typing_extensions import Literal
|
|
@@ -82,6 +83,8 @@ ServiceName = Literal[
|
|
|
82
83
|
"backup-gateway",
|
|
83
84
|
"backupstorage",
|
|
84
85
|
"batch",
|
|
86
|
+
"bedrock",
|
|
87
|
+
"bedrock-runtime",
|
|
85
88
|
"billingconductor",
|
|
86
89
|
"braket",
|
|
87
90
|
"budgets",
|
|
@@ -136,6 +139,7 @@ ServiceName = Literal[
|
|
|
136
139
|
"dataexchange",
|
|
137
140
|
"datapipeline",
|
|
138
141
|
"datasync",
|
|
142
|
+
"datazone",
|
|
139
143
|
"dax",
|
|
140
144
|
"detective",
|
|
141
145
|
"devicefarm",
|
|
@@ -181,7 +185,6 @@ ServiceName = Literal[
|
|
|
181
185
|
"frauddetector",
|
|
182
186
|
"fsx",
|
|
183
187
|
"gamelift",
|
|
184
|
-
"gamesparks",
|
|
185
188
|
"glacier",
|
|
186
189
|
"globalaccelerator",
|
|
187
190
|
"glue",
|
|
@@ -236,6 +239,7 @@ ServiceName = Literal[
|
|
|
236
239
|
"kms",
|
|
237
240
|
"lakeformation",
|
|
238
241
|
"lambda",
|
|
242
|
+
"launch-wizard",
|
|
239
243
|
"lex-models",
|
|
240
244
|
"lex-runtime",
|
|
241
245
|
"lexv2-models",
|
|
@@ -281,6 +285,7 @@ ServiceName = Literal[
|
|
|
281
285
|
"mturk",
|
|
282
286
|
"mwaa",
|
|
283
287
|
"neptune",
|
|
288
|
+
"neptunedata",
|
|
284
289
|
"network-firewall",
|
|
285
290
|
"networkmanager",
|
|
286
291
|
"nimble",
|
|
@@ -296,6 +301,7 @@ ServiceName = Literal[
|
|
|
296
301
|
"panorama",
|
|
297
302
|
"payment-cryptography",
|
|
298
303
|
"payment-cryptography-data",
|
|
304
|
+
"pca-connector-ad",
|
|
299
305
|
"personalize",
|
|
300
306
|
"personalize-events",
|
|
301
307
|
"personalize-runtime",
|