types-boto3-dynamodb 1.36.0__py3-none-any.whl → 1.37.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +2 -3
- types_boto3_dynamodb/literals.pyi +2 -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.0.dist-info}/METADATA +12 -8
- types_boto3_dynamodb-1.37.0.dist-info/RECORD +22 -0
- types_boto3_dynamodb-1.36.0.dist-info/RECORD +0 -22
- {types_boto3_dynamodb-1.36.0.dist-info → types_boto3_dynamodb-1.37.0.dist-info}/LICENSE +0 -0
- {types_boto3_dynamodb-1.36.0.dist-info → types_boto3_dynamodb-1.37.0.dist-info}/WHEEL +0 -0
- {types_boto3_dynamodb-1.36.0.dist-info → types_boto3_dynamodb-1.37.0.dist-info}/top_level.txt +0 -0
types_boto3_dynamodb/client.pyi
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
|
|
@@ -229,7 +230,7 @@ class DynamoDBClient(BaseClient):
|
|
|
229
230
|
"""
|
|
230
231
|
|
|
231
232
|
def batch_execute_statement(
|
|
232
|
-
self, **kwargs: Unpack[
|
|
233
|
+
self, **kwargs: Unpack[BatchExecuteStatementInputTypeDef]
|
|
233
234
|
) -> BatchExecuteStatementOutputTypeDef:
|
|
234
235
|
"""
|
|
235
236
|
This operation allows you to perform batch reads or writes on data stored in
|
|
@@ -240,7 +241,7 @@ class DynamoDBClient(BaseClient):
|
|
|
240
241
|
"""
|
|
241
242
|
|
|
242
243
|
def batch_get_item(
|
|
243
|
-
self, **kwargs: Unpack[
|
|
244
|
+
self, **kwargs: Unpack[BatchGetItemInputTypeDef]
|
|
244
245
|
) -> BatchGetItemOutputTypeDef:
|
|
245
246
|
"""
|
|
246
247
|
The <code>BatchGetItem</code> operation returns the attributes of one or more
|
|
@@ -251,7 +252,7 @@ class DynamoDBClient(BaseClient):
|
|
|
251
252
|
"""
|
|
252
253
|
|
|
253
254
|
def batch_write_item(
|
|
254
|
-
self, **kwargs: Unpack[
|
|
255
|
+
self, **kwargs: Unpack[BatchWriteItemInputTypeDef]
|
|
255
256
|
) -> BatchWriteItemOutputTypeDef:
|
|
256
257
|
"""
|
|
257
258
|
The <code>BatchWriteItem</code> operation puts or deletes multiple items in one
|
|
@@ -262,7 +263,7 @@ class DynamoDBClient(BaseClient):
|
|
|
262
263
|
"""
|
|
263
264
|
|
|
264
265
|
def create_backup(
|
|
265
|
-
self, **kwargs: Unpack[
|
|
266
|
+
self, **kwargs: Unpack[CreateBackupInputTypeDef]
|
|
266
267
|
) -> CreateBackupOutputTypeDef:
|
|
267
268
|
"""
|
|
268
269
|
Creates a backup for an existing table.
|
|
@@ -272,7 +273,7 @@ class DynamoDBClient(BaseClient):
|
|
|
272
273
|
"""
|
|
273
274
|
|
|
274
275
|
def create_global_table(
|
|
275
|
-
self, **kwargs: Unpack[
|
|
276
|
+
self, **kwargs: Unpack[CreateGlobalTableInputTypeDef]
|
|
276
277
|
) -> CreateGlobalTableOutputTypeDef:
|
|
277
278
|
"""
|
|
278
279
|
Creates a global table from an existing table.
|
|
@@ -281,9 +282,7 @@ class DynamoDBClient(BaseClient):
|
|
|
281
282
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/client/#create_global_table)
|
|
282
283
|
"""
|
|
283
284
|
|
|
284
|
-
def create_table(
|
|
285
|
-
self, **kwargs: Unpack[CreateTableInputRequestTypeDef]
|
|
286
|
-
) -> CreateTableOutputTypeDef:
|
|
285
|
+
def create_table(self, **kwargs: Unpack[CreateTableInputTypeDef]) -> CreateTableOutputTypeDef:
|
|
287
286
|
"""
|
|
288
287
|
The <code>CreateTable</code> operation adds a new table to your account.
|
|
289
288
|
|
|
@@ -292,7 +291,7 @@ class DynamoDBClient(BaseClient):
|
|
|
292
291
|
"""
|
|
293
292
|
|
|
294
293
|
def delete_backup(
|
|
295
|
-
self, **kwargs: Unpack[
|
|
294
|
+
self, **kwargs: Unpack[DeleteBackupInputTypeDef]
|
|
296
295
|
) -> DeleteBackupOutputTypeDef:
|
|
297
296
|
"""
|
|
298
297
|
Deletes an existing backup of a table.
|
|
@@ -301,9 +300,7 @@ class DynamoDBClient(BaseClient):
|
|
|
301
300
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/client/#delete_backup)
|
|
302
301
|
"""
|
|
303
302
|
|
|
304
|
-
def delete_item(
|
|
305
|
-
self, **kwargs: Unpack[DeleteItemInputRequestTypeDef]
|
|
306
|
-
) -> DeleteItemOutputTypeDef:
|
|
303
|
+
def delete_item(self, **kwargs: Unpack[DeleteItemInputTypeDef]) -> DeleteItemOutputTypeDef:
|
|
307
304
|
"""
|
|
308
305
|
Deletes a single item in a table by primary key.
|
|
309
306
|
|
|
@@ -312,7 +309,7 @@ class DynamoDBClient(BaseClient):
|
|
|
312
309
|
"""
|
|
313
310
|
|
|
314
311
|
def delete_resource_policy(
|
|
315
|
-
self, **kwargs: Unpack[
|
|
312
|
+
self, **kwargs: Unpack[DeleteResourcePolicyInputTypeDef]
|
|
316
313
|
) -> DeleteResourcePolicyOutputTypeDef:
|
|
317
314
|
"""
|
|
318
315
|
Deletes the resource-based policy attached to the resource, which can be a
|
|
@@ -322,9 +319,7 @@ class DynamoDBClient(BaseClient):
|
|
|
322
319
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/client/#delete_resource_policy)
|
|
323
320
|
"""
|
|
324
321
|
|
|
325
|
-
def delete_table(
|
|
326
|
-
self, **kwargs: Unpack[DeleteTableInputRequestTypeDef]
|
|
327
|
-
) -> DeleteTableOutputTypeDef:
|
|
322
|
+
def delete_table(self, **kwargs: Unpack[DeleteTableInputTypeDef]) -> DeleteTableOutputTypeDef:
|
|
328
323
|
"""
|
|
329
324
|
The <code>DeleteTable</code> operation deletes a table and all of its items.
|
|
330
325
|
|
|
@@ -333,7 +328,7 @@ class DynamoDBClient(BaseClient):
|
|
|
333
328
|
"""
|
|
334
329
|
|
|
335
330
|
def describe_backup(
|
|
336
|
-
self, **kwargs: Unpack[
|
|
331
|
+
self, **kwargs: Unpack[DescribeBackupInputTypeDef]
|
|
337
332
|
) -> DescribeBackupOutputTypeDef:
|
|
338
333
|
"""
|
|
339
334
|
Describes an existing backup of a table.
|
|
@@ -343,7 +338,7 @@ class DynamoDBClient(BaseClient):
|
|
|
343
338
|
"""
|
|
344
339
|
|
|
345
340
|
def describe_continuous_backups(
|
|
346
|
-
self, **kwargs: Unpack[
|
|
341
|
+
self, **kwargs: Unpack[DescribeContinuousBackupsInputTypeDef]
|
|
347
342
|
) -> DescribeContinuousBackupsOutputTypeDef:
|
|
348
343
|
"""
|
|
349
344
|
Checks the status of continuous backups and point in time recovery on the
|
|
@@ -354,7 +349,7 @@ class DynamoDBClient(BaseClient):
|
|
|
354
349
|
"""
|
|
355
350
|
|
|
356
351
|
def describe_contributor_insights(
|
|
357
|
-
self, **kwargs: Unpack[
|
|
352
|
+
self, **kwargs: Unpack[DescribeContributorInsightsInputTypeDef]
|
|
358
353
|
) -> DescribeContributorInsightsOutputTypeDef:
|
|
359
354
|
"""
|
|
360
355
|
Returns information about contributor insights for a given table or global
|
|
@@ -373,7 +368,7 @@ class DynamoDBClient(BaseClient):
|
|
|
373
368
|
"""
|
|
374
369
|
|
|
375
370
|
def describe_export(
|
|
376
|
-
self, **kwargs: Unpack[
|
|
371
|
+
self, **kwargs: Unpack[DescribeExportInputTypeDef]
|
|
377
372
|
) -> DescribeExportOutputTypeDef:
|
|
378
373
|
"""
|
|
379
374
|
Describes an existing table export.
|
|
@@ -383,7 +378,7 @@ class DynamoDBClient(BaseClient):
|
|
|
383
378
|
"""
|
|
384
379
|
|
|
385
380
|
def describe_global_table(
|
|
386
|
-
self, **kwargs: Unpack[
|
|
381
|
+
self, **kwargs: Unpack[DescribeGlobalTableInputTypeDef]
|
|
387
382
|
) -> DescribeGlobalTableOutputTypeDef:
|
|
388
383
|
"""
|
|
389
384
|
Returns information about the specified global table.
|
|
@@ -393,7 +388,7 @@ class DynamoDBClient(BaseClient):
|
|
|
393
388
|
"""
|
|
394
389
|
|
|
395
390
|
def describe_global_table_settings(
|
|
396
|
-
self, **kwargs: Unpack[
|
|
391
|
+
self, **kwargs: Unpack[DescribeGlobalTableSettingsInputTypeDef]
|
|
397
392
|
) -> DescribeGlobalTableSettingsOutputTypeDef:
|
|
398
393
|
"""
|
|
399
394
|
Describes Region-specific settings for a global table.
|
|
@@ -403,7 +398,7 @@ class DynamoDBClient(BaseClient):
|
|
|
403
398
|
"""
|
|
404
399
|
|
|
405
400
|
def describe_import(
|
|
406
|
-
self, **kwargs: Unpack[
|
|
401
|
+
self, **kwargs: Unpack[DescribeImportInputTypeDef]
|
|
407
402
|
) -> DescribeImportOutputTypeDef:
|
|
408
403
|
"""
|
|
409
404
|
Represents the properties of the import.
|
|
@@ -413,7 +408,7 @@ class DynamoDBClient(BaseClient):
|
|
|
413
408
|
"""
|
|
414
409
|
|
|
415
410
|
def describe_kinesis_streaming_destination(
|
|
416
|
-
self, **kwargs: Unpack[
|
|
411
|
+
self, **kwargs: Unpack[DescribeKinesisStreamingDestinationInputTypeDef]
|
|
417
412
|
) -> DescribeKinesisStreamingDestinationOutputTypeDef:
|
|
418
413
|
"""
|
|
419
414
|
Returns information about the status of Kinesis streaming.
|
|
@@ -433,7 +428,7 @@ class DynamoDBClient(BaseClient):
|
|
|
433
428
|
"""
|
|
434
429
|
|
|
435
430
|
def describe_table(
|
|
436
|
-
self, **kwargs: Unpack[
|
|
431
|
+
self, **kwargs: Unpack[DescribeTableInputTypeDef]
|
|
437
432
|
) -> DescribeTableOutputTypeDef:
|
|
438
433
|
"""
|
|
439
434
|
Returns information about the table, including the current status of the table,
|
|
@@ -444,7 +439,7 @@ class DynamoDBClient(BaseClient):
|
|
|
444
439
|
"""
|
|
445
440
|
|
|
446
441
|
def describe_table_replica_auto_scaling(
|
|
447
|
-
self, **kwargs: Unpack[
|
|
442
|
+
self, **kwargs: Unpack[DescribeTableReplicaAutoScalingInputTypeDef]
|
|
448
443
|
) -> DescribeTableReplicaAutoScalingOutputTypeDef:
|
|
449
444
|
"""
|
|
450
445
|
Describes auto scaling settings across replicas of the global table at once.
|
|
@@ -454,7 +449,7 @@ class DynamoDBClient(BaseClient):
|
|
|
454
449
|
"""
|
|
455
450
|
|
|
456
451
|
def describe_time_to_live(
|
|
457
|
-
self, **kwargs: Unpack[
|
|
452
|
+
self, **kwargs: Unpack[DescribeTimeToLiveInputTypeDef]
|
|
458
453
|
) -> DescribeTimeToLiveOutputTypeDef:
|
|
459
454
|
"""
|
|
460
455
|
Gives a description of the Time to Live (TTL) status on the specified table.
|
|
@@ -464,7 +459,7 @@ class DynamoDBClient(BaseClient):
|
|
|
464
459
|
"""
|
|
465
460
|
|
|
466
461
|
def disable_kinesis_streaming_destination(
|
|
467
|
-
self, **kwargs: Unpack[
|
|
462
|
+
self, **kwargs: Unpack[KinesisStreamingDestinationInputTypeDef]
|
|
468
463
|
) -> KinesisStreamingDestinationOutputTypeDef:
|
|
469
464
|
"""
|
|
470
465
|
Stops replication from the DynamoDB table to the Kinesis data stream.
|
|
@@ -485,7 +480,7 @@ class DynamoDBClient(BaseClient):
|
|
|
485
480
|
"""
|
|
486
481
|
|
|
487
482
|
def execute_statement(
|
|
488
|
-
self, **kwargs: Unpack[
|
|
483
|
+
self, **kwargs: Unpack[ExecuteStatementInputTypeDef]
|
|
489
484
|
) -> ExecuteStatementOutputTypeDef:
|
|
490
485
|
"""
|
|
491
486
|
This operation allows you to perform reads and singleton writes on data stored
|
|
@@ -496,7 +491,7 @@ class DynamoDBClient(BaseClient):
|
|
|
496
491
|
"""
|
|
497
492
|
|
|
498
493
|
def execute_transaction(
|
|
499
|
-
self, **kwargs: Unpack[
|
|
494
|
+
self, **kwargs: Unpack[ExecuteTransactionInputTypeDef]
|
|
500
495
|
) -> ExecuteTransactionOutputTypeDef:
|
|
501
496
|
"""
|
|
502
497
|
This operation allows you to perform transactional reads or writes on data
|
|
@@ -507,7 +502,7 @@ class DynamoDBClient(BaseClient):
|
|
|
507
502
|
"""
|
|
508
503
|
|
|
509
504
|
def export_table_to_point_in_time(
|
|
510
|
-
self, **kwargs: Unpack[
|
|
505
|
+
self, **kwargs: Unpack[ExportTableToPointInTimeInputTypeDef]
|
|
511
506
|
) -> ExportTableToPointInTimeOutputTypeDef:
|
|
512
507
|
"""
|
|
513
508
|
Exports table data to an S3 bucket.
|
|
@@ -516,7 +511,7 @@ class DynamoDBClient(BaseClient):
|
|
|
516
511
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/client/#export_table_to_point_in_time)
|
|
517
512
|
"""
|
|
518
513
|
|
|
519
|
-
def get_item(self, **kwargs: Unpack[
|
|
514
|
+
def get_item(self, **kwargs: Unpack[GetItemInputTypeDef]) -> GetItemOutputTypeDef:
|
|
520
515
|
"""
|
|
521
516
|
The <code>GetItem</code> operation returns a set of attributes for the item
|
|
522
517
|
with the given primary key.
|
|
@@ -526,7 +521,7 @@ class DynamoDBClient(BaseClient):
|
|
|
526
521
|
"""
|
|
527
522
|
|
|
528
523
|
def get_resource_policy(
|
|
529
|
-
self, **kwargs: Unpack[
|
|
524
|
+
self, **kwargs: Unpack[GetResourcePolicyInputTypeDef]
|
|
530
525
|
) -> GetResourcePolicyOutputTypeDef:
|
|
531
526
|
"""
|
|
532
527
|
Returns the resource-based policy document attached to the resource, which can
|
|
@@ -536,9 +531,7 @@ class DynamoDBClient(BaseClient):
|
|
|
536
531
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/client/#get_resource_policy)
|
|
537
532
|
"""
|
|
538
533
|
|
|
539
|
-
def import_table(
|
|
540
|
-
self, **kwargs: Unpack[ImportTableInputRequestTypeDef]
|
|
541
|
-
) -> ImportTableOutputTypeDef:
|
|
534
|
+
def import_table(self, **kwargs: Unpack[ImportTableInputTypeDef]) -> ImportTableOutputTypeDef:
|
|
542
535
|
"""
|
|
543
536
|
Imports table data from an S3 bucket.
|
|
544
537
|
|
|
@@ -546,9 +539,7 @@ class DynamoDBClient(BaseClient):
|
|
|
546
539
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/client/#import_table)
|
|
547
540
|
"""
|
|
548
541
|
|
|
549
|
-
def list_backups(
|
|
550
|
-
self, **kwargs: Unpack[ListBackupsInputRequestTypeDef]
|
|
551
|
-
) -> ListBackupsOutputTypeDef:
|
|
542
|
+
def list_backups(self, **kwargs: Unpack[ListBackupsInputTypeDef]) -> ListBackupsOutputTypeDef:
|
|
552
543
|
"""
|
|
553
544
|
List DynamoDB backups that are associated with an Amazon Web Services account
|
|
554
545
|
and weren't made with Amazon Web Services Backup.
|
|
@@ -558,7 +549,7 @@ class DynamoDBClient(BaseClient):
|
|
|
558
549
|
"""
|
|
559
550
|
|
|
560
551
|
def list_contributor_insights(
|
|
561
|
-
self, **kwargs: Unpack[
|
|
552
|
+
self, **kwargs: Unpack[ListContributorInsightsInputTypeDef]
|
|
562
553
|
) -> ListContributorInsightsOutputTypeDef:
|
|
563
554
|
"""
|
|
564
555
|
Returns a list of ContributorInsightsSummary for a table and all its global
|
|
@@ -568,9 +559,7 @@ class DynamoDBClient(BaseClient):
|
|
|
568
559
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/client/#list_contributor_insights)
|
|
569
560
|
"""
|
|
570
561
|
|
|
571
|
-
def list_exports(
|
|
572
|
-
self, **kwargs: Unpack[ListExportsInputRequestTypeDef]
|
|
573
|
-
) -> ListExportsOutputTypeDef:
|
|
562
|
+
def list_exports(self, **kwargs: Unpack[ListExportsInputTypeDef]) -> ListExportsOutputTypeDef:
|
|
574
563
|
"""
|
|
575
564
|
Lists completed exports within the past 90 days.
|
|
576
565
|
|
|
@@ -579,7 +568,7 @@ class DynamoDBClient(BaseClient):
|
|
|
579
568
|
"""
|
|
580
569
|
|
|
581
570
|
def list_global_tables(
|
|
582
|
-
self, **kwargs: Unpack[
|
|
571
|
+
self, **kwargs: Unpack[ListGlobalTablesInputTypeDef]
|
|
583
572
|
) -> ListGlobalTablesOutputTypeDef:
|
|
584
573
|
"""
|
|
585
574
|
Lists all global tables that have a replica in the specified Region.
|
|
@@ -588,9 +577,7 @@ class DynamoDBClient(BaseClient):
|
|
|
588
577
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/client/#list_global_tables)
|
|
589
578
|
"""
|
|
590
579
|
|
|
591
|
-
def list_imports(
|
|
592
|
-
self, **kwargs: Unpack[ListImportsInputRequestTypeDef]
|
|
593
|
-
) -> ListImportsOutputTypeDef:
|
|
580
|
+
def list_imports(self, **kwargs: Unpack[ListImportsInputTypeDef]) -> ListImportsOutputTypeDef:
|
|
594
581
|
"""
|
|
595
582
|
Lists completed imports within the past 90 days.
|
|
596
583
|
|
|
@@ -598,9 +585,7 @@ class DynamoDBClient(BaseClient):
|
|
|
598
585
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/client/#list_imports)
|
|
599
586
|
"""
|
|
600
587
|
|
|
601
|
-
def list_tables(
|
|
602
|
-
self, **kwargs: Unpack[ListTablesInputRequestTypeDef]
|
|
603
|
-
) -> ListTablesOutputTypeDef:
|
|
588
|
+
def list_tables(self, **kwargs: Unpack[ListTablesInputTypeDef]) -> ListTablesOutputTypeDef:
|
|
604
589
|
"""
|
|
605
590
|
Returns an array of table names associated with the current account and
|
|
606
591
|
endpoint.
|
|
@@ -610,7 +595,7 @@ class DynamoDBClient(BaseClient):
|
|
|
610
595
|
"""
|
|
611
596
|
|
|
612
597
|
def list_tags_of_resource(
|
|
613
|
-
self, **kwargs: Unpack[
|
|
598
|
+
self, **kwargs: Unpack[ListTagsOfResourceInputTypeDef]
|
|
614
599
|
) -> ListTagsOfResourceOutputTypeDef:
|
|
615
600
|
"""
|
|
616
601
|
List all tags on an Amazon DynamoDB resource.
|
|
@@ -619,7 +604,7 @@ class DynamoDBClient(BaseClient):
|
|
|
619
604
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/client/#list_tags_of_resource)
|
|
620
605
|
"""
|
|
621
606
|
|
|
622
|
-
def put_item(self, **kwargs: Unpack[
|
|
607
|
+
def put_item(self, **kwargs: Unpack[PutItemInputTypeDef]) -> PutItemOutputTypeDef:
|
|
623
608
|
"""
|
|
624
609
|
Creates a new item, or replaces an old item with a new item.
|
|
625
610
|
|
|
@@ -628,7 +613,7 @@ class DynamoDBClient(BaseClient):
|
|
|
628
613
|
"""
|
|
629
614
|
|
|
630
615
|
def put_resource_policy(
|
|
631
|
-
self, **kwargs: Unpack[
|
|
616
|
+
self, **kwargs: Unpack[PutResourcePolicyInputTypeDef]
|
|
632
617
|
) -> PutResourcePolicyOutputTypeDef:
|
|
633
618
|
"""
|
|
634
619
|
Attaches a resource-based policy document to the resource, which can be a table
|
|
@@ -638,7 +623,7 @@ class DynamoDBClient(BaseClient):
|
|
|
638
623
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/client/#put_resource_policy)
|
|
639
624
|
"""
|
|
640
625
|
|
|
641
|
-
def query(self, **kwargs: Unpack[
|
|
626
|
+
def query(self, **kwargs: Unpack[QueryInputTypeDef]) -> QueryOutputTypeDef:
|
|
642
627
|
"""
|
|
643
628
|
You must provide the name of the partition key attribute and a single value for
|
|
644
629
|
that attribute.
|
|
@@ -648,7 +633,7 @@ class DynamoDBClient(BaseClient):
|
|
|
648
633
|
"""
|
|
649
634
|
|
|
650
635
|
def restore_table_from_backup(
|
|
651
|
-
self, **kwargs: Unpack[
|
|
636
|
+
self, **kwargs: Unpack[RestoreTableFromBackupInputTypeDef]
|
|
652
637
|
) -> RestoreTableFromBackupOutputTypeDef:
|
|
653
638
|
"""
|
|
654
639
|
Creates a new table from an existing backup.
|
|
@@ -658,7 +643,7 @@ class DynamoDBClient(BaseClient):
|
|
|
658
643
|
"""
|
|
659
644
|
|
|
660
645
|
def restore_table_to_point_in_time(
|
|
661
|
-
self, **kwargs: Unpack[
|
|
646
|
+
self, **kwargs: Unpack[RestoreTableToPointInTimeInputTypeDef]
|
|
662
647
|
) -> RestoreTableToPointInTimeOutputTypeDef:
|
|
663
648
|
"""
|
|
664
649
|
Restores the specified table to the specified point in time within
|
|
@@ -669,7 +654,7 @@ class DynamoDBClient(BaseClient):
|
|
|
669
654
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/client/#restore_table_to_point_in_time)
|
|
670
655
|
"""
|
|
671
656
|
|
|
672
|
-
def scan(self, **kwargs: Unpack[
|
|
657
|
+
def scan(self, **kwargs: Unpack[ScanInputTypeDef]) -> ScanOutputTypeDef:
|
|
673
658
|
"""
|
|
674
659
|
The <code>Scan</code> operation returns one or more items and item attributes
|
|
675
660
|
by accessing every item in a table or a secondary index.
|
|
@@ -679,7 +664,7 @@ class DynamoDBClient(BaseClient):
|
|
|
679
664
|
"""
|
|
680
665
|
|
|
681
666
|
def tag_resource(
|
|
682
|
-
self, **kwargs: Unpack[
|
|
667
|
+
self, **kwargs: Unpack[TagResourceInputTypeDef]
|
|
683
668
|
) -> EmptyResponseMetadataTypeDef:
|
|
684
669
|
"""
|
|
685
670
|
Associate a set of tags with an Amazon DynamoDB resource.
|
|
@@ -689,7 +674,7 @@ class DynamoDBClient(BaseClient):
|
|
|
689
674
|
"""
|
|
690
675
|
|
|
691
676
|
def transact_get_items(
|
|
692
|
-
self, **kwargs: Unpack[
|
|
677
|
+
self, **kwargs: Unpack[TransactGetItemsInputTypeDef]
|
|
693
678
|
) -> TransactGetItemsOutputTypeDef:
|
|
694
679
|
"""
|
|
695
680
|
<code>TransactGetItems</code> is a synchronous operation that atomically
|
|
@@ -701,7 +686,7 @@ class DynamoDBClient(BaseClient):
|
|
|
701
686
|
"""
|
|
702
687
|
|
|
703
688
|
def transact_write_items(
|
|
704
|
-
self, **kwargs: Unpack[
|
|
689
|
+
self, **kwargs: Unpack[TransactWriteItemsInputTypeDef]
|
|
705
690
|
) -> TransactWriteItemsOutputTypeDef:
|
|
706
691
|
"""
|
|
707
692
|
<code>TransactWriteItems</code> is a synchronous write operation that groups up
|
|
@@ -712,7 +697,7 @@ class DynamoDBClient(BaseClient):
|
|
|
712
697
|
"""
|
|
713
698
|
|
|
714
699
|
def untag_resource(
|
|
715
|
-
self, **kwargs: Unpack[
|
|
700
|
+
self, **kwargs: Unpack[UntagResourceInputTypeDef]
|
|
716
701
|
) -> EmptyResponseMetadataTypeDef:
|
|
717
702
|
"""
|
|
718
703
|
Removes the association of tags from an Amazon DynamoDB resource.
|
|
@@ -722,7 +707,7 @@ class DynamoDBClient(BaseClient):
|
|
|
722
707
|
"""
|
|
723
708
|
|
|
724
709
|
def update_continuous_backups(
|
|
725
|
-
self, **kwargs: Unpack[
|
|
710
|
+
self, **kwargs: Unpack[UpdateContinuousBackupsInputTypeDef]
|
|
726
711
|
) -> UpdateContinuousBackupsOutputTypeDef:
|
|
727
712
|
"""
|
|
728
713
|
<code>UpdateContinuousBackups</code> enables or disables point in time recovery
|
|
@@ -733,7 +718,7 @@ class DynamoDBClient(BaseClient):
|
|
|
733
718
|
"""
|
|
734
719
|
|
|
735
720
|
def update_contributor_insights(
|
|
736
|
-
self, **kwargs: Unpack[
|
|
721
|
+
self, **kwargs: Unpack[UpdateContributorInsightsInputTypeDef]
|
|
737
722
|
) -> UpdateContributorInsightsOutputTypeDef:
|
|
738
723
|
"""
|
|
739
724
|
Updates the status for contributor insights for a specific table or index.
|
|
@@ -743,7 +728,7 @@ class DynamoDBClient(BaseClient):
|
|
|
743
728
|
"""
|
|
744
729
|
|
|
745
730
|
def update_global_table(
|
|
746
|
-
self, **kwargs: Unpack[
|
|
731
|
+
self, **kwargs: Unpack[UpdateGlobalTableInputTypeDef]
|
|
747
732
|
) -> UpdateGlobalTableOutputTypeDef:
|
|
748
733
|
"""
|
|
749
734
|
Adds or removes replicas in the specified global table.
|
|
@@ -753,7 +738,7 @@ class DynamoDBClient(BaseClient):
|
|
|
753
738
|
"""
|
|
754
739
|
|
|
755
740
|
def update_global_table_settings(
|
|
756
|
-
self, **kwargs: Unpack[
|
|
741
|
+
self, **kwargs: Unpack[UpdateGlobalTableSettingsInputTypeDef]
|
|
757
742
|
) -> UpdateGlobalTableSettingsOutputTypeDef:
|
|
758
743
|
"""
|
|
759
744
|
Updates settings for a global table.
|
|
@@ -762,9 +747,7 @@ class DynamoDBClient(BaseClient):
|
|
|
762
747
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/client/#update_global_table_settings)
|
|
763
748
|
"""
|
|
764
749
|
|
|
765
|
-
def update_item(
|
|
766
|
-
self, **kwargs: Unpack[UpdateItemInputRequestTypeDef]
|
|
767
|
-
) -> UpdateItemOutputTypeDef:
|
|
750
|
+
def update_item(self, **kwargs: Unpack[UpdateItemInputTypeDef]) -> UpdateItemOutputTypeDef:
|
|
768
751
|
"""
|
|
769
752
|
Edits an existing item's attributes, or adds a new item to the table if it does
|
|
770
753
|
not already exist.
|
|
@@ -774,7 +757,7 @@ class DynamoDBClient(BaseClient):
|
|
|
774
757
|
"""
|
|
775
758
|
|
|
776
759
|
def update_kinesis_streaming_destination(
|
|
777
|
-
self, **kwargs: Unpack[
|
|
760
|
+
self, **kwargs: Unpack[UpdateKinesisStreamingDestinationInputTypeDef]
|
|
778
761
|
) -> UpdateKinesisStreamingDestinationOutputTypeDef:
|
|
779
762
|
"""
|
|
780
763
|
The command to update the Kinesis stream destination.
|
|
@@ -783,9 +766,7 @@ class DynamoDBClient(BaseClient):
|
|
|
783
766
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/client/#update_kinesis_streaming_destination)
|
|
784
767
|
"""
|
|
785
768
|
|
|
786
|
-
def update_table(
|
|
787
|
-
self, **kwargs: Unpack[UpdateTableInputRequestTypeDef]
|
|
788
|
-
) -> UpdateTableOutputTypeDef:
|
|
769
|
+
def update_table(self, **kwargs: Unpack[UpdateTableInputTypeDef]) -> UpdateTableOutputTypeDef:
|
|
789
770
|
"""
|
|
790
771
|
Modifies the provisioned throughput settings, global secondary indexes, or
|
|
791
772
|
DynamoDB Streams settings for a given table.
|
|
@@ -795,7 +776,7 @@ class DynamoDBClient(BaseClient):
|
|
|
795
776
|
"""
|
|
796
777
|
|
|
797
778
|
def update_table_replica_auto_scaling(
|
|
798
|
-
self, **kwargs: Unpack[
|
|
779
|
+
self, **kwargs: Unpack[UpdateTableReplicaAutoScalingInputTypeDef]
|
|
799
780
|
) -> UpdateTableReplicaAutoScalingOutputTypeDef:
|
|
800
781
|
"""
|
|
801
782
|
Updates auto scaling settings on your global tables at once.
|
|
@@ -805,7 +786,7 @@ class DynamoDBClient(BaseClient):
|
|
|
805
786
|
"""
|
|
806
787
|
|
|
807
788
|
def update_time_to_live(
|
|
808
|
-
self, **kwargs: Unpack[
|
|
789
|
+
self, **kwargs: Unpack[UpdateTimeToLiveInputTypeDef]
|
|
809
790
|
) -> UpdateTimeToLiveOutputTypeDef:
|
|
810
791
|
"""
|
|
811
792
|
The <code>UpdateTimeToLive</code> method enables or disables Time to Live (TTL)
|