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.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,105 +27,123 @@ 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
148
|
__all__ = ("DynamoDBClient",)
|
|
148
149
|
|
|
@@ -209,10 +210,7 @@ class DynamoDBClient(BaseClient):
|
|
|
209
210
|
"""
|
|
210
211
|
|
|
211
212
|
def batch_execute_statement(
|
|
212
|
-
self,
|
|
213
|
-
*,
|
|
214
|
-
Statements: Sequence[BatchStatementRequestTypeDef],
|
|
215
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
213
|
+
self, **kwargs: Unpack[BatchExecuteStatementInputRequestTypeDef]
|
|
216
214
|
) -> BatchExecuteStatementOutputTypeDef:
|
|
217
215
|
"""
|
|
218
216
|
This operation allows you to perform batch reads or writes on data stored in
|
|
@@ -224,10 +222,7 @@ class DynamoDBClient(BaseClient):
|
|
|
224
222
|
"""
|
|
225
223
|
|
|
226
224
|
def batch_get_item(
|
|
227
|
-
self,
|
|
228
|
-
*,
|
|
229
|
-
RequestItems: Mapping[str, KeysAndAttributesUnionTypeDef],
|
|
230
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
225
|
+
self, **kwargs: Unpack[BatchGetItemInputRequestTypeDef]
|
|
231
226
|
) -> BatchGetItemOutputTypeDef:
|
|
232
227
|
"""
|
|
233
228
|
The `BatchGetItem` operation returns the attributes of one or more items from
|
|
@@ -239,11 +234,7 @@ class DynamoDBClient(BaseClient):
|
|
|
239
234
|
"""
|
|
240
235
|
|
|
241
236
|
def batch_write_item(
|
|
242
|
-
self,
|
|
243
|
-
*,
|
|
244
|
-
RequestItems: Mapping[str, Sequence[WriteRequestUnionTypeDef]],
|
|
245
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
246
|
-
ReturnItemCollectionMetrics: ReturnItemCollectionMetricsType = ...,
|
|
237
|
+
self, **kwargs: Unpack[BatchWriteItemInputRequestTypeDef]
|
|
247
238
|
) -> BatchWriteItemOutputTypeDef:
|
|
248
239
|
"""
|
|
249
240
|
The `BatchWriteItem` operation puts or deletes multiple items in one or more
|
|
@@ -269,7 +260,9 @@ class DynamoDBClient(BaseClient):
|
|
|
269
260
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#close)
|
|
270
261
|
"""
|
|
271
262
|
|
|
272
|
-
def create_backup(
|
|
263
|
+
def create_backup(
|
|
264
|
+
self, **kwargs: Unpack[CreateBackupInputRequestTypeDef]
|
|
265
|
+
) -> CreateBackupOutputTypeDef:
|
|
273
266
|
"""
|
|
274
267
|
Creates a backup for an existing table.
|
|
275
268
|
|
|
@@ -278,7 +271,7 @@ class DynamoDBClient(BaseClient):
|
|
|
278
271
|
"""
|
|
279
272
|
|
|
280
273
|
def create_global_table(
|
|
281
|
-
self,
|
|
274
|
+
self, **kwargs: Unpack[CreateGlobalTableInputRequestTypeDef]
|
|
282
275
|
) -> CreateGlobalTableOutputTypeDef:
|
|
283
276
|
"""
|
|
284
277
|
Creates a global table from an existing table.
|
|
@@ -288,22 +281,7 @@ class DynamoDBClient(BaseClient):
|
|
|
288
281
|
"""
|
|
289
282
|
|
|
290
283
|
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 = ...,
|
|
284
|
+
self, **kwargs: Unpack[CreateTableInputRequestTypeDef]
|
|
307
285
|
) -> CreateTableOutputTypeDef:
|
|
308
286
|
"""
|
|
309
287
|
The `CreateTable` operation adds a new table to your account.
|
|
@@ -312,7 +290,9 @@ class DynamoDBClient(BaseClient):
|
|
|
312
290
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#create_table)
|
|
313
291
|
"""
|
|
314
292
|
|
|
315
|
-
def delete_backup(
|
|
293
|
+
def delete_backup(
|
|
294
|
+
self, **kwargs: Unpack[DeleteBackupInputRequestTypeDef]
|
|
295
|
+
) -> DeleteBackupOutputTypeDef:
|
|
316
296
|
"""
|
|
317
297
|
Deletes an existing backup of a table.
|
|
318
298
|
|
|
@@ -321,19 +301,7 @@ class DynamoDBClient(BaseClient):
|
|
|
321
301
|
"""
|
|
322
302
|
|
|
323
303
|
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 = ...,
|
|
304
|
+
self, **kwargs: Unpack[DeleteItemInputRequestTypeDef]
|
|
337
305
|
) -> DeleteItemOutputTypeDef:
|
|
338
306
|
"""
|
|
339
307
|
Deletes a single item in a table by primary key.
|
|
@@ -343,7 +311,7 @@ class DynamoDBClient(BaseClient):
|
|
|
343
311
|
"""
|
|
344
312
|
|
|
345
313
|
def delete_resource_policy(
|
|
346
|
-
self,
|
|
314
|
+
self, **kwargs: Unpack[DeleteResourcePolicyInputRequestTypeDef]
|
|
347
315
|
) -> DeleteResourcePolicyOutputTypeDef:
|
|
348
316
|
"""
|
|
349
317
|
Deletes the resource-based policy attached to the resource, which can be a
|
|
@@ -354,7 +322,9 @@ class DynamoDBClient(BaseClient):
|
|
|
354
322
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#delete_resource_policy)
|
|
355
323
|
"""
|
|
356
324
|
|
|
357
|
-
def delete_table(
|
|
325
|
+
def delete_table(
|
|
326
|
+
self, **kwargs: Unpack[DeleteTableInputRequestTypeDef]
|
|
327
|
+
) -> DeleteTableOutputTypeDef:
|
|
358
328
|
"""
|
|
359
329
|
The `DeleteTable` operation deletes a table and all of its items.
|
|
360
330
|
|
|
@@ -362,7 +332,9 @@ class DynamoDBClient(BaseClient):
|
|
|
362
332
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#delete_table)
|
|
363
333
|
"""
|
|
364
334
|
|
|
365
|
-
def describe_backup(
|
|
335
|
+
def describe_backup(
|
|
336
|
+
self, **kwargs: Unpack[DescribeBackupInputRequestTypeDef]
|
|
337
|
+
) -> DescribeBackupOutputTypeDef:
|
|
366
338
|
"""
|
|
367
339
|
Describes an existing backup of a table.
|
|
368
340
|
|
|
@@ -371,7 +343,7 @@ class DynamoDBClient(BaseClient):
|
|
|
371
343
|
"""
|
|
372
344
|
|
|
373
345
|
def describe_continuous_backups(
|
|
374
|
-
self,
|
|
346
|
+
self, **kwargs: Unpack[DescribeContinuousBackupsInputRequestTypeDef]
|
|
375
347
|
) -> DescribeContinuousBackupsOutputTypeDef:
|
|
376
348
|
"""
|
|
377
349
|
Checks the status of continuous backups and point in time recovery on the
|
|
@@ -383,7 +355,7 @@ class DynamoDBClient(BaseClient):
|
|
|
383
355
|
"""
|
|
384
356
|
|
|
385
357
|
def describe_contributor_insights(
|
|
386
|
-
self,
|
|
358
|
+
self, **kwargs: Unpack[DescribeContributorInsightsInputRequestTypeDef]
|
|
387
359
|
) -> DescribeContributorInsightsOutputTypeDef:
|
|
388
360
|
"""
|
|
389
361
|
Returns information about contributor insights for a given table or global
|
|
@@ -402,7 +374,9 @@ class DynamoDBClient(BaseClient):
|
|
|
402
374
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#describe_endpoints)
|
|
403
375
|
"""
|
|
404
376
|
|
|
405
|
-
def describe_export(
|
|
377
|
+
def describe_export(
|
|
378
|
+
self, **kwargs: Unpack[DescribeExportInputRequestTypeDef]
|
|
379
|
+
) -> DescribeExportOutputTypeDef:
|
|
406
380
|
"""
|
|
407
381
|
Describes an existing table export.
|
|
408
382
|
|
|
@@ -410,7 +384,9 @@ class DynamoDBClient(BaseClient):
|
|
|
410
384
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#describe_export)
|
|
411
385
|
"""
|
|
412
386
|
|
|
413
|
-
def describe_global_table(
|
|
387
|
+
def describe_global_table(
|
|
388
|
+
self, **kwargs: Unpack[DescribeGlobalTableInputRequestTypeDef]
|
|
389
|
+
) -> DescribeGlobalTableOutputTypeDef:
|
|
414
390
|
"""
|
|
415
391
|
Returns information about the specified global table.
|
|
416
392
|
|
|
@@ -419,7 +395,7 @@ class DynamoDBClient(BaseClient):
|
|
|
419
395
|
"""
|
|
420
396
|
|
|
421
397
|
def describe_global_table_settings(
|
|
422
|
-
self,
|
|
398
|
+
self, **kwargs: Unpack[DescribeGlobalTableSettingsInputRequestTypeDef]
|
|
423
399
|
) -> DescribeGlobalTableSettingsOutputTypeDef:
|
|
424
400
|
"""
|
|
425
401
|
Describes Region-specific settings for a global table.
|
|
@@ -428,7 +404,9 @@ class DynamoDBClient(BaseClient):
|
|
|
428
404
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#describe_global_table_settings)
|
|
429
405
|
"""
|
|
430
406
|
|
|
431
|
-
def describe_import(
|
|
407
|
+
def describe_import(
|
|
408
|
+
self, **kwargs: Unpack[DescribeImportInputRequestTypeDef]
|
|
409
|
+
) -> DescribeImportOutputTypeDef:
|
|
432
410
|
"""
|
|
433
411
|
Represents the properties of the import.
|
|
434
412
|
|
|
@@ -437,7 +415,7 @@ class DynamoDBClient(BaseClient):
|
|
|
437
415
|
"""
|
|
438
416
|
|
|
439
417
|
def describe_kinesis_streaming_destination(
|
|
440
|
-
self,
|
|
418
|
+
self, **kwargs: Unpack[DescribeKinesisStreamingDestinationInputRequestTypeDef]
|
|
441
419
|
) -> DescribeKinesisStreamingDestinationOutputTypeDef:
|
|
442
420
|
"""
|
|
443
421
|
Returns information about the status of Kinesis streaming.
|
|
@@ -457,7 +435,9 @@ class DynamoDBClient(BaseClient):
|
|
|
457
435
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#describe_limits)
|
|
458
436
|
"""
|
|
459
437
|
|
|
460
|
-
def describe_table(
|
|
438
|
+
def describe_table(
|
|
439
|
+
self, **kwargs: Unpack[DescribeTableInputRequestTypeDef]
|
|
440
|
+
) -> DescribeTableOutputTypeDef:
|
|
461
441
|
"""
|
|
462
442
|
Returns information about the table, including the current status of the table,
|
|
463
443
|
when it was created, the primary key schema, and any indexes on the
|
|
@@ -468,7 +448,7 @@ class DynamoDBClient(BaseClient):
|
|
|
468
448
|
"""
|
|
469
449
|
|
|
470
450
|
def describe_table_replica_auto_scaling(
|
|
471
|
-
self,
|
|
451
|
+
self, **kwargs: Unpack[DescribeTableReplicaAutoScalingInputRequestTypeDef]
|
|
472
452
|
) -> DescribeTableReplicaAutoScalingOutputTypeDef:
|
|
473
453
|
"""
|
|
474
454
|
Describes auto scaling settings across replicas of the global table at once.
|
|
@@ -477,7 +457,9 @@ class DynamoDBClient(BaseClient):
|
|
|
477
457
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#describe_table_replica_auto_scaling)
|
|
478
458
|
"""
|
|
479
459
|
|
|
480
|
-
def describe_time_to_live(
|
|
460
|
+
def describe_time_to_live(
|
|
461
|
+
self, **kwargs: Unpack[DescribeTimeToLiveInputRequestTypeDef]
|
|
462
|
+
) -> DescribeTimeToLiveOutputTypeDef:
|
|
481
463
|
"""
|
|
482
464
|
Gives a description of the Time to Live (TTL) status on the specified table.
|
|
483
465
|
|
|
@@ -486,11 +468,7 @@ class DynamoDBClient(BaseClient):
|
|
|
486
468
|
"""
|
|
487
469
|
|
|
488
470
|
def disable_kinesis_streaming_destination(
|
|
489
|
-
self,
|
|
490
|
-
*,
|
|
491
|
-
TableName: str,
|
|
492
|
-
StreamArn: str,
|
|
493
|
-
EnableKinesisStreamingConfiguration: EnableKinesisStreamingConfigurationTypeDef = ...,
|
|
471
|
+
self, **kwargs: Unpack[KinesisStreamingDestinationInputRequestTypeDef]
|
|
494
472
|
) -> KinesisStreamingDestinationOutputTypeDef:
|
|
495
473
|
"""
|
|
496
474
|
Stops replication from the DynamoDB table to the Kinesis data stream.
|
|
@@ -500,11 +478,7 @@ class DynamoDBClient(BaseClient):
|
|
|
500
478
|
"""
|
|
501
479
|
|
|
502
480
|
def enable_kinesis_streaming_destination(
|
|
503
|
-
self,
|
|
504
|
-
*,
|
|
505
|
-
TableName: str,
|
|
506
|
-
StreamArn: str,
|
|
507
|
-
EnableKinesisStreamingConfiguration: EnableKinesisStreamingConfigurationTypeDef = ...,
|
|
481
|
+
self, **kwargs: Unpack[KinesisStreamingDestinationInputRequestTypeDef]
|
|
508
482
|
) -> KinesisStreamingDestinationOutputTypeDef:
|
|
509
483
|
"""
|
|
510
484
|
Starts table data replication to the specified Kinesis data stream at a
|
|
@@ -516,15 +490,7 @@ class DynamoDBClient(BaseClient):
|
|
|
516
490
|
"""
|
|
517
491
|
|
|
518
492
|
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 = ...,
|
|
493
|
+
self, **kwargs: Unpack[ExecuteStatementInputRequestTypeDef]
|
|
528
494
|
) -> ExecuteStatementOutputTypeDef:
|
|
529
495
|
"""
|
|
530
496
|
This operation allows you to perform reads and singleton writes on data stored
|
|
@@ -536,11 +502,7 @@ class DynamoDBClient(BaseClient):
|
|
|
536
502
|
"""
|
|
537
503
|
|
|
538
504
|
def execute_transaction(
|
|
539
|
-
self,
|
|
540
|
-
*,
|
|
541
|
-
TransactStatements: Sequence[ParameterizedStatementTypeDef],
|
|
542
|
-
ClientRequestToken: str = ...,
|
|
543
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
505
|
+
self, **kwargs: Unpack[ExecuteTransactionInputRequestTypeDef]
|
|
544
506
|
) -> ExecuteTransactionOutputTypeDef:
|
|
545
507
|
"""
|
|
546
508
|
This operation allows you to perform transactional reads or writes on data
|
|
@@ -552,19 +514,7 @@ class DynamoDBClient(BaseClient):
|
|
|
552
514
|
"""
|
|
553
515
|
|
|
554
516
|
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 = ...,
|
|
517
|
+
self, **kwargs: Unpack[ExportTableToPointInTimeInputRequestTypeDef]
|
|
568
518
|
) -> ExportTableToPointInTimeOutputTypeDef:
|
|
569
519
|
"""
|
|
570
520
|
Exports table data to an S3 bucket.
|
|
@@ -587,17 +537,7 @@ class DynamoDBClient(BaseClient):
|
|
|
587
537
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#generate_presigned_url)
|
|
588
538
|
"""
|
|
589
539
|
|
|
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:
|
|
540
|
+
def get_item(self, **kwargs: Unpack[GetItemInputRequestTypeDef]) -> GetItemOutputTypeDef:
|
|
601
541
|
"""
|
|
602
542
|
The `GetItem` operation returns a set of attributes for the item with the given
|
|
603
543
|
primary
|
|
@@ -607,7 +547,9 @@ class DynamoDBClient(BaseClient):
|
|
|
607
547
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#get_item)
|
|
608
548
|
"""
|
|
609
549
|
|
|
610
|
-
def get_resource_policy(
|
|
550
|
+
def get_resource_policy(
|
|
551
|
+
self, **kwargs: Unpack[GetResourcePolicyInputRequestTypeDef]
|
|
552
|
+
) -> GetResourcePolicyOutputTypeDef:
|
|
611
553
|
"""
|
|
612
554
|
Returns the resource-based policy document attached to the resource, which can
|
|
613
555
|
be a table or stream, in JSON
|
|
@@ -618,14 +560,7 @@ class DynamoDBClient(BaseClient):
|
|
|
618
560
|
"""
|
|
619
561
|
|
|
620
562
|
def import_table(
|
|
621
|
-
self,
|
|
622
|
-
*,
|
|
623
|
-
S3BucketSource: S3BucketSourceTypeDef,
|
|
624
|
-
InputFormat: InputFormatType,
|
|
625
|
-
TableCreationParameters: TableCreationParametersUnionTypeDef,
|
|
626
|
-
ClientToken: str = ...,
|
|
627
|
-
InputFormatOptions: InputFormatOptionsUnionTypeDef = ...,
|
|
628
|
-
InputCompressionType: InputCompressionTypeType = ...,
|
|
563
|
+
self, **kwargs: Unpack[ImportTableInputRequestTypeDef]
|
|
629
564
|
) -> ImportTableOutputTypeDef:
|
|
630
565
|
"""
|
|
631
566
|
Imports table data from an S3 bucket.
|
|
@@ -635,14 +570,7 @@ class DynamoDBClient(BaseClient):
|
|
|
635
570
|
"""
|
|
636
571
|
|
|
637
572
|
def list_backups(
|
|
638
|
-
self,
|
|
639
|
-
*,
|
|
640
|
-
TableName: str = ...,
|
|
641
|
-
Limit: int = ...,
|
|
642
|
-
TimeRangeLowerBound: TimestampTypeDef = ...,
|
|
643
|
-
TimeRangeUpperBound: TimestampTypeDef = ...,
|
|
644
|
-
ExclusiveStartBackupArn: str = ...,
|
|
645
|
-
BackupType: BackupTypeFilterType = ...,
|
|
573
|
+
self, **kwargs: Unpack[ListBackupsInputRequestTypeDef]
|
|
646
574
|
) -> ListBackupsOutputTypeDef:
|
|
647
575
|
"""
|
|
648
576
|
List DynamoDB backups that are associated with an Amazon Web Services account
|
|
@@ -654,7 +582,7 @@ class DynamoDBClient(BaseClient):
|
|
|
654
582
|
"""
|
|
655
583
|
|
|
656
584
|
def list_contributor_insights(
|
|
657
|
-
self,
|
|
585
|
+
self, **kwargs: Unpack[ListContributorInsightsInputRequestTypeDef]
|
|
658
586
|
) -> ListContributorInsightsOutputTypeDef:
|
|
659
587
|
"""
|
|
660
588
|
Returns a list of ContributorInsightsSummary for a table and all its global
|
|
@@ -666,7 +594,7 @@ class DynamoDBClient(BaseClient):
|
|
|
666
594
|
"""
|
|
667
595
|
|
|
668
596
|
def list_exports(
|
|
669
|
-
self,
|
|
597
|
+
self, **kwargs: Unpack[ListExportsInputRequestTypeDef]
|
|
670
598
|
) -> ListExportsOutputTypeDef:
|
|
671
599
|
"""
|
|
672
600
|
Lists completed exports within the past 90 days.
|
|
@@ -676,7 +604,7 @@ class DynamoDBClient(BaseClient):
|
|
|
676
604
|
"""
|
|
677
605
|
|
|
678
606
|
def list_global_tables(
|
|
679
|
-
self,
|
|
607
|
+
self, **kwargs: Unpack[ListGlobalTablesInputRequestTypeDef]
|
|
680
608
|
) -> ListGlobalTablesOutputTypeDef:
|
|
681
609
|
"""
|
|
682
610
|
Lists all global tables that have a replica in the specified Region.
|
|
@@ -686,7 +614,7 @@ class DynamoDBClient(BaseClient):
|
|
|
686
614
|
"""
|
|
687
615
|
|
|
688
616
|
def list_imports(
|
|
689
|
-
self,
|
|
617
|
+
self, **kwargs: Unpack[ListImportsInputRequestTypeDef]
|
|
690
618
|
) -> ListImportsOutputTypeDef:
|
|
691
619
|
"""
|
|
692
620
|
Lists completed imports within the past 90 days.
|
|
@@ -696,7 +624,7 @@ class DynamoDBClient(BaseClient):
|
|
|
696
624
|
"""
|
|
697
625
|
|
|
698
626
|
def list_tables(
|
|
699
|
-
self,
|
|
627
|
+
self, **kwargs: Unpack[ListTablesInputRequestTypeDef]
|
|
700
628
|
) -> ListTablesOutputTypeDef:
|
|
701
629
|
"""
|
|
702
630
|
Returns an array of table names associated with the current account and
|
|
@@ -707,7 +635,7 @@ class DynamoDBClient(BaseClient):
|
|
|
707
635
|
"""
|
|
708
636
|
|
|
709
637
|
def list_tags_of_resource(
|
|
710
|
-
self,
|
|
638
|
+
self, **kwargs: Unpack[ListTagsOfResourceInputRequestTypeDef]
|
|
711
639
|
) -> ListTagsOfResourceOutputTypeDef:
|
|
712
640
|
"""
|
|
713
641
|
List all tags on an Amazon DynamoDB resource.
|
|
@@ -716,21 +644,7 @@ class DynamoDBClient(BaseClient):
|
|
|
716
644
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#list_tags_of_resource)
|
|
717
645
|
"""
|
|
718
646
|
|
|
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:
|
|
647
|
+
def put_item(self, **kwargs: Unpack[PutItemInputRequestTypeDef]) -> PutItemOutputTypeDef:
|
|
734
648
|
"""
|
|
735
649
|
Creates a new item, or replaces an old item with a new item.
|
|
736
650
|
|
|
@@ -739,12 +653,7 @@ class DynamoDBClient(BaseClient):
|
|
|
739
653
|
"""
|
|
740
654
|
|
|
741
655
|
def put_resource_policy(
|
|
742
|
-
self,
|
|
743
|
-
*,
|
|
744
|
-
ResourceArn: str,
|
|
745
|
-
Policy: str,
|
|
746
|
-
ExpectedRevisionId: str = ...,
|
|
747
|
-
ConfirmRemoveSelfResourceAccess: bool = ...,
|
|
656
|
+
self, **kwargs: Unpack[PutResourcePolicyInputRequestTypeDef]
|
|
748
657
|
) -> PutResourcePolicyOutputTypeDef:
|
|
749
658
|
"""
|
|
750
659
|
Attaches a resource-based policy document to the resource, which can be a table
|
|
@@ -755,27 +664,7 @@ class DynamoDBClient(BaseClient):
|
|
|
755
664
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#put_resource_policy)
|
|
756
665
|
"""
|
|
757
666
|
|
|
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:
|
|
667
|
+
def query(self, **kwargs: Unpack[QueryInputRequestTypeDef]) -> QueryOutputTypeDef:
|
|
779
668
|
"""
|
|
780
669
|
You must provide the name of the partition key attribute and a single value for
|
|
781
670
|
that
|
|
@@ -786,16 +675,7 @@ class DynamoDBClient(BaseClient):
|
|
|
786
675
|
"""
|
|
787
676
|
|
|
788
677
|
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 = ...,
|
|
678
|
+
self, **kwargs: Unpack[RestoreTableFromBackupInputRequestTypeDef]
|
|
799
679
|
) -> RestoreTableFromBackupOutputTypeDef:
|
|
800
680
|
"""
|
|
801
681
|
Creates a new table from an existing backup.
|
|
@@ -805,19 +685,7 @@ class DynamoDBClient(BaseClient):
|
|
|
805
685
|
"""
|
|
806
686
|
|
|
807
687
|
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 = ...,
|
|
688
|
+
self, **kwargs: Unpack[RestoreTableToPointInTimeInputRequestTypeDef]
|
|
821
689
|
) -> RestoreTableToPointInTimeOutputTypeDef:
|
|
822
690
|
"""
|
|
823
691
|
Restores the specified table to the specified point in time within
|
|
@@ -828,26 +696,7 @@ class DynamoDBClient(BaseClient):
|
|
|
828
696
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#restore_table_to_point_in_time)
|
|
829
697
|
"""
|
|
830
698
|
|
|
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:
|
|
699
|
+
def scan(self, **kwargs: Unpack[ScanInputRequestTypeDef]) -> ScanOutputTypeDef:
|
|
851
700
|
"""
|
|
852
701
|
The `Scan` operation returns one or more items and item attributes by accessing
|
|
853
702
|
every item in a table or a secondary
|
|
@@ -858,7 +707,7 @@ class DynamoDBClient(BaseClient):
|
|
|
858
707
|
"""
|
|
859
708
|
|
|
860
709
|
def tag_resource(
|
|
861
|
-
self,
|
|
710
|
+
self, **kwargs: Unpack[TagResourceInputRequestTypeDef]
|
|
862
711
|
) -> EmptyResponseMetadataTypeDef:
|
|
863
712
|
"""
|
|
864
713
|
Associate a set of tags with an Amazon DynamoDB resource.
|
|
@@ -868,10 +717,7 @@ class DynamoDBClient(BaseClient):
|
|
|
868
717
|
"""
|
|
869
718
|
|
|
870
719
|
def transact_get_items(
|
|
871
|
-
self,
|
|
872
|
-
*,
|
|
873
|
-
TransactItems: Sequence[TransactGetItemTypeDef],
|
|
874
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
720
|
+
self, **kwargs: Unpack[TransactGetItemsInputRequestTypeDef]
|
|
875
721
|
) -> TransactGetItemsOutputTypeDef:
|
|
876
722
|
"""
|
|
877
723
|
`TransactGetItems` is a synchronous operation that atomically retrieves
|
|
@@ -884,12 +730,7 @@ class DynamoDBClient(BaseClient):
|
|
|
884
730
|
"""
|
|
885
731
|
|
|
886
732
|
def transact_write_items(
|
|
887
|
-
self,
|
|
888
|
-
*,
|
|
889
|
-
TransactItems: Sequence[TransactWriteItemTypeDef],
|
|
890
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
891
|
-
ReturnItemCollectionMetrics: ReturnItemCollectionMetricsType = ...,
|
|
892
|
-
ClientRequestToken: str = ...,
|
|
733
|
+
self, **kwargs: Unpack[TransactWriteItemsInputRequestTypeDef]
|
|
893
734
|
) -> TransactWriteItemsOutputTypeDef:
|
|
894
735
|
"""
|
|
895
736
|
`TransactWriteItems` is a synchronous write operation that groups up to 100
|
|
@@ -901,7 +742,7 @@ class DynamoDBClient(BaseClient):
|
|
|
901
742
|
"""
|
|
902
743
|
|
|
903
744
|
def untag_resource(
|
|
904
|
-
self,
|
|
745
|
+
self, **kwargs: Unpack[UntagResourceInputRequestTypeDef]
|
|
905
746
|
) -> EmptyResponseMetadataTypeDef:
|
|
906
747
|
"""
|
|
907
748
|
Removes the association of tags from an Amazon DynamoDB resource.
|
|
@@ -911,10 +752,7 @@ class DynamoDBClient(BaseClient):
|
|
|
911
752
|
"""
|
|
912
753
|
|
|
913
754
|
def update_continuous_backups(
|
|
914
|
-
self,
|
|
915
|
-
*,
|
|
916
|
-
TableName: str,
|
|
917
|
-
PointInTimeRecoverySpecification: PointInTimeRecoverySpecificationTypeDef,
|
|
755
|
+
self, **kwargs: Unpack[UpdateContinuousBackupsInputRequestTypeDef]
|
|
918
756
|
) -> UpdateContinuousBackupsOutputTypeDef:
|
|
919
757
|
"""
|
|
920
758
|
`UpdateContinuousBackups` enables or disables point in time recovery for the
|
|
@@ -926,11 +764,7 @@ class DynamoDBClient(BaseClient):
|
|
|
926
764
|
"""
|
|
927
765
|
|
|
928
766
|
def update_contributor_insights(
|
|
929
|
-
self,
|
|
930
|
-
*,
|
|
931
|
-
TableName: str,
|
|
932
|
-
ContributorInsightsAction: ContributorInsightsActionType,
|
|
933
|
-
IndexName: str = ...,
|
|
767
|
+
self, **kwargs: Unpack[UpdateContributorInsightsInputRequestTypeDef]
|
|
934
768
|
) -> UpdateContributorInsightsOutputTypeDef:
|
|
935
769
|
"""
|
|
936
770
|
Updates the status for contributor insights for a specific table or index.
|
|
@@ -940,7 +774,7 @@ class DynamoDBClient(BaseClient):
|
|
|
940
774
|
"""
|
|
941
775
|
|
|
942
776
|
def update_global_table(
|
|
943
|
-
self,
|
|
777
|
+
self, **kwargs: Unpack[UpdateGlobalTableInputRequestTypeDef]
|
|
944
778
|
) -> UpdateGlobalTableOutputTypeDef:
|
|
945
779
|
"""
|
|
946
780
|
Adds or removes replicas in the specified global table.
|
|
@@ -950,16 +784,7 @@ class DynamoDBClient(BaseClient):
|
|
|
950
784
|
"""
|
|
951
785
|
|
|
952
786
|
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] = ...,
|
|
787
|
+
self, **kwargs: Unpack[UpdateGlobalTableSettingsInputRequestTypeDef]
|
|
963
788
|
) -> UpdateGlobalTableSettingsOutputTypeDef:
|
|
964
789
|
"""
|
|
965
790
|
Updates settings for a global table.
|
|
@@ -969,21 +794,7 @@ class DynamoDBClient(BaseClient):
|
|
|
969
794
|
"""
|
|
970
795
|
|
|
971
796
|
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 = ...,
|
|
797
|
+
self, **kwargs: Unpack[UpdateItemInputRequestTypeDef]
|
|
987
798
|
) -> UpdateItemOutputTypeDef:
|
|
988
799
|
"""
|
|
989
800
|
Edits an existing item's attributes, or adds a new item to the table if it does
|
|
@@ -995,11 +806,7 @@ class DynamoDBClient(BaseClient):
|
|
|
995
806
|
"""
|
|
996
807
|
|
|
997
808
|
def update_kinesis_streaming_destination(
|
|
998
|
-
self,
|
|
999
|
-
*,
|
|
1000
|
-
TableName: str,
|
|
1001
|
-
StreamArn: str,
|
|
1002
|
-
UpdateKinesisStreamingConfiguration: UpdateKinesisStreamingConfigurationTypeDef = ...,
|
|
809
|
+
self, **kwargs: Unpack[UpdateKinesisStreamingDestinationInputRequestTypeDef]
|
|
1003
810
|
) -> UpdateKinesisStreamingDestinationOutputTypeDef:
|
|
1004
811
|
"""
|
|
1005
812
|
The command to update the Kinesis stream destination.
|
|
@@ -1009,19 +816,7 @@ class DynamoDBClient(BaseClient):
|
|
|
1009
816
|
"""
|
|
1010
817
|
|
|
1011
818
|
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 = ...,
|
|
819
|
+
self, **kwargs: Unpack[UpdateTableInputRequestTypeDef]
|
|
1025
820
|
) -> UpdateTableOutputTypeDef:
|
|
1026
821
|
"""
|
|
1027
822
|
Modifies the provisioned throughput settings, global secondary indexes, or
|
|
@@ -1033,12 +828,7 @@ class DynamoDBClient(BaseClient):
|
|
|
1033
828
|
"""
|
|
1034
829
|
|
|
1035
830
|
def update_table_replica_auto_scaling(
|
|
1036
|
-
self,
|
|
1037
|
-
*,
|
|
1038
|
-
TableName: str,
|
|
1039
|
-
GlobalSecondaryIndexUpdates: Sequence[GlobalSecondaryIndexAutoScalingUpdateTypeDef] = ...,
|
|
1040
|
-
ProvisionedWriteCapacityAutoScalingUpdate: AutoScalingSettingsUpdateTypeDef = ...,
|
|
1041
|
-
ReplicaUpdates: Sequence[ReplicaAutoScalingUpdateTypeDef] = ...,
|
|
831
|
+
self, **kwargs: Unpack[UpdateTableReplicaAutoScalingInputRequestTypeDef]
|
|
1042
832
|
) -> UpdateTableReplicaAutoScalingOutputTypeDef:
|
|
1043
833
|
"""
|
|
1044
834
|
Updates auto scaling settings on your global tables at once.
|
|
@@ -1048,7 +838,7 @@ class DynamoDBClient(BaseClient):
|
|
|
1048
838
|
"""
|
|
1049
839
|
|
|
1050
840
|
def update_time_to_live(
|
|
1051
|
-
self,
|
|
841
|
+
self, **kwargs: Unpack[UpdateTimeToLiveInputRequestTypeDef]
|
|
1052
842
|
) -> UpdateTimeToLiveOutputTypeDef:
|
|
1053
843
|
"""
|
|
1054
844
|
The `UpdateTimeToLive` method enables or disables Time to Live (TTL) for the
|