mypy-boto3-dynamodb 1.35.60__py3-none-any.whl → 1.35.93__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mypy_boto3_dynamodb/__init__.py +8 -1
- mypy_boto3_dynamodb/__init__.pyi +7 -1
- mypy_boto3_dynamodb/__main__.py +11 -8
- mypy_boto3_dynamodb/client.py +176 -181
- mypy_boto3_dynamodb/client.pyi +176 -180
- mypy_boto3_dynamodb/literals.py +19 -1
- mypy_boto3_dynamodb/literals.pyi +19 -1
- mypy_boto3_dynamodb/paginator.py +69 -45
- mypy_boto3_dynamodb/paginator.pyi +65 -44
- mypy_boto3_dynamodb/service_resource.py +100 -102
- mypy_boto3_dynamodb/service_resource.pyi +100 -102
- mypy_boto3_dynamodb/type_defs.py +70 -67
- mypy_boto3_dynamodb/type_defs.pyi +66 -61
- mypy_boto3_dynamodb/version.py +3 -1
- mypy_boto3_dynamodb/waiter.py +16 -11
- mypy_boto3_dynamodb/waiter.pyi +16 -11
- {mypy_boto3_dynamodb-1.35.60.dist-info → mypy_boto3_dynamodb-1.35.93.dist-info}/LICENSE +1 -1
- {mypy_boto3_dynamodb-1.35.60.dist-info → mypy_boto3_dynamodb-1.35.93.dist-info}/METADATA +79 -26
- mypy_boto3_dynamodb-1.35.93.dist-info/RECORD +22 -0
- {mypy_boto3_dynamodb-1.35.60.dist-info → mypy_boto3_dynamodb-1.35.93.dist-info}/WHEEL +1 -1
- mypy_boto3_dynamodb-1.35.60.dist-info/RECORD +0 -22
- {mypy_boto3_dynamodb-1.35.60.dist-info → mypy_boto3_dynamodb-1.35.93.dist-info}/top_level.txt +0 -0
mypy_boto3_dynamodb/client.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
|
-
Type annotations for dynamodb service
|
|
2
|
+
Type annotations for dynamodb service Client.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -12,12 +12,18 @@ Usage::
|
|
|
12
12
|
session = Session()
|
|
13
13
|
client: DynamoDBClient = session.client("dynamodb")
|
|
14
14
|
```
|
|
15
|
+
|
|
16
|
+
Copyright 2025 Vlad Emelianov
|
|
15
17
|
"""
|
|
16
18
|
|
|
19
|
+
from __future__ import annotations
|
|
20
|
+
|
|
17
21
|
import sys
|
|
18
|
-
from typing import Any,
|
|
22
|
+
from typing import Any, overload
|
|
19
23
|
|
|
20
24
|
from botocore.client import BaseClient, ClientMeta
|
|
25
|
+
from botocore.errorfactory import BaseClientExceptions
|
|
26
|
+
from botocore.exceptions import ClientError as BotocoreClientError
|
|
21
27
|
|
|
22
28
|
from .paginator import (
|
|
23
29
|
ListBackupsPaginator,
|
|
@@ -139,6 +145,11 @@ from .type_defs import (
|
|
|
139
145
|
)
|
|
140
146
|
from .waiter import TableExistsWaiter, TableNotExistsWaiter
|
|
141
147
|
|
|
148
|
+
if sys.version_info >= (3, 9):
|
|
149
|
+
from builtins import type as Type
|
|
150
|
+
from collections.abc import Mapping
|
|
151
|
+
else:
|
|
152
|
+
from typing import Mapping, Type
|
|
142
153
|
if sys.version_info >= (3, 12):
|
|
143
154
|
from typing import Literal, Unpack
|
|
144
155
|
else:
|
|
@@ -148,15 +159,7 @@ else:
|
|
|
148
159
|
__all__ = ("DynamoDBClient",)
|
|
149
160
|
|
|
150
161
|
|
|
151
|
-
class
|
|
152
|
-
MSG_TEMPLATE: str
|
|
153
|
-
|
|
154
|
-
def __init__(self, error_response: Mapping[str, Any], operation_name: str) -> None:
|
|
155
|
-
self.response: Dict[str, Any]
|
|
156
|
-
self.operation_name: str
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
class Exceptions:
|
|
162
|
+
class Exceptions(BaseClientExceptions):
|
|
160
163
|
BackupInUseException: Type[BotocoreClientError]
|
|
161
164
|
BackupNotFoundException: Type[BotocoreClientError]
|
|
162
165
|
ClientError: Type[BotocoreClientError]
|
|
@@ -181,6 +184,7 @@ class Exceptions:
|
|
|
181
184
|
ProvisionedThroughputExceededException: Type[BotocoreClientError]
|
|
182
185
|
ReplicaAlreadyExistsException: Type[BotocoreClientError]
|
|
183
186
|
ReplicaNotFoundException: Type[BotocoreClientError]
|
|
187
|
+
ReplicatedWriteConflictException: Type[BotocoreClientError]
|
|
184
188
|
RequestLimitExceeded: Type[BotocoreClientError]
|
|
185
189
|
ResourceInUseException: Type[BotocoreClientError]
|
|
186
190
|
ResourceNotFoundException: Type[BotocoreClientError]
|
|
@@ -205,19 +209,36 @@ class DynamoDBClient(BaseClient):
|
|
|
205
209
|
"""
|
|
206
210
|
DynamoDBClient exceptions.
|
|
207
211
|
|
|
208
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Client
|
|
212
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Client)
|
|
209
213
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#exceptions)
|
|
210
214
|
"""
|
|
211
215
|
|
|
216
|
+
def can_paginate(self, operation_name: str) -> bool:
|
|
217
|
+
"""
|
|
218
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/can_paginate.html)
|
|
219
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#can_paginate)
|
|
220
|
+
"""
|
|
221
|
+
|
|
222
|
+
def generate_presigned_url(
|
|
223
|
+
self,
|
|
224
|
+
ClientMethod: str,
|
|
225
|
+
Params: Mapping[str, Any] = ...,
|
|
226
|
+
ExpiresIn: int = 3600,
|
|
227
|
+
HttpMethod: str = ...,
|
|
228
|
+
) -> str:
|
|
229
|
+
"""
|
|
230
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/generate_presigned_url.html)
|
|
231
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#generate_presigned_url)
|
|
232
|
+
"""
|
|
233
|
+
|
|
212
234
|
def batch_execute_statement(
|
|
213
235
|
self, **kwargs: Unpack[BatchExecuteStatementInputRequestTypeDef]
|
|
214
236
|
) -> BatchExecuteStatementOutputTypeDef:
|
|
215
237
|
"""
|
|
216
238
|
This operation allows you to perform batch reads or writes on data stored in
|
|
217
|
-
DynamoDB, using
|
|
218
|
-
PartiQL.
|
|
239
|
+
DynamoDB, using PartiQL.
|
|
219
240
|
|
|
220
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
241
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/batch_execute_statement.html)
|
|
221
242
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#batch_execute_statement)
|
|
222
243
|
"""
|
|
223
244
|
|
|
@@ -225,11 +246,10 @@ class DynamoDBClient(BaseClient):
|
|
|
225
246
|
self, **kwargs: Unpack[BatchGetItemInputRequestTypeDef]
|
|
226
247
|
) -> BatchGetItemOutputTypeDef:
|
|
227
248
|
"""
|
|
228
|
-
The
|
|
229
|
-
one or more
|
|
230
|
-
tables.
|
|
249
|
+
The <code>BatchGetItem</code> operation returns the attributes of one or more
|
|
250
|
+
items from one or more tables.
|
|
231
251
|
|
|
232
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
252
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/batch_get_item.html)
|
|
233
253
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#batch_get_item)
|
|
234
254
|
"""
|
|
235
255
|
|
|
@@ -237,36 +257,20 @@ class DynamoDBClient(BaseClient):
|
|
|
237
257
|
self, **kwargs: Unpack[BatchWriteItemInputRequestTypeDef]
|
|
238
258
|
) -> BatchWriteItemOutputTypeDef:
|
|
239
259
|
"""
|
|
240
|
-
The
|
|
241
|
-
tables.
|
|
260
|
+
The <code>BatchWriteItem</code> operation puts or deletes multiple items in one
|
|
261
|
+
or more tables.
|
|
242
262
|
|
|
243
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
263
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/batch_write_item.html)
|
|
244
264
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#batch_write_item)
|
|
245
265
|
"""
|
|
246
266
|
|
|
247
|
-
def can_paginate(self, operation_name: str) -> bool:
|
|
248
|
-
"""
|
|
249
|
-
Check if an operation can be paginated.
|
|
250
|
-
|
|
251
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Client.can_paginate)
|
|
252
|
-
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#can_paginate)
|
|
253
|
-
"""
|
|
254
|
-
|
|
255
|
-
def close(self) -> None:
|
|
256
|
-
"""
|
|
257
|
-
Closes underlying endpoint connections.
|
|
258
|
-
|
|
259
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Client.close)
|
|
260
|
-
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#close)
|
|
261
|
-
"""
|
|
262
|
-
|
|
263
267
|
def create_backup(
|
|
264
268
|
self, **kwargs: Unpack[CreateBackupInputRequestTypeDef]
|
|
265
269
|
) -> CreateBackupOutputTypeDef:
|
|
266
270
|
"""
|
|
267
271
|
Creates a backup for an existing table.
|
|
268
272
|
|
|
269
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
273
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/create_backup.html)
|
|
270
274
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#create_backup)
|
|
271
275
|
"""
|
|
272
276
|
|
|
@@ -276,7 +280,7 @@ class DynamoDBClient(BaseClient):
|
|
|
276
280
|
"""
|
|
277
281
|
Creates a global table from an existing table.
|
|
278
282
|
|
|
279
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
283
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/create_global_table.html)
|
|
280
284
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#create_global_table)
|
|
281
285
|
"""
|
|
282
286
|
|
|
@@ -284,9 +288,9 @@ class DynamoDBClient(BaseClient):
|
|
|
284
288
|
self, **kwargs: Unpack[CreateTableInputRequestTypeDef]
|
|
285
289
|
) -> CreateTableOutputTypeDef:
|
|
286
290
|
"""
|
|
287
|
-
The
|
|
291
|
+
The <code>CreateTable</code> operation adds a new table to your account.
|
|
288
292
|
|
|
289
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
293
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/create_table.html)
|
|
290
294
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#create_table)
|
|
291
295
|
"""
|
|
292
296
|
|
|
@@ -296,7 +300,7 @@ class DynamoDBClient(BaseClient):
|
|
|
296
300
|
"""
|
|
297
301
|
Deletes an existing backup of a table.
|
|
298
302
|
|
|
299
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
303
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/delete_backup.html)
|
|
300
304
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#delete_backup)
|
|
301
305
|
"""
|
|
302
306
|
|
|
@@ -306,7 +310,7 @@ class DynamoDBClient(BaseClient):
|
|
|
306
310
|
"""
|
|
307
311
|
Deletes a single item in a table by primary key.
|
|
308
312
|
|
|
309
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
313
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/delete_item.html)
|
|
310
314
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#delete_item)
|
|
311
315
|
"""
|
|
312
316
|
|
|
@@ -315,10 +319,9 @@ class DynamoDBClient(BaseClient):
|
|
|
315
319
|
) -> DeleteResourcePolicyOutputTypeDef:
|
|
316
320
|
"""
|
|
317
321
|
Deletes the resource-based policy attached to the resource, which can be a
|
|
318
|
-
table or
|
|
319
|
-
stream.
|
|
322
|
+
table or stream.
|
|
320
323
|
|
|
321
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
324
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/delete_resource_policy.html)
|
|
322
325
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#delete_resource_policy)
|
|
323
326
|
"""
|
|
324
327
|
|
|
@@ -326,9 +329,9 @@ class DynamoDBClient(BaseClient):
|
|
|
326
329
|
self, **kwargs: Unpack[DeleteTableInputRequestTypeDef]
|
|
327
330
|
) -> DeleteTableOutputTypeDef:
|
|
328
331
|
"""
|
|
329
|
-
The
|
|
332
|
+
The <code>DeleteTable</code> operation deletes a table and all of its items.
|
|
330
333
|
|
|
331
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
334
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/delete_table.html)
|
|
332
335
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#delete_table)
|
|
333
336
|
"""
|
|
334
337
|
|
|
@@ -338,7 +341,7 @@ class DynamoDBClient(BaseClient):
|
|
|
338
341
|
"""
|
|
339
342
|
Describes an existing backup of a table.
|
|
340
343
|
|
|
341
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
344
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/describe_backup.html)
|
|
342
345
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#describe_backup)
|
|
343
346
|
"""
|
|
344
347
|
|
|
@@ -347,10 +350,9 @@ class DynamoDBClient(BaseClient):
|
|
|
347
350
|
) -> DescribeContinuousBackupsOutputTypeDef:
|
|
348
351
|
"""
|
|
349
352
|
Checks the status of continuous backups and point in time recovery on the
|
|
350
|
-
specified
|
|
351
|
-
table.
|
|
353
|
+
specified table.
|
|
352
354
|
|
|
353
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
355
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/describe_continuous_backups.html)
|
|
354
356
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#describe_continuous_backups)
|
|
355
357
|
"""
|
|
356
358
|
|
|
@@ -359,10 +361,9 @@ class DynamoDBClient(BaseClient):
|
|
|
359
361
|
) -> DescribeContributorInsightsOutputTypeDef:
|
|
360
362
|
"""
|
|
361
363
|
Returns information about contributor insights for a given table or global
|
|
362
|
-
secondary
|
|
363
|
-
index.
|
|
364
|
+
secondary index.
|
|
364
365
|
|
|
365
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
366
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/describe_contributor_insights.html)
|
|
366
367
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#describe_contributor_insights)
|
|
367
368
|
"""
|
|
368
369
|
|
|
@@ -370,7 +371,7 @@ class DynamoDBClient(BaseClient):
|
|
|
370
371
|
"""
|
|
371
372
|
Returns the regional endpoint information.
|
|
372
373
|
|
|
373
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
374
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/describe_endpoints.html)
|
|
374
375
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#describe_endpoints)
|
|
375
376
|
"""
|
|
376
377
|
|
|
@@ -380,7 +381,7 @@ class DynamoDBClient(BaseClient):
|
|
|
380
381
|
"""
|
|
381
382
|
Describes an existing table export.
|
|
382
383
|
|
|
383
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
384
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/describe_export.html)
|
|
384
385
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#describe_export)
|
|
385
386
|
"""
|
|
386
387
|
|
|
@@ -390,7 +391,7 @@ class DynamoDBClient(BaseClient):
|
|
|
390
391
|
"""
|
|
391
392
|
Returns information about the specified global table.
|
|
392
393
|
|
|
393
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
394
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/describe_global_table.html)
|
|
394
395
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#describe_global_table)
|
|
395
396
|
"""
|
|
396
397
|
|
|
@@ -400,7 +401,7 @@ class DynamoDBClient(BaseClient):
|
|
|
400
401
|
"""
|
|
401
402
|
Describes Region-specific settings for a global table.
|
|
402
403
|
|
|
403
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
404
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/describe_global_table_settings.html)
|
|
404
405
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#describe_global_table_settings)
|
|
405
406
|
"""
|
|
406
407
|
|
|
@@ -410,7 +411,7 @@ class DynamoDBClient(BaseClient):
|
|
|
410
411
|
"""
|
|
411
412
|
Represents the properties of the import.
|
|
412
413
|
|
|
413
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
414
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/describe_import.html)
|
|
414
415
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#describe_import)
|
|
415
416
|
"""
|
|
416
417
|
|
|
@@ -420,7 +421,7 @@ class DynamoDBClient(BaseClient):
|
|
|
420
421
|
"""
|
|
421
422
|
Returns information about the status of Kinesis streaming.
|
|
422
423
|
|
|
423
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
424
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/describe_kinesis_streaming_destination.html)
|
|
424
425
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#describe_kinesis_streaming_destination)
|
|
425
426
|
"""
|
|
426
427
|
|
|
@@ -428,10 +429,9 @@ class DynamoDBClient(BaseClient):
|
|
|
428
429
|
"""
|
|
429
430
|
Returns the current provisioned-capacity quotas for your Amazon Web Services
|
|
430
431
|
account in a Region, both for the Region as a whole and for any one DynamoDB
|
|
431
|
-
table that you create
|
|
432
|
-
there.
|
|
432
|
+
table that you create there.
|
|
433
433
|
|
|
434
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
434
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/describe_limits.html)
|
|
435
435
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#describe_limits)
|
|
436
436
|
"""
|
|
437
437
|
|
|
@@ -440,10 +440,9 @@ class DynamoDBClient(BaseClient):
|
|
|
440
440
|
) -> DescribeTableOutputTypeDef:
|
|
441
441
|
"""
|
|
442
442
|
Returns information about the table, including the current status of the table,
|
|
443
|
-
when it was created, the primary key schema, and any indexes on the
|
|
444
|
-
table.
|
|
443
|
+
when it was created, the primary key schema, and any indexes on the table.
|
|
445
444
|
|
|
446
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
445
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/describe_table.html)
|
|
447
446
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#describe_table)
|
|
448
447
|
"""
|
|
449
448
|
|
|
@@ -453,7 +452,7 @@ class DynamoDBClient(BaseClient):
|
|
|
453
452
|
"""
|
|
454
453
|
Describes auto scaling settings across replicas of the global table at once.
|
|
455
454
|
|
|
456
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
455
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/describe_table_replica_auto_scaling.html)
|
|
457
456
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#describe_table_replica_auto_scaling)
|
|
458
457
|
"""
|
|
459
458
|
|
|
@@ -463,7 +462,7 @@ class DynamoDBClient(BaseClient):
|
|
|
463
462
|
"""
|
|
464
463
|
Gives a description of the Time to Live (TTL) status on the specified table.
|
|
465
464
|
|
|
466
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
465
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/describe_time_to_live.html)
|
|
467
466
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#describe_time_to_live)
|
|
468
467
|
"""
|
|
469
468
|
|
|
@@ -473,7 +472,7 @@ class DynamoDBClient(BaseClient):
|
|
|
473
472
|
"""
|
|
474
473
|
Stops replication from the DynamoDB table to the Kinesis data stream.
|
|
475
474
|
|
|
476
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
475
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/disable_kinesis_streaming_destination.html)
|
|
477
476
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#disable_kinesis_streaming_destination)
|
|
478
477
|
"""
|
|
479
478
|
|
|
@@ -482,10 +481,9 @@ class DynamoDBClient(BaseClient):
|
|
|
482
481
|
) -> KinesisStreamingDestinationOutputTypeDef:
|
|
483
482
|
"""
|
|
484
483
|
Starts table data replication to the specified Kinesis data stream at a
|
|
485
|
-
timestamp chosen during the enable
|
|
486
|
-
workflow.
|
|
484
|
+
timestamp chosen during the enable workflow.
|
|
487
485
|
|
|
488
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
486
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/enable_kinesis_streaming_destination.html)
|
|
489
487
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#enable_kinesis_streaming_destination)
|
|
490
488
|
"""
|
|
491
489
|
|
|
@@ -494,10 +492,9 @@ class DynamoDBClient(BaseClient):
|
|
|
494
492
|
) -> ExecuteStatementOutputTypeDef:
|
|
495
493
|
"""
|
|
496
494
|
This operation allows you to perform reads and singleton writes on data stored
|
|
497
|
-
in DynamoDB, using
|
|
498
|
-
PartiQL.
|
|
495
|
+
in DynamoDB, using PartiQL.
|
|
499
496
|
|
|
500
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
497
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/execute_statement.html)
|
|
501
498
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#execute_statement)
|
|
502
499
|
"""
|
|
503
500
|
|
|
@@ -506,10 +503,9 @@ class DynamoDBClient(BaseClient):
|
|
|
506
503
|
) -> ExecuteTransactionOutputTypeDef:
|
|
507
504
|
"""
|
|
508
505
|
This operation allows you to perform transactional reads or writes on data
|
|
509
|
-
stored in DynamoDB, using
|
|
510
|
-
PartiQL.
|
|
506
|
+
stored in DynamoDB, using PartiQL.
|
|
511
507
|
|
|
512
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
508
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/execute_transaction.html)
|
|
513
509
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#execute_transaction)
|
|
514
510
|
"""
|
|
515
511
|
|
|
@@ -519,31 +515,16 @@ class DynamoDBClient(BaseClient):
|
|
|
519
515
|
"""
|
|
520
516
|
Exports table data to an S3 bucket.
|
|
521
517
|
|
|
522
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
518
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/export_table_to_point_in_time.html)
|
|
523
519
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#export_table_to_point_in_time)
|
|
524
520
|
"""
|
|
525
521
|
|
|
526
|
-
def generate_presigned_url(
|
|
527
|
-
self,
|
|
528
|
-
ClientMethod: str,
|
|
529
|
-
Params: Mapping[str, Any] = ...,
|
|
530
|
-
ExpiresIn: int = 3600,
|
|
531
|
-
HttpMethod: str = ...,
|
|
532
|
-
) -> str:
|
|
533
|
-
"""
|
|
534
|
-
Generate a presigned url given a client, its method, and arguments.
|
|
535
|
-
|
|
536
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Client.generate_presigned_url)
|
|
537
|
-
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#generate_presigned_url)
|
|
538
|
-
"""
|
|
539
|
-
|
|
540
522
|
def get_item(self, **kwargs: Unpack[GetItemInputRequestTypeDef]) -> GetItemOutputTypeDef:
|
|
541
523
|
"""
|
|
542
|
-
The
|
|
543
|
-
primary
|
|
544
|
-
key.
|
|
524
|
+
The <code>GetItem</code> operation returns a set of attributes for the item
|
|
525
|
+
with the given primary key.
|
|
545
526
|
|
|
546
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
527
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/get_item.html)
|
|
547
528
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#get_item)
|
|
548
529
|
"""
|
|
549
530
|
|
|
@@ -552,10 +533,9 @@ class DynamoDBClient(BaseClient):
|
|
|
552
533
|
) -> GetResourcePolicyOutputTypeDef:
|
|
553
534
|
"""
|
|
554
535
|
Returns the resource-based policy document attached to the resource, which can
|
|
555
|
-
be a table or stream, in JSON
|
|
556
|
-
format.
|
|
536
|
+
be a table or stream, in JSON format.
|
|
557
537
|
|
|
558
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
538
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/get_resource_policy.html)
|
|
559
539
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#get_resource_policy)
|
|
560
540
|
"""
|
|
561
541
|
|
|
@@ -565,7 +545,7 @@ class DynamoDBClient(BaseClient):
|
|
|
565
545
|
"""
|
|
566
546
|
Imports table data from an S3 bucket.
|
|
567
547
|
|
|
568
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
548
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/import_table.html)
|
|
569
549
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#import_table)
|
|
570
550
|
"""
|
|
571
551
|
|
|
@@ -574,10 +554,9 @@ class DynamoDBClient(BaseClient):
|
|
|
574
554
|
) -> ListBackupsOutputTypeDef:
|
|
575
555
|
"""
|
|
576
556
|
List DynamoDB backups that are associated with an Amazon Web Services account
|
|
577
|
-
and weren't made with Amazon Web Services
|
|
578
|
-
Backup.
|
|
557
|
+
and weren't made with Amazon Web Services Backup.
|
|
579
558
|
|
|
580
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
559
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/list_backups.html)
|
|
581
560
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#list_backups)
|
|
582
561
|
"""
|
|
583
562
|
|
|
@@ -586,10 +565,9 @@ class DynamoDBClient(BaseClient):
|
|
|
586
565
|
) -> ListContributorInsightsOutputTypeDef:
|
|
587
566
|
"""
|
|
588
567
|
Returns a list of ContributorInsightsSummary for a table and all its global
|
|
589
|
-
secondary
|
|
590
|
-
indexes.
|
|
568
|
+
secondary indexes.
|
|
591
569
|
|
|
592
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
570
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/list_contributor_insights.html)
|
|
593
571
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#list_contributor_insights)
|
|
594
572
|
"""
|
|
595
573
|
|
|
@@ -599,7 +577,7 @@ class DynamoDBClient(BaseClient):
|
|
|
599
577
|
"""
|
|
600
578
|
Lists completed exports within the past 90 days.
|
|
601
579
|
|
|
602
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
580
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/list_exports.html)
|
|
603
581
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#list_exports)
|
|
604
582
|
"""
|
|
605
583
|
|
|
@@ -609,7 +587,7 @@ class DynamoDBClient(BaseClient):
|
|
|
609
587
|
"""
|
|
610
588
|
Lists all global tables that have a replica in the specified Region.
|
|
611
589
|
|
|
612
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
590
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/list_global_tables.html)
|
|
613
591
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#list_global_tables)
|
|
614
592
|
"""
|
|
615
593
|
|
|
@@ -619,7 +597,7 @@ class DynamoDBClient(BaseClient):
|
|
|
619
597
|
"""
|
|
620
598
|
Lists completed imports within the past 90 days.
|
|
621
599
|
|
|
622
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
600
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/list_imports.html)
|
|
623
601
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#list_imports)
|
|
624
602
|
"""
|
|
625
603
|
|
|
@@ -630,7 +608,7 @@ class DynamoDBClient(BaseClient):
|
|
|
630
608
|
Returns an array of table names associated with the current account and
|
|
631
609
|
endpoint.
|
|
632
610
|
|
|
633
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
611
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/list_tables.html)
|
|
634
612
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#list_tables)
|
|
635
613
|
"""
|
|
636
614
|
|
|
@@ -640,7 +618,7 @@ class DynamoDBClient(BaseClient):
|
|
|
640
618
|
"""
|
|
641
619
|
List all tags on an Amazon DynamoDB resource.
|
|
642
620
|
|
|
643
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
621
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/list_tags_of_resource.html)
|
|
644
622
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#list_tags_of_resource)
|
|
645
623
|
"""
|
|
646
624
|
|
|
@@ -648,7 +626,7 @@ class DynamoDBClient(BaseClient):
|
|
|
648
626
|
"""
|
|
649
627
|
Creates a new item, or replaces an old item with a new item.
|
|
650
628
|
|
|
651
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
629
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/put_item.html)
|
|
652
630
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#put_item)
|
|
653
631
|
"""
|
|
654
632
|
|
|
@@ -657,20 +635,18 @@ class DynamoDBClient(BaseClient):
|
|
|
657
635
|
) -> PutResourcePolicyOutputTypeDef:
|
|
658
636
|
"""
|
|
659
637
|
Attaches a resource-based policy document to the resource, which can be a table
|
|
660
|
-
or
|
|
661
|
-
stream.
|
|
638
|
+
or stream.
|
|
662
639
|
|
|
663
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
640
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/put_resource_policy.html)
|
|
664
641
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#put_resource_policy)
|
|
665
642
|
"""
|
|
666
643
|
|
|
667
644
|
def query(self, **kwargs: Unpack[QueryInputRequestTypeDef]) -> QueryOutputTypeDef:
|
|
668
645
|
"""
|
|
669
646
|
You must provide the name of the partition key attribute and a single value for
|
|
670
|
-
that
|
|
671
|
-
attribute.
|
|
647
|
+
that attribute.
|
|
672
648
|
|
|
673
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
649
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/query.html)
|
|
674
650
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#query)
|
|
675
651
|
"""
|
|
676
652
|
|
|
@@ -680,7 +656,7 @@ class DynamoDBClient(BaseClient):
|
|
|
680
656
|
"""
|
|
681
657
|
Creates a new table from an existing backup.
|
|
682
658
|
|
|
683
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
659
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/restore_table_from_backup.html)
|
|
684
660
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#restore_table_from_backup)
|
|
685
661
|
"""
|
|
686
662
|
|
|
@@ -689,20 +665,19 @@ class DynamoDBClient(BaseClient):
|
|
|
689
665
|
) -> RestoreTableToPointInTimeOutputTypeDef:
|
|
690
666
|
"""
|
|
691
667
|
Restores the specified table to the specified point in time within
|
|
692
|
-
|
|
693
|
-
|
|
668
|
+
<code>EarliestRestorableDateTime</code> and
|
|
669
|
+
<code>LatestRestorableDateTime</code>.
|
|
694
670
|
|
|
695
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
671
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/restore_table_to_point_in_time.html)
|
|
696
672
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#restore_table_to_point_in_time)
|
|
697
673
|
"""
|
|
698
674
|
|
|
699
675
|
def scan(self, **kwargs: Unpack[ScanInputRequestTypeDef]) -> ScanOutputTypeDef:
|
|
700
676
|
"""
|
|
701
|
-
The
|
|
702
|
-
every item in a table or a secondary
|
|
703
|
-
index.
|
|
677
|
+
The <code>Scan</code> operation returns one or more items and item attributes
|
|
678
|
+
by accessing every item in a table or a secondary index.
|
|
704
679
|
|
|
705
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
680
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/scan.html)
|
|
706
681
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#scan)
|
|
707
682
|
"""
|
|
708
683
|
|
|
@@ -712,7 +687,7 @@ class DynamoDBClient(BaseClient):
|
|
|
712
687
|
"""
|
|
713
688
|
Associate a set of tags with an Amazon DynamoDB resource.
|
|
714
689
|
|
|
715
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
690
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/tag_resource.html)
|
|
716
691
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#tag_resource)
|
|
717
692
|
"""
|
|
718
693
|
|
|
@@ -720,12 +695,11 @@ class DynamoDBClient(BaseClient):
|
|
|
720
695
|
self, **kwargs: Unpack[TransactGetItemsInputRequestTypeDef]
|
|
721
696
|
) -> TransactGetItemsOutputTypeDef:
|
|
722
697
|
"""
|
|
723
|
-
|
|
724
|
-
multiple items from one or more tables (but not from indexes) in a
|
|
725
|
-
account and
|
|
726
|
-
Region.
|
|
698
|
+
<code>TransactGetItems</code> is a synchronous operation that atomically
|
|
699
|
+
retrieves multiple items from one or more tables (but not from indexes) in a
|
|
700
|
+
single account and Region.
|
|
727
701
|
|
|
728
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
702
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/transact_get_items.html)
|
|
729
703
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#transact_get_items)
|
|
730
704
|
"""
|
|
731
705
|
|
|
@@ -733,11 +707,10 @@ class DynamoDBClient(BaseClient):
|
|
|
733
707
|
self, **kwargs: Unpack[TransactWriteItemsInputRequestTypeDef]
|
|
734
708
|
) -> TransactWriteItemsOutputTypeDef:
|
|
735
709
|
"""
|
|
736
|
-
|
|
737
|
-
action
|
|
738
|
-
requests.
|
|
710
|
+
<code>TransactWriteItems</code> is a synchronous write operation that groups up
|
|
711
|
+
to 100 action requests.
|
|
739
712
|
|
|
740
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
713
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/transact_write_items.html)
|
|
741
714
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#transact_write_items)
|
|
742
715
|
"""
|
|
743
716
|
|
|
@@ -747,7 +720,7 @@ class DynamoDBClient(BaseClient):
|
|
|
747
720
|
"""
|
|
748
721
|
Removes the association of tags from an Amazon DynamoDB resource.
|
|
749
722
|
|
|
750
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
723
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/untag_resource.html)
|
|
751
724
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#untag_resource)
|
|
752
725
|
"""
|
|
753
726
|
|
|
@@ -755,11 +728,10 @@ class DynamoDBClient(BaseClient):
|
|
|
755
728
|
self, **kwargs: Unpack[UpdateContinuousBackupsInputRequestTypeDef]
|
|
756
729
|
) -> UpdateContinuousBackupsOutputTypeDef:
|
|
757
730
|
"""
|
|
758
|
-
|
|
759
|
-
specified
|
|
760
|
-
table.
|
|
731
|
+
<code>UpdateContinuousBackups</code> enables or disables point in time recovery
|
|
732
|
+
for the specified table.
|
|
761
733
|
|
|
762
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
734
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/update_continuous_backups.html)
|
|
763
735
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#update_continuous_backups)
|
|
764
736
|
"""
|
|
765
737
|
|
|
@@ -769,7 +741,7 @@ class DynamoDBClient(BaseClient):
|
|
|
769
741
|
"""
|
|
770
742
|
Updates the status for contributor insights for a specific table or index.
|
|
771
743
|
|
|
772
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
744
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/update_contributor_insights.html)
|
|
773
745
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#update_contributor_insights)
|
|
774
746
|
"""
|
|
775
747
|
|
|
@@ -779,7 +751,7 @@ class DynamoDBClient(BaseClient):
|
|
|
779
751
|
"""
|
|
780
752
|
Adds or removes replicas in the specified global table.
|
|
781
753
|
|
|
782
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
754
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/update_global_table.html)
|
|
783
755
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#update_global_table)
|
|
784
756
|
"""
|
|
785
757
|
|
|
@@ -789,7 +761,7 @@ class DynamoDBClient(BaseClient):
|
|
|
789
761
|
"""
|
|
790
762
|
Updates settings for a global table.
|
|
791
763
|
|
|
792
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
764
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/update_global_table_settings.html)
|
|
793
765
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#update_global_table_settings)
|
|
794
766
|
"""
|
|
795
767
|
|
|
@@ -798,10 +770,9 @@ class DynamoDBClient(BaseClient):
|
|
|
798
770
|
) -> UpdateItemOutputTypeDef:
|
|
799
771
|
"""
|
|
800
772
|
Edits an existing item's attributes, or adds a new item to the table if it does
|
|
801
|
-
not already
|
|
802
|
-
exist.
|
|
773
|
+
not already exist.
|
|
803
774
|
|
|
804
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
775
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/update_item.html)
|
|
805
776
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#update_item)
|
|
806
777
|
"""
|
|
807
778
|
|
|
@@ -811,7 +782,7 @@ class DynamoDBClient(BaseClient):
|
|
|
811
782
|
"""
|
|
812
783
|
The command to update the Kinesis stream destination.
|
|
813
784
|
|
|
814
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
785
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/update_kinesis_streaming_destination.html)
|
|
815
786
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#update_kinesis_streaming_destination)
|
|
816
787
|
"""
|
|
817
788
|
|
|
@@ -820,10 +791,9 @@ class DynamoDBClient(BaseClient):
|
|
|
820
791
|
) -> UpdateTableOutputTypeDef:
|
|
821
792
|
"""
|
|
822
793
|
Modifies the provisioned throughput settings, global secondary indexes, or
|
|
823
|
-
DynamoDB Streams settings for a given
|
|
824
|
-
table.
|
|
794
|
+
DynamoDB Streams settings for a given table.
|
|
825
795
|
|
|
826
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
796
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/update_table.html)
|
|
827
797
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#update_table)
|
|
828
798
|
"""
|
|
829
799
|
|
|
@@ -833,7 +803,7 @@ class DynamoDBClient(BaseClient):
|
|
|
833
803
|
"""
|
|
834
804
|
Updates auto scaling settings on your global tables at once.
|
|
835
805
|
|
|
836
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
806
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/update_table_replica_auto_scaling.html)
|
|
837
807
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#update_table_replica_auto_scaling)
|
|
838
808
|
"""
|
|
839
809
|
|
|
@@ -841,61 +811,86 @@ class DynamoDBClient(BaseClient):
|
|
|
841
811
|
self, **kwargs: Unpack[UpdateTimeToLiveInputRequestTypeDef]
|
|
842
812
|
) -> UpdateTimeToLiveOutputTypeDef:
|
|
843
813
|
"""
|
|
844
|
-
The
|
|
845
|
-
specified
|
|
846
|
-
table.
|
|
814
|
+
The <code>UpdateTimeToLive</code> method enables or disables Time to Live (TTL)
|
|
815
|
+
for the specified table.
|
|
847
816
|
|
|
848
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html
|
|
817
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/update_time_to_live.html)
|
|
849
818
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#update_time_to_live)
|
|
850
819
|
"""
|
|
851
820
|
|
|
852
|
-
@overload
|
|
853
|
-
def get_paginator(
|
|
821
|
+
@overload # type: ignore[override]
|
|
822
|
+
def get_paginator( # type: ignore[override]
|
|
823
|
+
self, operation_name: Literal["list_backups"]
|
|
824
|
+
) -> ListBackupsPaginator:
|
|
854
825
|
"""
|
|
855
|
-
|
|
826
|
+
Create a paginator for an operation.
|
|
827
|
+
|
|
828
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/get_paginator.html)
|
|
856
829
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#get_paginator)
|
|
857
830
|
"""
|
|
858
831
|
|
|
859
|
-
@overload
|
|
860
|
-
def get_paginator(
|
|
832
|
+
@overload # type: ignore[override]
|
|
833
|
+
def get_paginator( # type: ignore[override]
|
|
834
|
+
self, operation_name: Literal["list_tables"]
|
|
835
|
+
) -> ListTablesPaginator:
|
|
861
836
|
"""
|
|
862
|
-
|
|
837
|
+
Create a paginator for an operation.
|
|
838
|
+
|
|
839
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/get_paginator.html)
|
|
863
840
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#get_paginator)
|
|
864
841
|
"""
|
|
865
842
|
|
|
866
|
-
@overload
|
|
867
|
-
def get_paginator(
|
|
843
|
+
@overload # type: ignore[override]
|
|
844
|
+
def get_paginator( # type: ignore[override]
|
|
868
845
|
self, operation_name: Literal["list_tags_of_resource"]
|
|
869
846
|
) -> ListTagsOfResourcePaginator:
|
|
870
847
|
"""
|
|
871
|
-
|
|
848
|
+
Create a paginator for an operation.
|
|
849
|
+
|
|
850
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/get_paginator.html)
|
|
872
851
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#get_paginator)
|
|
873
852
|
"""
|
|
874
853
|
|
|
875
|
-
@overload
|
|
876
|
-
def get_paginator(
|
|
854
|
+
@overload # type: ignore[override]
|
|
855
|
+
def get_paginator( # type: ignore[override]
|
|
856
|
+
self, operation_name: Literal["query"]
|
|
857
|
+
) -> QueryPaginator:
|
|
877
858
|
"""
|
|
878
|
-
|
|
859
|
+
Create a paginator for an operation.
|
|
860
|
+
|
|
861
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/get_paginator.html)
|
|
879
862
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#get_paginator)
|
|
880
863
|
"""
|
|
881
864
|
|
|
882
|
-
@overload
|
|
883
|
-
def get_paginator(
|
|
865
|
+
@overload # type: ignore[override]
|
|
866
|
+
def get_paginator( # type: ignore[override]
|
|
867
|
+
self, operation_name: Literal["scan"]
|
|
868
|
+
) -> ScanPaginator:
|
|
884
869
|
"""
|
|
885
|
-
|
|
870
|
+
Create a paginator for an operation.
|
|
871
|
+
|
|
872
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/get_paginator.html)
|
|
886
873
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#get_paginator)
|
|
887
874
|
"""
|
|
888
875
|
|
|
889
|
-
@overload
|
|
890
|
-
def get_waiter(
|
|
876
|
+
@overload # type: ignore[override]
|
|
877
|
+
def get_waiter( # type: ignore[override]
|
|
878
|
+
self, waiter_name: Literal["table_exists"]
|
|
879
|
+
) -> TableExistsWaiter:
|
|
891
880
|
"""
|
|
892
|
-
|
|
881
|
+
Returns an object that can wait for some condition.
|
|
882
|
+
|
|
883
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/get_waiter.html)
|
|
893
884
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#get_waiter)
|
|
894
885
|
"""
|
|
895
886
|
|
|
896
|
-
@overload
|
|
897
|
-
def get_waiter(
|
|
887
|
+
@overload # type: ignore[override]
|
|
888
|
+
def get_waiter( # type: ignore[override]
|
|
889
|
+
self, waiter_name: Literal["table_not_exists"]
|
|
890
|
+
) -> TableNotExistsWaiter:
|
|
898
891
|
"""
|
|
899
|
-
|
|
892
|
+
Returns an object that can wait for some condition.
|
|
893
|
+
|
|
894
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/get_waiter.html)
|
|
900
895
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#get_waiter)
|
|
901
896
|
"""
|