types-boto3-dynamodb 1.36.0__py3-none-any.whl → 1.37.12__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.
- types_boto3_dynamodb/__init__.py +4 -2
- types_boto3_dynamodb/__init__.pyi +4 -2
- types_boto3_dynamodb/__main__.py +4 -4
- types_boto3_dynamodb/client.py +110 -129
- types_boto3_dynamodb/client.pyi +110 -129
- types_boto3_dynamodb/literals.py +4 -3
- types_boto3_dynamodb/literals.pyi +4 -3
- types_boto3_dynamodb/paginator.py +2 -2
- types_boto3_dynamodb/paginator.pyi +2 -2
- types_boto3_dynamodb/service_resource.py +2 -2
- types_boto3_dynamodb/service_resource.pyi +2 -2
- types_boto3_dynamodb/type_defs.py +219 -194
- types_boto3_dynamodb/type_defs.pyi +211 -188
- types_boto3_dynamodb/version.py +1 -1
- types_boto3_dynamodb/waiter.py +4 -4
- types_boto3_dynamodb/waiter.pyi +4 -4
- {types_boto3_dynamodb-1.36.0.dist-info → types_boto3_dynamodb-1.37.12.dist-info}/METADATA +12 -8
- types_boto3_dynamodb-1.37.12.dist-info/RECORD +22 -0
- {types_boto3_dynamodb-1.36.0.dist-info → types_boto3_dynamodb-1.37.12.dist-info}/WHEEL +1 -1
- types_boto3_dynamodb-1.36.0.dist-info/RECORD +0 -22
- {types_boto3_dynamodb-1.36.0.dist-info → types_boto3_dynamodb-1.37.12.dist-info}/LICENSE +0 -0
- {types_boto3_dynamodb-1.36.0.dist-info → types_boto3_dynamodb-1.37.12.dist-info}/top_level.txt +0 -0
types_boto3_dynamodb/client.py
CHANGED
|
@@ -3,6 +3,8 @@ Type annotations for dynamodb service Client.
|
|
|
3
3
|
|
|
4
4
|
[Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/client/)
|
|
5
5
|
|
|
6
|
+
Copyright 2025 Vlad Emelianov
|
|
7
|
+
|
|
6
8
|
Usage::
|
|
7
9
|
|
|
8
10
|
```python
|
|
@@ -12,8 +14,6 @@ Usage::
|
|
|
12
14
|
session = Session()
|
|
13
15
|
client: DynamoDBClient = session.client("dynamodb")
|
|
14
16
|
```
|
|
15
|
-
|
|
16
|
-
Copyright 2025 Vlad Emelianov
|
|
17
17
|
"""
|
|
18
18
|
|
|
19
19
|
from __future__ import annotations
|
|
@@ -33,114 +33,115 @@ from .paginator import (
|
|
|
33
33
|
ScanPaginator,
|
|
34
34
|
)
|
|
35
35
|
from .type_defs import (
|
|
36
|
-
|
|
36
|
+
BatchExecuteStatementInputTypeDef,
|
|
37
37
|
BatchExecuteStatementOutputTypeDef,
|
|
38
|
-
|
|
38
|
+
BatchGetItemInputTypeDef,
|
|
39
39
|
BatchGetItemOutputTypeDef,
|
|
40
|
-
|
|
40
|
+
BatchWriteItemInputTypeDef,
|
|
41
41
|
BatchWriteItemOutputTypeDef,
|
|
42
|
-
|
|
42
|
+
CreateBackupInputTypeDef,
|
|
43
43
|
CreateBackupOutputTypeDef,
|
|
44
|
-
|
|
44
|
+
CreateGlobalTableInputTypeDef,
|
|
45
45
|
CreateGlobalTableOutputTypeDef,
|
|
46
|
-
|
|
46
|
+
CreateTableInputTypeDef,
|
|
47
47
|
CreateTableOutputTypeDef,
|
|
48
|
-
|
|
48
|
+
DeleteBackupInputTypeDef,
|
|
49
49
|
DeleteBackupOutputTypeDef,
|
|
50
|
-
|
|
50
|
+
DeleteItemInputTypeDef,
|
|
51
51
|
DeleteItemOutputTypeDef,
|
|
52
|
-
|
|
52
|
+
DeleteResourcePolicyInputTypeDef,
|
|
53
53
|
DeleteResourcePolicyOutputTypeDef,
|
|
54
|
-
|
|
54
|
+
DeleteTableInputTypeDef,
|
|
55
55
|
DeleteTableOutputTypeDef,
|
|
56
|
-
|
|
56
|
+
DescribeBackupInputTypeDef,
|
|
57
57
|
DescribeBackupOutputTypeDef,
|
|
58
|
-
|
|
58
|
+
DescribeContinuousBackupsInputTypeDef,
|
|
59
59
|
DescribeContinuousBackupsOutputTypeDef,
|
|
60
|
-
|
|
60
|
+
DescribeContributorInsightsInputTypeDef,
|
|
61
61
|
DescribeContributorInsightsOutputTypeDef,
|
|
62
62
|
DescribeEndpointsResponseTypeDef,
|
|
63
|
-
|
|
63
|
+
DescribeExportInputTypeDef,
|
|
64
64
|
DescribeExportOutputTypeDef,
|
|
65
|
-
|
|
65
|
+
DescribeGlobalTableInputTypeDef,
|
|
66
66
|
DescribeGlobalTableOutputTypeDef,
|
|
67
|
-
|
|
67
|
+
DescribeGlobalTableSettingsInputTypeDef,
|
|
68
68
|
DescribeGlobalTableSettingsOutputTypeDef,
|
|
69
|
-
|
|
69
|
+
DescribeImportInputTypeDef,
|
|
70
70
|
DescribeImportOutputTypeDef,
|
|
71
|
-
|
|
71
|
+
DescribeKinesisStreamingDestinationInputTypeDef,
|
|
72
72
|
DescribeKinesisStreamingDestinationOutputTypeDef,
|
|
73
73
|
DescribeLimitsOutputTypeDef,
|
|
74
|
-
|
|
74
|
+
DescribeTableInputTypeDef,
|
|
75
75
|
DescribeTableOutputTypeDef,
|
|
76
|
-
|
|
76
|
+
DescribeTableReplicaAutoScalingInputTypeDef,
|
|
77
77
|
DescribeTableReplicaAutoScalingOutputTypeDef,
|
|
78
|
-
|
|
78
|
+
DescribeTimeToLiveInputTypeDef,
|
|
79
79
|
DescribeTimeToLiveOutputTypeDef,
|
|
80
80
|
EmptyResponseMetadataTypeDef,
|
|
81
|
-
|
|
81
|
+
ExecuteStatementInputTypeDef,
|
|
82
82
|
ExecuteStatementOutputTypeDef,
|
|
83
|
-
|
|
83
|
+
ExecuteTransactionInputTypeDef,
|
|
84
84
|
ExecuteTransactionOutputTypeDef,
|
|
85
|
-
|
|
85
|
+
ExportTableToPointInTimeInputTypeDef,
|
|
86
86
|
ExportTableToPointInTimeOutputTypeDef,
|
|
87
|
-
|
|
87
|
+
GetItemInputTypeDef,
|
|
88
88
|
GetItemOutputTypeDef,
|
|
89
|
-
|
|
89
|
+
GetResourcePolicyInputTypeDef,
|
|
90
90
|
GetResourcePolicyOutputTypeDef,
|
|
91
|
-
|
|
91
|
+
ImportTableInputTypeDef,
|
|
92
92
|
ImportTableOutputTypeDef,
|
|
93
93
|
KinesisStreamingDestinationInputRequestTypeDef,
|
|
94
|
+
KinesisStreamingDestinationInputTypeDef,
|
|
94
95
|
KinesisStreamingDestinationOutputTypeDef,
|
|
95
|
-
|
|
96
|
+
ListBackupsInputTypeDef,
|
|
96
97
|
ListBackupsOutputTypeDef,
|
|
97
|
-
|
|
98
|
+
ListContributorInsightsInputTypeDef,
|
|
98
99
|
ListContributorInsightsOutputTypeDef,
|
|
99
|
-
|
|
100
|
+
ListExportsInputTypeDef,
|
|
100
101
|
ListExportsOutputTypeDef,
|
|
101
|
-
|
|
102
|
+
ListGlobalTablesInputTypeDef,
|
|
102
103
|
ListGlobalTablesOutputTypeDef,
|
|
103
|
-
|
|
104
|
+
ListImportsInputTypeDef,
|
|
104
105
|
ListImportsOutputTypeDef,
|
|
105
|
-
|
|
106
|
+
ListTablesInputTypeDef,
|
|
106
107
|
ListTablesOutputTypeDef,
|
|
107
|
-
|
|
108
|
+
ListTagsOfResourceInputTypeDef,
|
|
108
109
|
ListTagsOfResourceOutputTypeDef,
|
|
109
|
-
|
|
110
|
+
PutItemInputTypeDef,
|
|
110
111
|
PutItemOutputTypeDef,
|
|
111
|
-
|
|
112
|
+
PutResourcePolicyInputTypeDef,
|
|
112
113
|
PutResourcePolicyOutputTypeDef,
|
|
113
|
-
|
|
114
|
+
QueryInputTypeDef,
|
|
114
115
|
QueryOutputTypeDef,
|
|
115
|
-
|
|
116
|
+
RestoreTableFromBackupInputTypeDef,
|
|
116
117
|
RestoreTableFromBackupOutputTypeDef,
|
|
117
|
-
|
|
118
|
+
RestoreTableToPointInTimeInputTypeDef,
|
|
118
119
|
RestoreTableToPointInTimeOutputTypeDef,
|
|
119
|
-
|
|
120
|
+
ScanInputTypeDef,
|
|
120
121
|
ScanOutputTypeDef,
|
|
121
|
-
|
|
122
|
-
|
|
122
|
+
TagResourceInputTypeDef,
|
|
123
|
+
TransactGetItemsInputTypeDef,
|
|
123
124
|
TransactGetItemsOutputTypeDef,
|
|
124
|
-
|
|
125
|
+
TransactWriteItemsInputTypeDef,
|
|
125
126
|
TransactWriteItemsOutputTypeDef,
|
|
126
|
-
|
|
127
|
-
|
|
127
|
+
UntagResourceInputTypeDef,
|
|
128
|
+
UpdateContinuousBackupsInputTypeDef,
|
|
128
129
|
UpdateContinuousBackupsOutputTypeDef,
|
|
129
|
-
|
|
130
|
+
UpdateContributorInsightsInputTypeDef,
|
|
130
131
|
UpdateContributorInsightsOutputTypeDef,
|
|
131
|
-
|
|
132
|
+
UpdateGlobalTableInputTypeDef,
|
|
132
133
|
UpdateGlobalTableOutputTypeDef,
|
|
133
|
-
|
|
134
|
+
UpdateGlobalTableSettingsInputTypeDef,
|
|
134
135
|
UpdateGlobalTableSettingsOutputTypeDef,
|
|
135
|
-
|
|
136
|
+
UpdateItemInputTypeDef,
|
|
136
137
|
UpdateItemOutputTypeDef,
|
|
137
|
-
|
|
138
|
+
UpdateKinesisStreamingDestinationInputTypeDef,
|
|
138
139
|
UpdateKinesisStreamingDestinationOutputTypeDef,
|
|
139
|
-
|
|
140
|
+
UpdateTableInputTypeDef,
|
|
140
141
|
UpdateTableOutputTypeDef,
|
|
141
|
-
|
|
142
|
+
UpdateTableReplicaAutoScalingInputTypeDef,
|
|
142
143
|
UpdateTableReplicaAutoScalingOutputTypeDef,
|
|
143
|
-
|
|
144
|
+
UpdateTimeToLiveInputTypeDef,
|
|
144
145
|
UpdateTimeToLiveOutputTypeDef,
|
|
145
146
|
)
|
|
146
147
|
from .waiter import TableExistsWaiter, TableNotExistsWaiter
|
|
@@ -232,7 +233,7 @@ class DynamoDBClient(BaseClient):
|
|
|
232
233
|
"""
|
|
233
234
|
|
|
234
235
|
def batch_execute_statement(
|
|
235
|
-
self, **kwargs: Unpack[
|
|
236
|
+
self, **kwargs: Unpack[BatchExecuteStatementInputTypeDef]
|
|
236
237
|
) -> BatchExecuteStatementOutputTypeDef:
|
|
237
238
|
"""
|
|
238
239
|
This operation allows you to perform batch reads or writes on data stored in
|
|
@@ -243,7 +244,7 @@ class DynamoDBClient(BaseClient):
|
|
|
243
244
|
"""
|
|
244
245
|
|
|
245
246
|
def batch_get_item(
|
|
246
|
-
self, **kwargs: Unpack[
|
|
247
|
+
self, **kwargs: Unpack[BatchGetItemInputTypeDef]
|
|
247
248
|
) -> BatchGetItemOutputTypeDef:
|
|
248
249
|
"""
|
|
249
250
|
The <code>BatchGetItem</code> operation returns the attributes of one or more
|
|
@@ -254,7 +255,7 @@ class DynamoDBClient(BaseClient):
|
|
|
254
255
|
"""
|
|
255
256
|
|
|
256
257
|
def batch_write_item(
|
|
257
|
-
self, **kwargs: Unpack[
|
|
258
|
+
self, **kwargs: Unpack[BatchWriteItemInputTypeDef]
|
|
258
259
|
) -> BatchWriteItemOutputTypeDef:
|
|
259
260
|
"""
|
|
260
261
|
The <code>BatchWriteItem</code> operation puts or deletes multiple items in one
|
|
@@ -265,7 +266,7 @@ class DynamoDBClient(BaseClient):
|
|
|
265
266
|
"""
|
|
266
267
|
|
|
267
268
|
def create_backup(
|
|
268
|
-
self, **kwargs: Unpack[
|
|
269
|
+
self, **kwargs: Unpack[CreateBackupInputTypeDef]
|
|
269
270
|
) -> CreateBackupOutputTypeDef:
|
|
270
271
|
"""
|
|
271
272
|
Creates a backup for an existing table.
|
|
@@ -275,7 +276,7 @@ class DynamoDBClient(BaseClient):
|
|
|
275
276
|
"""
|
|
276
277
|
|
|
277
278
|
def create_global_table(
|
|
278
|
-
self, **kwargs: Unpack[
|
|
279
|
+
self, **kwargs: Unpack[CreateGlobalTableInputTypeDef]
|
|
279
280
|
) -> CreateGlobalTableOutputTypeDef:
|
|
280
281
|
"""
|
|
281
282
|
Creates a global table from an existing table.
|
|
@@ -284,9 +285,7 @@ class DynamoDBClient(BaseClient):
|
|
|
284
285
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/client/#create_global_table)
|
|
285
286
|
"""
|
|
286
287
|
|
|
287
|
-
def create_table(
|
|
288
|
-
self, **kwargs: Unpack[CreateTableInputRequestTypeDef]
|
|
289
|
-
) -> CreateTableOutputTypeDef:
|
|
288
|
+
def create_table(self, **kwargs: Unpack[CreateTableInputTypeDef]) -> CreateTableOutputTypeDef:
|
|
290
289
|
"""
|
|
291
290
|
The <code>CreateTable</code> operation adds a new table to your account.
|
|
292
291
|
|
|
@@ -295,7 +294,7 @@ class DynamoDBClient(BaseClient):
|
|
|
295
294
|
"""
|
|
296
295
|
|
|
297
296
|
def delete_backup(
|
|
298
|
-
self, **kwargs: Unpack[
|
|
297
|
+
self, **kwargs: Unpack[DeleteBackupInputTypeDef]
|
|
299
298
|
) -> DeleteBackupOutputTypeDef:
|
|
300
299
|
"""
|
|
301
300
|
Deletes an existing backup of a table.
|
|
@@ -304,9 +303,7 @@ class DynamoDBClient(BaseClient):
|
|
|
304
303
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/client/#delete_backup)
|
|
305
304
|
"""
|
|
306
305
|
|
|
307
|
-
def delete_item(
|
|
308
|
-
self, **kwargs: Unpack[DeleteItemInputRequestTypeDef]
|
|
309
|
-
) -> DeleteItemOutputTypeDef:
|
|
306
|
+
def delete_item(self, **kwargs: Unpack[DeleteItemInputTypeDef]) -> DeleteItemOutputTypeDef:
|
|
310
307
|
"""
|
|
311
308
|
Deletes a single item in a table by primary key.
|
|
312
309
|
|
|
@@ -315,7 +312,7 @@ class DynamoDBClient(BaseClient):
|
|
|
315
312
|
"""
|
|
316
313
|
|
|
317
314
|
def delete_resource_policy(
|
|
318
|
-
self, **kwargs: Unpack[
|
|
315
|
+
self, **kwargs: Unpack[DeleteResourcePolicyInputTypeDef]
|
|
319
316
|
) -> DeleteResourcePolicyOutputTypeDef:
|
|
320
317
|
"""
|
|
321
318
|
Deletes the resource-based policy attached to the resource, which can be a
|
|
@@ -325,9 +322,7 @@ class DynamoDBClient(BaseClient):
|
|
|
325
322
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/client/#delete_resource_policy)
|
|
326
323
|
"""
|
|
327
324
|
|
|
328
|
-
def delete_table(
|
|
329
|
-
self, **kwargs: Unpack[DeleteTableInputRequestTypeDef]
|
|
330
|
-
) -> DeleteTableOutputTypeDef:
|
|
325
|
+
def delete_table(self, **kwargs: Unpack[DeleteTableInputTypeDef]) -> DeleteTableOutputTypeDef:
|
|
331
326
|
"""
|
|
332
327
|
The <code>DeleteTable</code> operation deletes a table and all of its items.
|
|
333
328
|
|
|
@@ -336,7 +331,7 @@ class DynamoDBClient(BaseClient):
|
|
|
336
331
|
"""
|
|
337
332
|
|
|
338
333
|
def describe_backup(
|
|
339
|
-
self, **kwargs: Unpack[
|
|
334
|
+
self, **kwargs: Unpack[DescribeBackupInputTypeDef]
|
|
340
335
|
) -> DescribeBackupOutputTypeDef:
|
|
341
336
|
"""
|
|
342
337
|
Describes an existing backup of a table.
|
|
@@ -346,7 +341,7 @@ class DynamoDBClient(BaseClient):
|
|
|
346
341
|
"""
|
|
347
342
|
|
|
348
343
|
def describe_continuous_backups(
|
|
349
|
-
self, **kwargs: Unpack[
|
|
344
|
+
self, **kwargs: Unpack[DescribeContinuousBackupsInputTypeDef]
|
|
350
345
|
) -> DescribeContinuousBackupsOutputTypeDef:
|
|
351
346
|
"""
|
|
352
347
|
Checks the status of continuous backups and point in time recovery on the
|
|
@@ -357,7 +352,7 @@ class DynamoDBClient(BaseClient):
|
|
|
357
352
|
"""
|
|
358
353
|
|
|
359
354
|
def describe_contributor_insights(
|
|
360
|
-
self, **kwargs: Unpack[
|
|
355
|
+
self, **kwargs: Unpack[DescribeContributorInsightsInputTypeDef]
|
|
361
356
|
) -> DescribeContributorInsightsOutputTypeDef:
|
|
362
357
|
"""
|
|
363
358
|
Returns information about contributor insights for a given table or global
|
|
@@ -376,7 +371,7 @@ class DynamoDBClient(BaseClient):
|
|
|
376
371
|
"""
|
|
377
372
|
|
|
378
373
|
def describe_export(
|
|
379
|
-
self, **kwargs: Unpack[
|
|
374
|
+
self, **kwargs: Unpack[DescribeExportInputTypeDef]
|
|
380
375
|
) -> DescribeExportOutputTypeDef:
|
|
381
376
|
"""
|
|
382
377
|
Describes an existing table export.
|
|
@@ -386,7 +381,7 @@ class DynamoDBClient(BaseClient):
|
|
|
386
381
|
"""
|
|
387
382
|
|
|
388
383
|
def describe_global_table(
|
|
389
|
-
self, **kwargs: Unpack[
|
|
384
|
+
self, **kwargs: Unpack[DescribeGlobalTableInputTypeDef]
|
|
390
385
|
) -> DescribeGlobalTableOutputTypeDef:
|
|
391
386
|
"""
|
|
392
387
|
Returns information about the specified global table.
|
|
@@ -396,7 +391,7 @@ class DynamoDBClient(BaseClient):
|
|
|
396
391
|
"""
|
|
397
392
|
|
|
398
393
|
def describe_global_table_settings(
|
|
399
|
-
self, **kwargs: Unpack[
|
|
394
|
+
self, **kwargs: Unpack[DescribeGlobalTableSettingsInputTypeDef]
|
|
400
395
|
) -> DescribeGlobalTableSettingsOutputTypeDef:
|
|
401
396
|
"""
|
|
402
397
|
Describes Region-specific settings for a global table.
|
|
@@ -406,7 +401,7 @@ class DynamoDBClient(BaseClient):
|
|
|
406
401
|
"""
|
|
407
402
|
|
|
408
403
|
def describe_import(
|
|
409
|
-
self, **kwargs: Unpack[
|
|
404
|
+
self, **kwargs: Unpack[DescribeImportInputTypeDef]
|
|
410
405
|
) -> DescribeImportOutputTypeDef:
|
|
411
406
|
"""
|
|
412
407
|
Represents the properties of the import.
|
|
@@ -416,7 +411,7 @@ class DynamoDBClient(BaseClient):
|
|
|
416
411
|
"""
|
|
417
412
|
|
|
418
413
|
def describe_kinesis_streaming_destination(
|
|
419
|
-
self, **kwargs: Unpack[
|
|
414
|
+
self, **kwargs: Unpack[DescribeKinesisStreamingDestinationInputTypeDef]
|
|
420
415
|
) -> DescribeKinesisStreamingDestinationOutputTypeDef:
|
|
421
416
|
"""
|
|
422
417
|
Returns information about the status of Kinesis streaming.
|
|
@@ -436,7 +431,7 @@ class DynamoDBClient(BaseClient):
|
|
|
436
431
|
"""
|
|
437
432
|
|
|
438
433
|
def describe_table(
|
|
439
|
-
self, **kwargs: Unpack[
|
|
434
|
+
self, **kwargs: Unpack[DescribeTableInputTypeDef]
|
|
440
435
|
) -> DescribeTableOutputTypeDef:
|
|
441
436
|
"""
|
|
442
437
|
Returns information about the table, including the current status of the table,
|
|
@@ -447,7 +442,7 @@ class DynamoDBClient(BaseClient):
|
|
|
447
442
|
"""
|
|
448
443
|
|
|
449
444
|
def describe_table_replica_auto_scaling(
|
|
450
|
-
self, **kwargs: Unpack[
|
|
445
|
+
self, **kwargs: Unpack[DescribeTableReplicaAutoScalingInputTypeDef]
|
|
451
446
|
) -> DescribeTableReplicaAutoScalingOutputTypeDef:
|
|
452
447
|
"""
|
|
453
448
|
Describes auto scaling settings across replicas of the global table at once.
|
|
@@ -457,7 +452,7 @@ class DynamoDBClient(BaseClient):
|
|
|
457
452
|
"""
|
|
458
453
|
|
|
459
454
|
def describe_time_to_live(
|
|
460
|
-
self, **kwargs: Unpack[
|
|
455
|
+
self, **kwargs: Unpack[DescribeTimeToLiveInputTypeDef]
|
|
461
456
|
) -> DescribeTimeToLiveOutputTypeDef:
|
|
462
457
|
"""
|
|
463
458
|
Gives a description of the Time to Live (TTL) status on the specified table.
|
|
@@ -467,7 +462,7 @@ class DynamoDBClient(BaseClient):
|
|
|
467
462
|
"""
|
|
468
463
|
|
|
469
464
|
def disable_kinesis_streaming_destination(
|
|
470
|
-
self, **kwargs: Unpack[
|
|
465
|
+
self, **kwargs: Unpack[KinesisStreamingDestinationInputTypeDef]
|
|
471
466
|
) -> KinesisStreamingDestinationOutputTypeDef:
|
|
472
467
|
"""
|
|
473
468
|
Stops replication from the DynamoDB table to the Kinesis data stream.
|
|
@@ -488,7 +483,7 @@ class DynamoDBClient(BaseClient):
|
|
|
488
483
|
"""
|
|
489
484
|
|
|
490
485
|
def execute_statement(
|
|
491
|
-
self, **kwargs: Unpack[
|
|
486
|
+
self, **kwargs: Unpack[ExecuteStatementInputTypeDef]
|
|
492
487
|
) -> ExecuteStatementOutputTypeDef:
|
|
493
488
|
"""
|
|
494
489
|
This operation allows you to perform reads and singleton writes on data stored
|
|
@@ -499,7 +494,7 @@ class DynamoDBClient(BaseClient):
|
|
|
499
494
|
"""
|
|
500
495
|
|
|
501
496
|
def execute_transaction(
|
|
502
|
-
self, **kwargs: Unpack[
|
|
497
|
+
self, **kwargs: Unpack[ExecuteTransactionInputTypeDef]
|
|
503
498
|
) -> ExecuteTransactionOutputTypeDef:
|
|
504
499
|
"""
|
|
505
500
|
This operation allows you to perform transactional reads or writes on data
|
|
@@ -510,7 +505,7 @@ class DynamoDBClient(BaseClient):
|
|
|
510
505
|
"""
|
|
511
506
|
|
|
512
507
|
def export_table_to_point_in_time(
|
|
513
|
-
self, **kwargs: Unpack[
|
|
508
|
+
self, **kwargs: Unpack[ExportTableToPointInTimeInputTypeDef]
|
|
514
509
|
) -> ExportTableToPointInTimeOutputTypeDef:
|
|
515
510
|
"""
|
|
516
511
|
Exports table data to an S3 bucket.
|
|
@@ -519,7 +514,7 @@ class DynamoDBClient(BaseClient):
|
|
|
519
514
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/client/#export_table_to_point_in_time)
|
|
520
515
|
"""
|
|
521
516
|
|
|
522
|
-
def get_item(self, **kwargs: Unpack[
|
|
517
|
+
def get_item(self, **kwargs: Unpack[GetItemInputTypeDef]) -> GetItemOutputTypeDef:
|
|
523
518
|
"""
|
|
524
519
|
The <code>GetItem</code> operation returns a set of attributes for the item
|
|
525
520
|
with the given primary key.
|
|
@@ -529,7 +524,7 @@ class DynamoDBClient(BaseClient):
|
|
|
529
524
|
"""
|
|
530
525
|
|
|
531
526
|
def get_resource_policy(
|
|
532
|
-
self, **kwargs: Unpack[
|
|
527
|
+
self, **kwargs: Unpack[GetResourcePolicyInputTypeDef]
|
|
533
528
|
) -> GetResourcePolicyOutputTypeDef:
|
|
534
529
|
"""
|
|
535
530
|
Returns the resource-based policy document attached to the resource, which can
|
|
@@ -539,9 +534,7 @@ class DynamoDBClient(BaseClient):
|
|
|
539
534
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/client/#get_resource_policy)
|
|
540
535
|
"""
|
|
541
536
|
|
|
542
|
-
def import_table(
|
|
543
|
-
self, **kwargs: Unpack[ImportTableInputRequestTypeDef]
|
|
544
|
-
) -> ImportTableOutputTypeDef:
|
|
537
|
+
def import_table(self, **kwargs: Unpack[ImportTableInputTypeDef]) -> ImportTableOutputTypeDef:
|
|
545
538
|
"""
|
|
546
539
|
Imports table data from an S3 bucket.
|
|
547
540
|
|
|
@@ -549,9 +542,7 @@ class DynamoDBClient(BaseClient):
|
|
|
549
542
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/client/#import_table)
|
|
550
543
|
"""
|
|
551
544
|
|
|
552
|
-
def list_backups(
|
|
553
|
-
self, **kwargs: Unpack[ListBackupsInputRequestTypeDef]
|
|
554
|
-
) -> ListBackupsOutputTypeDef:
|
|
545
|
+
def list_backups(self, **kwargs: Unpack[ListBackupsInputTypeDef]) -> ListBackupsOutputTypeDef:
|
|
555
546
|
"""
|
|
556
547
|
List DynamoDB backups that are associated with an Amazon Web Services account
|
|
557
548
|
and weren't made with Amazon Web Services Backup.
|
|
@@ -561,7 +552,7 @@ class DynamoDBClient(BaseClient):
|
|
|
561
552
|
"""
|
|
562
553
|
|
|
563
554
|
def list_contributor_insights(
|
|
564
|
-
self, **kwargs: Unpack[
|
|
555
|
+
self, **kwargs: Unpack[ListContributorInsightsInputTypeDef]
|
|
565
556
|
) -> ListContributorInsightsOutputTypeDef:
|
|
566
557
|
"""
|
|
567
558
|
Returns a list of ContributorInsightsSummary for a table and all its global
|
|
@@ -571,9 +562,7 @@ class DynamoDBClient(BaseClient):
|
|
|
571
562
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/client/#list_contributor_insights)
|
|
572
563
|
"""
|
|
573
564
|
|
|
574
|
-
def list_exports(
|
|
575
|
-
self, **kwargs: Unpack[ListExportsInputRequestTypeDef]
|
|
576
|
-
) -> ListExportsOutputTypeDef:
|
|
565
|
+
def list_exports(self, **kwargs: Unpack[ListExportsInputTypeDef]) -> ListExportsOutputTypeDef:
|
|
577
566
|
"""
|
|
578
567
|
Lists completed exports within the past 90 days.
|
|
579
568
|
|
|
@@ -582,7 +571,7 @@ class DynamoDBClient(BaseClient):
|
|
|
582
571
|
"""
|
|
583
572
|
|
|
584
573
|
def list_global_tables(
|
|
585
|
-
self, **kwargs: Unpack[
|
|
574
|
+
self, **kwargs: Unpack[ListGlobalTablesInputTypeDef]
|
|
586
575
|
) -> ListGlobalTablesOutputTypeDef:
|
|
587
576
|
"""
|
|
588
577
|
Lists all global tables that have a replica in the specified Region.
|
|
@@ -591,9 +580,7 @@ class DynamoDBClient(BaseClient):
|
|
|
591
580
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/client/#list_global_tables)
|
|
592
581
|
"""
|
|
593
582
|
|
|
594
|
-
def list_imports(
|
|
595
|
-
self, **kwargs: Unpack[ListImportsInputRequestTypeDef]
|
|
596
|
-
) -> ListImportsOutputTypeDef:
|
|
583
|
+
def list_imports(self, **kwargs: Unpack[ListImportsInputTypeDef]) -> ListImportsOutputTypeDef:
|
|
597
584
|
"""
|
|
598
585
|
Lists completed imports within the past 90 days.
|
|
599
586
|
|
|
@@ -601,9 +588,7 @@ class DynamoDBClient(BaseClient):
|
|
|
601
588
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/client/#list_imports)
|
|
602
589
|
"""
|
|
603
590
|
|
|
604
|
-
def list_tables(
|
|
605
|
-
self, **kwargs: Unpack[ListTablesInputRequestTypeDef]
|
|
606
|
-
) -> ListTablesOutputTypeDef:
|
|
591
|
+
def list_tables(self, **kwargs: Unpack[ListTablesInputTypeDef]) -> ListTablesOutputTypeDef:
|
|
607
592
|
"""
|
|
608
593
|
Returns an array of table names associated with the current account and
|
|
609
594
|
endpoint.
|
|
@@ -613,7 +598,7 @@ class DynamoDBClient(BaseClient):
|
|
|
613
598
|
"""
|
|
614
599
|
|
|
615
600
|
def list_tags_of_resource(
|
|
616
|
-
self, **kwargs: Unpack[
|
|
601
|
+
self, **kwargs: Unpack[ListTagsOfResourceInputTypeDef]
|
|
617
602
|
) -> ListTagsOfResourceOutputTypeDef:
|
|
618
603
|
"""
|
|
619
604
|
List all tags on an Amazon DynamoDB resource.
|
|
@@ -622,7 +607,7 @@ class DynamoDBClient(BaseClient):
|
|
|
622
607
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/client/#list_tags_of_resource)
|
|
623
608
|
"""
|
|
624
609
|
|
|
625
|
-
def put_item(self, **kwargs: Unpack[
|
|
610
|
+
def put_item(self, **kwargs: Unpack[PutItemInputTypeDef]) -> PutItemOutputTypeDef:
|
|
626
611
|
"""
|
|
627
612
|
Creates a new item, or replaces an old item with a new item.
|
|
628
613
|
|
|
@@ -631,7 +616,7 @@ class DynamoDBClient(BaseClient):
|
|
|
631
616
|
"""
|
|
632
617
|
|
|
633
618
|
def put_resource_policy(
|
|
634
|
-
self, **kwargs: Unpack[
|
|
619
|
+
self, **kwargs: Unpack[PutResourcePolicyInputTypeDef]
|
|
635
620
|
) -> PutResourcePolicyOutputTypeDef:
|
|
636
621
|
"""
|
|
637
622
|
Attaches a resource-based policy document to the resource, which can be a table
|
|
@@ -641,7 +626,7 @@ class DynamoDBClient(BaseClient):
|
|
|
641
626
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/client/#put_resource_policy)
|
|
642
627
|
"""
|
|
643
628
|
|
|
644
|
-
def query(self, **kwargs: Unpack[
|
|
629
|
+
def query(self, **kwargs: Unpack[QueryInputTypeDef]) -> QueryOutputTypeDef:
|
|
645
630
|
"""
|
|
646
631
|
You must provide the name of the partition key attribute and a single value for
|
|
647
632
|
that attribute.
|
|
@@ -651,7 +636,7 @@ class DynamoDBClient(BaseClient):
|
|
|
651
636
|
"""
|
|
652
637
|
|
|
653
638
|
def restore_table_from_backup(
|
|
654
|
-
self, **kwargs: Unpack[
|
|
639
|
+
self, **kwargs: Unpack[RestoreTableFromBackupInputTypeDef]
|
|
655
640
|
) -> RestoreTableFromBackupOutputTypeDef:
|
|
656
641
|
"""
|
|
657
642
|
Creates a new table from an existing backup.
|
|
@@ -661,7 +646,7 @@ class DynamoDBClient(BaseClient):
|
|
|
661
646
|
"""
|
|
662
647
|
|
|
663
648
|
def restore_table_to_point_in_time(
|
|
664
|
-
self, **kwargs: Unpack[
|
|
649
|
+
self, **kwargs: Unpack[RestoreTableToPointInTimeInputTypeDef]
|
|
665
650
|
) -> RestoreTableToPointInTimeOutputTypeDef:
|
|
666
651
|
"""
|
|
667
652
|
Restores the specified table to the specified point in time within
|
|
@@ -672,7 +657,7 @@ class DynamoDBClient(BaseClient):
|
|
|
672
657
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/client/#restore_table_to_point_in_time)
|
|
673
658
|
"""
|
|
674
659
|
|
|
675
|
-
def scan(self, **kwargs: Unpack[
|
|
660
|
+
def scan(self, **kwargs: Unpack[ScanInputTypeDef]) -> ScanOutputTypeDef:
|
|
676
661
|
"""
|
|
677
662
|
The <code>Scan</code> operation returns one or more items and item attributes
|
|
678
663
|
by accessing every item in a table or a secondary index.
|
|
@@ -682,7 +667,7 @@ class DynamoDBClient(BaseClient):
|
|
|
682
667
|
"""
|
|
683
668
|
|
|
684
669
|
def tag_resource(
|
|
685
|
-
self, **kwargs: Unpack[
|
|
670
|
+
self, **kwargs: Unpack[TagResourceInputTypeDef]
|
|
686
671
|
) -> EmptyResponseMetadataTypeDef:
|
|
687
672
|
"""
|
|
688
673
|
Associate a set of tags with an Amazon DynamoDB resource.
|
|
@@ -692,7 +677,7 @@ class DynamoDBClient(BaseClient):
|
|
|
692
677
|
"""
|
|
693
678
|
|
|
694
679
|
def transact_get_items(
|
|
695
|
-
self, **kwargs: Unpack[
|
|
680
|
+
self, **kwargs: Unpack[TransactGetItemsInputTypeDef]
|
|
696
681
|
) -> TransactGetItemsOutputTypeDef:
|
|
697
682
|
"""
|
|
698
683
|
<code>TransactGetItems</code> is a synchronous operation that atomically
|
|
@@ -704,7 +689,7 @@ class DynamoDBClient(BaseClient):
|
|
|
704
689
|
"""
|
|
705
690
|
|
|
706
691
|
def transact_write_items(
|
|
707
|
-
self, **kwargs: Unpack[
|
|
692
|
+
self, **kwargs: Unpack[TransactWriteItemsInputTypeDef]
|
|
708
693
|
) -> TransactWriteItemsOutputTypeDef:
|
|
709
694
|
"""
|
|
710
695
|
<code>TransactWriteItems</code> is a synchronous write operation that groups up
|
|
@@ -715,7 +700,7 @@ class DynamoDBClient(BaseClient):
|
|
|
715
700
|
"""
|
|
716
701
|
|
|
717
702
|
def untag_resource(
|
|
718
|
-
self, **kwargs: Unpack[
|
|
703
|
+
self, **kwargs: Unpack[UntagResourceInputTypeDef]
|
|
719
704
|
) -> EmptyResponseMetadataTypeDef:
|
|
720
705
|
"""
|
|
721
706
|
Removes the association of tags from an Amazon DynamoDB resource.
|
|
@@ -725,7 +710,7 @@ class DynamoDBClient(BaseClient):
|
|
|
725
710
|
"""
|
|
726
711
|
|
|
727
712
|
def update_continuous_backups(
|
|
728
|
-
self, **kwargs: Unpack[
|
|
713
|
+
self, **kwargs: Unpack[UpdateContinuousBackupsInputTypeDef]
|
|
729
714
|
) -> UpdateContinuousBackupsOutputTypeDef:
|
|
730
715
|
"""
|
|
731
716
|
<code>UpdateContinuousBackups</code> enables or disables point in time recovery
|
|
@@ -736,7 +721,7 @@ class DynamoDBClient(BaseClient):
|
|
|
736
721
|
"""
|
|
737
722
|
|
|
738
723
|
def update_contributor_insights(
|
|
739
|
-
self, **kwargs: Unpack[
|
|
724
|
+
self, **kwargs: Unpack[UpdateContributorInsightsInputTypeDef]
|
|
740
725
|
) -> UpdateContributorInsightsOutputTypeDef:
|
|
741
726
|
"""
|
|
742
727
|
Updates the status for contributor insights for a specific table or index.
|
|
@@ -746,7 +731,7 @@ class DynamoDBClient(BaseClient):
|
|
|
746
731
|
"""
|
|
747
732
|
|
|
748
733
|
def update_global_table(
|
|
749
|
-
self, **kwargs: Unpack[
|
|
734
|
+
self, **kwargs: Unpack[UpdateGlobalTableInputTypeDef]
|
|
750
735
|
) -> UpdateGlobalTableOutputTypeDef:
|
|
751
736
|
"""
|
|
752
737
|
Adds or removes replicas in the specified global table.
|
|
@@ -756,7 +741,7 @@ class DynamoDBClient(BaseClient):
|
|
|
756
741
|
"""
|
|
757
742
|
|
|
758
743
|
def update_global_table_settings(
|
|
759
|
-
self, **kwargs: Unpack[
|
|
744
|
+
self, **kwargs: Unpack[UpdateGlobalTableSettingsInputTypeDef]
|
|
760
745
|
) -> UpdateGlobalTableSettingsOutputTypeDef:
|
|
761
746
|
"""
|
|
762
747
|
Updates settings for a global table.
|
|
@@ -765,9 +750,7 @@ class DynamoDBClient(BaseClient):
|
|
|
765
750
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/client/#update_global_table_settings)
|
|
766
751
|
"""
|
|
767
752
|
|
|
768
|
-
def update_item(
|
|
769
|
-
self, **kwargs: Unpack[UpdateItemInputRequestTypeDef]
|
|
770
|
-
) -> UpdateItemOutputTypeDef:
|
|
753
|
+
def update_item(self, **kwargs: Unpack[UpdateItemInputTypeDef]) -> UpdateItemOutputTypeDef:
|
|
771
754
|
"""
|
|
772
755
|
Edits an existing item's attributes, or adds a new item to the table if it does
|
|
773
756
|
not already exist.
|
|
@@ -777,7 +760,7 @@ class DynamoDBClient(BaseClient):
|
|
|
777
760
|
"""
|
|
778
761
|
|
|
779
762
|
def update_kinesis_streaming_destination(
|
|
780
|
-
self, **kwargs: Unpack[
|
|
763
|
+
self, **kwargs: Unpack[UpdateKinesisStreamingDestinationInputTypeDef]
|
|
781
764
|
) -> UpdateKinesisStreamingDestinationOutputTypeDef:
|
|
782
765
|
"""
|
|
783
766
|
The command to update the Kinesis stream destination.
|
|
@@ -786,9 +769,7 @@ class DynamoDBClient(BaseClient):
|
|
|
786
769
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/client/#update_kinesis_streaming_destination)
|
|
787
770
|
"""
|
|
788
771
|
|
|
789
|
-
def update_table(
|
|
790
|
-
self, **kwargs: Unpack[UpdateTableInputRequestTypeDef]
|
|
791
|
-
) -> UpdateTableOutputTypeDef:
|
|
772
|
+
def update_table(self, **kwargs: Unpack[UpdateTableInputTypeDef]) -> UpdateTableOutputTypeDef:
|
|
792
773
|
"""
|
|
793
774
|
Modifies the provisioned throughput settings, global secondary indexes, or
|
|
794
775
|
DynamoDB Streams settings for a given table.
|
|
@@ -798,7 +779,7 @@ class DynamoDBClient(BaseClient):
|
|
|
798
779
|
"""
|
|
799
780
|
|
|
800
781
|
def update_table_replica_auto_scaling(
|
|
801
|
-
self, **kwargs: Unpack[
|
|
782
|
+
self, **kwargs: Unpack[UpdateTableReplicaAutoScalingInputTypeDef]
|
|
802
783
|
) -> UpdateTableReplicaAutoScalingOutputTypeDef:
|
|
803
784
|
"""
|
|
804
785
|
Updates auto scaling settings on your global tables at once.
|
|
@@ -808,7 +789,7 @@ class DynamoDBClient(BaseClient):
|
|
|
808
789
|
"""
|
|
809
790
|
|
|
810
791
|
def update_time_to_live(
|
|
811
|
-
self, **kwargs: Unpack[
|
|
792
|
+
self, **kwargs: Unpack[UpdateTimeToLiveInputTypeDef]
|
|
812
793
|
) -> UpdateTimeToLiveOutputTypeDef:
|
|
813
794
|
"""
|
|
814
795
|
The <code>UpdateTimeToLive</code> method enables or disables Time to Live (TTL)
|