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