mypy-boto3-dynamodb 1.35.0__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 +4 -1
- mypy_boto3_dynamodb/literals.pyi +2 -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.35.0.dist-info → mypy_boto3_dynamodb-1.35.15.dist-info}/METADATA +7 -8
- mypy_boto3_dynamodb-1.35.15.dist-info/RECORD +22 -0
- {mypy_boto3_dynamodb-1.35.0.dist-info → mypy_boto3_dynamodb-1.35.15.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.15.dist-info}/LICENSE +0 -0
- {mypy_boto3_dynamodb-1.35.0.dist-info → mypy_boto3_dynamodb-1.35.15.dist-info}/top_level.txt +0 -0
|
@@ -18,64 +18,56 @@ Usage::
|
|
|
18
18
|
```
|
|
19
19
|
"""
|
|
20
20
|
|
|
21
|
+
import sys
|
|
21
22
|
from datetime import datetime
|
|
22
|
-
from typing import Iterator, List,
|
|
23
|
+
from typing import Iterator, List, Sequence
|
|
23
24
|
|
|
24
25
|
from boto3.dynamodb.table import BatchWriter
|
|
25
26
|
from boto3.resources.base import ResourceMeta, ServiceResource
|
|
26
27
|
from boto3.resources.collection import ResourceCollection
|
|
27
28
|
|
|
28
29
|
from .client import DynamoDBClient
|
|
29
|
-
from .literals import
|
|
30
|
-
BillingModeType,
|
|
31
|
-
ConditionalOperatorType,
|
|
32
|
-
ReturnConsumedCapacityType,
|
|
33
|
-
ReturnItemCollectionMetricsType,
|
|
34
|
-
ReturnValuesOnConditionCheckFailureType,
|
|
35
|
-
ReturnValueType,
|
|
36
|
-
SelectType,
|
|
37
|
-
TableClassType,
|
|
38
|
-
TableStatusType,
|
|
39
|
-
)
|
|
30
|
+
from .literals import TableStatusType
|
|
40
31
|
from .type_defs import (
|
|
41
32
|
ArchivalSummaryTypeDef,
|
|
42
33
|
AttributeDefinitionTypeDef,
|
|
43
|
-
|
|
34
|
+
BatchGetItemInputServiceResourceBatchGetItemTypeDef,
|
|
44
35
|
BatchGetItemOutputServiceResourceTypeDef,
|
|
36
|
+
BatchWriteItemInputServiceResourceBatchWriteItemTypeDef,
|
|
45
37
|
BatchWriteItemOutputServiceResourceTypeDef,
|
|
46
38
|
BillingModeSummaryTypeDef,
|
|
47
|
-
|
|
48
|
-
|
|
39
|
+
CreateTableInputServiceResourceCreateTableTypeDef,
|
|
40
|
+
DeleteItemInputTableDeleteItemTypeDef,
|
|
49
41
|
DeleteItemOutputTableTypeDef,
|
|
50
42
|
DeleteTableOutputTypeDef,
|
|
51
|
-
|
|
43
|
+
GetItemInputTableGetItemTypeDef,
|
|
52
44
|
GetItemOutputTableTypeDef,
|
|
53
45
|
GlobalSecondaryIndexDescriptionTypeDef,
|
|
54
|
-
GlobalSecondaryIndexUnionTypeDef,
|
|
55
|
-
GlobalSecondaryIndexUpdateTypeDef,
|
|
56
|
-
KeysAndAttributesServiceResourceUnionTypeDef,
|
|
57
46
|
KeySchemaElementTypeDef,
|
|
58
47
|
LocalSecondaryIndexDescriptionTypeDef,
|
|
59
|
-
LocalSecondaryIndexTypeDef,
|
|
60
48
|
OnDemandThroughputTypeDef,
|
|
61
49
|
ProvisionedThroughputDescriptionTypeDef,
|
|
62
|
-
|
|
50
|
+
PutItemInputTablePutItemTypeDef,
|
|
63
51
|
PutItemOutputTableTypeDef,
|
|
52
|
+
QueryInputTableQueryTypeDef,
|
|
64
53
|
QueryOutputTableTypeDef,
|
|
65
54
|
ReplicaDescriptionTypeDef,
|
|
66
|
-
ReplicationGroupUpdateTypeDef,
|
|
67
55
|
RestoreSummaryTypeDef,
|
|
56
|
+
ScanInputTableScanTypeDef,
|
|
68
57
|
ScanOutputTableTypeDef,
|
|
69
58
|
SSEDescriptionTypeDef,
|
|
70
|
-
SSESpecificationTypeDef,
|
|
71
59
|
StreamSpecificationTypeDef,
|
|
72
|
-
TableAttributeValueTypeDef,
|
|
73
60
|
TableClassSummaryTypeDef,
|
|
74
|
-
|
|
61
|
+
UpdateItemInputTableUpdateItemTypeDef,
|
|
75
62
|
UpdateItemOutputTableTypeDef,
|
|
76
|
-
|
|
63
|
+
UpdateTableInputTableUpdateTypeDef,
|
|
77
64
|
)
|
|
78
65
|
|
|
66
|
+
if sys.version_info >= (3, 12):
|
|
67
|
+
from typing import Unpack
|
|
68
|
+
else:
|
|
69
|
+
from typing_extensions import Unpack
|
|
70
|
+
|
|
79
71
|
__all__ = ("DynamoDBServiceResource", "Table", "ServiceResourceTablesCollection")
|
|
80
72
|
|
|
81
73
|
class ServiceResourceTablesCollection(ResourceCollection):
|
|
@@ -83,7 +75,6 @@ class ServiceResourceTablesCollection(ResourceCollection):
|
|
|
83
75
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.ServiceResource.tables)
|
|
84
76
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#serviceresourcetablescollection)
|
|
85
77
|
"""
|
|
86
|
-
|
|
87
78
|
def all(self) -> "ServiceResourceTablesCollection":
|
|
88
79
|
"""
|
|
89
80
|
Get all items from the collection, optionally with a custom page size and item count limit.
|
|
@@ -165,7 +156,7 @@ class Table(ServiceResource):
|
|
|
165
156
|
deletion_protection_enabled: bool
|
|
166
157
|
on_demand_throughput: OnDemandThroughputTypeDef
|
|
167
158
|
name: str
|
|
168
|
-
meta: "DynamoDBResourceMeta"
|
|
159
|
+
meta: "DynamoDBResourceMeta" # type: ignore
|
|
169
160
|
|
|
170
161
|
def batch_writer(self, overwrite_by_pkeys: List[str] = ...) -> BatchWriter:
|
|
171
162
|
"""
|
|
@@ -184,18 +175,7 @@ class Table(ServiceResource):
|
|
|
184
175
|
"""
|
|
185
176
|
|
|
186
177
|
def delete_item(
|
|
187
|
-
self,
|
|
188
|
-
*,
|
|
189
|
-
Key: Mapping[str, TableAttributeValueTypeDef],
|
|
190
|
-
Expected: Mapping[str, ExpectedAttributeValueTableTypeDef] = ...,
|
|
191
|
-
ConditionalOperator: ConditionalOperatorType = ...,
|
|
192
|
-
ReturnValues: ReturnValueType = ...,
|
|
193
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
194
|
-
ReturnItemCollectionMetrics: ReturnItemCollectionMetricsType = ...,
|
|
195
|
-
ConditionExpression: ConditionBaseImportTypeDef = ...,
|
|
196
|
-
ExpressionAttributeNames: Mapping[str, str] = ...,
|
|
197
|
-
ExpressionAttributeValues: Mapping[str, TableAttributeValueTypeDef] = ...,
|
|
198
|
-
ReturnValuesOnConditionCheckFailure: ReturnValuesOnConditionCheckFailureType = ...,
|
|
178
|
+
self, **kwargs: Unpack[DeleteItemInputTableDeleteItemTypeDef]
|
|
199
179
|
) -> DeleteItemOutputTableTypeDef:
|
|
200
180
|
"""
|
|
201
181
|
Deletes a single item in a table by primary key.
|
|
@@ -213,14 +193,7 @@ class Table(ServiceResource):
|
|
|
213
193
|
"""
|
|
214
194
|
|
|
215
195
|
def get_item(
|
|
216
|
-
self,
|
|
217
|
-
*,
|
|
218
|
-
Key: Mapping[str, TableAttributeValueTypeDef],
|
|
219
|
-
AttributesToGet: Sequence[str] = ...,
|
|
220
|
-
ConsistentRead: bool = ...,
|
|
221
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
222
|
-
ProjectionExpression: str = ...,
|
|
223
|
-
ExpressionAttributeNames: Mapping[str, str] = ...,
|
|
196
|
+
self, **kwargs: Unpack[GetItemInputTableGetItemTypeDef]
|
|
224
197
|
) -> GetItemOutputTableTypeDef:
|
|
225
198
|
"""
|
|
226
199
|
The `GetItem` operation returns a set of attributes for the item with the given
|
|
@@ -242,18 +215,7 @@ class Table(ServiceResource):
|
|
|
242
215
|
"""
|
|
243
216
|
|
|
244
217
|
def put_item(
|
|
245
|
-
self,
|
|
246
|
-
*,
|
|
247
|
-
Item: Mapping[str, TableAttributeValueTypeDef],
|
|
248
|
-
Expected: Mapping[str, ExpectedAttributeValueTableTypeDef] = ...,
|
|
249
|
-
ReturnValues: ReturnValueType = ...,
|
|
250
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
251
|
-
ReturnItemCollectionMetrics: ReturnItemCollectionMetricsType = ...,
|
|
252
|
-
ConditionalOperator: ConditionalOperatorType = ...,
|
|
253
|
-
ConditionExpression: ConditionBaseImportTypeDef = ...,
|
|
254
|
-
ExpressionAttributeNames: Mapping[str, str] = ...,
|
|
255
|
-
ExpressionAttributeValues: Mapping[str, TableAttributeValueTypeDef] = ...,
|
|
256
|
-
ReturnValuesOnConditionCheckFailure: ReturnValuesOnConditionCheckFailureType = ...,
|
|
218
|
+
self, **kwargs: Unpack[PutItemInputTablePutItemTypeDef]
|
|
257
219
|
) -> PutItemOutputTableTypeDef:
|
|
258
220
|
"""
|
|
259
221
|
Creates a new item, or replaces an old item with a new item.
|
|
@@ -262,26 +224,7 @@ class Table(ServiceResource):
|
|
|
262
224
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#tableput_item-method)
|
|
263
225
|
"""
|
|
264
226
|
|
|
265
|
-
def query(
|
|
266
|
-
self,
|
|
267
|
-
*,
|
|
268
|
-
IndexName: str = ...,
|
|
269
|
-
Select: SelectType = ...,
|
|
270
|
-
AttributesToGet: Sequence[str] = ...,
|
|
271
|
-
Limit: int = ...,
|
|
272
|
-
ConsistentRead: bool = ...,
|
|
273
|
-
KeyConditions: Mapping[str, ConditionTableTypeDef] = ...,
|
|
274
|
-
QueryFilter: Mapping[str, ConditionTableTypeDef] = ...,
|
|
275
|
-
ConditionalOperator: ConditionalOperatorType = ...,
|
|
276
|
-
ScanIndexForward: bool = ...,
|
|
277
|
-
ExclusiveStartKey: Mapping[str, TableAttributeValueTypeDef] = ...,
|
|
278
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
279
|
-
ProjectionExpression: str = ...,
|
|
280
|
-
FilterExpression: ConditionBaseImportTypeDef = ...,
|
|
281
|
-
KeyConditionExpression: ConditionBaseImportTypeDef = ...,
|
|
282
|
-
ExpressionAttributeNames: Mapping[str, str] = ...,
|
|
283
|
-
ExpressionAttributeValues: Mapping[str, TableAttributeValueTypeDef] = ...,
|
|
284
|
-
) -> QueryOutputTableTypeDef:
|
|
227
|
+
def query(self, **kwargs: Unpack[QueryInputTableQueryTypeDef]) -> QueryOutputTableTypeDef:
|
|
285
228
|
"""
|
|
286
229
|
You must provide the name of the partition key attribute and a single value for
|
|
287
230
|
that
|
|
@@ -301,25 +244,7 @@ class Table(ServiceResource):
|
|
|
301
244
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#tablereload-method)
|
|
302
245
|
"""
|
|
303
246
|
|
|
304
|
-
def scan(
|
|
305
|
-
self,
|
|
306
|
-
*,
|
|
307
|
-
IndexName: str = ...,
|
|
308
|
-
AttributesToGet: Sequence[str] = ...,
|
|
309
|
-
Limit: int = ...,
|
|
310
|
-
Select: SelectType = ...,
|
|
311
|
-
ScanFilter: Mapping[str, ConditionTableTypeDef] = ...,
|
|
312
|
-
ConditionalOperator: ConditionalOperatorType = ...,
|
|
313
|
-
ExclusiveStartKey: Mapping[str, TableAttributeValueTypeDef] = ...,
|
|
314
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
315
|
-
TotalSegments: int = ...,
|
|
316
|
-
Segment: int = ...,
|
|
317
|
-
ProjectionExpression: str = ...,
|
|
318
|
-
FilterExpression: ConditionBaseImportTypeDef = ...,
|
|
319
|
-
ExpressionAttributeNames: Mapping[str, str] = ...,
|
|
320
|
-
ExpressionAttributeValues: Mapping[str, TableAttributeValueTypeDef] = ...,
|
|
321
|
-
ConsistentRead: bool = ...,
|
|
322
|
-
) -> ScanOutputTableTypeDef:
|
|
247
|
+
def scan(self, **kwargs: Unpack[ScanInputTableScanTypeDef]) -> ScanOutputTableTypeDef:
|
|
323
248
|
"""
|
|
324
249
|
The `Scan` operation returns one or more items and item attributes by accessing
|
|
325
250
|
every item in a table or a secondary
|
|
@@ -329,20 +254,7 @@ class Table(ServiceResource):
|
|
|
329
254
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#tablescan-method)
|
|
330
255
|
"""
|
|
331
256
|
|
|
332
|
-
def update(
|
|
333
|
-
self,
|
|
334
|
-
*,
|
|
335
|
-
AttributeDefinitions: Sequence[AttributeDefinitionTypeDef] = ...,
|
|
336
|
-
BillingMode: BillingModeType = ...,
|
|
337
|
-
ProvisionedThroughput: ProvisionedThroughputTypeDef = ...,
|
|
338
|
-
GlobalSecondaryIndexUpdates: Sequence[GlobalSecondaryIndexUpdateTypeDef] = ...,
|
|
339
|
-
StreamSpecification: StreamSpecificationTypeDef = ...,
|
|
340
|
-
SSESpecification: SSESpecificationTypeDef = ...,
|
|
341
|
-
ReplicaUpdates: Sequence[ReplicationGroupUpdateTypeDef] = ...,
|
|
342
|
-
TableClass: TableClassType = ...,
|
|
343
|
-
DeletionProtectionEnabled: bool = ...,
|
|
344
|
-
OnDemandThroughput: OnDemandThroughputTypeDef = ...,
|
|
345
|
-
) -> "_Table":
|
|
257
|
+
def update(self, **kwargs: Unpack[UpdateTableInputTableUpdateTypeDef]) -> "_Table":
|
|
346
258
|
"""
|
|
347
259
|
Modifies the provisioned throughput settings, global secondary indexes, or
|
|
348
260
|
DynamoDB Streams settings for a given
|
|
@@ -353,20 +265,7 @@ class Table(ServiceResource):
|
|
|
353
265
|
"""
|
|
354
266
|
|
|
355
267
|
def update_item(
|
|
356
|
-
self,
|
|
357
|
-
*,
|
|
358
|
-
Key: Mapping[str, TableAttributeValueTypeDef],
|
|
359
|
-
AttributeUpdates: Mapping[str, AttributeValueUpdateTableTypeDef] = ...,
|
|
360
|
-
Expected: Mapping[str, ExpectedAttributeValueTableTypeDef] = ...,
|
|
361
|
-
ConditionalOperator: ConditionalOperatorType = ...,
|
|
362
|
-
ReturnValues: ReturnValueType = ...,
|
|
363
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
364
|
-
ReturnItemCollectionMetrics: ReturnItemCollectionMetricsType = ...,
|
|
365
|
-
UpdateExpression: str = ...,
|
|
366
|
-
ConditionExpression: ConditionBaseImportTypeDef = ...,
|
|
367
|
-
ExpressionAttributeNames: Mapping[str, str] = ...,
|
|
368
|
-
ExpressionAttributeValues: Mapping[str, TableAttributeValueTypeDef] = ...,
|
|
369
|
-
ReturnValuesOnConditionCheckFailure: ReturnValuesOnConditionCheckFailureType = ...,
|
|
268
|
+
self, **kwargs: Unpack[UpdateItemInputTableUpdateItemTypeDef]
|
|
370
269
|
) -> UpdateItemOutputTableTypeDef:
|
|
371
270
|
"""
|
|
372
271
|
Edits an existing item's attributes, or adds a new item to the table if it does
|
|
@@ -404,7 +303,7 @@ class DynamoDBServiceResource(ServiceResource):
|
|
|
404
303
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/)
|
|
405
304
|
"""
|
|
406
305
|
|
|
407
|
-
meta: "DynamoDBResourceMeta"
|
|
306
|
+
meta: "DynamoDBResourceMeta" # type: ignore
|
|
408
307
|
tables: ServiceResourceTablesCollection
|
|
409
308
|
|
|
410
309
|
def Table(self, name: str) -> "_Table":
|
|
@@ -416,10 +315,7 @@ class DynamoDBServiceResource(ServiceResource):
|
|
|
416
315
|
"""
|
|
417
316
|
|
|
418
317
|
def batch_get_item(
|
|
419
|
-
self,
|
|
420
|
-
*,
|
|
421
|
-
RequestItems: Mapping[str, KeysAndAttributesServiceResourceUnionTypeDef],
|
|
422
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
318
|
+
self, **kwargs: Unpack[BatchGetItemInputServiceResourceBatchGetItemTypeDef]
|
|
423
319
|
) -> BatchGetItemOutputServiceResourceTypeDef:
|
|
424
320
|
"""
|
|
425
321
|
The `BatchGetItem` operation returns the attributes of one or more items from
|
|
@@ -431,11 +327,7 @@ class DynamoDBServiceResource(ServiceResource):
|
|
|
431
327
|
"""
|
|
432
328
|
|
|
433
329
|
def batch_write_item(
|
|
434
|
-
self,
|
|
435
|
-
*,
|
|
436
|
-
RequestItems: Mapping[str, Sequence[WriteRequestServiceResourceUnionTypeDef]],
|
|
437
|
-
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
438
|
-
ReturnItemCollectionMetrics: ReturnItemCollectionMetricsType = ...,
|
|
330
|
+
self, **kwargs: Unpack[BatchWriteItemInputServiceResourceBatchWriteItemTypeDef]
|
|
439
331
|
) -> BatchWriteItemOutputServiceResourceTypeDef:
|
|
440
332
|
"""
|
|
441
333
|
The `BatchWriteItem` operation puts or deletes multiple items in one or more
|
|
@@ -446,22 +338,7 @@ class DynamoDBServiceResource(ServiceResource):
|
|
|
446
338
|
"""
|
|
447
339
|
|
|
448
340
|
def create_table(
|
|
449
|
-
self,
|
|
450
|
-
*,
|
|
451
|
-
AttributeDefinitions: Sequence[AttributeDefinitionTypeDef],
|
|
452
|
-
TableName: str,
|
|
453
|
-
KeySchema: Sequence[KeySchemaElementTypeDef],
|
|
454
|
-
LocalSecondaryIndexes: Sequence[LocalSecondaryIndexTypeDef] = ...,
|
|
455
|
-
GlobalSecondaryIndexes: Sequence[GlobalSecondaryIndexUnionTypeDef] = ...,
|
|
456
|
-
BillingMode: BillingModeType = ...,
|
|
457
|
-
ProvisionedThroughput: ProvisionedThroughputTypeDef = ...,
|
|
458
|
-
StreamSpecification: StreamSpecificationTypeDef = ...,
|
|
459
|
-
SSESpecification: SSESpecificationTypeDef = ...,
|
|
460
|
-
Tags: Sequence[TagTypeDef] = ...,
|
|
461
|
-
TableClass: TableClassType = ...,
|
|
462
|
-
DeletionProtectionEnabled: bool = ...,
|
|
463
|
-
ResourcePolicy: str = ...,
|
|
464
|
-
OnDemandThroughput: OnDemandThroughputTypeDef = ...,
|
|
341
|
+
self, **kwargs: Unpack[CreateTableInputServiceResourceCreateTableTypeDef]
|
|
465
342
|
) -> "_Table":
|
|
466
343
|
"""
|
|
467
344
|
The `CreateTable` operation adds a new table to your account.
|
mypy_boto3_dynamodb/type_defs.py
CHANGED
|
@@ -70,6 +70,7 @@ if sys.version_info >= (3, 12):
|
|
|
70
70
|
else:
|
|
71
71
|
from typing_extensions import TypedDict
|
|
72
72
|
|
|
73
|
+
|
|
73
74
|
__all__ = (
|
|
74
75
|
"ArchivalSummaryTypeDef",
|
|
75
76
|
"AttributeDefinitionTypeDef",
|
|
@@ -126,9 +127,8 @@ __all__ = (
|
|
|
126
127
|
"ExportSummaryTypeDef",
|
|
127
128
|
"TimestampTypeDef",
|
|
128
129
|
"GetResourcePolicyInputRequestTypeDef",
|
|
129
|
-
"ProjectionExtraOutputTypeDef",
|
|
130
|
-
"ProvisionedThroughputDescriptionTypeDef",
|
|
131
130
|
"ProjectionOutputTypeDef",
|
|
131
|
+
"ProvisionedThroughputDescriptionTypeDef",
|
|
132
132
|
"S3BucketSourceTypeDef",
|
|
133
133
|
"PaginatorConfigTypeDef",
|
|
134
134
|
"ListContributorInsightsInputRequestTypeDef",
|
|
@@ -206,11 +206,11 @@ __all__ = (
|
|
|
206
206
|
"ListExportsOutputTypeDef",
|
|
207
207
|
"IncrementalExportSpecificationTypeDef",
|
|
208
208
|
"ListBackupsInputRequestTypeDef",
|
|
209
|
-
"LocalSecondaryIndexDescriptionTypeDef",
|
|
210
|
-
"GlobalSecondaryIndexDescriptionTypeDef",
|
|
211
209
|
"GlobalSecondaryIndexInfoTypeDef",
|
|
212
210
|
"GlobalSecondaryIndexOutputTypeDef",
|
|
211
|
+
"LocalSecondaryIndexDescriptionTypeDef",
|
|
213
212
|
"LocalSecondaryIndexInfoTypeDef",
|
|
213
|
+
"GlobalSecondaryIndexDescriptionTypeDef",
|
|
214
214
|
"ImportSummaryTypeDef",
|
|
215
215
|
"ListBackupsInputListBackupsPaginateTypeDef",
|
|
216
216
|
"ListTablesInputListTablesPaginateTypeDef",
|
|
@@ -273,12 +273,10 @@ __all__ = (
|
|
|
273
273
|
"ReplicaDescriptionTypeDef",
|
|
274
274
|
"CreateReplicationGroupMemberActionTypeDef",
|
|
275
275
|
"UpdateReplicationGroupMemberActionTypeDef",
|
|
276
|
-
"InputFormatOptionsUnionTypeDef",
|
|
277
276
|
"UpdateGlobalTableInputRequestTypeDef",
|
|
278
277
|
"DescribeExportOutputTypeDef",
|
|
279
278
|
"ExportTableToPointInTimeOutputTypeDef",
|
|
280
279
|
"ExportTableToPointInTimeInputRequestTypeDef",
|
|
281
|
-
"IncrementalExportSpecificationUnionTypeDef",
|
|
282
280
|
"GlobalSecondaryIndexUnionTypeDef",
|
|
283
281
|
"TableCreationParametersOutputTypeDef",
|
|
284
282
|
"SourceTableFeatureDetailsTypeDef",
|
|
@@ -316,7 +314,6 @@ __all__ = (
|
|
|
316
314
|
"RestoreTableFromBackupInputRequestTypeDef",
|
|
317
315
|
"RestoreTableToPointInTimeInputRequestTypeDef",
|
|
318
316
|
"ImportTableDescriptionTypeDef",
|
|
319
|
-
"TableCreationParametersUnionTypeDef",
|
|
320
317
|
"BackupDescriptionTypeDef",
|
|
321
318
|
"TransactGetItemsInputRequestTypeDef",
|
|
322
319
|
"BatchGetItemInputRequestTypeDef",
|
|
@@ -754,8 +751,8 @@ GetResourcePolicyInputRequestTypeDef = TypedDict(
|
|
|
754
751
|
"ResourceArn": str,
|
|
755
752
|
},
|
|
756
753
|
)
|
|
757
|
-
|
|
758
|
-
"
|
|
754
|
+
ProjectionOutputTypeDef = TypedDict(
|
|
755
|
+
"ProjectionOutputTypeDef",
|
|
759
756
|
{
|
|
760
757
|
"ProjectionType": NotRequired[ProjectionTypeType],
|
|
761
758
|
"NonKeyAttributes": NotRequired[List[str]],
|
|
@@ -771,13 +768,6 @@ ProvisionedThroughputDescriptionTypeDef = TypedDict(
|
|
|
771
768
|
"WriteCapacityUnits": NotRequired[int],
|
|
772
769
|
},
|
|
773
770
|
)
|
|
774
|
-
ProjectionOutputTypeDef = TypedDict(
|
|
775
|
-
"ProjectionOutputTypeDef",
|
|
776
|
-
{
|
|
777
|
-
"ProjectionType": NotRequired[ProjectionTypeType],
|
|
778
|
-
"NonKeyAttributes": NotRequired[List[str]],
|
|
779
|
-
},
|
|
780
|
-
)
|
|
781
771
|
S3BucketSourceTypeDef = TypedDict(
|
|
782
772
|
"S3BucketSourceTypeDef",
|
|
783
773
|
{
|
|
@@ -1417,32 +1407,6 @@ ListBackupsInputRequestTypeDef = TypedDict(
|
|
|
1417
1407
|
"BackupType": NotRequired[BackupTypeFilterType],
|
|
1418
1408
|
},
|
|
1419
1409
|
)
|
|
1420
|
-
LocalSecondaryIndexDescriptionTypeDef = TypedDict(
|
|
1421
|
-
"LocalSecondaryIndexDescriptionTypeDef",
|
|
1422
|
-
{
|
|
1423
|
-
"IndexName": NotRequired[str],
|
|
1424
|
-
"KeySchema": NotRequired[List[KeySchemaElementTypeDef]],
|
|
1425
|
-
"Projection": NotRequired[ProjectionExtraOutputTypeDef],
|
|
1426
|
-
"IndexSizeBytes": NotRequired[int],
|
|
1427
|
-
"ItemCount": NotRequired[int],
|
|
1428
|
-
"IndexArn": NotRequired[str],
|
|
1429
|
-
},
|
|
1430
|
-
)
|
|
1431
|
-
GlobalSecondaryIndexDescriptionTypeDef = TypedDict(
|
|
1432
|
-
"GlobalSecondaryIndexDescriptionTypeDef",
|
|
1433
|
-
{
|
|
1434
|
-
"IndexName": NotRequired[str],
|
|
1435
|
-
"KeySchema": NotRequired[List[KeySchemaElementTypeDef]],
|
|
1436
|
-
"Projection": NotRequired[ProjectionExtraOutputTypeDef],
|
|
1437
|
-
"IndexStatus": NotRequired[IndexStatusType],
|
|
1438
|
-
"Backfilling": NotRequired[bool],
|
|
1439
|
-
"ProvisionedThroughput": NotRequired[ProvisionedThroughputDescriptionTypeDef],
|
|
1440
|
-
"IndexSizeBytes": NotRequired[int],
|
|
1441
|
-
"ItemCount": NotRequired[int],
|
|
1442
|
-
"IndexArn": NotRequired[str],
|
|
1443
|
-
"OnDemandThroughput": NotRequired[OnDemandThroughputTypeDef],
|
|
1444
|
-
},
|
|
1445
|
-
)
|
|
1446
1410
|
GlobalSecondaryIndexInfoTypeDef = TypedDict(
|
|
1447
1411
|
"GlobalSecondaryIndexInfoTypeDef",
|
|
1448
1412
|
{
|
|
@@ -1463,6 +1427,17 @@ GlobalSecondaryIndexOutputTypeDef = TypedDict(
|
|
|
1463
1427
|
"OnDemandThroughput": NotRequired[OnDemandThroughputTypeDef],
|
|
1464
1428
|
},
|
|
1465
1429
|
)
|
|
1430
|
+
LocalSecondaryIndexDescriptionTypeDef = TypedDict(
|
|
1431
|
+
"LocalSecondaryIndexDescriptionTypeDef",
|
|
1432
|
+
{
|
|
1433
|
+
"IndexName": NotRequired[str],
|
|
1434
|
+
"KeySchema": NotRequired[List[KeySchemaElementTypeDef]],
|
|
1435
|
+
"Projection": NotRequired[ProjectionOutputTypeDef],
|
|
1436
|
+
"IndexSizeBytes": NotRequired[int],
|
|
1437
|
+
"ItemCount": NotRequired[int],
|
|
1438
|
+
"IndexArn": NotRequired[str],
|
|
1439
|
+
},
|
|
1440
|
+
)
|
|
1466
1441
|
LocalSecondaryIndexInfoTypeDef = TypedDict(
|
|
1467
1442
|
"LocalSecondaryIndexInfoTypeDef",
|
|
1468
1443
|
{
|
|
@@ -1471,6 +1446,21 @@ LocalSecondaryIndexInfoTypeDef = TypedDict(
|
|
|
1471
1446
|
"Projection": NotRequired[ProjectionOutputTypeDef],
|
|
1472
1447
|
},
|
|
1473
1448
|
)
|
|
1449
|
+
GlobalSecondaryIndexDescriptionTypeDef = TypedDict(
|
|
1450
|
+
"GlobalSecondaryIndexDescriptionTypeDef",
|
|
1451
|
+
{
|
|
1452
|
+
"IndexName": NotRequired[str],
|
|
1453
|
+
"KeySchema": NotRequired[List[KeySchemaElementTypeDef]],
|
|
1454
|
+
"Projection": NotRequired[ProjectionOutputTypeDef],
|
|
1455
|
+
"IndexStatus": NotRequired[IndexStatusType],
|
|
1456
|
+
"Backfilling": NotRequired[bool],
|
|
1457
|
+
"ProvisionedThroughput": NotRequired[ProvisionedThroughputDescriptionTypeDef],
|
|
1458
|
+
"IndexSizeBytes": NotRequired[int],
|
|
1459
|
+
"ItemCount": NotRequired[int],
|
|
1460
|
+
"IndexArn": NotRequired[str],
|
|
1461
|
+
"OnDemandThroughput": NotRequired[OnDemandThroughputTypeDef],
|
|
1462
|
+
},
|
|
1463
|
+
)
|
|
1474
1464
|
ImportSummaryTypeDef = TypedDict(
|
|
1475
1465
|
"ImportSummaryTypeDef",
|
|
1476
1466
|
{
|
|
@@ -2074,7 +2064,6 @@ UpdateReplicationGroupMemberActionTypeDef = TypedDict(
|
|
|
2074
2064
|
"TableClassOverride": NotRequired[TableClassType],
|
|
2075
2065
|
},
|
|
2076
2066
|
)
|
|
2077
|
-
InputFormatOptionsUnionTypeDef = Union[InputFormatOptionsTypeDef, InputFormatOptionsOutputTypeDef]
|
|
2078
2067
|
UpdateGlobalTableInputRequestTypeDef = TypedDict(
|
|
2079
2068
|
"UpdateGlobalTableInputRequestTypeDef",
|
|
2080
2069
|
{
|
|
@@ -2112,9 +2101,6 @@ ExportTableToPointInTimeInputRequestTypeDef = TypedDict(
|
|
|
2112
2101
|
"IncrementalExportSpecification": NotRequired[IncrementalExportSpecificationTypeDef],
|
|
2113
2102
|
},
|
|
2114
2103
|
)
|
|
2115
|
-
IncrementalExportSpecificationUnionTypeDef = Union[
|
|
2116
|
-
IncrementalExportSpecificationTypeDef, IncrementalExportSpecificationOutputTypeDef
|
|
2117
|
-
]
|
|
2118
2104
|
GlobalSecondaryIndexUnionTypeDef = Union[
|
|
2119
2105
|
GlobalSecondaryIndexTypeDef, GlobalSecondaryIndexOutputTypeDef
|
|
2120
2106
|
]
|
|
@@ -2568,9 +2554,6 @@ ImportTableDescriptionTypeDef = TypedDict(
|
|
|
2568
2554
|
"FailureMessage": NotRequired[str],
|
|
2569
2555
|
},
|
|
2570
2556
|
)
|
|
2571
|
-
TableCreationParametersUnionTypeDef = Union[
|
|
2572
|
-
TableCreationParametersTypeDef, TableCreationParametersOutputTypeDef
|
|
2573
|
-
]
|
|
2574
2557
|
BackupDescriptionTypeDef = TypedDict(
|
|
2575
2558
|
"BackupDescriptionTypeDef",
|
|
2576
2559
|
{
|
|
@@ -126,9 +126,8 @@ __all__ = (
|
|
|
126
126
|
"ExportSummaryTypeDef",
|
|
127
127
|
"TimestampTypeDef",
|
|
128
128
|
"GetResourcePolicyInputRequestTypeDef",
|
|
129
|
-
"ProjectionExtraOutputTypeDef",
|
|
130
|
-
"ProvisionedThroughputDescriptionTypeDef",
|
|
131
129
|
"ProjectionOutputTypeDef",
|
|
130
|
+
"ProvisionedThroughputDescriptionTypeDef",
|
|
132
131
|
"S3BucketSourceTypeDef",
|
|
133
132
|
"PaginatorConfigTypeDef",
|
|
134
133
|
"ListContributorInsightsInputRequestTypeDef",
|
|
@@ -206,11 +205,11 @@ __all__ = (
|
|
|
206
205
|
"ListExportsOutputTypeDef",
|
|
207
206
|
"IncrementalExportSpecificationTypeDef",
|
|
208
207
|
"ListBackupsInputRequestTypeDef",
|
|
209
|
-
"LocalSecondaryIndexDescriptionTypeDef",
|
|
210
|
-
"GlobalSecondaryIndexDescriptionTypeDef",
|
|
211
208
|
"GlobalSecondaryIndexInfoTypeDef",
|
|
212
209
|
"GlobalSecondaryIndexOutputTypeDef",
|
|
210
|
+
"LocalSecondaryIndexDescriptionTypeDef",
|
|
213
211
|
"LocalSecondaryIndexInfoTypeDef",
|
|
212
|
+
"GlobalSecondaryIndexDescriptionTypeDef",
|
|
214
213
|
"ImportSummaryTypeDef",
|
|
215
214
|
"ListBackupsInputListBackupsPaginateTypeDef",
|
|
216
215
|
"ListTablesInputListTablesPaginateTypeDef",
|
|
@@ -273,12 +272,10 @@ __all__ = (
|
|
|
273
272
|
"ReplicaDescriptionTypeDef",
|
|
274
273
|
"CreateReplicationGroupMemberActionTypeDef",
|
|
275
274
|
"UpdateReplicationGroupMemberActionTypeDef",
|
|
276
|
-
"InputFormatOptionsUnionTypeDef",
|
|
277
275
|
"UpdateGlobalTableInputRequestTypeDef",
|
|
278
276
|
"DescribeExportOutputTypeDef",
|
|
279
277
|
"ExportTableToPointInTimeOutputTypeDef",
|
|
280
278
|
"ExportTableToPointInTimeInputRequestTypeDef",
|
|
281
|
-
"IncrementalExportSpecificationUnionTypeDef",
|
|
282
279
|
"GlobalSecondaryIndexUnionTypeDef",
|
|
283
280
|
"TableCreationParametersOutputTypeDef",
|
|
284
281
|
"SourceTableFeatureDetailsTypeDef",
|
|
@@ -316,7 +313,6 @@ __all__ = (
|
|
|
316
313
|
"RestoreTableFromBackupInputRequestTypeDef",
|
|
317
314
|
"RestoreTableToPointInTimeInputRequestTypeDef",
|
|
318
315
|
"ImportTableDescriptionTypeDef",
|
|
319
|
-
"TableCreationParametersUnionTypeDef",
|
|
320
316
|
"BackupDescriptionTypeDef",
|
|
321
317
|
"TransactGetItemsInputRequestTypeDef",
|
|
322
318
|
"BatchGetItemInputRequestTypeDef",
|
|
@@ -754,8 +750,8 @@ GetResourcePolicyInputRequestTypeDef = TypedDict(
|
|
|
754
750
|
"ResourceArn": str,
|
|
755
751
|
},
|
|
756
752
|
)
|
|
757
|
-
|
|
758
|
-
"
|
|
753
|
+
ProjectionOutputTypeDef = TypedDict(
|
|
754
|
+
"ProjectionOutputTypeDef",
|
|
759
755
|
{
|
|
760
756
|
"ProjectionType": NotRequired[ProjectionTypeType],
|
|
761
757
|
"NonKeyAttributes": NotRequired[List[str]],
|
|
@@ -771,13 +767,6 @@ ProvisionedThroughputDescriptionTypeDef = TypedDict(
|
|
|
771
767
|
"WriteCapacityUnits": NotRequired[int],
|
|
772
768
|
},
|
|
773
769
|
)
|
|
774
|
-
ProjectionOutputTypeDef = TypedDict(
|
|
775
|
-
"ProjectionOutputTypeDef",
|
|
776
|
-
{
|
|
777
|
-
"ProjectionType": NotRequired[ProjectionTypeType],
|
|
778
|
-
"NonKeyAttributes": NotRequired[List[str]],
|
|
779
|
-
},
|
|
780
|
-
)
|
|
781
770
|
S3BucketSourceTypeDef = TypedDict(
|
|
782
771
|
"S3BucketSourceTypeDef",
|
|
783
772
|
{
|
|
@@ -1417,32 +1406,6 @@ ListBackupsInputRequestTypeDef = TypedDict(
|
|
|
1417
1406
|
"BackupType": NotRequired[BackupTypeFilterType],
|
|
1418
1407
|
},
|
|
1419
1408
|
)
|
|
1420
|
-
LocalSecondaryIndexDescriptionTypeDef = TypedDict(
|
|
1421
|
-
"LocalSecondaryIndexDescriptionTypeDef",
|
|
1422
|
-
{
|
|
1423
|
-
"IndexName": NotRequired[str],
|
|
1424
|
-
"KeySchema": NotRequired[List[KeySchemaElementTypeDef]],
|
|
1425
|
-
"Projection": NotRequired[ProjectionExtraOutputTypeDef],
|
|
1426
|
-
"IndexSizeBytes": NotRequired[int],
|
|
1427
|
-
"ItemCount": NotRequired[int],
|
|
1428
|
-
"IndexArn": NotRequired[str],
|
|
1429
|
-
},
|
|
1430
|
-
)
|
|
1431
|
-
GlobalSecondaryIndexDescriptionTypeDef = TypedDict(
|
|
1432
|
-
"GlobalSecondaryIndexDescriptionTypeDef",
|
|
1433
|
-
{
|
|
1434
|
-
"IndexName": NotRequired[str],
|
|
1435
|
-
"KeySchema": NotRequired[List[KeySchemaElementTypeDef]],
|
|
1436
|
-
"Projection": NotRequired[ProjectionExtraOutputTypeDef],
|
|
1437
|
-
"IndexStatus": NotRequired[IndexStatusType],
|
|
1438
|
-
"Backfilling": NotRequired[bool],
|
|
1439
|
-
"ProvisionedThroughput": NotRequired[ProvisionedThroughputDescriptionTypeDef],
|
|
1440
|
-
"IndexSizeBytes": NotRequired[int],
|
|
1441
|
-
"ItemCount": NotRequired[int],
|
|
1442
|
-
"IndexArn": NotRequired[str],
|
|
1443
|
-
"OnDemandThroughput": NotRequired[OnDemandThroughputTypeDef],
|
|
1444
|
-
},
|
|
1445
|
-
)
|
|
1446
1409
|
GlobalSecondaryIndexInfoTypeDef = TypedDict(
|
|
1447
1410
|
"GlobalSecondaryIndexInfoTypeDef",
|
|
1448
1411
|
{
|
|
@@ -1463,6 +1426,17 @@ GlobalSecondaryIndexOutputTypeDef = TypedDict(
|
|
|
1463
1426
|
"OnDemandThroughput": NotRequired[OnDemandThroughputTypeDef],
|
|
1464
1427
|
},
|
|
1465
1428
|
)
|
|
1429
|
+
LocalSecondaryIndexDescriptionTypeDef = TypedDict(
|
|
1430
|
+
"LocalSecondaryIndexDescriptionTypeDef",
|
|
1431
|
+
{
|
|
1432
|
+
"IndexName": NotRequired[str],
|
|
1433
|
+
"KeySchema": NotRequired[List[KeySchemaElementTypeDef]],
|
|
1434
|
+
"Projection": NotRequired[ProjectionOutputTypeDef],
|
|
1435
|
+
"IndexSizeBytes": NotRequired[int],
|
|
1436
|
+
"ItemCount": NotRequired[int],
|
|
1437
|
+
"IndexArn": NotRequired[str],
|
|
1438
|
+
},
|
|
1439
|
+
)
|
|
1466
1440
|
LocalSecondaryIndexInfoTypeDef = TypedDict(
|
|
1467
1441
|
"LocalSecondaryIndexInfoTypeDef",
|
|
1468
1442
|
{
|
|
@@ -1471,6 +1445,21 @@ LocalSecondaryIndexInfoTypeDef = TypedDict(
|
|
|
1471
1445
|
"Projection": NotRequired[ProjectionOutputTypeDef],
|
|
1472
1446
|
},
|
|
1473
1447
|
)
|
|
1448
|
+
GlobalSecondaryIndexDescriptionTypeDef = TypedDict(
|
|
1449
|
+
"GlobalSecondaryIndexDescriptionTypeDef",
|
|
1450
|
+
{
|
|
1451
|
+
"IndexName": NotRequired[str],
|
|
1452
|
+
"KeySchema": NotRequired[List[KeySchemaElementTypeDef]],
|
|
1453
|
+
"Projection": NotRequired[ProjectionOutputTypeDef],
|
|
1454
|
+
"IndexStatus": NotRequired[IndexStatusType],
|
|
1455
|
+
"Backfilling": NotRequired[bool],
|
|
1456
|
+
"ProvisionedThroughput": NotRequired[ProvisionedThroughputDescriptionTypeDef],
|
|
1457
|
+
"IndexSizeBytes": NotRequired[int],
|
|
1458
|
+
"ItemCount": NotRequired[int],
|
|
1459
|
+
"IndexArn": NotRequired[str],
|
|
1460
|
+
"OnDemandThroughput": NotRequired[OnDemandThroughputTypeDef],
|
|
1461
|
+
},
|
|
1462
|
+
)
|
|
1474
1463
|
ImportSummaryTypeDef = TypedDict(
|
|
1475
1464
|
"ImportSummaryTypeDef",
|
|
1476
1465
|
{
|
|
@@ -2074,7 +2063,6 @@ UpdateReplicationGroupMemberActionTypeDef = TypedDict(
|
|
|
2074
2063
|
"TableClassOverride": NotRequired[TableClassType],
|
|
2075
2064
|
},
|
|
2076
2065
|
)
|
|
2077
|
-
InputFormatOptionsUnionTypeDef = Union[InputFormatOptionsTypeDef, InputFormatOptionsOutputTypeDef]
|
|
2078
2066
|
UpdateGlobalTableInputRequestTypeDef = TypedDict(
|
|
2079
2067
|
"UpdateGlobalTableInputRequestTypeDef",
|
|
2080
2068
|
{
|
|
@@ -2112,9 +2100,6 @@ ExportTableToPointInTimeInputRequestTypeDef = TypedDict(
|
|
|
2112
2100
|
"IncrementalExportSpecification": NotRequired[IncrementalExportSpecificationTypeDef],
|
|
2113
2101
|
},
|
|
2114
2102
|
)
|
|
2115
|
-
IncrementalExportSpecificationUnionTypeDef = Union[
|
|
2116
|
-
IncrementalExportSpecificationTypeDef, IncrementalExportSpecificationOutputTypeDef
|
|
2117
|
-
]
|
|
2118
2103
|
GlobalSecondaryIndexUnionTypeDef = Union[
|
|
2119
2104
|
GlobalSecondaryIndexTypeDef, GlobalSecondaryIndexOutputTypeDef
|
|
2120
2105
|
]
|
|
@@ -2568,9 +2553,6 @@ ImportTableDescriptionTypeDef = TypedDict(
|
|
|
2568
2553
|
"FailureMessage": NotRequired[str],
|
|
2569
2554
|
},
|
|
2570
2555
|
)
|
|
2571
|
-
TableCreationParametersUnionTypeDef = Union[
|
|
2572
|
-
TableCreationParametersTypeDef, TableCreationParametersOutputTypeDef
|
|
2573
|
-
]
|
|
2574
2556
|
BackupDescriptionTypeDef = TypedDict(
|
|
2575
2557
|
"BackupDescriptionTypeDef",
|
|
2576
2558
|
{
|
mypy_boto3_dynamodb/version.py
CHANGED