mypy-boto3-dynamodb 1.35.0__py3-none-any.whl → 1.35.24__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 +133 -343
- mypy_boto3_dynamodb/client.pyi +132 -343
- 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 +34 -55
- mypy_boto3_dynamodb/type_defs.pyi +33 -55
- 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.35.0.dist-info → mypy_boto3_dynamodb-1.35.24.dist-info}/METADATA +7 -8
- mypy_boto3_dynamodb-1.35.24.dist-info/RECORD +22 -0
- {mypy_boto3_dynamodb-1.35.0.dist-info → mypy_boto3_dynamodb-1.35.24.dist-info}/WHEEL +1 -1
- mypy_boto3_dynamodb-1.35.0.dist-info/RECORD +0 -22
- {mypy_boto3_dynamodb-1.35.0.dist-info → mypy_boto3_dynamodb-1.35.24.dist-info}/LICENSE +0 -0
- {mypy_boto3_dynamodb-1.35.0.dist-info → mypy_boto3_dynamodb-1.35.24.dist-info}/top_level.txt +0 -0
mypy_boto3_dynamodb/client.pyi
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,105 +27,122 @@ 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
|
|
|
142
142
|
if sys.version_info >= (3, 12):
|
|
143
|
-
from typing import Literal
|
|
143
|
+
from typing import Literal, Unpack
|
|
144
144
|
else:
|
|
145
|
-
from typing_extensions import Literal
|
|
145
|
+
from typing_extensions import Literal, Unpack
|
|
146
146
|
|
|
147
147
|
__all__ = ("DynamoDBClient",)
|
|
148
148
|
|
|
@@ -206,10 +206,7 @@ class DynamoDBClient(BaseClient):
|
|
|
206
206
|
"""
|
|
207
207
|
|
|
208
208
|
def batch_execute_statement(
|
|
209
|
-
self,
|
|
210
|
-
*,
|
|
211
|
-
Statements: Sequence[BatchStatementRequestTypeDef],
|
|
212
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
209
|
+
self, **kwargs: Unpack[BatchExecuteStatementInputRequestTypeDef]
|
|
213
210
|
) -> BatchExecuteStatementOutputTypeDef:
|
|
214
211
|
"""
|
|
215
212
|
This operation allows you to perform batch reads or writes on data stored in
|
|
@@ -221,10 +218,7 @@ class DynamoDBClient(BaseClient):
|
|
|
221
218
|
"""
|
|
222
219
|
|
|
223
220
|
def batch_get_item(
|
|
224
|
-
self,
|
|
225
|
-
*,
|
|
226
|
-
RequestItems: Mapping[str, KeysAndAttributesUnionTypeDef],
|
|
227
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
221
|
+
self, **kwargs: Unpack[BatchGetItemInputRequestTypeDef]
|
|
228
222
|
) -> BatchGetItemOutputTypeDef:
|
|
229
223
|
"""
|
|
230
224
|
The `BatchGetItem` operation returns the attributes of one or more items from
|
|
@@ -236,11 +230,7 @@ class DynamoDBClient(BaseClient):
|
|
|
236
230
|
"""
|
|
237
231
|
|
|
238
232
|
def batch_write_item(
|
|
239
|
-
self,
|
|
240
|
-
*,
|
|
241
|
-
RequestItems: Mapping[str, Sequence[WriteRequestUnionTypeDef]],
|
|
242
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
243
|
-
ReturnItemCollectionMetrics: ReturnItemCollectionMetricsType = ...,
|
|
233
|
+
self, **kwargs: Unpack[BatchWriteItemInputRequestTypeDef]
|
|
244
234
|
) -> BatchWriteItemOutputTypeDef:
|
|
245
235
|
"""
|
|
246
236
|
The `BatchWriteItem` operation puts or deletes multiple items in one or more
|
|
@@ -266,7 +256,9 @@ class DynamoDBClient(BaseClient):
|
|
|
266
256
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#close)
|
|
267
257
|
"""
|
|
268
258
|
|
|
269
|
-
def create_backup(
|
|
259
|
+
def create_backup(
|
|
260
|
+
self, **kwargs: Unpack[CreateBackupInputRequestTypeDef]
|
|
261
|
+
) -> CreateBackupOutputTypeDef:
|
|
270
262
|
"""
|
|
271
263
|
Creates a backup for an existing table.
|
|
272
264
|
|
|
@@ -275,7 +267,7 @@ class DynamoDBClient(BaseClient):
|
|
|
275
267
|
"""
|
|
276
268
|
|
|
277
269
|
def create_global_table(
|
|
278
|
-
self,
|
|
270
|
+
self, **kwargs: Unpack[CreateGlobalTableInputRequestTypeDef]
|
|
279
271
|
) -> CreateGlobalTableOutputTypeDef:
|
|
280
272
|
"""
|
|
281
273
|
Creates a global table from an existing table.
|
|
@@ -285,22 +277,7 @@ class DynamoDBClient(BaseClient):
|
|
|
285
277
|
"""
|
|
286
278
|
|
|
287
279
|
def create_table(
|
|
288
|
-
self,
|
|
289
|
-
*,
|
|
290
|
-
AttributeDefinitions: Sequence[AttributeDefinitionTypeDef],
|
|
291
|
-
TableName: str,
|
|
292
|
-
KeySchema: Sequence[KeySchemaElementTypeDef],
|
|
293
|
-
LocalSecondaryIndexes: Sequence[LocalSecondaryIndexTypeDef] = ...,
|
|
294
|
-
GlobalSecondaryIndexes: Sequence[GlobalSecondaryIndexUnionTypeDef] = ...,
|
|
295
|
-
BillingMode: BillingModeType = ...,
|
|
296
|
-
ProvisionedThroughput: ProvisionedThroughputTypeDef = ...,
|
|
297
|
-
StreamSpecification: StreamSpecificationTypeDef = ...,
|
|
298
|
-
SSESpecification: SSESpecificationTypeDef = ...,
|
|
299
|
-
Tags: Sequence[TagTypeDef] = ...,
|
|
300
|
-
TableClass: TableClassType = ...,
|
|
301
|
-
DeletionProtectionEnabled: bool = ...,
|
|
302
|
-
ResourcePolicy: str = ...,
|
|
303
|
-
OnDemandThroughput: OnDemandThroughputTypeDef = ...,
|
|
280
|
+
self, **kwargs: Unpack[CreateTableInputRequestTypeDef]
|
|
304
281
|
) -> CreateTableOutputTypeDef:
|
|
305
282
|
"""
|
|
306
283
|
The `CreateTable` operation adds a new table to your account.
|
|
@@ -309,7 +286,9 @@ class DynamoDBClient(BaseClient):
|
|
|
309
286
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#create_table)
|
|
310
287
|
"""
|
|
311
288
|
|
|
312
|
-
def delete_backup(
|
|
289
|
+
def delete_backup(
|
|
290
|
+
self, **kwargs: Unpack[DeleteBackupInputRequestTypeDef]
|
|
291
|
+
) -> DeleteBackupOutputTypeDef:
|
|
313
292
|
"""
|
|
314
293
|
Deletes an existing backup of a table.
|
|
315
294
|
|
|
@@ -318,19 +297,7 @@ class DynamoDBClient(BaseClient):
|
|
|
318
297
|
"""
|
|
319
298
|
|
|
320
299
|
def delete_item(
|
|
321
|
-
self,
|
|
322
|
-
*,
|
|
323
|
-
TableName: str,
|
|
324
|
-
Key: Mapping[str, UniversalAttributeValueTypeDef],
|
|
325
|
-
Expected: Mapping[str, ExpectedAttributeValueTypeDef] = ...,
|
|
326
|
-
ConditionalOperator: ConditionalOperatorType = ...,
|
|
327
|
-
ReturnValues: ReturnValueType = ...,
|
|
328
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
329
|
-
ReturnItemCollectionMetrics: ReturnItemCollectionMetricsType = ...,
|
|
330
|
-
ConditionExpression: str = ...,
|
|
331
|
-
ExpressionAttributeNames: Mapping[str, str] = ...,
|
|
332
|
-
ExpressionAttributeValues: Mapping[str, UniversalAttributeValueTypeDef] = ...,
|
|
333
|
-
ReturnValuesOnConditionCheckFailure: ReturnValuesOnConditionCheckFailureType = ...,
|
|
300
|
+
self, **kwargs: Unpack[DeleteItemInputRequestTypeDef]
|
|
334
301
|
) -> DeleteItemOutputTypeDef:
|
|
335
302
|
"""
|
|
336
303
|
Deletes a single item in a table by primary key.
|
|
@@ -340,7 +307,7 @@ class DynamoDBClient(BaseClient):
|
|
|
340
307
|
"""
|
|
341
308
|
|
|
342
309
|
def delete_resource_policy(
|
|
343
|
-
self,
|
|
310
|
+
self, **kwargs: Unpack[DeleteResourcePolicyInputRequestTypeDef]
|
|
344
311
|
) -> DeleteResourcePolicyOutputTypeDef:
|
|
345
312
|
"""
|
|
346
313
|
Deletes the resource-based policy attached to the resource, which can be a
|
|
@@ -351,7 +318,9 @@ class DynamoDBClient(BaseClient):
|
|
|
351
318
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#delete_resource_policy)
|
|
352
319
|
"""
|
|
353
320
|
|
|
354
|
-
def delete_table(
|
|
321
|
+
def delete_table(
|
|
322
|
+
self, **kwargs: Unpack[DeleteTableInputRequestTypeDef]
|
|
323
|
+
) -> DeleteTableOutputTypeDef:
|
|
355
324
|
"""
|
|
356
325
|
The `DeleteTable` operation deletes a table and all of its items.
|
|
357
326
|
|
|
@@ -359,7 +328,9 @@ class DynamoDBClient(BaseClient):
|
|
|
359
328
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#delete_table)
|
|
360
329
|
"""
|
|
361
330
|
|
|
362
|
-
def describe_backup(
|
|
331
|
+
def describe_backup(
|
|
332
|
+
self, **kwargs: Unpack[DescribeBackupInputRequestTypeDef]
|
|
333
|
+
) -> DescribeBackupOutputTypeDef:
|
|
363
334
|
"""
|
|
364
335
|
Describes an existing backup of a table.
|
|
365
336
|
|
|
@@ -368,7 +339,7 @@ class DynamoDBClient(BaseClient):
|
|
|
368
339
|
"""
|
|
369
340
|
|
|
370
341
|
def describe_continuous_backups(
|
|
371
|
-
self,
|
|
342
|
+
self, **kwargs: Unpack[DescribeContinuousBackupsInputRequestTypeDef]
|
|
372
343
|
) -> DescribeContinuousBackupsOutputTypeDef:
|
|
373
344
|
"""
|
|
374
345
|
Checks the status of continuous backups and point in time recovery on the
|
|
@@ -380,7 +351,7 @@ class DynamoDBClient(BaseClient):
|
|
|
380
351
|
"""
|
|
381
352
|
|
|
382
353
|
def describe_contributor_insights(
|
|
383
|
-
self,
|
|
354
|
+
self, **kwargs: Unpack[DescribeContributorInsightsInputRequestTypeDef]
|
|
384
355
|
) -> DescribeContributorInsightsOutputTypeDef:
|
|
385
356
|
"""
|
|
386
357
|
Returns information about contributor insights for a given table or global
|
|
@@ -399,7 +370,9 @@ class DynamoDBClient(BaseClient):
|
|
|
399
370
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#describe_endpoints)
|
|
400
371
|
"""
|
|
401
372
|
|
|
402
|
-
def describe_export(
|
|
373
|
+
def describe_export(
|
|
374
|
+
self, **kwargs: Unpack[DescribeExportInputRequestTypeDef]
|
|
375
|
+
) -> DescribeExportOutputTypeDef:
|
|
403
376
|
"""
|
|
404
377
|
Describes an existing table export.
|
|
405
378
|
|
|
@@ -407,7 +380,9 @@ class DynamoDBClient(BaseClient):
|
|
|
407
380
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#describe_export)
|
|
408
381
|
"""
|
|
409
382
|
|
|
410
|
-
def describe_global_table(
|
|
383
|
+
def describe_global_table(
|
|
384
|
+
self, **kwargs: Unpack[DescribeGlobalTableInputRequestTypeDef]
|
|
385
|
+
) -> DescribeGlobalTableOutputTypeDef:
|
|
411
386
|
"""
|
|
412
387
|
Returns information about the specified global table.
|
|
413
388
|
|
|
@@ -416,7 +391,7 @@ class DynamoDBClient(BaseClient):
|
|
|
416
391
|
"""
|
|
417
392
|
|
|
418
393
|
def describe_global_table_settings(
|
|
419
|
-
self,
|
|
394
|
+
self, **kwargs: Unpack[DescribeGlobalTableSettingsInputRequestTypeDef]
|
|
420
395
|
) -> DescribeGlobalTableSettingsOutputTypeDef:
|
|
421
396
|
"""
|
|
422
397
|
Describes Region-specific settings for a global table.
|
|
@@ -425,7 +400,9 @@ class DynamoDBClient(BaseClient):
|
|
|
425
400
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#describe_global_table_settings)
|
|
426
401
|
"""
|
|
427
402
|
|
|
428
|
-
def describe_import(
|
|
403
|
+
def describe_import(
|
|
404
|
+
self, **kwargs: Unpack[DescribeImportInputRequestTypeDef]
|
|
405
|
+
) -> DescribeImportOutputTypeDef:
|
|
429
406
|
"""
|
|
430
407
|
Represents the properties of the import.
|
|
431
408
|
|
|
@@ -434,7 +411,7 @@ class DynamoDBClient(BaseClient):
|
|
|
434
411
|
"""
|
|
435
412
|
|
|
436
413
|
def describe_kinesis_streaming_destination(
|
|
437
|
-
self,
|
|
414
|
+
self, **kwargs: Unpack[DescribeKinesisStreamingDestinationInputRequestTypeDef]
|
|
438
415
|
) -> DescribeKinesisStreamingDestinationOutputTypeDef:
|
|
439
416
|
"""
|
|
440
417
|
Returns information about the status of Kinesis streaming.
|
|
@@ -454,7 +431,9 @@ class DynamoDBClient(BaseClient):
|
|
|
454
431
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#describe_limits)
|
|
455
432
|
"""
|
|
456
433
|
|
|
457
|
-
def describe_table(
|
|
434
|
+
def describe_table(
|
|
435
|
+
self, **kwargs: Unpack[DescribeTableInputRequestTypeDef]
|
|
436
|
+
) -> DescribeTableOutputTypeDef:
|
|
458
437
|
"""
|
|
459
438
|
Returns information about the table, including the current status of the table,
|
|
460
439
|
when it was created, the primary key schema, and any indexes on the
|
|
@@ -465,7 +444,7 @@ class DynamoDBClient(BaseClient):
|
|
|
465
444
|
"""
|
|
466
445
|
|
|
467
446
|
def describe_table_replica_auto_scaling(
|
|
468
|
-
self,
|
|
447
|
+
self, **kwargs: Unpack[DescribeTableReplicaAutoScalingInputRequestTypeDef]
|
|
469
448
|
) -> DescribeTableReplicaAutoScalingOutputTypeDef:
|
|
470
449
|
"""
|
|
471
450
|
Describes auto scaling settings across replicas of the global table at once.
|
|
@@ -474,7 +453,9 @@ class DynamoDBClient(BaseClient):
|
|
|
474
453
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#describe_table_replica_auto_scaling)
|
|
475
454
|
"""
|
|
476
455
|
|
|
477
|
-
def describe_time_to_live(
|
|
456
|
+
def describe_time_to_live(
|
|
457
|
+
self, **kwargs: Unpack[DescribeTimeToLiveInputRequestTypeDef]
|
|
458
|
+
) -> DescribeTimeToLiveOutputTypeDef:
|
|
478
459
|
"""
|
|
479
460
|
Gives a description of the Time to Live (TTL) status on the specified table.
|
|
480
461
|
|
|
@@ -483,11 +464,7 @@ class DynamoDBClient(BaseClient):
|
|
|
483
464
|
"""
|
|
484
465
|
|
|
485
466
|
def disable_kinesis_streaming_destination(
|
|
486
|
-
self,
|
|
487
|
-
*,
|
|
488
|
-
TableName: str,
|
|
489
|
-
StreamArn: str,
|
|
490
|
-
EnableKinesisStreamingConfiguration: EnableKinesisStreamingConfigurationTypeDef = ...,
|
|
467
|
+
self, **kwargs: Unpack[KinesisStreamingDestinationInputRequestTypeDef]
|
|
491
468
|
) -> KinesisStreamingDestinationOutputTypeDef:
|
|
492
469
|
"""
|
|
493
470
|
Stops replication from the DynamoDB table to the Kinesis data stream.
|
|
@@ -497,11 +474,7 @@ class DynamoDBClient(BaseClient):
|
|
|
497
474
|
"""
|
|
498
475
|
|
|
499
476
|
def enable_kinesis_streaming_destination(
|
|
500
|
-
self,
|
|
501
|
-
*,
|
|
502
|
-
TableName: str,
|
|
503
|
-
StreamArn: str,
|
|
504
|
-
EnableKinesisStreamingConfiguration: EnableKinesisStreamingConfigurationTypeDef = ...,
|
|
477
|
+
self, **kwargs: Unpack[KinesisStreamingDestinationInputRequestTypeDef]
|
|
505
478
|
) -> KinesisStreamingDestinationOutputTypeDef:
|
|
506
479
|
"""
|
|
507
480
|
Starts table data replication to the specified Kinesis data stream at a
|
|
@@ -513,15 +486,7 @@ class DynamoDBClient(BaseClient):
|
|
|
513
486
|
"""
|
|
514
487
|
|
|
515
488
|
def execute_statement(
|
|
516
|
-
self,
|
|
517
|
-
*,
|
|
518
|
-
Statement: str,
|
|
519
|
-
Parameters: Sequence[UniversalAttributeValueTypeDef] = ...,
|
|
520
|
-
ConsistentRead: bool = ...,
|
|
521
|
-
NextToken: str = ...,
|
|
522
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
523
|
-
Limit: int = ...,
|
|
524
|
-
ReturnValuesOnConditionCheckFailure: ReturnValuesOnConditionCheckFailureType = ...,
|
|
489
|
+
self, **kwargs: Unpack[ExecuteStatementInputRequestTypeDef]
|
|
525
490
|
) -> ExecuteStatementOutputTypeDef:
|
|
526
491
|
"""
|
|
527
492
|
This operation allows you to perform reads and singleton writes on data stored
|
|
@@ -533,11 +498,7 @@ class DynamoDBClient(BaseClient):
|
|
|
533
498
|
"""
|
|
534
499
|
|
|
535
500
|
def execute_transaction(
|
|
536
|
-
self,
|
|
537
|
-
*,
|
|
538
|
-
TransactStatements: Sequence[ParameterizedStatementTypeDef],
|
|
539
|
-
ClientRequestToken: str = ...,
|
|
540
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
501
|
+
self, **kwargs: Unpack[ExecuteTransactionInputRequestTypeDef]
|
|
541
502
|
) -> ExecuteTransactionOutputTypeDef:
|
|
542
503
|
"""
|
|
543
504
|
This operation allows you to perform transactional reads or writes on data
|
|
@@ -549,19 +510,7 @@ class DynamoDBClient(BaseClient):
|
|
|
549
510
|
"""
|
|
550
511
|
|
|
551
512
|
def export_table_to_point_in_time(
|
|
552
|
-
self,
|
|
553
|
-
*,
|
|
554
|
-
TableArn: str,
|
|
555
|
-
S3Bucket: str,
|
|
556
|
-
ExportTime: TimestampTypeDef = ...,
|
|
557
|
-
ClientToken: str = ...,
|
|
558
|
-
S3BucketOwner: str = ...,
|
|
559
|
-
S3Prefix: str = ...,
|
|
560
|
-
S3SseAlgorithm: S3SseAlgorithmType = ...,
|
|
561
|
-
S3SseKmsKeyId: str = ...,
|
|
562
|
-
ExportFormat: ExportFormatType = ...,
|
|
563
|
-
ExportType: ExportTypeType = ...,
|
|
564
|
-
IncrementalExportSpecification: IncrementalExportSpecificationUnionTypeDef = ...,
|
|
513
|
+
self, **kwargs: Unpack[ExportTableToPointInTimeInputRequestTypeDef]
|
|
565
514
|
) -> ExportTableToPointInTimeOutputTypeDef:
|
|
566
515
|
"""
|
|
567
516
|
Exports table data to an S3 bucket.
|
|
@@ -584,17 +533,7 @@ class DynamoDBClient(BaseClient):
|
|
|
584
533
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#generate_presigned_url)
|
|
585
534
|
"""
|
|
586
535
|
|
|
587
|
-
def get_item(
|
|
588
|
-
self,
|
|
589
|
-
*,
|
|
590
|
-
TableName: str,
|
|
591
|
-
Key: Mapping[str, UniversalAttributeValueTypeDef],
|
|
592
|
-
AttributesToGet: Sequence[str] = ...,
|
|
593
|
-
ConsistentRead: bool = ...,
|
|
594
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
595
|
-
ProjectionExpression: str = ...,
|
|
596
|
-
ExpressionAttributeNames: Mapping[str, str] = ...,
|
|
597
|
-
) -> GetItemOutputTypeDef:
|
|
536
|
+
def get_item(self, **kwargs: Unpack[GetItemInputRequestTypeDef]) -> GetItemOutputTypeDef:
|
|
598
537
|
"""
|
|
599
538
|
The `GetItem` operation returns a set of attributes for the item with the given
|
|
600
539
|
primary
|
|
@@ -604,7 +543,9 @@ class DynamoDBClient(BaseClient):
|
|
|
604
543
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#get_item)
|
|
605
544
|
"""
|
|
606
545
|
|
|
607
|
-
def get_resource_policy(
|
|
546
|
+
def get_resource_policy(
|
|
547
|
+
self, **kwargs: Unpack[GetResourcePolicyInputRequestTypeDef]
|
|
548
|
+
) -> GetResourcePolicyOutputTypeDef:
|
|
608
549
|
"""
|
|
609
550
|
Returns the resource-based policy document attached to the resource, which can
|
|
610
551
|
be a table or stream, in JSON
|
|
@@ -615,14 +556,7 @@ class DynamoDBClient(BaseClient):
|
|
|
615
556
|
"""
|
|
616
557
|
|
|
617
558
|
def import_table(
|
|
618
|
-
self,
|
|
619
|
-
*,
|
|
620
|
-
S3BucketSource: S3BucketSourceTypeDef,
|
|
621
|
-
InputFormat: InputFormatType,
|
|
622
|
-
TableCreationParameters: TableCreationParametersUnionTypeDef,
|
|
623
|
-
ClientToken: str = ...,
|
|
624
|
-
InputFormatOptions: InputFormatOptionsUnionTypeDef = ...,
|
|
625
|
-
InputCompressionType: InputCompressionTypeType = ...,
|
|
559
|
+
self, **kwargs: Unpack[ImportTableInputRequestTypeDef]
|
|
626
560
|
) -> ImportTableOutputTypeDef:
|
|
627
561
|
"""
|
|
628
562
|
Imports table data from an S3 bucket.
|
|
@@ -632,14 +566,7 @@ class DynamoDBClient(BaseClient):
|
|
|
632
566
|
"""
|
|
633
567
|
|
|
634
568
|
def list_backups(
|
|
635
|
-
self,
|
|
636
|
-
*,
|
|
637
|
-
TableName: str = ...,
|
|
638
|
-
Limit: int = ...,
|
|
639
|
-
TimeRangeLowerBound: TimestampTypeDef = ...,
|
|
640
|
-
TimeRangeUpperBound: TimestampTypeDef = ...,
|
|
641
|
-
ExclusiveStartBackupArn: str = ...,
|
|
642
|
-
BackupType: BackupTypeFilterType = ...,
|
|
569
|
+
self, **kwargs: Unpack[ListBackupsInputRequestTypeDef]
|
|
643
570
|
) -> ListBackupsOutputTypeDef:
|
|
644
571
|
"""
|
|
645
572
|
List DynamoDB backups that are associated with an Amazon Web Services account
|
|
@@ -651,7 +578,7 @@ class DynamoDBClient(BaseClient):
|
|
|
651
578
|
"""
|
|
652
579
|
|
|
653
580
|
def list_contributor_insights(
|
|
654
|
-
self,
|
|
581
|
+
self, **kwargs: Unpack[ListContributorInsightsInputRequestTypeDef]
|
|
655
582
|
) -> ListContributorInsightsOutputTypeDef:
|
|
656
583
|
"""
|
|
657
584
|
Returns a list of ContributorInsightsSummary for a table and all its global
|
|
@@ -663,7 +590,7 @@ class DynamoDBClient(BaseClient):
|
|
|
663
590
|
"""
|
|
664
591
|
|
|
665
592
|
def list_exports(
|
|
666
|
-
self,
|
|
593
|
+
self, **kwargs: Unpack[ListExportsInputRequestTypeDef]
|
|
667
594
|
) -> ListExportsOutputTypeDef:
|
|
668
595
|
"""
|
|
669
596
|
Lists completed exports within the past 90 days.
|
|
@@ -673,7 +600,7 @@ class DynamoDBClient(BaseClient):
|
|
|
673
600
|
"""
|
|
674
601
|
|
|
675
602
|
def list_global_tables(
|
|
676
|
-
self,
|
|
603
|
+
self, **kwargs: Unpack[ListGlobalTablesInputRequestTypeDef]
|
|
677
604
|
) -> ListGlobalTablesOutputTypeDef:
|
|
678
605
|
"""
|
|
679
606
|
Lists all global tables that have a replica in the specified Region.
|
|
@@ -683,7 +610,7 @@ class DynamoDBClient(BaseClient):
|
|
|
683
610
|
"""
|
|
684
611
|
|
|
685
612
|
def list_imports(
|
|
686
|
-
self,
|
|
613
|
+
self, **kwargs: Unpack[ListImportsInputRequestTypeDef]
|
|
687
614
|
) -> ListImportsOutputTypeDef:
|
|
688
615
|
"""
|
|
689
616
|
Lists completed imports within the past 90 days.
|
|
@@ -693,7 +620,7 @@ class DynamoDBClient(BaseClient):
|
|
|
693
620
|
"""
|
|
694
621
|
|
|
695
622
|
def list_tables(
|
|
696
|
-
self,
|
|
623
|
+
self, **kwargs: Unpack[ListTablesInputRequestTypeDef]
|
|
697
624
|
) -> ListTablesOutputTypeDef:
|
|
698
625
|
"""
|
|
699
626
|
Returns an array of table names associated with the current account and
|
|
@@ -704,7 +631,7 @@ class DynamoDBClient(BaseClient):
|
|
|
704
631
|
"""
|
|
705
632
|
|
|
706
633
|
def list_tags_of_resource(
|
|
707
|
-
self,
|
|
634
|
+
self, **kwargs: Unpack[ListTagsOfResourceInputRequestTypeDef]
|
|
708
635
|
) -> ListTagsOfResourceOutputTypeDef:
|
|
709
636
|
"""
|
|
710
637
|
List all tags on an Amazon DynamoDB resource.
|
|
@@ -713,21 +640,7 @@ class DynamoDBClient(BaseClient):
|
|
|
713
640
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#list_tags_of_resource)
|
|
714
641
|
"""
|
|
715
642
|
|
|
716
|
-
def put_item(
|
|
717
|
-
self,
|
|
718
|
-
*,
|
|
719
|
-
TableName: str,
|
|
720
|
-
Item: Mapping[str, UniversalAttributeValueTypeDef],
|
|
721
|
-
Expected: Mapping[str, ExpectedAttributeValueTypeDef] = ...,
|
|
722
|
-
ReturnValues: ReturnValueType = ...,
|
|
723
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
724
|
-
ReturnItemCollectionMetrics: ReturnItemCollectionMetricsType = ...,
|
|
725
|
-
ConditionalOperator: ConditionalOperatorType = ...,
|
|
726
|
-
ConditionExpression: str = ...,
|
|
727
|
-
ExpressionAttributeNames: Mapping[str, str] = ...,
|
|
728
|
-
ExpressionAttributeValues: Mapping[str, UniversalAttributeValueTypeDef] = ...,
|
|
729
|
-
ReturnValuesOnConditionCheckFailure: ReturnValuesOnConditionCheckFailureType = ...,
|
|
730
|
-
) -> PutItemOutputTypeDef:
|
|
643
|
+
def put_item(self, **kwargs: Unpack[PutItemInputRequestTypeDef]) -> PutItemOutputTypeDef:
|
|
731
644
|
"""
|
|
732
645
|
Creates a new item, or replaces an old item with a new item.
|
|
733
646
|
|
|
@@ -736,12 +649,7 @@ class DynamoDBClient(BaseClient):
|
|
|
736
649
|
"""
|
|
737
650
|
|
|
738
651
|
def put_resource_policy(
|
|
739
|
-
self,
|
|
740
|
-
*,
|
|
741
|
-
ResourceArn: str,
|
|
742
|
-
Policy: str,
|
|
743
|
-
ExpectedRevisionId: str = ...,
|
|
744
|
-
ConfirmRemoveSelfResourceAccess: bool = ...,
|
|
652
|
+
self, **kwargs: Unpack[PutResourcePolicyInputRequestTypeDef]
|
|
745
653
|
) -> PutResourcePolicyOutputTypeDef:
|
|
746
654
|
"""
|
|
747
655
|
Attaches a resource-based policy document to the resource, which can be a table
|
|
@@ -752,27 +660,7 @@ class DynamoDBClient(BaseClient):
|
|
|
752
660
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#put_resource_policy)
|
|
753
661
|
"""
|
|
754
662
|
|
|
755
|
-
def query(
|
|
756
|
-
self,
|
|
757
|
-
*,
|
|
758
|
-
TableName: str,
|
|
759
|
-
IndexName: str = ...,
|
|
760
|
-
Select: SelectType = ...,
|
|
761
|
-
AttributesToGet: Sequence[str] = ...,
|
|
762
|
-
Limit: int = ...,
|
|
763
|
-
ConsistentRead: bool = ...,
|
|
764
|
-
KeyConditions: Mapping[str, ConditionTypeDef] = ...,
|
|
765
|
-
QueryFilter: Mapping[str, ConditionTypeDef] = ...,
|
|
766
|
-
ConditionalOperator: ConditionalOperatorType = ...,
|
|
767
|
-
ScanIndexForward: bool = ...,
|
|
768
|
-
ExclusiveStartKey: Mapping[str, UniversalAttributeValueTypeDef] = ...,
|
|
769
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
770
|
-
ProjectionExpression: str = ...,
|
|
771
|
-
FilterExpression: str = ...,
|
|
772
|
-
KeyConditionExpression: str = ...,
|
|
773
|
-
ExpressionAttributeNames: Mapping[str, str] = ...,
|
|
774
|
-
ExpressionAttributeValues: Mapping[str, UniversalAttributeValueTypeDef] = ...,
|
|
775
|
-
) -> QueryOutputTypeDef:
|
|
663
|
+
def query(self, **kwargs: Unpack[QueryInputRequestTypeDef]) -> QueryOutputTypeDef:
|
|
776
664
|
"""
|
|
777
665
|
You must provide the name of the partition key attribute and a single value for
|
|
778
666
|
that
|
|
@@ -783,16 +671,7 @@ class DynamoDBClient(BaseClient):
|
|
|
783
671
|
"""
|
|
784
672
|
|
|
785
673
|
def restore_table_from_backup(
|
|
786
|
-
self,
|
|
787
|
-
*,
|
|
788
|
-
TargetTableName: str,
|
|
789
|
-
BackupArn: str,
|
|
790
|
-
BillingModeOverride: BillingModeType = ...,
|
|
791
|
-
GlobalSecondaryIndexOverride: Sequence[GlobalSecondaryIndexUnionTypeDef] = ...,
|
|
792
|
-
LocalSecondaryIndexOverride: Sequence[LocalSecondaryIndexTypeDef] = ...,
|
|
793
|
-
ProvisionedThroughputOverride: ProvisionedThroughputTypeDef = ...,
|
|
794
|
-
OnDemandThroughputOverride: OnDemandThroughputTypeDef = ...,
|
|
795
|
-
SSESpecificationOverride: SSESpecificationTypeDef = ...,
|
|
674
|
+
self, **kwargs: Unpack[RestoreTableFromBackupInputRequestTypeDef]
|
|
796
675
|
) -> RestoreTableFromBackupOutputTypeDef:
|
|
797
676
|
"""
|
|
798
677
|
Creates a new table from an existing backup.
|
|
@@ -802,19 +681,7 @@ class DynamoDBClient(BaseClient):
|
|
|
802
681
|
"""
|
|
803
682
|
|
|
804
683
|
def restore_table_to_point_in_time(
|
|
805
|
-
self,
|
|
806
|
-
*,
|
|
807
|
-
TargetTableName: str,
|
|
808
|
-
SourceTableArn: str = ...,
|
|
809
|
-
SourceTableName: str = ...,
|
|
810
|
-
UseLatestRestorableTime: bool = ...,
|
|
811
|
-
RestoreDateTime: TimestampTypeDef = ...,
|
|
812
|
-
BillingModeOverride: BillingModeType = ...,
|
|
813
|
-
GlobalSecondaryIndexOverride: Sequence[GlobalSecondaryIndexUnionTypeDef] = ...,
|
|
814
|
-
LocalSecondaryIndexOverride: Sequence[LocalSecondaryIndexTypeDef] = ...,
|
|
815
|
-
ProvisionedThroughputOverride: ProvisionedThroughputTypeDef = ...,
|
|
816
|
-
OnDemandThroughputOverride: OnDemandThroughputTypeDef = ...,
|
|
817
|
-
SSESpecificationOverride: SSESpecificationTypeDef = ...,
|
|
684
|
+
self, **kwargs: Unpack[RestoreTableToPointInTimeInputRequestTypeDef]
|
|
818
685
|
) -> RestoreTableToPointInTimeOutputTypeDef:
|
|
819
686
|
"""
|
|
820
687
|
Restores the specified table to the specified point in time within
|
|
@@ -825,26 +692,7 @@ class DynamoDBClient(BaseClient):
|
|
|
825
692
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#restore_table_to_point_in_time)
|
|
826
693
|
"""
|
|
827
694
|
|
|
828
|
-
def scan(
|
|
829
|
-
self,
|
|
830
|
-
*,
|
|
831
|
-
TableName: str,
|
|
832
|
-
IndexName: str = ...,
|
|
833
|
-
AttributesToGet: Sequence[str] = ...,
|
|
834
|
-
Limit: int = ...,
|
|
835
|
-
Select: SelectType = ...,
|
|
836
|
-
ScanFilter: Mapping[str, ConditionTypeDef] = ...,
|
|
837
|
-
ConditionalOperator: ConditionalOperatorType = ...,
|
|
838
|
-
ExclusiveStartKey: Mapping[str, UniversalAttributeValueTypeDef] = ...,
|
|
839
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
840
|
-
TotalSegments: int = ...,
|
|
841
|
-
Segment: int = ...,
|
|
842
|
-
ProjectionExpression: str = ...,
|
|
843
|
-
FilterExpression: str = ...,
|
|
844
|
-
ExpressionAttributeNames: Mapping[str, str] = ...,
|
|
845
|
-
ExpressionAttributeValues: Mapping[str, UniversalAttributeValueTypeDef] = ...,
|
|
846
|
-
ConsistentRead: bool = ...,
|
|
847
|
-
) -> ScanOutputTypeDef:
|
|
695
|
+
def scan(self, **kwargs: Unpack[ScanInputRequestTypeDef]) -> ScanOutputTypeDef:
|
|
848
696
|
"""
|
|
849
697
|
The `Scan` operation returns one or more items and item attributes by accessing
|
|
850
698
|
every item in a table or a secondary
|
|
@@ -855,7 +703,7 @@ class DynamoDBClient(BaseClient):
|
|
|
855
703
|
"""
|
|
856
704
|
|
|
857
705
|
def tag_resource(
|
|
858
|
-
self,
|
|
706
|
+
self, **kwargs: Unpack[TagResourceInputRequestTypeDef]
|
|
859
707
|
) -> EmptyResponseMetadataTypeDef:
|
|
860
708
|
"""
|
|
861
709
|
Associate a set of tags with an Amazon DynamoDB resource.
|
|
@@ -865,10 +713,7 @@ class DynamoDBClient(BaseClient):
|
|
|
865
713
|
"""
|
|
866
714
|
|
|
867
715
|
def transact_get_items(
|
|
868
|
-
self,
|
|
869
|
-
*,
|
|
870
|
-
TransactItems: Sequence[TransactGetItemTypeDef],
|
|
871
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
716
|
+
self, **kwargs: Unpack[TransactGetItemsInputRequestTypeDef]
|
|
872
717
|
) -> TransactGetItemsOutputTypeDef:
|
|
873
718
|
"""
|
|
874
719
|
`TransactGetItems` is a synchronous operation that atomically retrieves
|
|
@@ -881,12 +726,7 @@ class DynamoDBClient(BaseClient):
|
|
|
881
726
|
"""
|
|
882
727
|
|
|
883
728
|
def transact_write_items(
|
|
884
|
-
self,
|
|
885
|
-
*,
|
|
886
|
-
TransactItems: Sequence[TransactWriteItemTypeDef],
|
|
887
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
888
|
-
ReturnItemCollectionMetrics: ReturnItemCollectionMetricsType = ...,
|
|
889
|
-
ClientRequestToken: str = ...,
|
|
729
|
+
self, **kwargs: Unpack[TransactWriteItemsInputRequestTypeDef]
|
|
890
730
|
) -> TransactWriteItemsOutputTypeDef:
|
|
891
731
|
"""
|
|
892
732
|
`TransactWriteItems` is a synchronous write operation that groups up to 100
|
|
@@ -898,7 +738,7 @@ class DynamoDBClient(BaseClient):
|
|
|
898
738
|
"""
|
|
899
739
|
|
|
900
740
|
def untag_resource(
|
|
901
|
-
self,
|
|
741
|
+
self, **kwargs: Unpack[UntagResourceInputRequestTypeDef]
|
|
902
742
|
) -> EmptyResponseMetadataTypeDef:
|
|
903
743
|
"""
|
|
904
744
|
Removes the association of tags from an Amazon DynamoDB resource.
|
|
@@ -908,10 +748,7 @@ class DynamoDBClient(BaseClient):
|
|
|
908
748
|
"""
|
|
909
749
|
|
|
910
750
|
def update_continuous_backups(
|
|
911
|
-
self,
|
|
912
|
-
*,
|
|
913
|
-
TableName: str,
|
|
914
|
-
PointInTimeRecoverySpecification: PointInTimeRecoverySpecificationTypeDef,
|
|
751
|
+
self, **kwargs: Unpack[UpdateContinuousBackupsInputRequestTypeDef]
|
|
915
752
|
) -> UpdateContinuousBackupsOutputTypeDef:
|
|
916
753
|
"""
|
|
917
754
|
`UpdateContinuousBackups` enables or disables point in time recovery for the
|
|
@@ -923,11 +760,7 @@ class DynamoDBClient(BaseClient):
|
|
|
923
760
|
"""
|
|
924
761
|
|
|
925
762
|
def update_contributor_insights(
|
|
926
|
-
self,
|
|
927
|
-
*,
|
|
928
|
-
TableName: str,
|
|
929
|
-
ContributorInsightsAction: ContributorInsightsActionType,
|
|
930
|
-
IndexName: str = ...,
|
|
763
|
+
self, **kwargs: Unpack[UpdateContributorInsightsInputRequestTypeDef]
|
|
931
764
|
) -> UpdateContributorInsightsOutputTypeDef:
|
|
932
765
|
"""
|
|
933
766
|
Updates the status for contributor insights for a specific table or index.
|
|
@@ -937,7 +770,7 @@ class DynamoDBClient(BaseClient):
|
|
|
937
770
|
"""
|
|
938
771
|
|
|
939
772
|
def update_global_table(
|
|
940
|
-
self,
|
|
773
|
+
self, **kwargs: Unpack[UpdateGlobalTableInputRequestTypeDef]
|
|
941
774
|
) -> UpdateGlobalTableOutputTypeDef:
|
|
942
775
|
"""
|
|
943
776
|
Adds or removes replicas in the specified global table.
|
|
@@ -947,16 +780,7 @@ class DynamoDBClient(BaseClient):
|
|
|
947
780
|
"""
|
|
948
781
|
|
|
949
782
|
def update_global_table_settings(
|
|
950
|
-
self,
|
|
951
|
-
*,
|
|
952
|
-
GlobalTableName: str,
|
|
953
|
-
GlobalTableBillingMode: BillingModeType = ...,
|
|
954
|
-
GlobalTableProvisionedWriteCapacityUnits: int = ...,
|
|
955
|
-
GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate: AutoScalingSettingsUpdateTypeDef = ...,
|
|
956
|
-
GlobalTableGlobalSecondaryIndexSettingsUpdate: Sequence[
|
|
957
|
-
GlobalTableGlobalSecondaryIndexSettingsUpdateTypeDef
|
|
958
|
-
] = ...,
|
|
959
|
-
ReplicaSettingsUpdate: Sequence[ReplicaSettingsUpdateTypeDef] = ...,
|
|
783
|
+
self, **kwargs: Unpack[UpdateGlobalTableSettingsInputRequestTypeDef]
|
|
960
784
|
) -> UpdateGlobalTableSettingsOutputTypeDef:
|
|
961
785
|
"""
|
|
962
786
|
Updates settings for a global table.
|
|
@@ -966,21 +790,7 @@ class DynamoDBClient(BaseClient):
|
|
|
966
790
|
"""
|
|
967
791
|
|
|
968
792
|
def update_item(
|
|
969
|
-
self,
|
|
970
|
-
*,
|
|
971
|
-
TableName: str,
|
|
972
|
-
Key: Mapping[str, UniversalAttributeValueTypeDef],
|
|
973
|
-
AttributeUpdates: Mapping[str, AttributeValueUpdateTypeDef] = ...,
|
|
974
|
-
Expected: Mapping[str, ExpectedAttributeValueTypeDef] = ...,
|
|
975
|
-
ConditionalOperator: ConditionalOperatorType = ...,
|
|
976
|
-
ReturnValues: ReturnValueType = ...,
|
|
977
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
978
|
-
ReturnItemCollectionMetrics: ReturnItemCollectionMetricsType = ...,
|
|
979
|
-
UpdateExpression: str = ...,
|
|
980
|
-
ConditionExpression: str = ...,
|
|
981
|
-
ExpressionAttributeNames: Mapping[str, str] = ...,
|
|
982
|
-
ExpressionAttributeValues: Mapping[str, UniversalAttributeValueTypeDef] = ...,
|
|
983
|
-
ReturnValuesOnConditionCheckFailure: ReturnValuesOnConditionCheckFailureType = ...,
|
|
793
|
+
self, **kwargs: Unpack[UpdateItemInputRequestTypeDef]
|
|
984
794
|
) -> UpdateItemOutputTypeDef:
|
|
985
795
|
"""
|
|
986
796
|
Edits an existing item's attributes, or adds a new item to the table if it does
|
|
@@ -992,11 +802,7 @@ class DynamoDBClient(BaseClient):
|
|
|
992
802
|
"""
|
|
993
803
|
|
|
994
804
|
def update_kinesis_streaming_destination(
|
|
995
|
-
self,
|
|
996
|
-
*,
|
|
997
|
-
TableName: str,
|
|
998
|
-
StreamArn: str,
|
|
999
|
-
UpdateKinesisStreamingConfiguration: UpdateKinesisStreamingConfigurationTypeDef = ...,
|
|
805
|
+
self, **kwargs: Unpack[UpdateKinesisStreamingDestinationInputRequestTypeDef]
|
|
1000
806
|
) -> UpdateKinesisStreamingDestinationOutputTypeDef:
|
|
1001
807
|
"""
|
|
1002
808
|
The command to update the Kinesis stream destination.
|
|
@@ -1006,19 +812,7 @@ class DynamoDBClient(BaseClient):
|
|
|
1006
812
|
"""
|
|
1007
813
|
|
|
1008
814
|
def update_table(
|
|
1009
|
-
self,
|
|
1010
|
-
*,
|
|
1011
|
-
TableName: str,
|
|
1012
|
-
AttributeDefinitions: Sequence[AttributeDefinitionTypeDef] = ...,
|
|
1013
|
-
BillingMode: BillingModeType = ...,
|
|
1014
|
-
ProvisionedThroughput: ProvisionedThroughputTypeDef = ...,
|
|
1015
|
-
GlobalSecondaryIndexUpdates: Sequence[GlobalSecondaryIndexUpdateTypeDef] = ...,
|
|
1016
|
-
StreamSpecification: StreamSpecificationTypeDef = ...,
|
|
1017
|
-
SSESpecification: SSESpecificationTypeDef = ...,
|
|
1018
|
-
ReplicaUpdates: Sequence[ReplicationGroupUpdateTypeDef] = ...,
|
|
1019
|
-
TableClass: TableClassType = ...,
|
|
1020
|
-
DeletionProtectionEnabled: bool = ...,
|
|
1021
|
-
OnDemandThroughput: OnDemandThroughputTypeDef = ...,
|
|
815
|
+
self, **kwargs: Unpack[UpdateTableInputRequestTypeDef]
|
|
1022
816
|
) -> UpdateTableOutputTypeDef:
|
|
1023
817
|
"""
|
|
1024
818
|
Modifies the provisioned throughput settings, global secondary indexes, or
|
|
@@ -1030,12 +824,7 @@ class DynamoDBClient(BaseClient):
|
|
|
1030
824
|
"""
|
|
1031
825
|
|
|
1032
826
|
def update_table_replica_auto_scaling(
|
|
1033
|
-
self,
|
|
1034
|
-
*,
|
|
1035
|
-
TableName: str,
|
|
1036
|
-
GlobalSecondaryIndexUpdates: Sequence[GlobalSecondaryIndexAutoScalingUpdateTypeDef] = ...,
|
|
1037
|
-
ProvisionedWriteCapacityAutoScalingUpdate: AutoScalingSettingsUpdateTypeDef = ...,
|
|
1038
|
-
ReplicaUpdates: Sequence[ReplicaAutoScalingUpdateTypeDef] = ...,
|
|
827
|
+
self, **kwargs: Unpack[UpdateTableReplicaAutoScalingInputRequestTypeDef]
|
|
1039
828
|
) -> UpdateTableReplicaAutoScalingOutputTypeDef:
|
|
1040
829
|
"""
|
|
1041
830
|
Updates auto scaling settings on your global tables at once.
|
|
@@ -1045,7 +834,7 @@ class DynamoDBClient(BaseClient):
|
|
|
1045
834
|
"""
|
|
1046
835
|
|
|
1047
836
|
def update_time_to_live(
|
|
1048
|
-
self,
|
|
837
|
+
self, **kwargs: Unpack[UpdateTimeToLiveInputRequestTypeDef]
|
|
1049
838
|
) -> UpdateTimeToLiveOutputTypeDef:
|
|
1050
839
|
"""
|
|
1051
840
|
The `UpdateTimeToLive` method enables or disables Time to Live (TTL) for the
|