mypy-boto3-dynamodb 1.34.57__py3-none-any.whl → 1.34.91__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/__main__.py +4 -4
- mypy_boto3_dynamodb/client.py +58 -14
- mypy_boto3_dynamodb/client.pyi +58 -14
- mypy_boto3_dynamodb/literals.py +5 -1
- mypy_boto3_dynamodb/literals.pyi +5 -1
- mypy_boto3_dynamodb/service_resource.py +15 -14
- mypy_boto3_dynamodb/service_resource.pyi +15 -14
- mypy_boto3_dynamodb/type_defs.py +474 -360
- mypy_boto3_dynamodb/type_defs.pyi +474 -360
- mypy_boto3_dynamodb/version.py +1 -1
- {mypy_boto3_dynamodb-1.34.57.dist-info → mypy_boto3_dynamodb-1.34.91.dist-info}/METADATA +4 -4
- mypy_boto3_dynamodb-1.34.91.dist-info/RECORD +22 -0
- {mypy_boto3_dynamodb-1.34.57.dist-info → mypy_boto3_dynamodb-1.34.91.dist-info}/WHEEL +1 -1
- mypy_boto3_dynamodb-1.34.57.dist-info/RECORD +0 -22
- {mypy_boto3_dynamodb-1.34.57.dist-info → mypy_boto3_dynamodb-1.34.91.dist-info}/LICENSE +0 -0
- {mypy_boto3_dynamodb-1.34.57.dist-info → mypy_boto3_dynamodb-1.34.91.dist-info}/top_level.txt +0 -0
|
@@ -47,15 +47,15 @@ from .type_defs import (
|
|
|
47
47
|
ConditionBaseImportTypeDef,
|
|
48
48
|
ConditionTableTypeDef,
|
|
49
49
|
DeleteItemOutputTableTypeDef,
|
|
50
|
-
|
|
50
|
+
DeleteTableOutputTypeDef,
|
|
51
51
|
ExpectedAttributeValueTableTypeDef,
|
|
52
52
|
GetItemOutputTableTypeDef,
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
53
|
+
GlobalSecondaryIndexDescriptionTypeDef,
|
|
54
|
+
GlobalSecondaryIndexUnionTypeDef,
|
|
55
|
+
GlobalSecondaryIndexUpdateTypeDef,
|
|
56
|
+
KeysAndAttributesServiceResourceUnionTypeDef,
|
|
57
57
|
KeySchemaElementTypeDef,
|
|
58
|
-
|
|
58
|
+
LocalSecondaryIndexDescriptionTypeDef,
|
|
59
59
|
LocalSecondaryIndexTypeDef,
|
|
60
60
|
ProvisionedThroughputDescriptionResponseTypeDef,
|
|
61
61
|
ProvisionedThroughputTypeDef,
|
|
@@ -73,7 +73,7 @@ from .type_defs import (
|
|
|
73
73
|
TableClassSummaryResponseTypeDef,
|
|
74
74
|
TagTypeDef,
|
|
75
75
|
UpdateItemOutputTableTypeDef,
|
|
76
|
-
|
|
76
|
+
WriteRequestServiceResourceUnionTypeDef,
|
|
77
77
|
)
|
|
78
78
|
|
|
79
79
|
__all__ = ("DynamoDBServiceResource", "Table", "ServiceResourceTablesCollection")
|
|
@@ -151,8 +151,8 @@ class Table(ServiceResource):
|
|
|
151
151
|
table_arn: str
|
|
152
152
|
table_id: str
|
|
153
153
|
billing_mode_summary: BillingModeSummaryResponseTypeDef
|
|
154
|
-
local_secondary_indexes: List[
|
|
155
|
-
global_secondary_indexes: List[
|
|
154
|
+
local_secondary_indexes: List[LocalSecondaryIndexDescriptionTypeDef]
|
|
155
|
+
global_secondary_indexes: List[GlobalSecondaryIndexDescriptionTypeDef]
|
|
156
156
|
stream_specification: StreamSpecificationResponseTypeDef
|
|
157
157
|
latest_stream_label: str
|
|
158
158
|
latest_stream_arn: str
|
|
@@ -174,7 +174,7 @@ class Table(ServiceResource):
|
|
|
174
174
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#tablebatch_writer-method)
|
|
175
175
|
"""
|
|
176
176
|
|
|
177
|
-
def delete(self) ->
|
|
177
|
+
def delete(self) -> DeleteTableOutputTypeDef:
|
|
178
178
|
"""
|
|
179
179
|
The `DeleteTable` operation deletes a table and all of its items.
|
|
180
180
|
|
|
@@ -334,7 +334,7 @@ class Table(ServiceResource):
|
|
|
334
334
|
AttributeDefinitions: Sequence[AttributeDefinitionTypeDef] = ...,
|
|
335
335
|
BillingMode: BillingModeType = ...,
|
|
336
336
|
ProvisionedThroughput: ProvisionedThroughputTypeDef = ...,
|
|
337
|
-
GlobalSecondaryIndexUpdates: Sequence[
|
|
337
|
+
GlobalSecondaryIndexUpdates: Sequence[GlobalSecondaryIndexUpdateTypeDef] = ...,
|
|
338
338
|
StreamSpecification: StreamSpecificationTypeDef = ...,
|
|
339
339
|
SSESpecification: SSESpecificationTypeDef = ...,
|
|
340
340
|
ReplicaUpdates: Sequence[ReplicationGroupUpdateTypeDef] = ...,
|
|
@@ -416,7 +416,7 @@ class DynamoDBServiceResource(ServiceResource):
|
|
|
416
416
|
def batch_get_item(
|
|
417
417
|
self,
|
|
418
418
|
*,
|
|
419
|
-
RequestItems: Mapping[str,
|
|
419
|
+
RequestItems: Mapping[str, KeysAndAttributesServiceResourceUnionTypeDef],
|
|
420
420
|
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
421
421
|
) -> BatchGetItemOutputServiceResourceTypeDef:
|
|
422
422
|
"""
|
|
@@ -431,7 +431,7 @@ class DynamoDBServiceResource(ServiceResource):
|
|
|
431
431
|
def batch_write_item(
|
|
432
432
|
self,
|
|
433
433
|
*,
|
|
434
|
-
RequestItems: Mapping[str, Sequence[
|
|
434
|
+
RequestItems: Mapping[str, Sequence[WriteRequestServiceResourceUnionTypeDef]],
|
|
435
435
|
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
436
436
|
ReturnItemCollectionMetrics: ReturnItemCollectionMetricsType = ...,
|
|
437
437
|
) -> BatchWriteItemOutputServiceResourceTypeDef:
|
|
@@ -450,7 +450,7 @@ class DynamoDBServiceResource(ServiceResource):
|
|
|
450
450
|
TableName: str,
|
|
451
451
|
KeySchema: Sequence[KeySchemaElementTypeDef],
|
|
452
452
|
LocalSecondaryIndexes: Sequence[LocalSecondaryIndexTypeDef] = ...,
|
|
453
|
-
GlobalSecondaryIndexes: Sequence[
|
|
453
|
+
GlobalSecondaryIndexes: Sequence[GlobalSecondaryIndexUnionTypeDef] = ...,
|
|
454
454
|
BillingMode: BillingModeType = ...,
|
|
455
455
|
ProvisionedThroughput: ProvisionedThroughputTypeDef = ...,
|
|
456
456
|
StreamSpecification: StreamSpecificationTypeDef = ...,
|
|
@@ -458,6 +458,7 @@ class DynamoDBServiceResource(ServiceResource):
|
|
|
458
458
|
Tags: Sequence[TagTypeDef] = ...,
|
|
459
459
|
TableClass: TableClassType = ...,
|
|
460
460
|
DeletionProtectionEnabled: bool = ...,
|
|
461
|
+
ResourcePolicy: str = ...,
|
|
461
462
|
) -> "_Table":
|
|
462
463
|
"""
|
|
463
464
|
The `CreateTable` operation adds a new table to your account.
|