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.
@@ -1,225 +1,304 @@
1
1
  """
2
- Type annotations for timestream-write service client.
2
+ Type annotations for timestream-write service Client.
3
3
 
4
- [Open documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client.html)
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 boto3
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
- client: TimestreamWriteClient = boto3.client("timestream-write")
14
+ session = Session()
15
+ client: TimestreamWriteClient = session.client("timestream-write")
13
16
  ```
14
17
  """
15
- from typing import Any, Dict, Mapping, Sequence, Type
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
- RecordTypeDef,
29
- RetentionPropertiesTypeDef,
30
- TagTypeDef,
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 BotocoreClientError(BaseException):
38
- MSG_TEMPLATE: str
39
- def __init__(self, error_response: Mapping[str, Any], operation_name: str) -> None:
40
- self.response: Dict[str, Any]
41
- self.operation_name: str
42
-
43
- class Exceptions:
44
- AccessDeniedException: Type[BotocoreClientError]
45
- ClientError: Type[BotocoreClientError]
46
- ConflictException: Type[BotocoreClientError]
47
- InternalServerException: Type[BotocoreClientError]
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/1.19.9/reference/services/timestream-write.html#TimestreamWrite.Client)
58
- [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client.html)
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
- Check if an operation can be paginated.
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
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.19.9/reference/services/timestream-write.html#TimestreamWrite.Client.can_paginate)
72
- [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client.html#can_paginate)
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, *, DatabaseName: str, KmsKeyId: str = ..., Tags: Sequence["TagTypeDef"] = ...
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/1.19.9/reference/services/timestream-write.html#TimestreamWrite.Client.create_database)
81
- [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client.html#create_database)
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
- The CreateTable operation adds a new table to an existing database in your
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/1.19.9/reference/services/timestream-write.html#TimestreamWrite.Client.create_table)
96
- [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client.html#create_table)
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
- def delete_database(self, *, DatabaseName: str) -> None:
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/1.19.9/reference/services/timestream-write.html#TimestreamWrite.Client.delete_database)
103
- [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client.html#delete_database)
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
- def delete_table(self, *, DatabaseName: str, TableName: str) -> None:
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/1.19.9/reference/services/timestream-write.html#TimestreamWrite.Client.delete_table)
110
- [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client.html#delete_table)
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
- def describe_database(self, *, DatabaseName: str) -> DescribeDatabaseResponseTypeDef:
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/1.19.9/reference/services/timestream-write.html#TimestreamWrite.Client.describe_database)
119
- [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client.html#describe_database)
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
- DescribeEndpoints returns a list of available endpoints to make Timestream API
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/1.19.9/reference/services/timestream-write.html#TimestreamWrite.Client.describe_endpoints)
127
- [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client.html#describe_endpoints)
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
- def describe_table(self, *, DatabaseName: str, TableName: str) -> DescribeTableResponseTypeDef:
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/1.19.9/reference/services/timestream-write.html#TimestreamWrite.Client.describe_table)
135
- [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client.html#describe_table)
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
- def generate_presigned_url(
138
- self,
139
- ClientMethod: str,
140
- Params: Mapping[str, Any] = ...,
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
- Generate a presigned url given a client, its method, and arguments.
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/1.19.9/reference/services/timestream-write.html#TimestreamWrite.Client.generate_presigned_url)
148
- [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client.html#generate_presigned_url)
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, *, NextToken: str = ..., MaxResults: int = ...
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/1.19.9/reference/services/timestream-write.html#TimestreamWrite.Client.list_databases)
157
- [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client.html#list_databases)
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
- def list_tables(
160
- self, *, DatabaseName: str = ..., NextToken: str = ..., MaxResults: int = ...
161
- ) -> ListTablesResponseTypeDef:
231
+
232
+ def list_tables(self, **kwargs: Unpack[ListTablesRequestTypeDef]) -> ListTablesResponseTypeDef:
162
233
  """
163
- A list of tables, along with the name, status and retention properties of each
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/1.19.9/reference/services/timestream-write.html#TimestreamWrite.Client.list_tables)
167
- [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client.html#list_tables)
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
- def list_tags_for_resource(self, *, ResourceARN: str) -> ListTagsForResourceResponseTypeDef:
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
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.19.9/reference/services/timestream-write.html#TimestreamWrite.Client.list_tags_for_resource)
174
- [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client.html#list_tags_for_resource)
251
+ def resume_batch_load_task(
252
+ self, **kwargs: Unpack[ResumeBatchLoadTaskRequestTypeDef]
253
+ ) -> dict[str, Any]:
175
254
  """
176
- def tag_resource(self, *, ResourceARN: str, Tags: Sequence["TagTypeDef"]) -> Dict[str, Any]:
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
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.19.9/reference/services/timestream-write.html#TimestreamWrite.Client.tag_resource)
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
- def untag_resource(self, *, ResourceARN: str, TagKeys: Sequence[str]) -> Dict[str, Any]:
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/1.19.9/reference/services/timestream-write.html#TimestreamWrite.Client.untag_resource)
188
- [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client.html#untag_resource)
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
- def update_database(self, *, DatabaseName: str, KmsKeyId: str) -> UpdateDatabaseResponseTypeDef:
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/1.19.9/reference/services/timestream-write.html#TimestreamWrite.Client.update_database)
195
- [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client.html#update_database)
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/1.19.9/reference/services/timestream-write.html#TimestreamWrite.Client.update_table)
209
- [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/client.html#update_table)
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
- DatabaseName: str,
215
- TableName: str,
216
- Records: Sequence["RecordTypeDef"],
217
- CommonAttributes: "RecordTypeDef" = ...
218
- ) -> None:
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
  """