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