types-boto3-dynamodb 1.40.56__py3-none-any.whl → 1.42.3__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.
- types_boto3_dynamodb/__main__.py +4 -4
- types_boto3_dynamodb/client.py +36 -40
- types_boto3_dynamodb/client.pyi +36 -40
- types_boto3_dynamodb/literals.py +9 -7
- types_boto3_dynamodb/literals.pyi +9 -7
- types_boto3_dynamodb/service_resource.py +9 -13
- types_boto3_dynamodb/service_resource.pyi +9 -13
- types_boto3_dynamodb/type_defs.py +110 -116
- types_boto3_dynamodb/type_defs.pyi +110 -116
- types_boto3_dynamodb/version.py +1 -1
- {types_boto3_dynamodb-1.40.56.dist-info → types_boto3_dynamodb-1.42.3.dist-info}/METADATA +11 -25
- types_boto3_dynamodb-1.42.3.dist-info/RECORD +22 -0
- types_boto3_dynamodb-1.40.56.dist-info/RECORD +0 -22
- {types_boto3_dynamodb-1.40.56.dist-info → types_boto3_dynamodb-1.42.3.dist-info}/WHEEL +0 -0
- {types_boto3_dynamodb-1.40.56.dist-info → types_boto3_dynamodb-1.42.3.dist-info}/licenses/LICENSE +0 -0
- {types_boto3_dynamodb-1.40.56.dist-info → types_boto3_dynamodb-1.42.3.dist-info}/top_level.txt +0 -0
|
@@ -17,6 +17,7 @@ Usage::
|
|
|
17
17
|
from __future__ import annotations
|
|
18
18
|
|
|
19
19
|
import sys
|
|
20
|
+
from collections.abc import Mapping, Sequence
|
|
20
21
|
from datetime import datetime
|
|
21
22
|
from decimal import Decimal
|
|
22
23
|
from typing import Any, Union
|
|
@@ -68,13 +69,6 @@ from .literals import (
|
|
|
68
69
|
WitnessStatusType,
|
|
69
70
|
)
|
|
70
71
|
|
|
71
|
-
if sys.version_info >= (3, 9):
|
|
72
|
-
from builtins import dict as Dict
|
|
73
|
-
from builtins import list as List
|
|
74
|
-
from builtins import set as Set
|
|
75
|
-
from collections.abc import Mapping, Sequence
|
|
76
|
-
else:
|
|
77
|
-
from typing import Dict, List, Mapping, Sequence, Set
|
|
78
72
|
if sys.version_info >= (3, 12):
|
|
79
73
|
from typing import NotRequired, TypedDict
|
|
80
74
|
else:
|
|
@@ -402,11 +396,11 @@ TableAttributeValueTypeDef = Union[
|
|
|
402
396
|
int,
|
|
403
397
|
Decimal,
|
|
404
398
|
bool,
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
399
|
+
set[int],
|
|
400
|
+
set[Decimal],
|
|
401
|
+
set[str],
|
|
402
|
+
set[bytes],
|
|
403
|
+
set[bytearray],
|
|
410
404
|
Sequence[Any],
|
|
411
405
|
Mapping[str, Any],
|
|
412
406
|
None,
|
|
@@ -448,7 +442,7 @@ class BackupSummaryTypeDef(TypedDict):
|
|
|
448
442
|
class ResponseMetadataTypeDef(TypedDict):
|
|
449
443
|
RequestId: str
|
|
450
444
|
HTTPStatusCode: int
|
|
451
|
-
HTTPHeaders:
|
|
445
|
+
HTTPHeaders: dict[str, str]
|
|
452
446
|
RetryAttempts: int
|
|
453
447
|
HostId: NotRequired[str]
|
|
454
448
|
|
|
@@ -535,7 +529,7 @@ class TagTypeDef(TypedDict):
|
|
|
535
529
|
|
|
536
530
|
class CsvOptionsOutputTypeDef(TypedDict):
|
|
537
531
|
Delimiter: NotRequired[str]
|
|
538
|
-
HeaderList: NotRequired[
|
|
532
|
+
HeaderList: NotRequired[list[str]]
|
|
539
533
|
|
|
540
534
|
class CsvOptionsTypeDef(TypedDict):
|
|
541
535
|
Delimiter: NotRequired[str]
|
|
@@ -654,7 +648,7 @@ class GlobalSecondaryIndexWarmThroughputDescriptionTypeDef(TypedDict):
|
|
|
654
648
|
|
|
655
649
|
class ProjectionOutputTypeDef(TypedDict):
|
|
656
650
|
ProjectionType: NotRequired[ProjectionTypeType]
|
|
657
|
-
NonKeyAttributes: NotRequired[
|
|
651
|
+
NonKeyAttributes: NotRequired[list[str]]
|
|
658
652
|
|
|
659
653
|
class ProvisionedThroughputDescriptionTypeDef(TypedDict):
|
|
660
654
|
LastIncreaseDateTime: NotRequired[datetime]
|
|
@@ -749,7 +743,7 @@ class SSEDescriptionTypeDef(TypedDict):
|
|
|
749
743
|
InaccessibleEncryptionDateTime: NotRequired[datetime]
|
|
750
744
|
|
|
751
745
|
class TableBatchWriterRequestTypeDef(TypedDict):
|
|
752
|
-
overwrite_by_pkeys: NotRequired[
|
|
746
|
+
overwrite_by_pkeys: NotRequired[list[str]]
|
|
753
747
|
|
|
754
748
|
class TimeToLiveSpecificationTypeDef(TypedDict):
|
|
755
749
|
Enabled: bool
|
|
@@ -771,27 +765,27 @@ class UpdateKinesisStreamingConfigurationTypeDef(TypedDict):
|
|
|
771
765
|
class BatchStatementErrorTypeDef(TypedDict):
|
|
772
766
|
Code: NotRequired[BatchStatementErrorCodeEnumType]
|
|
773
767
|
Message: NotRequired[str]
|
|
774
|
-
Item: NotRequired[
|
|
768
|
+
Item: NotRequired[dict[str, AttributeValueTypeDef]]
|
|
775
769
|
|
|
776
770
|
class DeleteRequestOutputTypeDef(TypedDict):
|
|
777
|
-
Key:
|
|
771
|
+
Key: dict[str, AttributeValueTypeDef]
|
|
778
772
|
|
|
779
773
|
class ItemCollectionMetricsTypeDef(TypedDict):
|
|
780
|
-
ItemCollectionKey: NotRequired[
|
|
781
|
-
SizeEstimateRangeGB: NotRequired[
|
|
774
|
+
ItemCollectionKey: NotRequired[dict[str, AttributeValueTypeDef]]
|
|
775
|
+
SizeEstimateRangeGB: NotRequired[list[float]]
|
|
782
776
|
|
|
783
777
|
class ItemResponseTypeDef(TypedDict):
|
|
784
|
-
Item: NotRequired[
|
|
778
|
+
Item: NotRequired[dict[str, AttributeValueTypeDef]]
|
|
785
779
|
|
|
786
780
|
class KeysAndAttributesOutputTypeDef(TypedDict):
|
|
787
|
-
Keys:
|
|
788
|
-
AttributesToGet: NotRequired[
|
|
781
|
+
Keys: list[dict[str, AttributeValueTypeDef]]
|
|
782
|
+
AttributesToGet: NotRequired[list[str]]
|
|
789
783
|
ConsistentRead: NotRequired[bool]
|
|
790
784
|
ProjectionExpression: NotRequired[str]
|
|
791
|
-
ExpressionAttributeNames: NotRequired[
|
|
785
|
+
ExpressionAttributeNames: NotRequired[dict[str, str]]
|
|
792
786
|
|
|
793
787
|
class PutRequestOutputTypeDef(TypedDict):
|
|
794
|
-
Item:
|
|
788
|
+
Item: dict[str, AttributeValueTypeDef]
|
|
795
789
|
|
|
796
790
|
UniversalAttributeValueTypeDef = Union[
|
|
797
791
|
AttributeValueTypeDef,
|
|
@@ -801,11 +795,11 @@ UniversalAttributeValueTypeDef = Union[
|
|
|
801
795
|
int,
|
|
802
796
|
Decimal,
|
|
803
797
|
bool,
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
798
|
+
set[int],
|
|
799
|
+
set[Decimal],
|
|
800
|
+
set[str],
|
|
801
|
+
set[bytes],
|
|
802
|
+
set[bytearray],
|
|
809
803
|
Sequence[Any],
|
|
810
804
|
Mapping[str, Any],
|
|
811
805
|
None,
|
|
@@ -820,7 +814,7 @@ class ConditionTableTypeDef(TypedDict):
|
|
|
820
814
|
AttributeValueList: NotRequired[Sequence[TableAttributeValueTypeDef]]
|
|
821
815
|
|
|
822
816
|
class DeleteRequestServiceResourceOutputTypeDef(TypedDict):
|
|
823
|
-
Key:
|
|
817
|
+
Key: dict[str, TableAttributeValueTypeDef]
|
|
824
818
|
|
|
825
819
|
class DeleteRequestServiceResourceTypeDef(TypedDict):
|
|
826
820
|
Key: Mapping[str, TableAttributeValueTypeDef]
|
|
@@ -840,19 +834,19 @@ class GetItemInputTableGetItemTypeDef(TypedDict):
|
|
|
840
834
|
ExpressionAttributeNames: NotRequired[Mapping[str, str]]
|
|
841
835
|
|
|
842
836
|
class ItemCollectionMetricsServiceResourceTypeDef(TypedDict):
|
|
843
|
-
ItemCollectionKey: NotRequired[
|
|
844
|
-
SizeEstimateRangeGB: NotRequired[
|
|
837
|
+
ItemCollectionKey: NotRequired[dict[str, TableAttributeValueTypeDef]]
|
|
838
|
+
SizeEstimateRangeGB: NotRequired[list[float]]
|
|
845
839
|
|
|
846
840
|
class ItemCollectionMetricsTableTypeDef(TypedDict):
|
|
847
|
-
ItemCollectionKey: NotRequired[
|
|
848
|
-
SizeEstimateRangeGB: NotRequired[
|
|
841
|
+
ItemCollectionKey: NotRequired[dict[str, TableAttributeValueTypeDef]]
|
|
842
|
+
SizeEstimateRangeGB: NotRequired[list[float]]
|
|
849
843
|
|
|
850
844
|
class KeysAndAttributesServiceResourceOutputTypeDef(TypedDict):
|
|
851
|
-
Keys:
|
|
852
|
-
AttributesToGet: NotRequired[
|
|
845
|
+
Keys: list[dict[str, TableAttributeValueTypeDef]]
|
|
846
|
+
AttributesToGet: NotRequired[list[str]]
|
|
853
847
|
ConsistentRead: NotRequired[bool]
|
|
854
848
|
ProjectionExpression: NotRequired[str]
|
|
855
|
-
ExpressionAttributeNames: NotRequired[
|
|
849
|
+
ExpressionAttributeNames: NotRequired[dict[str, str]]
|
|
856
850
|
|
|
857
851
|
class KeysAndAttributesServiceResourceTypeDef(TypedDict):
|
|
858
852
|
Keys: Sequence[Mapping[str, TableAttributeValueTypeDef]]
|
|
@@ -862,7 +856,7 @@ class KeysAndAttributesServiceResourceTypeDef(TypedDict):
|
|
|
862
856
|
ExpressionAttributeNames: NotRequired[Mapping[str, str]]
|
|
863
857
|
|
|
864
858
|
class PutRequestServiceResourceOutputTypeDef(TypedDict):
|
|
865
|
-
Item:
|
|
859
|
+
Item: dict[str, TableAttributeValueTypeDef]
|
|
866
860
|
|
|
867
861
|
class PutRequestServiceResourceTypeDef(TypedDict):
|
|
868
862
|
Item: Mapping[str, TableAttributeValueTypeDef]
|
|
@@ -903,12 +897,12 @@ class GetResourcePolicyOutputTypeDef(TypedDict):
|
|
|
903
897
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
904
898
|
|
|
905
899
|
class ListBackupsOutputTypeDef(TypedDict):
|
|
906
|
-
BackupSummaries:
|
|
900
|
+
BackupSummaries: list[BackupSummaryTypeDef]
|
|
907
901
|
LastEvaluatedBackupArn: str
|
|
908
902
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
909
903
|
|
|
910
904
|
class ListTablesOutputTypeDef(TypedDict):
|
|
911
|
-
TableNames:
|
|
905
|
+
TableNames: list[str]
|
|
912
906
|
LastEvaluatedTableName: str
|
|
913
907
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
914
908
|
|
|
@@ -929,22 +923,22 @@ class ConsumedCapacityTypeDef(TypedDict):
|
|
|
929
923
|
ReadCapacityUnits: NotRequired[float]
|
|
930
924
|
WriteCapacityUnits: NotRequired[float]
|
|
931
925
|
Table: NotRequired[CapacityTypeDef]
|
|
932
|
-
LocalSecondaryIndexes: NotRequired[
|
|
933
|
-
GlobalSecondaryIndexes: NotRequired[
|
|
926
|
+
LocalSecondaryIndexes: NotRequired[dict[str, CapacityTypeDef]]
|
|
927
|
+
GlobalSecondaryIndexes: NotRequired[dict[str, CapacityTypeDef]]
|
|
934
928
|
|
|
935
929
|
class ContinuousBackupsDescriptionTypeDef(TypedDict):
|
|
936
930
|
ContinuousBackupsStatus: ContinuousBackupsStatusType
|
|
937
931
|
PointInTimeRecoveryDescription: NotRequired[PointInTimeRecoveryDescriptionTypeDef]
|
|
938
932
|
|
|
939
933
|
class ListContributorInsightsOutputTypeDef(TypedDict):
|
|
940
|
-
ContributorInsightsSummaries:
|
|
934
|
+
ContributorInsightsSummaries: list[ContributorInsightsSummaryTypeDef]
|
|
941
935
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
942
936
|
NextToken: NotRequired[str]
|
|
943
937
|
|
|
944
938
|
class SourceTableDetailsTypeDef(TypedDict):
|
|
945
939
|
TableName: str
|
|
946
940
|
TableId: str
|
|
947
|
-
KeySchema:
|
|
941
|
+
KeySchema: list[KeySchemaElementTypeDef]
|
|
948
942
|
TableCreationDateTime: datetime
|
|
949
943
|
ProvisionedThroughput: ProvisionedThroughputTypeDef
|
|
950
944
|
TableArn: NotRequired[str]
|
|
@@ -965,7 +959,7 @@ class CreateGlobalTableInputTypeDef(TypedDict):
|
|
|
965
959
|
|
|
966
960
|
class GlobalTableTypeDef(TypedDict):
|
|
967
961
|
GlobalTableName: NotRequired[str]
|
|
968
|
-
ReplicationGroup: NotRequired[
|
|
962
|
+
ReplicationGroup: NotRequired[list[ReplicaTypeDef]]
|
|
969
963
|
|
|
970
964
|
class ReplicaGlobalSecondaryIndexTypeDef(TypedDict):
|
|
971
965
|
IndexName: str
|
|
@@ -973,7 +967,7 @@ class ReplicaGlobalSecondaryIndexTypeDef(TypedDict):
|
|
|
973
967
|
OnDemandThroughputOverride: NotRequired[OnDemandThroughputOverrideTypeDef]
|
|
974
968
|
|
|
975
969
|
class ListTagsOfResourceOutputTypeDef(TypedDict):
|
|
976
|
-
Tags:
|
|
970
|
+
Tags: list[TagTypeDef]
|
|
977
971
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
978
972
|
NextToken: NotRequired[str]
|
|
979
973
|
|
|
@@ -998,7 +992,7 @@ class ReplicaUpdateTypeDef(TypedDict):
|
|
|
998
992
|
class DescribeContributorInsightsOutputTypeDef(TypedDict):
|
|
999
993
|
TableName: str
|
|
1000
994
|
IndexName: str
|
|
1001
|
-
ContributorInsightsRuleList:
|
|
995
|
+
ContributorInsightsRuleList: list[str]
|
|
1002
996
|
ContributorInsightsStatus: ContributorInsightsStatusType
|
|
1003
997
|
LastUpdateDateTime: datetime
|
|
1004
998
|
FailureException: FailureExceptionTypeDef
|
|
@@ -1006,12 +1000,12 @@ class DescribeContributorInsightsOutputTypeDef(TypedDict):
|
|
|
1006
1000
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1007
1001
|
|
|
1008
1002
|
class DescribeEndpointsResponseTypeDef(TypedDict):
|
|
1009
|
-
Endpoints:
|
|
1003
|
+
Endpoints: list[EndpointTypeDef]
|
|
1010
1004
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1011
1005
|
|
|
1012
1006
|
class DescribeKinesisStreamingDestinationOutputTypeDef(TypedDict):
|
|
1013
1007
|
TableName: str
|
|
1014
|
-
KinesisDataStreamDestinations:
|
|
1008
|
+
KinesisDataStreamDestinations: list[KinesisDataStreamDestinationTypeDef]
|
|
1015
1009
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1016
1010
|
|
|
1017
1011
|
class DescribeTableInputWaitExtraTypeDef(TypedDict):
|
|
@@ -1067,7 +1061,7 @@ class ExportDescriptionTypeDef(TypedDict):
|
|
|
1067
1061
|
IncrementalExportSpecification: NotRequired[IncrementalExportSpecificationOutputTypeDef]
|
|
1068
1062
|
|
|
1069
1063
|
class ListExportsOutputTypeDef(TypedDict):
|
|
1070
|
-
ExportSummaries:
|
|
1064
|
+
ExportSummaries: list[ExportSummaryTypeDef]
|
|
1071
1065
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1072
1066
|
NextToken: NotRequired[str]
|
|
1073
1067
|
|
|
@@ -1092,14 +1086,14 @@ class ReplicaGlobalSecondaryIndexDescriptionTypeDef(TypedDict):
|
|
|
1092
1086
|
|
|
1093
1087
|
class GlobalSecondaryIndexInfoTypeDef(TypedDict):
|
|
1094
1088
|
IndexName: NotRequired[str]
|
|
1095
|
-
KeySchema: NotRequired[
|
|
1089
|
+
KeySchema: NotRequired[list[KeySchemaElementTypeDef]]
|
|
1096
1090
|
Projection: NotRequired[ProjectionOutputTypeDef]
|
|
1097
1091
|
ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
|
|
1098
1092
|
OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
|
|
1099
1093
|
|
|
1100
1094
|
class GlobalSecondaryIndexOutputTypeDef(TypedDict):
|
|
1101
1095
|
IndexName: str
|
|
1102
|
-
KeySchema:
|
|
1096
|
+
KeySchema: list[KeySchemaElementTypeDef]
|
|
1103
1097
|
Projection: ProjectionOutputTypeDef
|
|
1104
1098
|
ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
|
|
1105
1099
|
OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
|
|
@@ -1107,7 +1101,7 @@ class GlobalSecondaryIndexOutputTypeDef(TypedDict):
|
|
|
1107
1101
|
|
|
1108
1102
|
class LocalSecondaryIndexDescriptionTypeDef(TypedDict):
|
|
1109
1103
|
IndexName: NotRequired[str]
|
|
1110
|
-
KeySchema: NotRequired[
|
|
1104
|
+
KeySchema: NotRequired[list[KeySchemaElementTypeDef]]
|
|
1111
1105
|
Projection: NotRequired[ProjectionOutputTypeDef]
|
|
1112
1106
|
IndexSizeBytes: NotRequired[int]
|
|
1113
1107
|
ItemCount: NotRequired[int]
|
|
@@ -1115,12 +1109,12 @@ class LocalSecondaryIndexDescriptionTypeDef(TypedDict):
|
|
|
1115
1109
|
|
|
1116
1110
|
class LocalSecondaryIndexInfoTypeDef(TypedDict):
|
|
1117
1111
|
IndexName: NotRequired[str]
|
|
1118
|
-
KeySchema: NotRequired[
|
|
1112
|
+
KeySchema: NotRequired[list[KeySchemaElementTypeDef]]
|
|
1119
1113
|
Projection: NotRequired[ProjectionOutputTypeDef]
|
|
1120
1114
|
|
|
1121
1115
|
class GlobalSecondaryIndexDescriptionTypeDef(TypedDict):
|
|
1122
1116
|
IndexName: NotRequired[str]
|
|
1123
|
-
KeySchema: NotRequired[
|
|
1117
|
+
KeySchema: NotRequired[list[KeySchemaElementTypeDef]]
|
|
1124
1118
|
Projection: NotRequired[ProjectionOutputTypeDef]
|
|
1125
1119
|
IndexStatus: NotRequired[IndexStatusType]
|
|
1126
1120
|
Backfilling: NotRequired[bool]
|
|
@@ -1184,7 +1178,7 @@ class UpdateKinesisStreamingDestinationOutputTypeDef(TypedDict):
|
|
|
1184
1178
|
class BatchStatementResponseTypeDef(TypedDict):
|
|
1185
1179
|
Error: NotRequired[BatchStatementErrorTypeDef]
|
|
1186
1180
|
TableName: NotRequired[str]
|
|
1187
|
-
Item: NotRequired[
|
|
1181
|
+
Item: NotRequired[dict[str, AttributeValueTypeDef]]
|
|
1188
1182
|
|
|
1189
1183
|
class WriteRequestOutputTypeDef(TypedDict):
|
|
1190
1184
|
PutRequest: NotRequired[PutRequestOutputTypeDef]
|
|
@@ -1379,7 +1373,7 @@ class AutoScalingSettingsDescriptionTypeDef(TypedDict):
|
|
|
1379
1373
|
MaximumUnits: NotRequired[int]
|
|
1380
1374
|
AutoScalingDisabled: NotRequired[bool]
|
|
1381
1375
|
AutoScalingRoleArn: NotRequired[str]
|
|
1382
|
-
ScalingPolicies: NotRequired[
|
|
1376
|
+
ScalingPolicies: NotRequired[list[AutoScalingPolicyDescriptionTypeDef]]
|
|
1383
1377
|
|
|
1384
1378
|
class AutoScalingSettingsUpdateTypeDef(TypedDict):
|
|
1385
1379
|
MinimumUnits: NotRequired[int]
|
|
@@ -1389,113 +1383,113 @@ class AutoScalingSettingsUpdateTypeDef(TypedDict):
|
|
|
1389
1383
|
ScalingPolicyUpdate: NotRequired[AutoScalingPolicyUpdateTypeDef]
|
|
1390
1384
|
|
|
1391
1385
|
class BatchGetItemOutputServiceResourceTypeDef(TypedDict):
|
|
1392
|
-
Responses:
|
|
1393
|
-
UnprocessedKeys:
|
|
1394
|
-
ConsumedCapacity:
|
|
1386
|
+
Responses: dict[str, list[dict[str, TableAttributeValueTypeDef]]]
|
|
1387
|
+
UnprocessedKeys: dict[str, KeysAndAttributesServiceResourceOutputTypeDef]
|
|
1388
|
+
ConsumedCapacity: list[ConsumedCapacityTypeDef]
|
|
1395
1389
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1396
1390
|
|
|
1397
1391
|
class BatchGetItemOutputTypeDef(TypedDict):
|
|
1398
|
-
Responses:
|
|
1399
|
-
UnprocessedKeys:
|
|
1400
|
-
ConsumedCapacity:
|
|
1392
|
+
Responses: dict[str, list[dict[str, AttributeValueTypeDef]]]
|
|
1393
|
+
UnprocessedKeys: dict[str, KeysAndAttributesOutputTypeDef]
|
|
1394
|
+
ConsumedCapacity: list[ConsumedCapacityTypeDef]
|
|
1401
1395
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1402
1396
|
|
|
1403
1397
|
class DeleteItemOutputTableTypeDef(TypedDict):
|
|
1404
|
-
Attributes:
|
|
1398
|
+
Attributes: dict[str, TableAttributeValueTypeDef]
|
|
1405
1399
|
ConsumedCapacity: ConsumedCapacityTypeDef
|
|
1406
1400
|
ItemCollectionMetrics: ItemCollectionMetricsTableTypeDef
|
|
1407
1401
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1408
1402
|
|
|
1409
1403
|
class DeleteItemOutputTypeDef(TypedDict):
|
|
1410
|
-
Attributes:
|
|
1404
|
+
Attributes: dict[str, AttributeValueTypeDef]
|
|
1411
1405
|
ConsumedCapacity: ConsumedCapacityTypeDef
|
|
1412
1406
|
ItemCollectionMetrics: ItemCollectionMetricsTypeDef
|
|
1413
1407
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1414
1408
|
|
|
1415
1409
|
class ExecuteStatementOutputTypeDef(TypedDict):
|
|
1416
|
-
Items:
|
|
1410
|
+
Items: list[dict[str, AttributeValueTypeDef]]
|
|
1417
1411
|
ConsumedCapacity: ConsumedCapacityTypeDef
|
|
1418
1412
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1419
1413
|
NextToken: NotRequired[str]
|
|
1420
|
-
LastEvaluatedKey: NotRequired[
|
|
1414
|
+
LastEvaluatedKey: NotRequired[dict[str, AttributeValueTypeDef]]
|
|
1421
1415
|
|
|
1422
1416
|
class ExecuteTransactionOutputTypeDef(TypedDict):
|
|
1423
|
-
Responses:
|
|
1424
|
-
ConsumedCapacity:
|
|
1417
|
+
Responses: list[ItemResponseTypeDef]
|
|
1418
|
+
ConsumedCapacity: list[ConsumedCapacityTypeDef]
|
|
1425
1419
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1426
1420
|
|
|
1427
1421
|
class GetItemOutputTableTypeDef(TypedDict):
|
|
1428
1422
|
ConsumedCapacity: ConsumedCapacityTypeDef
|
|
1429
1423
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1430
|
-
Item: NotRequired[
|
|
1424
|
+
Item: NotRequired[dict[str, TableAttributeValueTypeDef]]
|
|
1431
1425
|
|
|
1432
1426
|
class GetItemOutputTypeDef(TypedDict):
|
|
1433
1427
|
ConsumedCapacity: ConsumedCapacityTypeDef
|
|
1434
1428
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1435
|
-
Item: NotRequired[
|
|
1429
|
+
Item: NotRequired[dict[str, AttributeValueTypeDef]]
|
|
1436
1430
|
|
|
1437
1431
|
class PutItemOutputTableTypeDef(TypedDict):
|
|
1438
|
-
Attributes:
|
|
1432
|
+
Attributes: dict[str, TableAttributeValueTypeDef]
|
|
1439
1433
|
ConsumedCapacity: ConsumedCapacityTypeDef
|
|
1440
1434
|
ItemCollectionMetrics: ItemCollectionMetricsTableTypeDef
|
|
1441
1435
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1442
1436
|
|
|
1443
1437
|
class PutItemOutputTypeDef(TypedDict):
|
|
1444
|
-
Attributes:
|
|
1438
|
+
Attributes: dict[str, AttributeValueTypeDef]
|
|
1445
1439
|
ConsumedCapacity: ConsumedCapacityTypeDef
|
|
1446
1440
|
ItemCollectionMetrics: ItemCollectionMetricsTypeDef
|
|
1447
1441
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1448
1442
|
|
|
1449
1443
|
class QueryOutputTableTypeDef(TypedDict):
|
|
1450
|
-
Items:
|
|
1444
|
+
Items: list[dict[str, TableAttributeValueTypeDef]]
|
|
1451
1445
|
Count: int
|
|
1452
1446
|
ScannedCount: int
|
|
1453
1447
|
ConsumedCapacity: ConsumedCapacityTypeDef
|
|
1454
1448
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1455
|
-
LastEvaluatedKey: NotRequired[
|
|
1449
|
+
LastEvaluatedKey: NotRequired[dict[str, TableAttributeValueTypeDef]]
|
|
1456
1450
|
|
|
1457
1451
|
class QueryOutputTypeDef(TypedDict):
|
|
1458
|
-
Items:
|
|
1452
|
+
Items: list[dict[str, AttributeValueTypeDef]]
|
|
1459
1453
|
Count: int
|
|
1460
1454
|
ScannedCount: int
|
|
1461
1455
|
ConsumedCapacity: ConsumedCapacityTypeDef
|
|
1462
1456
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1463
|
-
LastEvaluatedKey: NotRequired[
|
|
1457
|
+
LastEvaluatedKey: NotRequired[dict[str, AttributeValueTypeDef]]
|
|
1464
1458
|
|
|
1465
1459
|
class ScanOutputTableTypeDef(TypedDict):
|
|
1466
|
-
Items:
|
|
1460
|
+
Items: list[dict[str, TableAttributeValueTypeDef]]
|
|
1467
1461
|
Count: int
|
|
1468
1462
|
ScannedCount: int
|
|
1469
1463
|
ConsumedCapacity: ConsumedCapacityTypeDef
|
|
1470
1464
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1471
|
-
LastEvaluatedKey: NotRequired[
|
|
1465
|
+
LastEvaluatedKey: NotRequired[dict[str, TableAttributeValueTypeDef]]
|
|
1472
1466
|
|
|
1473
1467
|
class ScanOutputTypeDef(TypedDict):
|
|
1474
|
-
Items:
|
|
1468
|
+
Items: list[dict[str, AttributeValueTypeDef]]
|
|
1475
1469
|
Count: int
|
|
1476
1470
|
ScannedCount: int
|
|
1477
1471
|
ConsumedCapacity: ConsumedCapacityTypeDef
|
|
1478
1472
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1479
|
-
LastEvaluatedKey: NotRequired[
|
|
1473
|
+
LastEvaluatedKey: NotRequired[dict[str, AttributeValueTypeDef]]
|
|
1480
1474
|
|
|
1481
1475
|
class TransactGetItemsOutputTypeDef(TypedDict):
|
|
1482
|
-
ConsumedCapacity:
|
|
1483
|
-
Responses:
|
|
1476
|
+
ConsumedCapacity: list[ConsumedCapacityTypeDef]
|
|
1477
|
+
Responses: list[ItemResponseTypeDef]
|
|
1484
1478
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1485
1479
|
|
|
1486
1480
|
class TransactWriteItemsOutputTypeDef(TypedDict):
|
|
1487
|
-
ConsumedCapacity:
|
|
1488
|
-
ItemCollectionMetrics:
|
|
1481
|
+
ConsumedCapacity: list[ConsumedCapacityTypeDef]
|
|
1482
|
+
ItemCollectionMetrics: dict[str, list[ItemCollectionMetricsTypeDef]]
|
|
1489
1483
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1490
1484
|
|
|
1491
1485
|
class UpdateItemOutputTableTypeDef(TypedDict):
|
|
1492
|
-
Attributes:
|
|
1486
|
+
Attributes: dict[str, TableAttributeValueTypeDef]
|
|
1493
1487
|
ConsumedCapacity: ConsumedCapacityTypeDef
|
|
1494
1488
|
ItemCollectionMetrics: ItemCollectionMetricsTableTypeDef
|
|
1495
1489
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1496
1490
|
|
|
1497
1491
|
class UpdateItemOutputTypeDef(TypedDict):
|
|
1498
|
-
Attributes:
|
|
1492
|
+
Attributes: dict[str, AttributeValueTypeDef]
|
|
1499
1493
|
ConsumedCapacity: ConsumedCapacityTypeDef
|
|
1500
1494
|
ItemCollectionMetrics: ItemCollectionMetricsTypeDef
|
|
1501
1495
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
@@ -1509,7 +1503,7 @@ class UpdateContinuousBackupsOutputTypeDef(TypedDict):
|
|
|
1509
1503
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1510
1504
|
|
|
1511
1505
|
class ListGlobalTablesOutputTypeDef(TypedDict):
|
|
1512
|
-
GlobalTables:
|
|
1506
|
+
GlobalTables: list[GlobalTableTypeDef]
|
|
1513
1507
|
LastEvaluatedGlobalTableName: str
|
|
1514
1508
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1515
1509
|
|
|
@@ -1563,7 +1557,7 @@ ReplicaDescriptionTypeDef = TypedDict(
|
|
|
1563
1557
|
"ProvisionedThroughputOverride": NotRequired[ProvisionedThroughputOverrideTypeDef],
|
|
1564
1558
|
"OnDemandThroughputOverride": NotRequired[OnDemandThroughputOverrideTypeDef],
|
|
1565
1559
|
"WarmThroughput": NotRequired[TableWarmThroughputDescriptionTypeDef],
|
|
1566
|
-
"GlobalSecondaryIndexes": NotRequired[
|
|
1560
|
+
"GlobalSecondaryIndexes": NotRequired[list[ReplicaGlobalSecondaryIndexDescriptionTypeDef]],
|
|
1567
1561
|
"ReplicaInaccessibleDateTime": NotRequired[datetime],
|
|
1568
1562
|
"ReplicaTableClassSummary": NotRequired[TableClassSummaryTypeDef],
|
|
1569
1563
|
},
|
|
@@ -1571,23 +1565,23 @@ ReplicaDescriptionTypeDef = TypedDict(
|
|
|
1571
1565
|
|
|
1572
1566
|
class TableCreationParametersOutputTypeDef(TypedDict):
|
|
1573
1567
|
TableName: str
|
|
1574
|
-
AttributeDefinitions:
|
|
1575
|
-
KeySchema:
|
|
1568
|
+
AttributeDefinitions: list[AttributeDefinitionTypeDef]
|
|
1569
|
+
KeySchema: list[KeySchemaElementTypeDef]
|
|
1576
1570
|
BillingMode: NotRequired[BillingModeType]
|
|
1577
1571
|
ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
|
|
1578
1572
|
OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
|
|
1579
1573
|
SSESpecification: NotRequired[SSESpecificationTypeDef]
|
|
1580
|
-
GlobalSecondaryIndexes: NotRequired[
|
|
1574
|
+
GlobalSecondaryIndexes: NotRequired[list[GlobalSecondaryIndexOutputTypeDef]]
|
|
1581
1575
|
|
|
1582
1576
|
class SourceTableFeatureDetailsTypeDef(TypedDict):
|
|
1583
|
-
LocalSecondaryIndexes: NotRequired[
|
|
1584
|
-
GlobalSecondaryIndexes: NotRequired[
|
|
1577
|
+
LocalSecondaryIndexes: NotRequired[list[LocalSecondaryIndexInfoTypeDef]]
|
|
1578
|
+
GlobalSecondaryIndexes: NotRequired[list[GlobalSecondaryIndexInfoTypeDef]]
|
|
1585
1579
|
StreamDescription: NotRequired[StreamSpecificationTypeDef]
|
|
1586
1580
|
TimeToLiveDescription: NotRequired[TimeToLiveDescriptionTypeDef]
|
|
1587
1581
|
SSEDescription: NotRequired[SSEDescriptionTypeDef]
|
|
1588
1582
|
|
|
1589
1583
|
class ListImportsOutputTypeDef(TypedDict):
|
|
1590
|
-
ImportSummaryList:
|
|
1584
|
+
ImportSummaryList: list[ImportSummaryTypeDef]
|
|
1591
1585
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1592
1586
|
NextToken: NotRequired[str]
|
|
1593
1587
|
|
|
@@ -1613,14 +1607,14 @@ class LocalSecondaryIndexTypeDef(TypedDict):
|
|
|
1613
1607
|
Projection: ProjectionUnionTypeDef
|
|
1614
1608
|
|
|
1615
1609
|
class BatchExecuteStatementOutputTypeDef(TypedDict):
|
|
1616
|
-
Responses:
|
|
1617
|
-
ConsumedCapacity:
|
|
1610
|
+
Responses: list[BatchStatementResponseTypeDef]
|
|
1611
|
+
ConsumedCapacity: list[ConsumedCapacityTypeDef]
|
|
1618
1612
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1619
1613
|
|
|
1620
1614
|
class BatchWriteItemOutputTypeDef(TypedDict):
|
|
1621
|
-
UnprocessedItems:
|
|
1622
|
-
ItemCollectionMetrics:
|
|
1623
|
-
ConsumedCapacity:
|
|
1615
|
+
UnprocessedItems: dict[str, list[WriteRequestOutputTypeDef]]
|
|
1616
|
+
ItemCollectionMetrics: dict[str, list[ItemCollectionMetricsTypeDef]]
|
|
1617
|
+
ConsumedCapacity: list[ConsumedCapacityTypeDef]
|
|
1624
1618
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1625
1619
|
|
|
1626
1620
|
class BatchExecuteStatementInputTypeDef(TypedDict):
|
|
@@ -1765,9 +1759,9 @@ class BatchGetItemInputServiceResourceBatchGetItemTypeDef(TypedDict):
|
|
|
1765
1759
|
ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
|
|
1766
1760
|
|
|
1767
1761
|
class BatchWriteItemOutputServiceResourceTypeDef(TypedDict):
|
|
1768
|
-
UnprocessedItems:
|
|
1769
|
-
ItemCollectionMetrics:
|
|
1770
|
-
ConsumedCapacity:
|
|
1762
|
+
UnprocessedItems: dict[str, list[WriteRequestServiceResourceOutputTypeDef]]
|
|
1763
|
+
ItemCollectionMetrics: dict[str, list[ItemCollectionMetricsServiceResourceTypeDef]]
|
|
1764
|
+
ConsumedCapacity: list[ConsumedCapacityTypeDef]
|
|
1771
1765
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1772
1766
|
|
|
1773
1767
|
class WriteRequestServiceResourceTypeDef(TypedDict):
|
|
@@ -1825,16 +1819,16 @@ class ExportTableToPointInTimeInputTypeDef(TypedDict):
|
|
|
1825
1819
|
IncrementalExportSpecification: NotRequired[IncrementalExportSpecificationUnionTypeDef]
|
|
1826
1820
|
|
|
1827
1821
|
class GlobalTableDescriptionTypeDef(TypedDict):
|
|
1828
|
-
ReplicationGroup: NotRequired[
|
|
1822
|
+
ReplicationGroup: NotRequired[list[ReplicaDescriptionTypeDef]]
|
|
1829
1823
|
GlobalTableArn: NotRequired[str]
|
|
1830
1824
|
CreationDateTime: NotRequired[datetime]
|
|
1831
1825
|
GlobalTableStatus: NotRequired[GlobalTableStatusType]
|
|
1832
1826
|
GlobalTableName: NotRequired[str]
|
|
1833
1827
|
|
|
1834
1828
|
class TableDescriptionTypeDef(TypedDict):
|
|
1835
|
-
AttributeDefinitions: NotRequired[
|
|
1829
|
+
AttributeDefinitions: NotRequired[list[AttributeDefinitionTypeDef]]
|
|
1836
1830
|
TableName: NotRequired[str]
|
|
1837
|
-
KeySchema: NotRequired[
|
|
1831
|
+
KeySchema: NotRequired[list[KeySchemaElementTypeDef]]
|
|
1838
1832
|
TableStatus: NotRequired[TableStatusType]
|
|
1839
1833
|
CreationDateTime: NotRequired[datetime]
|
|
1840
1834
|
ProvisionedThroughput: NotRequired[ProvisionedThroughputDescriptionTypeDef]
|
|
@@ -1843,14 +1837,14 @@ class TableDescriptionTypeDef(TypedDict):
|
|
|
1843
1837
|
TableArn: NotRequired[str]
|
|
1844
1838
|
TableId: NotRequired[str]
|
|
1845
1839
|
BillingModeSummary: NotRequired[BillingModeSummaryTypeDef]
|
|
1846
|
-
LocalSecondaryIndexes: NotRequired[
|
|
1847
|
-
GlobalSecondaryIndexes: NotRequired[
|
|
1840
|
+
LocalSecondaryIndexes: NotRequired[list[LocalSecondaryIndexDescriptionTypeDef]]
|
|
1841
|
+
GlobalSecondaryIndexes: NotRequired[list[GlobalSecondaryIndexDescriptionTypeDef]]
|
|
1848
1842
|
StreamSpecification: NotRequired[StreamSpecificationTypeDef]
|
|
1849
1843
|
LatestStreamLabel: NotRequired[str]
|
|
1850
1844
|
LatestStreamArn: NotRequired[str]
|
|
1851
1845
|
GlobalTableVersion: NotRequired[str]
|
|
1852
|
-
Replicas: NotRequired[
|
|
1853
|
-
GlobalTableWitnesses: NotRequired[
|
|
1846
|
+
Replicas: NotRequired[list[ReplicaDescriptionTypeDef]]
|
|
1847
|
+
GlobalTableWitnesses: NotRequired[list[GlobalTableWitnessDescriptionTypeDef]]
|
|
1854
1848
|
RestoreSummary: NotRequired[RestoreSummaryTypeDef]
|
|
1855
1849
|
SSEDescription: NotRequired[SSEDescriptionTypeDef]
|
|
1856
1850
|
ArchivalSummary: NotRequired[ArchivalSummaryTypeDef]
|
|
@@ -1931,7 +1925,7 @@ ReplicaAutoScalingDescriptionTypeDef = TypedDict(
|
|
|
1931
1925
|
{
|
|
1932
1926
|
"RegionName": NotRequired[str],
|
|
1933
1927
|
"GlobalSecondaryIndexes": NotRequired[
|
|
1934
|
-
|
|
1928
|
+
list[ReplicaGlobalSecondaryIndexAutoScalingDescriptionTypeDef]
|
|
1935
1929
|
],
|
|
1936
1930
|
"ReplicaProvisionedReadCapacityAutoScalingSettings": NotRequired[
|
|
1937
1931
|
AutoScalingSettingsDescriptionTypeDef
|
|
@@ -1957,7 +1951,7 @@ ReplicaSettingsDescriptionTypeDef = TypedDict(
|
|
|
1957
1951
|
AutoScalingSettingsDescriptionTypeDef
|
|
1958
1952
|
],
|
|
1959
1953
|
"ReplicaGlobalSecondaryIndexSettings": NotRequired[
|
|
1960
|
-
|
|
1954
|
+
list[ReplicaGlobalSecondaryIndexSettingsDescriptionTypeDef]
|
|
1961
1955
|
],
|
|
1962
1956
|
"ReplicaTableClassSummary": NotRequired[TableClassSummaryTypeDef],
|
|
1963
1957
|
},
|
|
@@ -2142,16 +2136,16 @@ class BatchWriteItemInputServiceResourceBatchWriteItemTypeDef(TypedDict):
|
|
|
2142
2136
|
class TableAutoScalingDescriptionTypeDef(TypedDict):
|
|
2143
2137
|
TableName: NotRequired[str]
|
|
2144
2138
|
TableStatus: NotRequired[TableStatusType]
|
|
2145
|
-
Replicas: NotRequired[
|
|
2139
|
+
Replicas: NotRequired[list[ReplicaAutoScalingDescriptionTypeDef]]
|
|
2146
2140
|
|
|
2147
2141
|
class DescribeGlobalTableSettingsOutputTypeDef(TypedDict):
|
|
2148
2142
|
GlobalTableName: str
|
|
2149
|
-
ReplicaSettings:
|
|
2143
|
+
ReplicaSettings: list[ReplicaSettingsDescriptionTypeDef]
|
|
2150
2144
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
2151
2145
|
|
|
2152
2146
|
class UpdateGlobalTableSettingsOutputTypeDef(TypedDict):
|
|
2153
2147
|
GlobalTableName: str
|
|
2154
|
-
ReplicaSettings:
|
|
2148
|
+
ReplicaSettings: list[ReplicaSettingsDescriptionTypeDef]
|
|
2155
2149
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
2156
2150
|
|
|
2157
2151
|
class UpdateTableReplicaAutoScalingInputTypeDef(TypedDict):
|
types_boto3_dynamodb/version.py
CHANGED