types-boto3-dynamodb 1.40.44__py3-none-any.whl → 1.41.0__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 +4 -7
- types_boto3_dynamodb/literals.pyi +4 -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.44.dist-info → types_boto3_dynamodb-1.41.0.dist-info}/METADATA +11 -25
- types_boto3_dynamodb-1.41.0.dist-info/RECORD +22 -0
- types_boto3_dynamodb-1.40.44.dist-info/RECORD +0 -22
- {types_boto3_dynamodb-1.40.44.dist-info → types_boto3_dynamodb-1.41.0.dist-info}/WHEEL +0 -0
- {types_boto3_dynamodb-1.40.44.dist-info → types_boto3_dynamodb-1.41.0.dist-info}/licenses/LICENSE +0 -0
- {types_boto3_dynamodb-1.40.44.dist-info → types_boto3_dynamodb-1.41.0.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:
|
|
@@ -407,11 +401,11 @@ TableAttributeValueTypeDef = Union[
|
|
|
407
401
|
int,
|
|
408
402
|
Decimal,
|
|
409
403
|
bool,
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
404
|
+
set[int],
|
|
405
|
+
set[Decimal],
|
|
406
|
+
set[str],
|
|
407
|
+
set[bytes],
|
|
408
|
+
set[bytearray],
|
|
415
409
|
Sequence[Any],
|
|
416
410
|
Mapping[str, Any],
|
|
417
411
|
None,
|
|
@@ -458,7 +452,7 @@ class BackupSummaryTypeDef(TypedDict):
|
|
|
458
452
|
class ResponseMetadataTypeDef(TypedDict):
|
|
459
453
|
RequestId: str
|
|
460
454
|
HTTPStatusCode: int
|
|
461
|
-
HTTPHeaders:
|
|
455
|
+
HTTPHeaders: dict[str, str]
|
|
462
456
|
RetryAttempts: int
|
|
463
457
|
HostId: NotRequired[str]
|
|
464
458
|
|
|
@@ -562,7 +556,7 @@ class TagTypeDef(TypedDict):
|
|
|
562
556
|
|
|
563
557
|
class CsvOptionsOutputTypeDef(TypedDict):
|
|
564
558
|
Delimiter: NotRequired[str]
|
|
565
|
-
HeaderList: NotRequired[
|
|
559
|
+
HeaderList: NotRequired[list[str]]
|
|
566
560
|
|
|
567
561
|
|
|
568
562
|
class CsvOptionsTypeDef(TypedDict):
|
|
@@ -710,7 +704,7 @@ class GlobalSecondaryIndexWarmThroughputDescriptionTypeDef(TypedDict):
|
|
|
710
704
|
|
|
711
705
|
class ProjectionOutputTypeDef(TypedDict):
|
|
712
706
|
ProjectionType: NotRequired[ProjectionTypeType]
|
|
713
|
-
NonKeyAttributes: NotRequired[
|
|
707
|
+
NonKeyAttributes: NotRequired[list[str]]
|
|
714
708
|
|
|
715
709
|
|
|
716
710
|
class ProvisionedThroughputDescriptionTypeDef(TypedDict):
|
|
@@ -823,7 +817,7 @@ class SSEDescriptionTypeDef(TypedDict):
|
|
|
823
817
|
|
|
824
818
|
|
|
825
819
|
class TableBatchWriterRequestTypeDef(TypedDict):
|
|
826
|
-
overwrite_by_pkeys: NotRequired[
|
|
820
|
+
overwrite_by_pkeys: NotRequired[list[str]]
|
|
827
821
|
|
|
828
822
|
|
|
829
823
|
class TimeToLiveSpecificationTypeDef(TypedDict):
|
|
@@ -850,32 +844,32 @@ class UpdateKinesisStreamingConfigurationTypeDef(TypedDict):
|
|
|
850
844
|
class BatchStatementErrorTypeDef(TypedDict):
|
|
851
845
|
Code: NotRequired[BatchStatementErrorCodeEnumType]
|
|
852
846
|
Message: NotRequired[str]
|
|
853
|
-
Item: NotRequired[
|
|
847
|
+
Item: NotRequired[dict[str, AttributeValueTypeDef]]
|
|
854
848
|
|
|
855
849
|
|
|
856
850
|
class DeleteRequestOutputTypeDef(TypedDict):
|
|
857
|
-
Key:
|
|
851
|
+
Key: dict[str, AttributeValueTypeDef]
|
|
858
852
|
|
|
859
853
|
|
|
860
854
|
class ItemCollectionMetricsTypeDef(TypedDict):
|
|
861
|
-
ItemCollectionKey: NotRequired[
|
|
862
|
-
SizeEstimateRangeGB: NotRequired[
|
|
855
|
+
ItemCollectionKey: NotRequired[dict[str, AttributeValueTypeDef]]
|
|
856
|
+
SizeEstimateRangeGB: NotRequired[list[float]]
|
|
863
857
|
|
|
864
858
|
|
|
865
859
|
class ItemResponseTypeDef(TypedDict):
|
|
866
|
-
Item: NotRequired[
|
|
860
|
+
Item: NotRequired[dict[str, AttributeValueTypeDef]]
|
|
867
861
|
|
|
868
862
|
|
|
869
863
|
class KeysAndAttributesOutputTypeDef(TypedDict):
|
|
870
|
-
Keys:
|
|
871
|
-
AttributesToGet: NotRequired[
|
|
864
|
+
Keys: list[dict[str, AttributeValueTypeDef]]
|
|
865
|
+
AttributesToGet: NotRequired[list[str]]
|
|
872
866
|
ConsistentRead: NotRequired[bool]
|
|
873
867
|
ProjectionExpression: NotRequired[str]
|
|
874
|
-
ExpressionAttributeNames: NotRequired[
|
|
868
|
+
ExpressionAttributeNames: NotRequired[dict[str, str]]
|
|
875
869
|
|
|
876
870
|
|
|
877
871
|
class PutRequestOutputTypeDef(TypedDict):
|
|
878
|
-
Item:
|
|
872
|
+
Item: dict[str, AttributeValueTypeDef]
|
|
879
873
|
|
|
880
874
|
|
|
881
875
|
UniversalAttributeValueTypeDef = Union[
|
|
@@ -886,11 +880,11 @@ UniversalAttributeValueTypeDef = Union[
|
|
|
886
880
|
int,
|
|
887
881
|
Decimal,
|
|
888
882
|
bool,
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
883
|
+
set[int],
|
|
884
|
+
set[Decimal],
|
|
885
|
+
set[str],
|
|
886
|
+
set[bytes],
|
|
887
|
+
set[bytearray],
|
|
894
888
|
Sequence[Any],
|
|
895
889
|
Mapping[str, Any],
|
|
896
890
|
None,
|
|
@@ -908,7 +902,7 @@ class ConditionTableTypeDef(TypedDict):
|
|
|
908
902
|
|
|
909
903
|
|
|
910
904
|
class DeleteRequestServiceResourceOutputTypeDef(TypedDict):
|
|
911
|
-
Key:
|
|
905
|
+
Key: dict[str, TableAttributeValueTypeDef]
|
|
912
906
|
|
|
913
907
|
|
|
914
908
|
class DeleteRequestServiceResourceTypeDef(TypedDict):
|
|
@@ -932,21 +926,21 @@ class GetItemInputTableGetItemTypeDef(TypedDict):
|
|
|
932
926
|
|
|
933
927
|
|
|
934
928
|
class ItemCollectionMetricsServiceResourceTypeDef(TypedDict):
|
|
935
|
-
ItemCollectionKey: NotRequired[
|
|
936
|
-
SizeEstimateRangeGB: NotRequired[
|
|
929
|
+
ItemCollectionKey: NotRequired[dict[str, TableAttributeValueTypeDef]]
|
|
930
|
+
SizeEstimateRangeGB: NotRequired[list[float]]
|
|
937
931
|
|
|
938
932
|
|
|
939
933
|
class ItemCollectionMetricsTableTypeDef(TypedDict):
|
|
940
|
-
ItemCollectionKey: NotRequired[
|
|
941
|
-
SizeEstimateRangeGB: NotRequired[
|
|
934
|
+
ItemCollectionKey: NotRequired[dict[str, TableAttributeValueTypeDef]]
|
|
935
|
+
SizeEstimateRangeGB: NotRequired[list[float]]
|
|
942
936
|
|
|
943
937
|
|
|
944
938
|
class KeysAndAttributesServiceResourceOutputTypeDef(TypedDict):
|
|
945
|
-
Keys:
|
|
946
|
-
AttributesToGet: NotRequired[
|
|
939
|
+
Keys: list[dict[str, TableAttributeValueTypeDef]]
|
|
940
|
+
AttributesToGet: NotRequired[list[str]]
|
|
947
941
|
ConsistentRead: NotRequired[bool]
|
|
948
942
|
ProjectionExpression: NotRequired[str]
|
|
949
|
-
ExpressionAttributeNames: NotRequired[
|
|
943
|
+
ExpressionAttributeNames: NotRequired[dict[str, str]]
|
|
950
944
|
|
|
951
945
|
|
|
952
946
|
class KeysAndAttributesServiceResourceTypeDef(TypedDict):
|
|
@@ -958,7 +952,7 @@ class KeysAndAttributesServiceResourceTypeDef(TypedDict):
|
|
|
958
952
|
|
|
959
953
|
|
|
960
954
|
class PutRequestServiceResourceOutputTypeDef(TypedDict):
|
|
961
|
-
Item:
|
|
955
|
+
Item: dict[str, TableAttributeValueTypeDef]
|
|
962
956
|
|
|
963
957
|
|
|
964
958
|
class PutRequestServiceResourceTypeDef(TypedDict):
|
|
@@ -1008,13 +1002,13 @@ class GetResourcePolicyOutputTypeDef(TypedDict):
|
|
|
1008
1002
|
|
|
1009
1003
|
|
|
1010
1004
|
class ListBackupsOutputTypeDef(TypedDict):
|
|
1011
|
-
BackupSummaries:
|
|
1005
|
+
BackupSummaries: list[BackupSummaryTypeDef]
|
|
1012
1006
|
LastEvaluatedBackupArn: str
|
|
1013
1007
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1014
1008
|
|
|
1015
1009
|
|
|
1016
1010
|
class ListTablesOutputTypeDef(TypedDict):
|
|
1017
|
-
TableNames:
|
|
1011
|
+
TableNames: list[str]
|
|
1018
1012
|
LastEvaluatedTableName: str
|
|
1019
1013
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1020
1014
|
|
|
@@ -1038,8 +1032,8 @@ class ConsumedCapacityTypeDef(TypedDict):
|
|
|
1038
1032
|
ReadCapacityUnits: NotRequired[float]
|
|
1039
1033
|
WriteCapacityUnits: NotRequired[float]
|
|
1040
1034
|
Table: NotRequired[CapacityTypeDef]
|
|
1041
|
-
LocalSecondaryIndexes: NotRequired[
|
|
1042
|
-
GlobalSecondaryIndexes: NotRequired[
|
|
1035
|
+
LocalSecondaryIndexes: NotRequired[dict[str, CapacityTypeDef]]
|
|
1036
|
+
GlobalSecondaryIndexes: NotRequired[dict[str, CapacityTypeDef]]
|
|
1043
1037
|
|
|
1044
1038
|
|
|
1045
1039
|
class ContinuousBackupsDescriptionTypeDef(TypedDict):
|
|
@@ -1048,7 +1042,7 @@ class ContinuousBackupsDescriptionTypeDef(TypedDict):
|
|
|
1048
1042
|
|
|
1049
1043
|
|
|
1050
1044
|
class ListContributorInsightsOutputTypeDef(TypedDict):
|
|
1051
|
-
ContributorInsightsSummaries:
|
|
1045
|
+
ContributorInsightsSummaries: list[ContributorInsightsSummaryTypeDef]
|
|
1052
1046
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1053
1047
|
NextToken: NotRequired[str]
|
|
1054
1048
|
|
|
@@ -1056,7 +1050,7 @@ class ListContributorInsightsOutputTypeDef(TypedDict):
|
|
|
1056
1050
|
class SourceTableDetailsTypeDef(TypedDict):
|
|
1057
1051
|
TableName: str
|
|
1058
1052
|
TableId: str
|
|
1059
|
-
KeySchema:
|
|
1053
|
+
KeySchema: list[KeySchemaElementTypeDef]
|
|
1060
1054
|
TableCreationDateTime: datetime
|
|
1061
1055
|
ProvisionedThroughput: ProvisionedThroughputTypeDef
|
|
1062
1056
|
TableArn: NotRequired[str]
|
|
@@ -1080,7 +1074,7 @@ class CreateGlobalTableInputTypeDef(TypedDict):
|
|
|
1080
1074
|
|
|
1081
1075
|
class GlobalTableTypeDef(TypedDict):
|
|
1082
1076
|
GlobalTableName: NotRequired[str]
|
|
1083
|
-
ReplicationGroup: NotRequired[
|
|
1077
|
+
ReplicationGroup: NotRequired[list[ReplicaTypeDef]]
|
|
1084
1078
|
|
|
1085
1079
|
|
|
1086
1080
|
class ReplicaGlobalSecondaryIndexTypeDef(TypedDict):
|
|
@@ -1090,7 +1084,7 @@ class ReplicaGlobalSecondaryIndexTypeDef(TypedDict):
|
|
|
1090
1084
|
|
|
1091
1085
|
|
|
1092
1086
|
class ListTagsOfResourceOutputTypeDef(TypedDict):
|
|
1093
|
-
Tags:
|
|
1087
|
+
Tags: list[TagTypeDef]
|
|
1094
1088
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1095
1089
|
NextToken: NotRequired[str]
|
|
1096
1090
|
|
|
@@ -1121,7 +1115,7 @@ class ReplicaUpdateTypeDef(TypedDict):
|
|
|
1121
1115
|
class DescribeContributorInsightsOutputTypeDef(TypedDict):
|
|
1122
1116
|
TableName: str
|
|
1123
1117
|
IndexName: str
|
|
1124
|
-
ContributorInsightsRuleList:
|
|
1118
|
+
ContributorInsightsRuleList: list[str]
|
|
1125
1119
|
ContributorInsightsStatus: ContributorInsightsStatusType
|
|
1126
1120
|
LastUpdateDateTime: datetime
|
|
1127
1121
|
FailureException: FailureExceptionTypeDef
|
|
@@ -1130,13 +1124,13 @@ class DescribeContributorInsightsOutputTypeDef(TypedDict):
|
|
|
1130
1124
|
|
|
1131
1125
|
|
|
1132
1126
|
class DescribeEndpointsResponseTypeDef(TypedDict):
|
|
1133
|
-
Endpoints:
|
|
1127
|
+
Endpoints: list[EndpointTypeDef]
|
|
1134
1128
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1135
1129
|
|
|
1136
1130
|
|
|
1137
1131
|
class DescribeKinesisStreamingDestinationOutputTypeDef(TypedDict):
|
|
1138
1132
|
TableName: str
|
|
1139
|
-
KinesisDataStreamDestinations:
|
|
1133
|
+
KinesisDataStreamDestinations: list[KinesisDataStreamDestinationTypeDef]
|
|
1140
1134
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1141
1135
|
|
|
1142
1136
|
|
|
@@ -1200,7 +1194,7 @@ class ExportDescriptionTypeDef(TypedDict):
|
|
|
1200
1194
|
|
|
1201
1195
|
|
|
1202
1196
|
class ListExportsOutputTypeDef(TypedDict):
|
|
1203
|
-
ExportSummaries:
|
|
1197
|
+
ExportSummaries: list[ExportSummaryTypeDef]
|
|
1204
1198
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1205
1199
|
NextToken: NotRequired[str]
|
|
1206
1200
|
|
|
@@ -1229,7 +1223,7 @@ class ReplicaGlobalSecondaryIndexDescriptionTypeDef(TypedDict):
|
|
|
1229
1223
|
|
|
1230
1224
|
class GlobalSecondaryIndexInfoTypeDef(TypedDict):
|
|
1231
1225
|
IndexName: NotRequired[str]
|
|
1232
|
-
KeySchema: NotRequired[
|
|
1226
|
+
KeySchema: NotRequired[list[KeySchemaElementTypeDef]]
|
|
1233
1227
|
Projection: NotRequired[ProjectionOutputTypeDef]
|
|
1234
1228
|
ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
|
|
1235
1229
|
OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
|
|
@@ -1237,7 +1231,7 @@ class GlobalSecondaryIndexInfoTypeDef(TypedDict):
|
|
|
1237
1231
|
|
|
1238
1232
|
class GlobalSecondaryIndexOutputTypeDef(TypedDict):
|
|
1239
1233
|
IndexName: str
|
|
1240
|
-
KeySchema:
|
|
1234
|
+
KeySchema: list[KeySchemaElementTypeDef]
|
|
1241
1235
|
Projection: ProjectionOutputTypeDef
|
|
1242
1236
|
ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
|
|
1243
1237
|
OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
|
|
@@ -1246,7 +1240,7 @@ class GlobalSecondaryIndexOutputTypeDef(TypedDict):
|
|
|
1246
1240
|
|
|
1247
1241
|
class LocalSecondaryIndexDescriptionTypeDef(TypedDict):
|
|
1248
1242
|
IndexName: NotRequired[str]
|
|
1249
|
-
KeySchema: NotRequired[
|
|
1243
|
+
KeySchema: NotRequired[list[KeySchemaElementTypeDef]]
|
|
1250
1244
|
Projection: NotRequired[ProjectionOutputTypeDef]
|
|
1251
1245
|
IndexSizeBytes: NotRequired[int]
|
|
1252
1246
|
ItemCount: NotRequired[int]
|
|
@@ -1255,13 +1249,13 @@ class LocalSecondaryIndexDescriptionTypeDef(TypedDict):
|
|
|
1255
1249
|
|
|
1256
1250
|
class LocalSecondaryIndexInfoTypeDef(TypedDict):
|
|
1257
1251
|
IndexName: NotRequired[str]
|
|
1258
|
-
KeySchema: NotRequired[
|
|
1252
|
+
KeySchema: NotRequired[list[KeySchemaElementTypeDef]]
|
|
1259
1253
|
Projection: NotRequired[ProjectionOutputTypeDef]
|
|
1260
1254
|
|
|
1261
1255
|
|
|
1262
1256
|
class GlobalSecondaryIndexDescriptionTypeDef(TypedDict):
|
|
1263
1257
|
IndexName: NotRequired[str]
|
|
1264
|
-
KeySchema: NotRequired[
|
|
1258
|
+
KeySchema: NotRequired[list[KeySchemaElementTypeDef]]
|
|
1265
1259
|
Projection: NotRequired[ProjectionOutputTypeDef]
|
|
1266
1260
|
IndexStatus: NotRequired[IndexStatusType]
|
|
1267
1261
|
Backfilling: NotRequired[bool]
|
|
@@ -1336,7 +1330,7 @@ class UpdateKinesisStreamingDestinationOutputTypeDef(TypedDict):
|
|
|
1336
1330
|
class BatchStatementResponseTypeDef(TypedDict):
|
|
1337
1331
|
Error: NotRequired[BatchStatementErrorTypeDef]
|
|
1338
1332
|
TableName: NotRequired[str]
|
|
1339
|
-
Item: NotRequired[
|
|
1333
|
+
Item: NotRequired[dict[str, AttributeValueTypeDef]]
|
|
1340
1334
|
|
|
1341
1335
|
|
|
1342
1336
|
class WriteRequestOutputTypeDef(TypedDict):
|
|
@@ -1557,7 +1551,7 @@ class AutoScalingSettingsDescriptionTypeDef(TypedDict):
|
|
|
1557
1551
|
MaximumUnits: NotRequired[int]
|
|
1558
1552
|
AutoScalingDisabled: NotRequired[bool]
|
|
1559
1553
|
AutoScalingRoleArn: NotRequired[str]
|
|
1560
|
-
ScalingPolicies: NotRequired[
|
|
1554
|
+
ScalingPolicies: NotRequired[list[AutoScalingPolicyDescriptionTypeDef]]
|
|
1561
1555
|
|
|
1562
1556
|
|
|
1563
1557
|
class AutoScalingSettingsUpdateTypeDef(TypedDict):
|
|
@@ -1569,130 +1563,130 @@ class AutoScalingSettingsUpdateTypeDef(TypedDict):
|
|
|
1569
1563
|
|
|
1570
1564
|
|
|
1571
1565
|
class BatchGetItemOutputServiceResourceTypeDef(TypedDict):
|
|
1572
|
-
Responses:
|
|
1573
|
-
UnprocessedKeys:
|
|
1574
|
-
ConsumedCapacity:
|
|
1566
|
+
Responses: dict[str, list[dict[str, TableAttributeValueTypeDef]]]
|
|
1567
|
+
UnprocessedKeys: dict[str, KeysAndAttributesServiceResourceOutputTypeDef]
|
|
1568
|
+
ConsumedCapacity: list[ConsumedCapacityTypeDef]
|
|
1575
1569
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1576
1570
|
|
|
1577
1571
|
|
|
1578
1572
|
class BatchGetItemOutputTypeDef(TypedDict):
|
|
1579
|
-
Responses:
|
|
1580
|
-
UnprocessedKeys:
|
|
1581
|
-
ConsumedCapacity:
|
|
1573
|
+
Responses: dict[str, list[dict[str, AttributeValueTypeDef]]]
|
|
1574
|
+
UnprocessedKeys: dict[str, KeysAndAttributesOutputTypeDef]
|
|
1575
|
+
ConsumedCapacity: list[ConsumedCapacityTypeDef]
|
|
1582
1576
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1583
1577
|
|
|
1584
1578
|
|
|
1585
1579
|
class DeleteItemOutputTableTypeDef(TypedDict):
|
|
1586
|
-
Attributes:
|
|
1580
|
+
Attributes: dict[str, TableAttributeValueTypeDef]
|
|
1587
1581
|
ConsumedCapacity: ConsumedCapacityTypeDef
|
|
1588
1582
|
ItemCollectionMetrics: ItemCollectionMetricsTableTypeDef
|
|
1589
1583
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1590
1584
|
|
|
1591
1585
|
|
|
1592
1586
|
class DeleteItemOutputTypeDef(TypedDict):
|
|
1593
|
-
Attributes:
|
|
1587
|
+
Attributes: dict[str, AttributeValueTypeDef]
|
|
1594
1588
|
ConsumedCapacity: ConsumedCapacityTypeDef
|
|
1595
1589
|
ItemCollectionMetrics: ItemCollectionMetricsTypeDef
|
|
1596
1590
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1597
1591
|
|
|
1598
1592
|
|
|
1599
1593
|
class ExecuteStatementOutputTypeDef(TypedDict):
|
|
1600
|
-
Items:
|
|
1594
|
+
Items: list[dict[str, AttributeValueTypeDef]]
|
|
1601
1595
|
ConsumedCapacity: ConsumedCapacityTypeDef
|
|
1602
1596
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1603
1597
|
NextToken: NotRequired[str]
|
|
1604
|
-
LastEvaluatedKey: NotRequired[
|
|
1598
|
+
LastEvaluatedKey: NotRequired[dict[str, AttributeValueTypeDef]]
|
|
1605
1599
|
|
|
1606
1600
|
|
|
1607
1601
|
class ExecuteTransactionOutputTypeDef(TypedDict):
|
|
1608
|
-
Responses:
|
|
1609
|
-
ConsumedCapacity:
|
|
1602
|
+
Responses: list[ItemResponseTypeDef]
|
|
1603
|
+
ConsumedCapacity: list[ConsumedCapacityTypeDef]
|
|
1610
1604
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1611
1605
|
|
|
1612
1606
|
|
|
1613
1607
|
class GetItemOutputTableTypeDef(TypedDict):
|
|
1614
1608
|
ConsumedCapacity: ConsumedCapacityTypeDef
|
|
1615
1609
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1616
|
-
Item: NotRequired[
|
|
1610
|
+
Item: NotRequired[dict[str, TableAttributeValueTypeDef]]
|
|
1617
1611
|
|
|
1618
1612
|
|
|
1619
1613
|
class GetItemOutputTypeDef(TypedDict):
|
|
1620
1614
|
ConsumedCapacity: ConsumedCapacityTypeDef
|
|
1621
1615
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1622
|
-
Item: NotRequired[
|
|
1616
|
+
Item: NotRequired[dict[str, AttributeValueTypeDef]]
|
|
1623
1617
|
|
|
1624
1618
|
|
|
1625
1619
|
class PutItemOutputTableTypeDef(TypedDict):
|
|
1626
|
-
Attributes:
|
|
1620
|
+
Attributes: dict[str, TableAttributeValueTypeDef]
|
|
1627
1621
|
ConsumedCapacity: ConsumedCapacityTypeDef
|
|
1628
1622
|
ItemCollectionMetrics: ItemCollectionMetricsTableTypeDef
|
|
1629
1623
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1630
1624
|
|
|
1631
1625
|
|
|
1632
1626
|
class PutItemOutputTypeDef(TypedDict):
|
|
1633
|
-
Attributes:
|
|
1627
|
+
Attributes: dict[str, AttributeValueTypeDef]
|
|
1634
1628
|
ConsumedCapacity: ConsumedCapacityTypeDef
|
|
1635
1629
|
ItemCollectionMetrics: ItemCollectionMetricsTypeDef
|
|
1636
1630
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1637
1631
|
|
|
1638
1632
|
|
|
1639
1633
|
class QueryOutputTableTypeDef(TypedDict):
|
|
1640
|
-
Items:
|
|
1634
|
+
Items: list[dict[str, TableAttributeValueTypeDef]]
|
|
1641
1635
|
Count: int
|
|
1642
1636
|
ScannedCount: int
|
|
1643
1637
|
ConsumedCapacity: ConsumedCapacityTypeDef
|
|
1644
1638
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1645
|
-
LastEvaluatedKey: NotRequired[
|
|
1639
|
+
LastEvaluatedKey: NotRequired[dict[str, TableAttributeValueTypeDef]]
|
|
1646
1640
|
|
|
1647
1641
|
|
|
1648
1642
|
class QueryOutputTypeDef(TypedDict):
|
|
1649
|
-
Items:
|
|
1643
|
+
Items: list[dict[str, AttributeValueTypeDef]]
|
|
1650
1644
|
Count: int
|
|
1651
1645
|
ScannedCount: int
|
|
1652
1646
|
ConsumedCapacity: ConsumedCapacityTypeDef
|
|
1653
1647
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1654
|
-
LastEvaluatedKey: NotRequired[
|
|
1648
|
+
LastEvaluatedKey: NotRequired[dict[str, AttributeValueTypeDef]]
|
|
1655
1649
|
|
|
1656
1650
|
|
|
1657
1651
|
class ScanOutputTableTypeDef(TypedDict):
|
|
1658
|
-
Items:
|
|
1652
|
+
Items: list[dict[str, TableAttributeValueTypeDef]]
|
|
1659
1653
|
Count: int
|
|
1660
1654
|
ScannedCount: int
|
|
1661
1655
|
ConsumedCapacity: ConsumedCapacityTypeDef
|
|
1662
1656
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1663
|
-
LastEvaluatedKey: NotRequired[
|
|
1657
|
+
LastEvaluatedKey: NotRequired[dict[str, TableAttributeValueTypeDef]]
|
|
1664
1658
|
|
|
1665
1659
|
|
|
1666
1660
|
class ScanOutputTypeDef(TypedDict):
|
|
1667
|
-
Items:
|
|
1661
|
+
Items: list[dict[str, AttributeValueTypeDef]]
|
|
1668
1662
|
Count: int
|
|
1669
1663
|
ScannedCount: int
|
|
1670
1664
|
ConsumedCapacity: ConsumedCapacityTypeDef
|
|
1671
1665
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1672
|
-
LastEvaluatedKey: NotRequired[
|
|
1666
|
+
LastEvaluatedKey: NotRequired[dict[str, AttributeValueTypeDef]]
|
|
1673
1667
|
|
|
1674
1668
|
|
|
1675
1669
|
class TransactGetItemsOutputTypeDef(TypedDict):
|
|
1676
|
-
ConsumedCapacity:
|
|
1677
|
-
Responses:
|
|
1670
|
+
ConsumedCapacity: list[ConsumedCapacityTypeDef]
|
|
1671
|
+
Responses: list[ItemResponseTypeDef]
|
|
1678
1672
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1679
1673
|
|
|
1680
1674
|
|
|
1681
1675
|
class TransactWriteItemsOutputTypeDef(TypedDict):
|
|
1682
|
-
ConsumedCapacity:
|
|
1683
|
-
ItemCollectionMetrics:
|
|
1676
|
+
ConsumedCapacity: list[ConsumedCapacityTypeDef]
|
|
1677
|
+
ItemCollectionMetrics: dict[str, list[ItemCollectionMetricsTypeDef]]
|
|
1684
1678
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1685
1679
|
|
|
1686
1680
|
|
|
1687
1681
|
class UpdateItemOutputTableTypeDef(TypedDict):
|
|
1688
|
-
Attributes:
|
|
1682
|
+
Attributes: dict[str, TableAttributeValueTypeDef]
|
|
1689
1683
|
ConsumedCapacity: ConsumedCapacityTypeDef
|
|
1690
1684
|
ItemCollectionMetrics: ItemCollectionMetricsTableTypeDef
|
|
1691
1685
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1692
1686
|
|
|
1693
1687
|
|
|
1694
1688
|
class UpdateItemOutputTypeDef(TypedDict):
|
|
1695
|
-
Attributes:
|
|
1689
|
+
Attributes: dict[str, AttributeValueTypeDef]
|
|
1696
1690
|
ConsumedCapacity: ConsumedCapacityTypeDef
|
|
1697
1691
|
ItemCollectionMetrics: ItemCollectionMetricsTypeDef
|
|
1698
1692
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
@@ -1709,7 +1703,7 @@ class UpdateContinuousBackupsOutputTypeDef(TypedDict):
|
|
|
1709
1703
|
|
|
1710
1704
|
|
|
1711
1705
|
class ListGlobalTablesOutputTypeDef(TypedDict):
|
|
1712
|
-
GlobalTables:
|
|
1706
|
+
GlobalTables: list[GlobalTableTypeDef]
|
|
1713
1707
|
LastEvaluatedGlobalTableName: str
|
|
1714
1708
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1715
1709
|
|
|
@@ -1768,7 +1762,7 @@ ReplicaDescriptionTypeDef = TypedDict(
|
|
|
1768
1762
|
"ProvisionedThroughputOverride": NotRequired[ProvisionedThroughputOverrideTypeDef],
|
|
1769
1763
|
"OnDemandThroughputOverride": NotRequired[OnDemandThroughputOverrideTypeDef],
|
|
1770
1764
|
"WarmThroughput": NotRequired[TableWarmThroughputDescriptionTypeDef],
|
|
1771
|
-
"GlobalSecondaryIndexes": NotRequired[
|
|
1765
|
+
"GlobalSecondaryIndexes": NotRequired[list[ReplicaGlobalSecondaryIndexDescriptionTypeDef]],
|
|
1772
1766
|
"ReplicaInaccessibleDateTime": NotRequired[datetime],
|
|
1773
1767
|
"ReplicaTableClassSummary": NotRequired[TableClassSummaryTypeDef],
|
|
1774
1768
|
},
|
|
@@ -1777,25 +1771,25 @@ ReplicaDescriptionTypeDef = TypedDict(
|
|
|
1777
1771
|
|
|
1778
1772
|
class TableCreationParametersOutputTypeDef(TypedDict):
|
|
1779
1773
|
TableName: str
|
|
1780
|
-
AttributeDefinitions:
|
|
1781
|
-
KeySchema:
|
|
1774
|
+
AttributeDefinitions: list[AttributeDefinitionTypeDef]
|
|
1775
|
+
KeySchema: list[KeySchemaElementTypeDef]
|
|
1782
1776
|
BillingMode: NotRequired[BillingModeType]
|
|
1783
1777
|
ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
|
|
1784
1778
|
OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
|
|
1785
1779
|
SSESpecification: NotRequired[SSESpecificationTypeDef]
|
|
1786
|
-
GlobalSecondaryIndexes: NotRequired[
|
|
1780
|
+
GlobalSecondaryIndexes: NotRequired[list[GlobalSecondaryIndexOutputTypeDef]]
|
|
1787
1781
|
|
|
1788
1782
|
|
|
1789
1783
|
class SourceTableFeatureDetailsTypeDef(TypedDict):
|
|
1790
|
-
LocalSecondaryIndexes: NotRequired[
|
|
1791
|
-
GlobalSecondaryIndexes: NotRequired[
|
|
1784
|
+
LocalSecondaryIndexes: NotRequired[list[LocalSecondaryIndexInfoTypeDef]]
|
|
1785
|
+
GlobalSecondaryIndexes: NotRequired[list[GlobalSecondaryIndexInfoTypeDef]]
|
|
1792
1786
|
StreamDescription: NotRequired[StreamSpecificationTypeDef]
|
|
1793
1787
|
TimeToLiveDescription: NotRequired[TimeToLiveDescriptionTypeDef]
|
|
1794
1788
|
SSEDescription: NotRequired[SSEDescriptionTypeDef]
|
|
1795
1789
|
|
|
1796
1790
|
|
|
1797
1791
|
class ListImportsOutputTypeDef(TypedDict):
|
|
1798
|
-
ImportSummaryList:
|
|
1792
|
+
ImportSummaryList: list[ImportSummaryTypeDef]
|
|
1799
1793
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1800
1794
|
NextToken: NotRequired[str]
|
|
1801
1795
|
|
|
@@ -1825,15 +1819,15 @@ class LocalSecondaryIndexTypeDef(TypedDict):
|
|
|
1825
1819
|
|
|
1826
1820
|
|
|
1827
1821
|
class BatchExecuteStatementOutputTypeDef(TypedDict):
|
|
1828
|
-
Responses:
|
|
1829
|
-
ConsumedCapacity:
|
|
1822
|
+
Responses: list[BatchStatementResponseTypeDef]
|
|
1823
|
+
ConsumedCapacity: list[ConsumedCapacityTypeDef]
|
|
1830
1824
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1831
1825
|
|
|
1832
1826
|
|
|
1833
1827
|
class BatchWriteItemOutputTypeDef(TypedDict):
|
|
1834
|
-
UnprocessedItems:
|
|
1835
|
-
ItemCollectionMetrics:
|
|
1836
|
-
ConsumedCapacity:
|
|
1828
|
+
UnprocessedItems: dict[str, list[WriteRequestOutputTypeDef]]
|
|
1829
|
+
ItemCollectionMetrics: dict[str, list[ItemCollectionMetricsTypeDef]]
|
|
1830
|
+
ConsumedCapacity: list[ConsumedCapacityTypeDef]
|
|
1837
1831
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1838
1832
|
|
|
1839
1833
|
|
|
@@ -1994,9 +1988,9 @@ class BatchGetItemInputServiceResourceBatchGetItemTypeDef(TypedDict):
|
|
|
1994
1988
|
|
|
1995
1989
|
|
|
1996
1990
|
class BatchWriteItemOutputServiceResourceTypeDef(TypedDict):
|
|
1997
|
-
UnprocessedItems:
|
|
1998
|
-
ItemCollectionMetrics:
|
|
1999
|
-
ConsumedCapacity:
|
|
1991
|
+
UnprocessedItems: dict[str, list[WriteRequestServiceResourceOutputTypeDef]]
|
|
1992
|
+
ItemCollectionMetrics: dict[str, list[ItemCollectionMetricsServiceResourceTypeDef]]
|
|
1993
|
+
ConsumedCapacity: list[ConsumedCapacityTypeDef]
|
|
2000
1994
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
2001
1995
|
|
|
2002
1996
|
|
|
@@ -2064,7 +2058,7 @@ class ExportTableToPointInTimeInputTypeDef(TypedDict):
|
|
|
2064
2058
|
|
|
2065
2059
|
|
|
2066
2060
|
class GlobalTableDescriptionTypeDef(TypedDict):
|
|
2067
|
-
ReplicationGroup: NotRequired[
|
|
2061
|
+
ReplicationGroup: NotRequired[list[ReplicaDescriptionTypeDef]]
|
|
2068
2062
|
GlobalTableArn: NotRequired[str]
|
|
2069
2063
|
CreationDateTime: NotRequired[datetime]
|
|
2070
2064
|
GlobalTableStatus: NotRequired[GlobalTableStatusType]
|
|
@@ -2072,9 +2066,9 @@ class GlobalTableDescriptionTypeDef(TypedDict):
|
|
|
2072
2066
|
|
|
2073
2067
|
|
|
2074
2068
|
class TableDescriptionTypeDef(TypedDict):
|
|
2075
|
-
AttributeDefinitions: NotRequired[
|
|
2069
|
+
AttributeDefinitions: NotRequired[list[AttributeDefinitionTypeDef]]
|
|
2076
2070
|
TableName: NotRequired[str]
|
|
2077
|
-
KeySchema: NotRequired[
|
|
2071
|
+
KeySchema: NotRequired[list[KeySchemaElementTypeDef]]
|
|
2078
2072
|
TableStatus: NotRequired[TableStatusType]
|
|
2079
2073
|
CreationDateTime: NotRequired[datetime]
|
|
2080
2074
|
ProvisionedThroughput: NotRequired[ProvisionedThroughputDescriptionTypeDef]
|
|
@@ -2083,14 +2077,14 @@ class TableDescriptionTypeDef(TypedDict):
|
|
|
2083
2077
|
TableArn: NotRequired[str]
|
|
2084
2078
|
TableId: NotRequired[str]
|
|
2085
2079
|
BillingModeSummary: NotRequired[BillingModeSummaryTypeDef]
|
|
2086
|
-
LocalSecondaryIndexes: NotRequired[
|
|
2087
|
-
GlobalSecondaryIndexes: NotRequired[
|
|
2080
|
+
LocalSecondaryIndexes: NotRequired[list[LocalSecondaryIndexDescriptionTypeDef]]
|
|
2081
|
+
GlobalSecondaryIndexes: NotRequired[list[GlobalSecondaryIndexDescriptionTypeDef]]
|
|
2088
2082
|
StreamSpecification: NotRequired[StreamSpecificationTypeDef]
|
|
2089
2083
|
LatestStreamLabel: NotRequired[str]
|
|
2090
2084
|
LatestStreamArn: NotRequired[str]
|
|
2091
2085
|
GlobalTableVersion: NotRequired[str]
|
|
2092
|
-
Replicas: NotRequired[
|
|
2093
|
-
GlobalTableWitnesses: NotRequired[
|
|
2086
|
+
Replicas: NotRequired[list[ReplicaDescriptionTypeDef]]
|
|
2087
|
+
GlobalTableWitnesses: NotRequired[list[GlobalTableWitnessDescriptionTypeDef]]
|
|
2094
2088
|
RestoreSummary: NotRequired[RestoreSummaryTypeDef]
|
|
2095
2089
|
SSEDescription: NotRequired[SSEDescriptionTypeDef]
|
|
2096
2090
|
ArchivalSummary: NotRequired[ArchivalSummaryTypeDef]
|
|
@@ -2181,7 +2175,7 @@ ReplicaAutoScalingDescriptionTypeDef = TypedDict(
|
|
|
2181
2175
|
{
|
|
2182
2176
|
"RegionName": NotRequired[str],
|
|
2183
2177
|
"GlobalSecondaryIndexes": NotRequired[
|
|
2184
|
-
|
|
2178
|
+
list[ReplicaGlobalSecondaryIndexAutoScalingDescriptionTypeDef]
|
|
2185
2179
|
],
|
|
2186
2180
|
"ReplicaProvisionedReadCapacityAutoScalingSettings": NotRequired[
|
|
2187
2181
|
AutoScalingSettingsDescriptionTypeDef
|
|
@@ -2207,7 +2201,7 @@ ReplicaSettingsDescriptionTypeDef = TypedDict(
|
|
|
2207
2201
|
AutoScalingSettingsDescriptionTypeDef
|
|
2208
2202
|
],
|
|
2209
2203
|
"ReplicaGlobalSecondaryIndexSettings": NotRequired[
|
|
2210
|
-
|
|
2204
|
+
list[ReplicaGlobalSecondaryIndexSettingsDescriptionTypeDef]
|
|
2211
2205
|
],
|
|
2212
2206
|
"ReplicaTableClassSummary": NotRequired[TableClassSummaryTypeDef],
|
|
2213
2207
|
},
|
|
@@ -2414,18 +2408,18 @@ class BatchWriteItemInputServiceResourceBatchWriteItemTypeDef(TypedDict):
|
|
|
2414
2408
|
class TableAutoScalingDescriptionTypeDef(TypedDict):
|
|
2415
2409
|
TableName: NotRequired[str]
|
|
2416
2410
|
TableStatus: NotRequired[TableStatusType]
|
|
2417
|
-
Replicas: NotRequired[
|
|
2411
|
+
Replicas: NotRequired[list[ReplicaAutoScalingDescriptionTypeDef]]
|
|
2418
2412
|
|
|
2419
2413
|
|
|
2420
2414
|
class DescribeGlobalTableSettingsOutputTypeDef(TypedDict):
|
|
2421
2415
|
GlobalTableName: str
|
|
2422
|
-
ReplicaSettings:
|
|
2416
|
+
ReplicaSettings: list[ReplicaSettingsDescriptionTypeDef]
|
|
2423
2417
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
2424
2418
|
|
|
2425
2419
|
|
|
2426
2420
|
class UpdateGlobalTableSettingsOutputTypeDef(TypedDict):
|
|
2427
2421
|
GlobalTableName: str
|
|
2428
|
-
ReplicaSettings:
|
|
2422
|
+
ReplicaSettings: list[ReplicaSettingsDescriptionTypeDef]
|
|
2429
2423
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
2430
2424
|
|
|
2431
2425
|
|