mypy-boto3-dynamodb 1.34.148__py3-none-any.whl → 1.35.15__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/__main__.py +4 -4
- mypy_boto3_dynamodb/client.py +135 -341
- mypy_boto3_dynamodb/client.pyi +134 -341
- mypy_boto3_dynamodb/literals.py +5 -1
- mypy_boto3_dynamodb/literals.pyi +3 -1
- mypy_boto3_dynamodb/paginator.py +19 -55
- mypy_boto3_dynamodb/paginator.pyi +17 -60
- mypy_boto3_dynamodb/service_resource.py +31 -152
- mypy_boto3_dynamodb/service_resource.pyi +30 -153
- mypy_boto3_dynamodb/type_defs.py +32 -49
- mypy_boto3_dynamodb/type_defs.pyi +31 -49
- mypy_boto3_dynamodb/version.py +1 -1
- mypy_boto3_dynamodb/waiter.py +14 -3
- mypy_boto3_dynamodb/waiter.pyi +13 -5
- {mypy_boto3_dynamodb-1.34.148.dist-info → mypy_boto3_dynamodb-1.35.15.dist-info}/METADATA +8 -9
- mypy_boto3_dynamodb-1.35.15.dist-info/RECORD +22 -0
- {mypy_boto3_dynamodb-1.34.148.dist-info → mypy_boto3_dynamodb-1.35.15.dist-info}/WHEEL +1 -1
- mypy_boto3_dynamodb-1.34.148.dist-info/RECORD +0 -22
- {mypy_boto3_dynamodb-1.34.148.dist-info → mypy_boto3_dynamodb-1.35.15.dist-info}/LICENSE +0 -0
- {mypy_boto3_dynamodb-1.34.148.dist-info → mypy_boto3_dynamodb-1.35.15.dist-info}/top_level.txt +0 -0
mypy_boto3_dynamodb/client.py
CHANGED
|
@@ -15,27 +15,10 @@ Usage::
|
|
|
15
15
|
"""
|
|
16
16
|
|
|
17
17
|
import sys
|
|
18
|
-
from typing import Any, Dict, Mapping,
|
|
18
|
+
from typing import Any, Dict, Mapping, Type, overload
|
|
19
19
|
|
|
20
20
|
from botocore.client import BaseClient, ClientMeta
|
|
21
21
|
|
|
22
|
-
from .literals import (
|
|
23
|
-
BackupTypeFilterType,
|
|
24
|
-
BillingModeType,
|
|
25
|
-
ConditionalOperatorType,
|
|
26
|
-
ContributorInsightsActionType,
|
|
27
|
-
ExportFormatType,
|
|
28
|
-
ExportTypeType,
|
|
29
|
-
InputCompressionTypeType,
|
|
30
|
-
InputFormatType,
|
|
31
|
-
ReturnConsumedCapacityType,
|
|
32
|
-
ReturnItemCollectionMetricsType,
|
|
33
|
-
ReturnValuesOnConditionCheckFailureType,
|
|
34
|
-
ReturnValueType,
|
|
35
|
-
S3SseAlgorithmType,
|
|
36
|
-
SelectType,
|
|
37
|
-
TableClassType,
|
|
38
|
-
)
|
|
39
22
|
from .paginator import (
|
|
40
23
|
ListBackupsPaginator,
|
|
41
24
|
ListTablesPaginator,
|
|
@@ -44,98 +27,115 @@ from .paginator import (
|
|
|
44
27
|
ScanPaginator,
|
|
45
28
|
)
|
|
46
29
|
from .type_defs import (
|
|
47
|
-
|
|
48
|
-
AttributeValueUpdateTypeDef,
|
|
49
|
-
AutoScalingSettingsUpdateTypeDef,
|
|
30
|
+
BatchExecuteStatementInputRequestTypeDef,
|
|
50
31
|
BatchExecuteStatementOutputTypeDef,
|
|
32
|
+
BatchGetItemInputRequestTypeDef,
|
|
51
33
|
BatchGetItemOutputTypeDef,
|
|
52
|
-
|
|
34
|
+
BatchWriteItemInputRequestTypeDef,
|
|
53
35
|
BatchWriteItemOutputTypeDef,
|
|
54
|
-
|
|
36
|
+
CreateBackupInputRequestTypeDef,
|
|
55
37
|
CreateBackupOutputTypeDef,
|
|
38
|
+
CreateGlobalTableInputRequestTypeDef,
|
|
56
39
|
CreateGlobalTableOutputTypeDef,
|
|
40
|
+
CreateTableInputRequestTypeDef,
|
|
57
41
|
CreateTableOutputTypeDef,
|
|
42
|
+
DeleteBackupInputRequestTypeDef,
|
|
58
43
|
DeleteBackupOutputTypeDef,
|
|
44
|
+
DeleteItemInputRequestTypeDef,
|
|
59
45
|
DeleteItemOutputTypeDef,
|
|
46
|
+
DeleteResourcePolicyInputRequestTypeDef,
|
|
60
47
|
DeleteResourcePolicyOutputTypeDef,
|
|
48
|
+
DeleteTableInputRequestTypeDef,
|
|
61
49
|
DeleteTableOutputTypeDef,
|
|
50
|
+
DescribeBackupInputRequestTypeDef,
|
|
62
51
|
DescribeBackupOutputTypeDef,
|
|
52
|
+
DescribeContinuousBackupsInputRequestTypeDef,
|
|
63
53
|
DescribeContinuousBackupsOutputTypeDef,
|
|
54
|
+
DescribeContributorInsightsInputRequestTypeDef,
|
|
64
55
|
DescribeContributorInsightsOutputTypeDef,
|
|
65
56
|
DescribeEndpointsResponseTypeDef,
|
|
57
|
+
DescribeExportInputRequestTypeDef,
|
|
66
58
|
DescribeExportOutputTypeDef,
|
|
59
|
+
DescribeGlobalTableInputRequestTypeDef,
|
|
67
60
|
DescribeGlobalTableOutputTypeDef,
|
|
61
|
+
DescribeGlobalTableSettingsInputRequestTypeDef,
|
|
68
62
|
DescribeGlobalTableSettingsOutputTypeDef,
|
|
63
|
+
DescribeImportInputRequestTypeDef,
|
|
69
64
|
DescribeImportOutputTypeDef,
|
|
65
|
+
DescribeKinesisStreamingDestinationInputRequestTypeDef,
|
|
70
66
|
DescribeKinesisStreamingDestinationOutputTypeDef,
|
|
71
67
|
DescribeLimitsOutputTypeDef,
|
|
68
|
+
DescribeTableInputRequestTypeDef,
|
|
72
69
|
DescribeTableOutputTypeDef,
|
|
70
|
+
DescribeTableReplicaAutoScalingInputRequestTypeDef,
|
|
73
71
|
DescribeTableReplicaAutoScalingOutputTypeDef,
|
|
72
|
+
DescribeTimeToLiveInputRequestTypeDef,
|
|
74
73
|
DescribeTimeToLiveOutputTypeDef,
|
|
75
74
|
EmptyResponseMetadataTypeDef,
|
|
76
|
-
|
|
75
|
+
ExecuteStatementInputRequestTypeDef,
|
|
77
76
|
ExecuteStatementOutputTypeDef,
|
|
77
|
+
ExecuteTransactionInputRequestTypeDef,
|
|
78
78
|
ExecuteTransactionOutputTypeDef,
|
|
79
|
-
|
|
79
|
+
ExportTableToPointInTimeInputRequestTypeDef,
|
|
80
80
|
ExportTableToPointInTimeOutputTypeDef,
|
|
81
|
+
GetItemInputRequestTypeDef,
|
|
81
82
|
GetItemOutputTypeDef,
|
|
83
|
+
GetResourcePolicyInputRequestTypeDef,
|
|
82
84
|
GetResourcePolicyOutputTypeDef,
|
|
83
|
-
|
|
84
|
-
GlobalSecondaryIndexUnionTypeDef,
|
|
85
|
-
GlobalSecondaryIndexUpdateTypeDef,
|
|
86
|
-
GlobalTableGlobalSecondaryIndexSettingsUpdateTypeDef,
|
|
85
|
+
ImportTableInputRequestTypeDef,
|
|
87
86
|
ImportTableOutputTypeDef,
|
|
88
|
-
|
|
89
|
-
InputFormatOptionsUnionTypeDef,
|
|
90
|
-
KeysAndAttributesUnionTypeDef,
|
|
91
|
-
KeySchemaElementTypeDef,
|
|
87
|
+
KinesisStreamingDestinationInputRequestTypeDef,
|
|
92
88
|
KinesisStreamingDestinationOutputTypeDef,
|
|
89
|
+
ListBackupsInputRequestTypeDef,
|
|
93
90
|
ListBackupsOutputTypeDef,
|
|
91
|
+
ListContributorInsightsInputRequestTypeDef,
|
|
94
92
|
ListContributorInsightsOutputTypeDef,
|
|
93
|
+
ListExportsInputRequestTypeDef,
|
|
95
94
|
ListExportsOutputTypeDef,
|
|
95
|
+
ListGlobalTablesInputRequestTypeDef,
|
|
96
96
|
ListGlobalTablesOutputTypeDef,
|
|
97
|
+
ListImportsInputRequestTypeDef,
|
|
97
98
|
ListImportsOutputTypeDef,
|
|
99
|
+
ListTablesInputRequestTypeDef,
|
|
98
100
|
ListTablesOutputTypeDef,
|
|
101
|
+
ListTagsOfResourceInputRequestTypeDef,
|
|
99
102
|
ListTagsOfResourceOutputTypeDef,
|
|
100
|
-
|
|
101
|
-
OnDemandThroughputTypeDef,
|
|
102
|
-
ParameterizedStatementTypeDef,
|
|
103
|
-
PointInTimeRecoverySpecificationTypeDef,
|
|
104
|
-
ProvisionedThroughputTypeDef,
|
|
103
|
+
PutItemInputRequestTypeDef,
|
|
105
104
|
PutItemOutputTypeDef,
|
|
105
|
+
PutResourcePolicyInputRequestTypeDef,
|
|
106
106
|
PutResourcePolicyOutputTypeDef,
|
|
107
|
+
QueryInputRequestTypeDef,
|
|
107
108
|
QueryOutputTypeDef,
|
|
108
|
-
|
|
109
|
-
ReplicaSettingsUpdateTypeDef,
|
|
110
|
-
ReplicationGroupUpdateTypeDef,
|
|
111
|
-
ReplicaTypeDef,
|
|
112
|
-
ReplicaUpdateTypeDef,
|
|
109
|
+
RestoreTableFromBackupInputRequestTypeDef,
|
|
113
110
|
RestoreTableFromBackupOutputTypeDef,
|
|
111
|
+
RestoreTableToPointInTimeInputRequestTypeDef,
|
|
114
112
|
RestoreTableToPointInTimeOutputTypeDef,
|
|
115
|
-
|
|
113
|
+
ScanInputRequestTypeDef,
|
|
116
114
|
ScanOutputTypeDef,
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
TableCreationParametersUnionTypeDef,
|
|
120
|
-
TagTypeDef,
|
|
121
|
-
TimestampTypeDef,
|
|
122
|
-
TimeToLiveSpecificationTypeDef,
|
|
115
|
+
TagResourceInputRequestTypeDef,
|
|
116
|
+
TransactGetItemsInputRequestTypeDef,
|
|
123
117
|
TransactGetItemsOutputTypeDef,
|
|
124
|
-
|
|
118
|
+
TransactWriteItemsInputRequestTypeDef,
|
|
125
119
|
TransactWriteItemsOutputTypeDef,
|
|
126
|
-
|
|
127
|
-
|
|
120
|
+
UntagResourceInputRequestTypeDef,
|
|
121
|
+
UpdateContinuousBackupsInputRequestTypeDef,
|
|
128
122
|
UpdateContinuousBackupsOutputTypeDef,
|
|
123
|
+
UpdateContributorInsightsInputRequestTypeDef,
|
|
129
124
|
UpdateContributorInsightsOutputTypeDef,
|
|
125
|
+
UpdateGlobalTableInputRequestTypeDef,
|
|
130
126
|
UpdateGlobalTableOutputTypeDef,
|
|
127
|
+
UpdateGlobalTableSettingsInputRequestTypeDef,
|
|
131
128
|
UpdateGlobalTableSettingsOutputTypeDef,
|
|
129
|
+
UpdateItemInputRequestTypeDef,
|
|
132
130
|
UpdateItemOutputTypeDef,
|
|
133
|
-
|
|
131
|
+
UpdateKinesisStreamingDestinationInputRequestTypeDef,
|
|
134
132
|
UpdateKinesisStreamingDestinationOutputTypeDef,
|
|
133
|
+
UpdateTableInputRequestTypeDef,
|
|
135
134
|
UpdateTableOutputTypeDef,
|
|
135
|
+
UpdateTableReplicaAutoScalingInputRequestTypeDef,
|
|
136
136
|
UpdateTableReplicaAutoScalingOutputTypeDef,
|
|
137
|
+
UpdateTimeToLiveInputRequestTypeDef,
|
|
137
138
|
UpdateTimeToLiveOutputTypeDef,
|
|
138
|
-
WriteRequestUnionTypeDef,
|
|
139
139
|
)
|
|
140
140
|
from .waiter import TableExistsWaiter, TableNotExistsWaiter
|
|
141
141
|
|
|
@@ -143,6 +143,11 @@ if sys.version_info >= (3, 12):
|
|
|
143
143
|
from typing import Literal
|
|
144
144
|
else:
|
|
145
145
|
from typing_extensions import Literal
|
|
146
|
+
if sys.version_info >= (3, 12):
|
|
147
|
+
from typing import Unpack
|
|
148
|
+
else:
|
|
149
|
+
from typing_extensions import Unpack
|
|
150
|
+
|
|
146
151
|
|
|
147
152
|
__all__ = ("DynamoDBClient",)
|
|
148
153
|
|
|
@@ -209,10 +214,7 @@ class DynamoDBClient(BaseClient):
|
|
|
209
214
|
"""
|
|
210
215
|
|
|
211
216
|
def batch_execute_statement(
|
|
212
|
-
self,
|
|
213
|
-
*,
|
|
214
|
-
Statements: Sequence[BatchStatementRequestTypeDef],
|
|
215
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
217
|
+
self, **kwargs: Unpack[BatchExecuteStatementInputRequestTypeDef]
|
|
216
218
|
) -> BatchExecuteStatementOutputTypeDef:
|
|
217
219
|
"""
|
|
218
220
|
This operation allows you to perform batch reads or writes on data stored in
|
|
@@ -224,10 +226,7 @@ class DynamoDBClient(BaseClient):
|
|
|
224
226
|
"""
|
|
225
227
|
|
|
226
228
|
def batch_get_item(
|
|
227
|
-
self,
|
|
228
|
-
*,
|
|
229
|
-
RequestItems: Mapping[str, KeysAndAttributesUnionTypeDef],
|
|
230
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
229
|
+
self, **kwargs: Unpack[BatchGetItemInputRequestTypeDef]
|
|
231
230
|
) -> BatchGetItemOutputTypeDef:
|
|
232
231
|
"""
|
|
233
232
|
The `BatchGetItem` operation returns the attributes of one or more items from
|
|
@@ -239,11 +238,7 @@ class DynamoDBClient(BaseClient):
|
|
|
239
238
|
"""
|
|
240
239
|
|
|
241
240
|
def batch_write_item(
|
|
242
|
-
self,
|
|
243
|
-
*,
|
|
244
|
-
RequestItems: Mapping[str, Sequence[WriteRequestUnionTypeDef]],
|
|
245
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
246
|
-
ReturnItemCollectionMetrics: ReturnItemCollectionMetricsType = ...,
|
|
241
|
+
self, **kwargs: Unpack[BatchWriteItemInputRequestTypeDef]
|
|
247
242
|
) -> BatchWriteItemOutputTypeDef:
|
|
248
243
|
"""
|
|
249
244
|
The `BatchWriteItem` operation puts or deletes multiple items in one or more
|
|
@@ -269,7 +264,9 @@ class DynamoDBClient(BaseClient):
|
|
|
269
264
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#close)
|
|
270
265
|
"""
|
|
271
266
|
|
|
272
|
-
def create_backup(
|
|
267
|
+
def create_backup(
|
|
268
|
+
self, **kwargs: Unpack[CreateBackupInputRequestTypeDef]
|
|
269
|
+
) -> CreateBackupOutputTypeDef:
|
|
273
270
|
"""
|
|
274
271
|
Creates a backup for an existing table.
|
|
275
272
|
|
|
@@ -278,7 +275,7 @@ class DynamoDBClient(BaseClient):
|
|
|
278
275
|
"""
|
|
279
276
|
|
|
280
277
|
def create_global_table(
|
|
281
|
-
self,
|
|
278
|
+
self, **kwargs: Unpack[CreateGlobalTableInputRequestTypeDef]
|
|
282
279
|
) -> CreateGlobalTableOutputTypeDef:
|
|
283
280
|
"""
|
|
284
281
|
Creates a global table from an existing table.
|
|
@@ -288,22 +285,7 @@ class DynamoDBClient(BaseClient):
|
|
|
288
285
|
"""
|
|
289
286
|
|
|
290
287
|
def create_table(
|
|
291
|
-
self,
|
|
292
|
-
*,
|
|
293
|
-
AttributeDefinitions: Sequence[AttributeDefinitionTypeDef],
|
|
294
|
-
TableName: str,
|
|
295
|
-
KeySchema: Sequence[KeySchemaElementTypeDef],
|
|
296
|
-
LocalSecondaryIndexes: Sequence[LocalSecondaryIndexTypeDef] = ...,
|
|
297
|
-
GlobalSecondaryIndexes: Sequence[GlobalSecondaryIndexUnionTypeDef] = ...,
|
|
298
|
-
BillingMode: BillingModeType = ...,
|
|
299
|
-
ProvisionedThroughput: ProvisionedThroughputTypeDef = ...,
|
|
300
|
-
StreamSpecification: StreamSpecificationTypeDef = ...,
|
|
301
|
-
SSESpecification: SSESpecificationTypeDef = ...,
|
|
302
|
-
Tags: Sequence[TagTypeDef] = ...,
|
|
303
|
-
TableClass: TableClassType = ...,
|
|
304
|
-
DeletionProtectionEnabled: bool = ...,
|
|
305
|
-
ResourcePolicy: str = ...,
|
|
306
|
-
OnDemandThroughput: OnDemandThroughputTypeDef = ...,
|
|
288
|
+
self, **kwargs: Unpack[CreateTableInputRequestTypeDef]
|
|
307
289
|
) -> CreateTableOutputTypeDef:
|
|
308
290
|
"""
|
|
309
291
|
The `CreateTable` operation adds a new table to your account.
|
|
@@ -312,7 +294,9 @@ class DynamoDBClient(BaseClient):
|
|
|
312
294
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#create_table)
|
|
313
295
|
"""
|
|
314
296
|
|
|
315
|
-
def delete_backup(
|
|
297
|
+
def delete_backup(
|
|
298
|
+
self, **kwargs: Unpack[DeleteBackupInputRequestTypeDef]
|
|
299
|
+
) -> DeleteBackupOutputTypeDef:
|
|
316
300
|
"""
|
|
317
301
|
Deletes an existing backup of a table.
|
|
318
302
|
|
|
@@ -321,19 +305,7 @@ class DynamoDBClient(BaseClient):
|
|
|
321
305
|
"""
|
|
322
306
|
|
|
323
307
|
def delete_item(
|
|
324
|
-
self,
|
|
325
|
-
*,
|
|
326
|
-
TableName: str,
|
|
327
|
-
Key: Mapping[str, UniversalAttributeValueTypeDef],
|
|
328
|
-
Expected: Mapping[str, ExpectedAttributeValueTypeDef] = ...,
|
|
329
|
-
ConditionalOperator: ConditionalOperatorType = ...,
|
|
330
|
-
ReturnValues: ReturnValueType = ...,
|
|
331
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
332
|
-
ReturnItemCollectionMetrics: ReturnItemCollectionMetricsType = ...,
|
|
333
|
-
ConditionExpression: str = ...,
|
|
334
|
-
ExpressionAttributeNames: Mapping[str, str] = ...,
|
|
335
|
-
ExpressionAttributeValues: Mapping[str, UniversalAttributeValueTypeDef] = ...,
|
|
336
|
-
ReturnValuesOnConditionCheckFailure: ReturnValuesOnConditionCheckFailureType = ...,
|
|
308
|
+
self, **kwargs: Unpack[DeleteItemInputRequestTypeDef]
|
|
337
309
|
) -> DeleteItemOutputTypeDef:
|
|
338
310
|
"""
|
|
339
311
|
Deletes a single item in a table by primary key.
|
|
@@ -343,7 +315,7 @@ class DynamoDBClient(BaseClient):
|
|
|
343
315
|
"""
|
|
344
316
|
|
|
345
317
|
def delete_resource_policy(
|
|
346
|
-
self,
|
|
318
|
+
self, **kwargs: Unpack[DeleteResourcePolicyInputRequestTypeDef]
|
|
347
319
|
) -> DeleteResourcePolicyOutputTypeDef:
|
|
348
320
|
"""
|
|
349
321
|
Deletes the resource-based policy attached to the resource, which can be a
|
|
@@ -354,7 +326,9 @@ class DynamoDBClient(BaseClient):
|
|
|
354
326
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#delete_resource_policy)
|
|
355
327
|
"""
|
|
356
328
|
|
|
357
|
-
def delete_table(
|
|
329
|
+
def delete_table(
|
|
330
|
+
self, **kwargs: Unpack[DeleteTableInputRequestTypeDef]
|
|
331
|
+
) -> DeleteTableOutputTypeDef:
|
|
358
332
|
"""
|
|
359
333
|
The `DeleteTable` operation deletes a table and all of its items.
|
|
360
334
|
|
|
@@ -362,7 +336,9 @@ class DynamoDBClient(BaseClient):
|
|
|
362
336
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#delete_table)
|
|
363
337
|
"""
|
|
364
338
|
|
|
365
|
-
def describe_backup(
|
|
339
|
+
def describe_backup(
|
|
340
|
+
self, **kwargs: Unpack[DescribeBackupInputRequestTypeDef]
|
|
341
|
+
) -> DescribeBackupOutputTypeDef:
|
|
366
342
|
"""
|
|
367
343
|
Describes an existing backup of a table.
|
|
368
344
|
|
|
@@ -371,7 +347,7 @@ class DynamoDBClient(BaseClient):
|
|
|
371
347
|
"""
|
|
372
348
|
|
|
373
349
|
def describe_continuous_backups(
|
|
374
|
-
self,
|
|
350
|
+
self, **kwargs: Unpack[DescribeContinuousBackupsInputRequestTypeDef]
|
|
375
351
|
) -> DescribeContinuousBackupsOutputTypeDef:
|
|
376
352
|
"""
|
|
377
353
|
Checks the status of continuous backups and point in time recovery on the
|
|
@@ -383,7 +359,7 @@ class DynamoDBClient(BaseClient):
|
|
|
383
359
|
"""
|
|
384
360
|
|
|
385
361
|
def describe_contributor_insights(
|
|
386
|
-
self,
|
|
362
|
+
self, **kwargs: Unpack[DescribeContributorInsightsInputRequestTypeDef]
|
|
387
363
|
) -> DescribeContributorInsightsOutputTypeDef:
|
|
388
364
|
"""
|
|
389
365
|
Returns information about contributor insights for a given table or global
|
|
@@ -402,7 +378,9 @@ class DynamoDBClient(BaseClient):
|
|
|
402
378
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#describe_endpoints)
|
|
403
379
|
"""
|
|
404
380
|
|
|
405
|
-
def describe_export(
|
|
381
|
+
def describe_export(
|
|
382
|
+
self, **kwargs: Unpack[DescribeExportInputRequestTypeDef]
|
|
383
|
+
) -> DescribeExportOutputTypeDef:
|
|
406
384
|
"""
|
|
407
385
|
Describes an existing table export.
|
|
408
386
|
|
|
@@ -410,7 +388,9 @@ class DynamoDBClient(BaseClient):
|
|
|
410
388
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#describe_export)
|
|
411
389
|
"""
|
|
412
390
|
|
|
413
|
-
def describe_global_table(
|
|
391
|
+
def describe_global_table(
|
|
392
|
+
self, **kwargs: Unpack[DescribeGlobalTableInputRequestTypeDef]
|
|
393
|
+
) -> DescribeGlobalTableOutputTypeDef:
|
|
414
394
|
"""
|
|
415
395
|
Returns information about the specified global table.
|
|
416
396
|
|
|
@@ -419,7 +399,7 @@ class DynamoDBClient(BaseClient):
|
|
|
419
399
|
"""
|
|
420
400
|
|
|
421
401
|
def describe_global_table_settings(
|
|
422
|
-
self,
|
|
402
|
+
self, **kwargs: Unpack[DescribeGlobalTableSettingsInputRequestTypeDef]
|
|
423
403
|
) -> DescribeGlobalTableSettingsOutputTypeDef:
|
|
424
404
|
"""
|
|
425
405
|
Describes Region-specific settings for a global table.
|
|
@@ -428,7 +408,9 @@ class DynamoDBClient(BaseClient):
|
|
|
428
408
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#describe_global_table_settings)
|
|
429
409
|
"""
|
|
430
410
|
|
|
431
|
-
def describe_import(
|
|
411
|
+
def describe_import(
|
|
412
|
+
self, **kwargs: Unpack[DescribeImportInputRequestTypeDef]
|
|
413
|
+
) -> DescribeImportOutputTypeDef:
|
|
432
414
|
"""
|
|
433
415
|
Represents the properties of the import.
|
|
434
416
|
|
|
@@ -437,7 +419,7 @@ class DynamoDBClient(BaseClient):
|
|
|
437
419
|
"""
|
|
438
420
|
|
|
439
421
|
def describe_kinesis_streaming_destination(
|
|
440
|
-
self,
|
|
422
|
+
self, **kwargs: Unpack[DescribeKinesisStreamingDestinationInputRequestTypeDef]
|
|
441
423
|
) -> DescribeKinesisStreamingDestinationOutputTypeDef:
|
|
442
424
|
"""
|
|
443
425
|
Returns information about the status of Kinesis streaming.
|
|
@@ -457,7 +439,9 @@ class DynamoDBClient(BaseClient):
|
|
|
457
439
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#describe_limits)
|
|
458
440
|
"""
|
|
459
441
|
|
|
460
|
-
def describe_table(
|
|
442
|
+
def describe_table(
|
|
443
|
+
self, **kwargs: Unpack[DescribeTableInputRequestTypeDef]
|
|
444
|
+
) -> DescribeTableOutputTypeDef:
|
|
461
445
|
"""
|
|
462
446
|
Returns information about the table, including the current status of the table,
|
|
463
447
|
when it was created, the primary key schema, and any indexes on the
|
|
@@ -468,7 +452,7 @@ class DynamoDBClient(BaseClient):
|
|
|
468
452
|
"""
|
|
469
453
|
|
|
470
454
|
def describe_table_replica_auto_scaling(
|
|
471
|
-
self,
|
|
455
|
+
self, **kwargs: Unpack[DescribeTableReplicaAutoScalingInputRequestTypeDef]
|
|
472
456
|
) -> DescribeTableReplicaAutoScalingOutputTypeDef:
|
|
473
457
|
"""
|
|
474
458
|
Describes auto scaling settings across replicas of the global table at once.
|
|
@@ -477,7 +461,9 @@ class DynamoDBClient(BaseClient):
|
|
|
477
461
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#describe_table_replica_auto_scaling)
|
|
478
462
|
"""
|
|
479
463
|
|
|
480
|
-
def describe_time_to_live(
|
|
464
|
+
def describe_time_to_live(
|
|
465
|
+
self, **kwargs: Unpack[DescribeTimeToLiveInputRequestTypeDef]
|
|
466
|
+
) -> DescribeTimeToLiveOutputTypeDef:
|
|
481
467
|
"""
|
|
482
468
|
Gives a description of the Time to Live (TTL) status on the specified table.
|
|
483
469
|
|
|
@@ -486,11 +472,7 @@ class DynamoDBClient(BaseClient):
|
|
|
486
472
|
"""
|
|
487
473
|
|
|
488
474
|
def disable_kinesis_streaming_destination(
|
|
489
|
-
self,
|
|
490
|
-
*,
|
|
491
|
-
TableName: str,
|
|
492
|
-
StreamArn: str,
|
|
493
|
-
EnableKinesisStreamingConfiguration: EnableKinesisStreamingConfigurationTypeDef = ...,
|
|
475
|
+
self, **kwargs: Unpack[KinesisStreamingDestinationInputRequestTypeDef]
|
|
494
476
|
) -> KinesisStreamingDestinationOutputTypeDef:
|
|
495
477
|
"""
|
|
496
478
|
Stops replication from the DynamoDB table to the Kinesis data stream.
|
|
@@ -500,11 +482,7 @@ class DynamoDBClient(BaseClient):
|
|
|
500
482
|
"""
|
|
501
483
|
|
|
502
484
|
def enable_kinesis_streaming_destination(
|
|
503
|
-
self,
|
|
504
|
-
*,
|
|
505
|
-
TableName: str,
|
|
506
|
-
StreamArn: str,
|
|
507
|
-
EnableKinesisStreamingConfiguration: EnableKinesisStreamingConfigurationTypeDef = ...,
|
|
485
|
+
self, **kwargs: Unpack[KinesisStreamingDestinationInputRequestTypeDef]
|
|
508
486
|
) -> KinesisStreamingDestinationOutputTypeDef:
|
|
509
487
|
"""
|
|
510
488
|
Starts table data replication to the specified Kinesis data stream at a
|
|
@@ -516,15 +494,7 @@ class DynamoDBClient(BaseClient):
|
|
|
516
494
|
"""
|
|
517
495
|
|
|
518
496
|
def execute_statement(
|
|
519
|
-
self,
|
|
520
|
-
*,
|
|
521
|
-
Statement: str,
|
|
522
|
-
Parameters: Sequence[UniversalAttributeValueTypeDef] = ...,
|
|
523
|
-
ConsistentRead: bool = ...,
|
|
524
|
-
NextToken: str = ...,
|
|
525
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
526
|
-
Limit: int = ...,
|
|
527
|
-
ReturnValuesOnConditionCheckFailure: ReturnValuesOnConditionCheckFailureType = ...,
|
|
497
|
+
self, **kwargs: Unpack[ExecuteStatementInputRequestTypeDef]
|
|
528
498
|
) -> ExecuteStatementOutputTypeDef:
|
|
529
499
|
"""
|
|
530
500
|
This operation allows you to perform reads and singleton writes on data stored
|
|
@@ -536,11 +506,7 @@ class DynamoDBClient(BaseClient):
|
|
|
536
506
|
"""
|
|
537
507
|
|
|
538
508
|
def execute_transaction(
|
|
539
|
-
self,
|
|
540
|
-
*,
|
|
541
|
-
TransactStatements: Sequence[ParameterizedStatementTypeDef],
|
|
542
|
-
ClientRequestToken: str = ...,
|
|
543
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
509
|
+
self, **kwargs: Unpack[ExecuteTransactionInputRequestTypeDef]
|
|
544
510
|
) -> ExecuteTransactionOutputTypeDef:
|
|
545
511
|
"""
|
|
546
512
|
This operation allows you to perform transactional reads or writes on data
|
|
@@ -552,19 +518,7 @@ class DynamoDBClient(BaseClient):
|
|
|
552
518
|
"""
|
|
553
519
|
|
|
554
520
|
def export_table_to_point_in_time(
|
|
555
|
-
self,
|
|
556
|
-
*,
|
|
557
|
-
TableArn: str,
|
|
558
|
-
S3Bucket: str,
|
|
559
|
-
ExportTime: TimestampTypeDef = ...,
|
|
560
|
-
ClientToken: str = ...,
|
|
561
|
-
S3BucketOwner: str = ...,
|
|
562
|
-
S3Prefix: str = ...,
|
|
563
|
-
S3SseAlgorithm: S3SseAlgorithmType = ...,
|
|
564
|
-
S3SseKmsKeyId: str = ...,
|
|
565
|
-
ExportFormat: ExportFormatType = ...,
|
|
566
|
-
ExportType: ExportTypeType = ...,
|
|
567
|
-
IncrementalExportSpecification: IncrementalExportSpecificationUnionTypeDef = ...,
|
|
521
|
+
self, **kwargs: Unpack[ExportTableToPointInTimeInputRequestTypeDef]
|
|
568
522
|
) -> ExportTableToPointInTimeOutputTypeDef:
|
|
569
523
|
"""
|
|
570
524
|
Exports table data to an S3 bucket.
|
|
@@ -587,17 +541,7 @@ class DynamoDBClient(BaseClient):
|
|
|
587
541
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#generate_presigned_url)
|
|
588
542
|
"""
|
|
589
543
|
|
|
590
|
-
def get_item(
|
|
591
|
-
self,
|
|
592
|
-
*,
|
|
593
|
-
TableName: str,
|
|
594
|
-
Key: Mapping[str, UniversalAttributeValueTypeDef],
|
|
595
|
-
AttributesToGet: Sequence[str] = ...,
|
|
596
|
-
ConsistentRead: bool = ...,
|
|
597
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
598
|
-
ProjectionExpression: str = ...,
|
|
599
|
-
ExpressionAttributeNames: Mapping[str, str] = ...,
|
|
600
|
-
) -> GetItemOutputTypeDef:
|
|
544
|
+
def get_item(self, **kwargs: Unpack[GetItemInputRequestTypeDef]) -> GetItemOutputTypeDef:
|
|
601
545
|
"""
|
|
602
546
|
The `GetItem` operation returns a set of attributes for the item with the given
|
|
603
547
|
primary
|
|
@@ -607,7 +551,9 @@ class DynamoDBClient(BaseClient):
|
|
|
607
551
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#get_item)
|
|
608
552
|
"""
|
|
609
553
|
|
|
610
|
-
def get_resource_policy(
|
|
554
|
+
def get_resource_policy(
|
|
555
|
+
self, **kwargs: Unpack[GetResourcePolicyInputRequestTypeDef]
|
|
556
|
+
) -> GetResourcePolicyOutputTypeDef:
|
|
611
557
|
"""
|
|
612
558
|
Returns the resource-based policy document attached to the resource, which can
|
|
613
559
|
be a table or stream, in JSON
|
|
@@ -618,14 +564,7 @@ class DynamoDBClient(BaseClient):
|
|
|
618
564
|
"""
|
|
619
565
|
|
|
620
566
|
def import_table(
|
|
621
|
-
self,
|
|
622
|
-
*,
|
|
623
|
-
S3BucketSource: S3BucketSourceTypeDef,
|
|
624
|
-
InputFormat: InputFormatType,
|
|
625
|
-
TableCreationParameters: TableCreationParametersUnionTypeDef,
|
|
626
|
-
ClientToken: str = ...,
|
|
627
|
-
InputFormatOptions: InputFormatOptionsUnionTypeDef = ...,
|
|
628
|
-
InputCompressionType: InputCompressionTypeType = ...,
|
|
567
|
+
self, **kwargs: Unpack[ImportTableInputRequestTypeDef]
|
|
629
568
|
) -> ImportTableOutputTypeDef:
|
|
630
569
|
"""
|
|
631
570
|
Imports table data from an S3 bucket.
|
|
@@ -635,14 +574,7 @@ class DynamoDBClient(BaseClient):
|
|
|
635
574
|
"""
|
|
636
575
|
|
|
637
576
|
def list_backups(
|
|
638
|
-
self,
|
|
639
|
-
*,
|
|
640
|
-
TableName: str = ...,
|
|
641
|
-
Limit: int = ...,
|
|
642
|
-
TimeRangeLowerBound: TimestampTypeDef = ...,
|
|
643
|
-
TimeRangeUpperBound: TimestampTypeDef = ...,
|
|
644
|
-
ExclusiveStartBackupArn: str = ...,
|
|
645
|
-
BackupType: BackupTypeFilterType = ...,
|
|
577
|
+
self, **kwargs: Unpack[ListBackupsInputRequestTypeDef]
|
|
646
578
|
) -> ListBackupsOutputTypeDef:
|
|
647
579
|
"""
|
|
648
580
|
List DynamoDB backups that are associated with an Amazon Web Services account
|
|
@@ -654,7 +586,7 @@ class DynamoDBClient(BaseClient):
|
|
|
654
586
|
"""
|
|
655
587
|
|
|
656
588
|
def list_contributor_insights(
|
|
657
|
-
self,
|
|
589
|
+
self, **kwargs: Unpack[ListContributorInsightsInputRequestTypeDef]
|
|
658
590
|
) -> ListContributorInsightsOutputTypeDef:
|
|
659
591
|
"""
|
|
660
592
|
Returns a list of ContributorInsightsSummary for a table and all its global
|
|
@@ -666,7 +598,7 @@ class DynamoDBClient(BaseClient):
|
|
|
666
598
|
"""
|
|
667
599
|
|
|
668
600
|
def list_exports(
|
|
669
|
-
self,
|
|
601
|
+
self, **kwargs: Unpack[ListExportsInputRequestTypeDef]
|
|
670
602
|
) -> ListExportsOutputTypeDef:
|
|
671
603
|
"""
|
|
672
604
|
Lists completed exports within the past 90 days.
|
|
@@ -676,7 +608,7 @@ class DynamoDBClient(BaseClient):
|
|
|
676
608
|
"""
|
|
677
609
|
|
|
678
610
|
def list_global_tables(
|
|
679
|
-
self,
|
|
611
|
+
self, **kwargs: Unpack[ListGlobalTablesInputRequestTypeDef]
|
|
680
612
|
) -> ListGlobalTablesOutputTypeDef:
|
|
681
613
|
"""
|
|
682
614
|
Lists all global tables that have a replica in the specified Region.
|
|
@@ -686,7 +618,7 @@ class DynamoDBClient(BaseClient):
|
|
|
686
618
|
"""
|
|
687
619
|
|
|
688
620
|
def list_imports(
|
|
689
|
-
self,
|
|
621
|
+
self, **kwargs: Unpack[ListImportsInputRequestTypeDef]
|
|
690
622
|
) -> ListImportsOutputTypeDef:
|
|
691
623
|
"""
|
|
692
624
|
Lists completed imports within the past 90 days.
|
|
@@ -696,7 +628,7 @@ class DynamoDBClient(BaseClient):
|
|
|
696
628
|
"""
|
|
697
629
|
|
|
698
630
|
def list_tables(
|
|
699
|
-
self,
|
|
631
|
+
self, **kwargs: Unpack[ListTablesInputRequestTypeDef]
|
|
700
632
|
) -> ListTablesOutputTypeDef:
|
|
701
633
|
"""
|
|
702
634
|
Returns an array of table names associated with the current account and
|
|
@@ -707,7 +639,7 @@ class DynamoDBClient(BaseClient):
|
|
|
707
639
|
"""
|
|
708
640
|
|
|
709
641
|
def list_tags_of_resource(
|
|
710
|
-
self,
|
|
642
|
+
self, **kwargs: Unpack[ListTagsOfResourceInputRequestTypeDef]
|
|
711
643
|
) -> ListTagsOfResourceOutputTypeDef:
|
|
712
644
|
"""
|
|
713
645
|
List all tags on an Amazon DynamoDB resource.
|
|
@@ -716,21 +648,7 @@ class DynamoDBClient(BaseClient):
|
|
|
716
648
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#list_tags_of_resource)
|
|
717
649
|
"""
|
|
718
650
|
|
|
719
|
-
def put_item(
|
|
720
|
-
self,
|
|
721
|
-
*,
|
|
722
|
-
TableName: str,
|
|
723
|
-
Item: Mapping[str, UniversalAttributeValueTypeDef],
|
|
724
|
-
Expected: Mapping[str, ExpectedAttributeValueTypeDef] = ...,
|
|
725
|
-
ReturnValues: ReturnValueType = ...,
|
|
726
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
727
|
-
ReturnItemCollectionMetrics: ReturnItemCollectionMetricsType = ...,
|
|
728
|
-
ConditionalOperator: ConditionalOperatorType = ...,
|
|
729
|
-
ConditionExpression: str = ...,
|
|
730
|
-
ExpressionAttributeNames: Mapping[str, str] = ...,
|
|
731
|
-
ExpressionAttributeValues: Mapping[str, UniversalAttributeValueTypeDef] = ...,
|
|
732
|
-
ReturnValuesOnConditionCheckFailure: ReturnValuesOnConditionCheckFailureType = ...,
|
|
733
|
-
) -> PutItemOutputTypeDef:
|
|
651
|
+
def put_item(self, **kwargs: Unpack[PutItemInputRequestTypeDef]) -> PutItemOutputTypeDef:
|
|
734
652
|
"""
|
|
735
653
|
Creates a new item, or replaces an old item with a new item.
|
|
736
654
|
|
|
@@ -739,12 +657,7 @@ class DynamoDBClient(BaseClient):
|
|
|
739
657
|
"""
|
|
740
658
|
|
|
741
659
|
def put_resource_policy(
|
|
742
|
-
self,
|
|
743
|
-
*,
|
|
744
|
-
ResourceArn: str,
|
|
745
|
-
Policy: str,
|
|
746
|
-
ExpectedRevisionId: str = ...,
|
|
747
|
-
ConfirmRemoveSelfResourceAccess: bool = ...,
|
|
660
|
+
self, **kwargs: Unpack[PutResourcePolicyInputRequestTypeDef]
|
|
748
661
|
) -> PutResourcePolicyOutputTypeDef:
|
|
749
662
|
"""
|
|
750
663
|
Attaches a resource-based policy document to the resource, which can be a table
|
|
@@ -755,27 +668,7 @@ class DynamoDBClient(BaseClient):
|
|
|
755
668
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#put_resource_policy)
|
|
756
669
|
"""
|
|
757
670
|
|
|
758
|
-
def query(
|
|
759
|
-
self,
|
|
760
|
-
*,
|
|
761
|
-
TableName: str,
|
|
762
|
-
IndexName: str = ...,
|
|
763
|
-
Select: SelectType = ...,
|
|
764
|
-
AttributesToGet: Sequence[str] = ...,
|
|
765
|
-
Limit: int = ...,
|
|
766
|
-
ConsistentRead: bool = ...,
|
|
767
|
-
KeyConditions: Mapping[str, ConditionTypeDef] = ...,
|
|
768
|
-
QueryFilter: Mapping[str, ConditionTypeDef] = ...,
|
|
769
|
-
ConditionalOperator: ConditionalOperatorType = ...,
|
|
770
|
-
ScanIndexForward: bool = ...,
|
|
771
|
-
ExclusiveStartKey: Mapping[str, UniversalAttributeValueTypeDef] = ...,
|
|
772
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
773
|
-
ProjectionExpression: str = ...,
|
|
774
|
-
FilterExpression: str = ...,
|
|
775
|
-
KeyConditionExpression: str = ...,
|
|
776
|
-
ExpressionAttributeNames: Mapping[str, str] = ...,
|
|
777
|
-
ExpressionAttributeValues: Mapping[str, UniversalAttributeValueTypeDef] = ...,
|
|
778
|
-
) -> QueryOutputTypeDef:
|
|
671
|
+
def query(self, **kwargs: Unpack[QueryInputRequestTypeDef]) -> QueryOutputTypeDef:
|
|
779
672
|
"""
|
|
780
673
|
You must provide the name of the partition key attribute and a single value for
|
|
781
674
|
that
|
|
@@ -786,16 +679,7 @@ class DynamoDBClient(BaseClient):
|
|
|
786
679
|
"""
|
|
787
680
|
|
|
788
681
|
def restore_table_from_backup(
|
|
789
|
-
self,
|
|
790
|
-
*,
|
|
791
|
-
TargetTableName: str,
|
|
792
|
-
BackupArn: str,
|
|
793
|
-
BillingModeOverride: BillingModeType = ...,
|
|
794
|
-
GlobalSecondaryIndexOverride: Sequence[GlobalSecondaryIndexUnionTypeDef] = ...,
|
|
795
|
-
LocalSecondaryIndexOverride: Sequence[LocalSecondaryIndexTypeDef] = ...,
|
|
796
|
-
ProvisionedThroughputOverride: ProvisionedThroughputTypeDef = ...,
|
|
797
|
-
OnDemandThroughputOverride: OnDemandThroughputTypeDef = ...,
|
|
798
|
-
SSESpecificationOverride: SSESpecificationTypeDef = ...,
|
|
682
|
+
self, **kwargs: Unpack[RestoreTableFromBackupInputRequestTypeDef]
|
|
799
683
|
) -> RestoreTableFromBackupOutputTypeDef:
|
|
800
684
|
"""
|
|
801
685
|
Creates a new table from an existing backup.
|
|
@@ -805,19 +689,7 @@ class DynamoDBClient(BaseClient):
|
|
|
805
689
|
"""
|
|
806
690
|
|
|
807
691
|
def restore_table_to_point_in_time(
|
|
808
|
-
self,
|
|
809
|
-
*,
|
|
810
|
-
TargetTableName: str,
|
|
811
|
-
SourceTableArn: str = ...,
|
|
812
|
-
SourceTableName: str = ...,
|
|
813
|
-
UseLatestRestorableTime: bool = ...,
|
|
814
|
-
RestoreDateTime: TimestampTypeDef = ...,
|
|
815
|
-
BillingModeOverride: BillingModeType = ...,
|
|
816
|
-
GlobalSecondaryIndexOverride: Sequence[GlobalSecondaryIndexUnionTypeDef] = ...,
|
|
817
|
-
LocalSecondaryIndexOverride: Sequence[LocalSecondaryIndexTypeDef] = ...,
|
|
818
|
-
ProvisionedThroughputOverride: ProvisionedThroughputTypeDef = ...,
|
|
819
|
-
OnDemandThroughputOverride: OnDemandThroughputTypeDef = ...,
|
|
820
|
-
SSESpecificationOverride: SSESpecificationTypeDef = ...,
|
|
692
|
+
self, **kwargs: Unpack[RestoreTableToPointInTimeInputRequestTypeDef]
|
|
821
693
|
) -> RestoreTableToPointInTimeOutputTypeDef:
|
|
822
694
|
"""
|
|
823
695
|
Restores the specified table to the specified point in time within
|
|
@@ -828,26 +700,7 @@ class DynamoDBClient(BaseClient):
|
|
|
828
700
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#restore_table_to_point_in_time)
|
|
829
701
|
"""
|
|
830
702
|
|
|
831
|
-
def scan(
|
|
832
|
-
self,
|
|
833
|
-
*,
|
|
834
|
-
TableName: str,
|
|
835
|
-
IndexName: str = ...,
|
|
836
|
-
AttributesToGet: Sequence[str] = ...,
|
|
837
|
-
Limit: int = ...,
|
|
838
|
-
Select: SelectType = ...,
|
|
839
|
-
ScanFilter: Mapping[str, ConditionTypeDef] = ...,
|
|
840
|
-
ConditionalOperator: ConditionalOperatorType = ...,
|
|
841
|
-
ExclusiveStartKey: Mapping[str, UniversalAttributeValueTypeDef] = ...,
|
|
842
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
843
|
-
TotalSegments: int = ...,
|
|
844
|
-
Segment: int = ...,
|
|
845
|
-
ProjectionExpression: str = ...,
|
|
846
|
-
FilterExpression: str = ...,
|
|
847
|
-
ExpressionAttributeNames: Mapping[str, str] = ...,
|
|
848
|
-
ExpressionAttributeValues: Mapping[str, UniversalAttributeValueTypeDef] = ...,
|
|
849
|
-
ConsistentRead: bool = ...,
|
|
850
|
-
) -> ScanOutputTypeDef:
|
|
703
|
+
def scan(self, **kwargs: Unpack[ScanInputRequestTypeDef]) -> ScanOutputTypeDef:
|
|
851
704
|
"""
|
|
852
705
|
The `Scan` operation returns one or more items and item attributes by accessing
|
|
853
706
|
every item in a table or a secondary
|
|
@@ -858,7 +711,7 @@ class DynamoDBClient(BaseClient):
|
|
|
858
711
|
"""
|
|
859
712
|
|
|
860
713
|
def tag_resource(
|
|
861
|
-
self,
|
|
714
|
+
self, **kwargs: Unpack[TagResourceInputRequestTypeDef]
|
|
862
715
|
) -> EmptyResponseMetadataTypeDef:
|
|
863
716
|
"""
|
|
864
717
|
Associate a set of tags with an Amazon DynamoDB resource.
|
|
@@ -868,10 +721,7 @@ class DynamoDBClient(BaseClient):
|
|
|
868
721
|
"""
|
|
869
722
|
|
|
870
723
|
def transact_get_items(
|
|
871
|
-
self,
|
|
872
|
-
*,
|
|
873
|
-
TransactItems: Sequence[TransactGetItemTypeDef],
|
|
874
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
724
|
+
self, **kwargs: Unpack[TransactGetItemsInputRequestTypeDef]
|
|
875
725
|
) -> TransactGetItemsOutputTypeDef:
|
|
876
726
|
"""
|
|
877
727
|
`TransactGetItems` is a synchronous operation that atomically retrieves
|
|
@@ -884,12 +734,7 @@ class DynamoDBClient(BaseClient):
|
|
|
884
734
|
"""
|
|
885
735
|
|
|
886
736
|
def transact_write_items(
|
|
887
|
-
self,
|
|
888
|
-
*,
|
|
889
|
-
TransactItems: Sequence[TransactWriteItemTypeDef],
|
|
890
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
891
|
-
ReturnItemCollectionMetrics: ReturnItemCollectionMetricsType = ...,
|
|
892
|
-
ClientRequestToken: str = ...,
|
|
737
|
+
self, **kwargs: Unpack[TransactWriteItemsInputRequestTypeDef]
|
|
893
738
|
) -> TransactWriteItemsOutputTypeDef:
|
|
894
739
|
"""
|
|
895
740
|
`TransactWriteItems` is a synchronous write operation that groups up to 100
|
|
@@ -901,7 +746,7 @@ class DynamoDBClient(BaseClient):
|
|
|
901
746
|
"""
|
|
902
747
|
|
|
903
748
|
def untag_resource(
|
|
904
|
-
self,
|
|
749
|
+
self, **kwargs: Unpack[UntagResourceInputRequestTypeDef]
|
|
905
750
|
) -> EmptyResponseMetadataTypeDef:
|
|
906
751
|
"""
|
|
907
752
|
Removes the association of tags from an Amazon DynamoDB resource.
|
|
@@ -911,10 +756,7 @@ class DynamoDBClient(BaseClient):
|
|
|
911
756
|
"""
|
|
912
757
|
|
|
913
758
|
def update_continuous_backups(
|
|
914
|
-
self,
|
|
915
|
-
*,
|
|
916
|
-
TableName: str,
|
|
917
|
-
PointInTimeRecoverySpecification: PointInTimeRecoverySpecificationTypeDef,
|
|
759
|
+
self, **kwargs: Unpack[UpdateContinuousBackupsInputRequestTypeDef]
|
|
918
760
|
) -> UpdateContinuousBackupsOutputTypeDef:
|
|
919
761
|
"""
|
|
920
762
|
`UpdateContinuousBackups` enables or disables point in time recovery for the
|
|
@@ -926,11 +768,7 @@ class DynamoDBClient(BaseClient):
|
|
|
926
768
|
"""
|
|
927
769
|
|
|
928
770
|
def update_contributor_insights(
|
|
929
|
-
self,
|
|
930
|
-
*,
|
|
931
|
-
TableName: str,
|
|
932
|
-
ContributorInsightsAction: ContributorInsightsActionType,
|
|
933
|
-
IndexName: str = ...,
|
|
771
|
+
self, **kwargs: Unpack[UpdateContributorInsightsInputRequestTypeDef]
|
|
934
772
|
) -> UpdateContributorInsightsOutputTypeDef:
|
|
935
773
|
"""
|
|
936
774
|
Updates the status for contributor insights for a specific table or index.
|
|
@@ -940,7 +778,7 @@ class DynamoDBClient(BaseClient):
|
|
|
940
778
|
"""
|
|
941
779
|
|
|
942
780
|
def update_global_table(
|
|
943
|
-
self,
|
|
781
|
+
self, **kwargs: Unpack[UpdateGlobalTableInputRequestTypeDef]
|
|
944
782
|
) -> UpdateGlobalTableOutputTypeDef:
|
|
945
783
|
"""
|
|
946
784
|
Adds or removes replicas in the specified global table.
|
|
@@ -950,16 +788,7 @@ class DynamoDBClient(BaseClient):
|
|
|
950
788
|
"""
|
|
951
789
|
|
|
952
790
|
def update_global_table_settings(
|
|
953
|
-
self,
|
|
954
|
-
*,
|
|
955
|
-
GlobalTableName: str,
|
|
956
|
-
GlobalTableBillingMode: BillingModeType = ...,
|
|
957
|
-
GlobalTableProvisionedWriteCapacityUnits: int = ...,
|
|
958
|
-
GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate: AutoScalingSettingsUpdateTypeDef = ...,
|
|
959
|
-
GlobalTableGlobalSecondaryIndexSettingsUpdate: Sequence[
|
|
960
|
-
GlobalTableGlobalSecondaryIndexSettingsUpdateTypeDef
|
|
961
|
-
] = ...,
|
|
962
|
-
ReplicaSettingsUpdate: Sequence[ReplicaSettingsUpdateTypeDef] = ...,
|
|
791
|
+
self, **kwargs: Unpack[UpdateGlobalTableSettingsInputRequestTypeDef]
|
|
963
792
|
) -> UpdateGlobalTableSettingsOutputTypeDef:
|
|
964
793
|
"""
|
|
965
794
|
Updates settings for a global table.
|
|
@@ -969,21 +798,7 @@ class DynamoDBClient(BaseClient):
|
|
|
969
798
|
"""
|
|
970
799
|
|
|
971
800
|
def update_item(
|
|
972
|
-
self,
|
|
973
|
-
*,
|
|
974
|
-
TableName: str,
|
|
975
|
-
Key: Mapping[str, UniversalAttributeValueTypeDef],
|
|
976
|
-
AttributeUpdates: Mapping[str, AttributeValueUpdateTypeDef] = ...,
|
|
977
|
-
Expected: Mapping[str, ExpectedAttributeValueTypeDef] = ...,
|
|
978
|
-
ConditionalOperator: ConditionalOperatorType = ...,
|
|
979
|
-
ReturnValues: ReturnValueType = ...,
|
|
980
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
981
|
-
ReturnItemCollectionMetrics: ReturnItemCollectionMetricsType = ...,
|
|
982
|
-
UpdateExpression: str = ...,
|
|
983
|
-
ConditionExpression: str = ...,
|
|
984
|
-
ExpressionAttributeNames: Mapping[str, str] = ...,
|
|
985
|
-
ExpressionAttributeValues: Mapping[str, UniversalAttributeValueTypeDef] = ...,
|
|
986
|
-
ReturnValuesOnConditionCheckFailure: ReturnValuesOnConditionCheckFailureType = ...,
|
|
801
|
+
self, **kwargs: Unpack[UpdateItemInputRequestTypeDef]
|
|
987
802
|
) -> UpdateItemOutputTypeDef:
|
|
988
803
|
"""
|
|
989
804
|
Edits an existing item's attributes, or adds a new item to the table if it does
|
|
@@ -995,11 +810,7 @@ class DynamoDBClient(BaseClient):
|
|
|
995
810
|
"""
|
|
996
811
|
|
|
997
812
|
def update_kinesis_streaming_destination(
|
|
998
|
-
self,
|
|
999
|
-
*,
|
|
1000
|
-
TableName: str,
|
|
1001
|
-
StreamArn: str,
|
|
1002
|
-
UpdateKinesisStreamingConfiguration: UpdateKinesisStreamingConfigurationTypeDef = ...,
|
|
813
|
+
self, **kwargs: Unpack[UpdateKinesisStreamingDestinationInputRequestTypeDef]
|
|
1003
814
|
) -> UpdateKinesisStreamingDestinationOutputTypeDef:
|
|
1004
815
|
"""
|
|
1005
816
|
The command to update the Kinesis stream destination.
|
|
@@ -1009,19 +820,7 @@ class DynamoDBClient(BaseClient):
|
|
|
1009
820
|
"""
|
|
1010
821
|
|
|
1011
822
|
def update_table(
|
|
1012
|
-
self,
|
|
1013
|
-
*,
|
|
1014
|
-
TableName: str,
|
|
1015
|
-
AttributeDefinitions: Sequence[AttributeDefinitionTypeDef] = ...,
|
|
1016
|
-
BillingMode: BillingModeType = ...,
|
|
1017
|
-
ProvisionedThroughput: ProvisionedThroughputTypeDef = ...,
|
|
1018
|
-
GlobalSecondaryIndexUpdates: Sequence[GlobalSecondaryIndexUpdateTypeDef] = ...,
|
|
1019
|
-
StreamSpecification: StreamSpecificationTypeDef = ...,
|
|
1020
|
-
SSESpecification: SSESpecificationTypeDef = ...,
|
|
1021
|
-
ReplicaUpdates: Sequence[ReplicationGroupUpdateTypeDef] = ...,
|
|
1022
|
-
TableClass: TableClassType = ...,
|
|
1023
|
-
DeletionProtectionEnabled: bool = ...,
|
|
1024
|
-
OnDemandThroughput: OnDemandThroughputTypeDef = ...,
|
|
823
|
+
self, **kwargs: Unpack[UpdateTableInputRequestTypeDef]
|
|
1025
824
|
) -> UpdateTableOutputTypeDef:
|
|
1026
825
|
"""
|
|
1027
826
|
Modifies the provisioned throughput settings, global secondary indexes, or
|
|
@@ -1033,12 +832,7 @@ class DynamoDBClient(BaseClient):
|
|
|
1033
832
|
"""
|
|
1034
833
|
|
|
1035
834
|
def update_table_replica_auto_scaling(
|
|
1036
|
-
self,
|
|
1037
|
-
*,
|
|
1038
|
-
TableName: str,
|
|
1039
|
-
GlobalSecondaryIndexUpdates: Sequence[GlobalSecondaryIndexAutoScalingUpdateTypeDef] = ...,
|
|
1040
|
-
ProvisionedWriteCapacityAutoScalingUpdate: AutoScalingSettingsUpdateTypeDef = ...,
|
|
1041
|
-
ReplicaUpdates: Sequence[ReplicaAutoScalingUpdateTypeDef] = ...,
|
|
835
|
+
self, **kwargs: Unpack[UpdateTableReplicaAutoScalingInputRequestTypeDef]
|
|
1042
836
|
) -> UpdateTableReplicaAutoScalingOutputTypeDef:
|
|
1043
837
|
"""
|
|
1044
838
|
Updates auto scaling settings on your global tables at once.
|
|
@@ -1048,7 +842,7 @@ class DynamoDBClient(BaseClient):
|
|
|
1048
842
|
"""
|
|
1049
843
|
|
|
1050
844
|
def update_time_to_live(
|
|
1051
|
-
self,
|
|
845
|
+
self, **kwargs: Unpack[UpdateTimeToLiveInputRequestTypeDef]
|
|
1052
846
|
) -> UpdateTimeToLiveOutputTypeDef:
|
|
1053
847
|
"""
|
|
1054
848
|
The `UpdateTimeToLive` method enables or disables Time to Live (TTL) for the
|