types-boto3-dynamodb 1.35.74__py3-none-any.whl → 1.35.93__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.
@@ -1,7 +1,7 @@
1
1
  """
2
2
  Type annotations for dynamodb service type definitions.
3
3
 
4
- [Open documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/type_defs/)
4
+ [Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/type_defs/)
5
5
 
6
6
  Usage::
7
7
 
@@ -11,13 +11,15 @@ Usage::
11
11
  data: ArchivalSummaryTypeDef = ...
12
12
  ```
13
13
 
14
- Copyright 2024 Vlad Emelianov
14
+ Copyright 2025 Vlad Emelianov
15
15
  """
16
16
 
17
+ from __future__ import annotations
18
+
17
19
  import sys
18
20
  from datetime import datetime
19
21
  from decimal import Decimal
20
- from typing import Any, Dict, List, Mapping, Sequence, Set, Union
22
+ from typing import Any, Union
21
23
 
22
24
  from boto3.dynamodb.conditions import ConditionBase
23
25
 
@@ -64,6 +66,13 @@ from .literals import (
64
66
  TimeToLiveStatusType,
65
67
  )
66
68
 
69
+ if sys.version_info >= (3, 9):
70
+ from builtins import dict as Dict
71
+ from builtins import list as List
72
+ from builtins import set as Set
73
+ from collections.abc import Mapping, Sequence
74
+ else:
75
+ from typing import Dict, List, Mapping, Sequence, Set
67
76
  if sys.version_info >= (3, 12):
68
77
  from typing import NotRequired, TypedDict
69
78
  else:
@@ -159,8 +168,7 @@ __all__ = (
159
168
  "DescribeKinesisStreamingDestinationOutputTypeDef",
160
169
  "DescribeLimitsOutputTypeDef",
161
170
  "DescribeTableInputRequestTypeDef",
162
- "DescribeTableInputTableExistsWaitTypeDef",
163
- "DescribeTableInputTableNotExistsWaitTypeDef",
171
+ "DescribeTableInputWaitTypeDef",
164
172
  "DescribeTableOutputTypeDef",
165
173
  "DescribeTableReplicaAutoScalingInputRequestTypeDef",
166
174
  "DescribeTableReplicaAutoScalingOutputTypeDef",
@@ -192,7 +200,6 @@ __all__ = (
192
200
  "GlobalSecondaryIndexInfoTypeDef",
193
201
  "GlobalSecondaryIndexOutputTypeDef",
194
202
  "GlobalSecondaryIndexTypeDef",
195
- "GlobalSecondaryIndexUnionTypeDef",
196
203
  "GlobalSecondaryIndexUpdateTypeDef",
197
204
  "GlobalSecondaryIndexWarmThroughputDescriptionTypeDef",
198
205
  "GlobalTableDescriptionTypeDef",
@@ -220,7 +227,7 @@ __all__ = (
220
227
  "KinesisDataStreamDestinationTypeDef",
221
228
  "KinesisStreamingDestinationInputRequestTypeDef",
222
229
  "KinesisStreamingDestinationOutputTypeDef",
223
- "ListBackupsInputListBackupsPaginateTypeDef",
230
+ "ListBackupsInputPaginateTypeDef",
224
231
  "ListBackupsInputRequestTypeDef",
225
232
  "ListBackupsOutputTypeDef",
226
233
  "ListContributorInsightsInputRequestTypeDef",
@@ -231,10 +238,10 @@ __all__ = (
231
238
  "ListGlobalTablesOutputTypeDef",
232
239
  "ListImportsInputRequestTypeDef",
233
240
  "ListImportsOutputTypeDef",
234
- "ListTablesInputListTablesPaginateTypeDef",
241
+ "ListTablesInputPaginateTypeDef",
235
242
  "ListTablesInputRequestTypeDef",
236
243
  "ListTablesOutputTypeDef",
237
- "ListTagsOfResourceInputListTagsOfResourcePaginateTypeDef",
244
+ "ListTagsOfResourceInputPaginateTypeDef",
238
245
  "ListTagsOfResourceInputRequestTypeDef",
239
246
  "ListTagsOfResourceOutputTypeDef",
240
247
  "LocalSecondaryIndexDescriptionTypeDef",
@@ -265,7 +272,7 @@ __all__ = (
265
272
  "PutResourcePolicyInputRequestTypeDef",
266
273
  "PutResourcePolicyOutputTypeDef",
267
274
  "PutTypeDef",
268
- "QueryInputQueryPaginateTypeDef",
275
+ "QueryInputPaginateTypeDef",
269
276
  "QueryInputRequestTypeDef",
270
277
  "QueryInputTableQueryTypeDef",
271
278
  "QueryOutputTableTypeDef",
@@ -293,8 +300,8 @@ __all__ = (
293
300
  "S3BucketSourceTypeDef",
294
301
  "SSEDescriptionTypeDef",
295
302
  "SSESpecificationTypeDef",
303
+ "ScanInputPaginateTypeDef",
296
304
  "ScanInputRequestTypeDef",
297
- "ScanInputScanPaginateTypeDef",
298
305
  "ScanInputTableScanTypeDef",
299
306
  "ScanOutputTableTypeDef",
300
307
  "ScanOutputTypeDef",
@@ -689,11 +696,6 @@ class ProvisionedThroughputDescriptionTypeDef(TypedDict):
689
696
  WriteCapacityUnits: NotRequired[int]
690
697
 
691
698
 
692
- class ProjectionTypeDef(TypedDict):
693
- ProjectionType: NotRequired[ProjectionTypeType]
694
- NonKeyAttributes: NotRequired[Sequence[str]]
695
-
696
-
697
699
  class S3BucketSourceTypeDef(TypedDict):
698
700
  S3Bucket: str
699
701
  S3BucketOwner: NotRequired[str]
@@ -748,6 +750,11 @@ class PointInTimeRecoverySpecificationTypeDef(TypedDict):
748
750
  PointInTimeRecoveryEnabled: bool
749
751
 
750
752
 
753
+ class ProjectionTypeDef(TypedDict):
754
+ ProjectionType: NotRequired[ProjectionTypeType]
755
+ NonKeyAttributes: NotRequired[Sequence[str]]
756
+
757
+
751
758
  class PutResourcePolicyInputRequestTypeDef(TypedDict):
752
759
  ResourceArn: str
753
760
  Policy: str
@@ -1089,12 +1096,7 @@ class DescribeKinesisStreamingDestinationOutputTypeDef(TypedDict):
1089
1096
  ResponseMetadata: ResponseMetadataTypeDef
1090
1097
 
1091
1098
 
1092
- class DescribeTableInputTableExistsWaitTypeDef(TypedDict):
1093
- TableName: str
1094
- WaiterConfig: NotRequired[WaiterConfigTypeDef]
1095
-
1096
-
1097
- class DescribeTableInputTableNotExistsWaitTypeDef(TypedDict):
1099
+ class DescribeTableInputWaitTypeDef(TypedDict):
1098
1100
  TableName: str
1099
1101
  WaiterConfig: NotRequired[WaiterConfigTypeDef]
1100
1102
 
@@ -1216,18 +1218,6 @@ class GlobalSecondaryIndexDescriptionTypeDef(TypedDict):
1216
1218
  WarmThroughput: NotRequired[GlobalSecondaryIndexWarmThroughputDescriptionTypeDef]
1217
1219
 
1218
1220
 
1219
- class GlobalSecondaryIndexTypeDef(TypedDict):
1220
- IndexName: str
1221
- KeySchema: Sequence[KeySchemaElementTypeDef]
1222
- Projection: ProjectionTypeDef
1223
- ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
1224
- OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
1225
- WarmThroughput: NotRequired[WarmThroughputTypeDef]
1226
-
1227
-
1228
- ProjectionUnionTypeDef = Union[ProjectionTypeDef, ProjectionOutputTypeDef]
1229
-
1230
-
1231
1221
  class ImportSummaryTypeDef(TypedDict):
1232
1222
  ImportArn: NotRequired[str]
1233
1223
  ImportStatus: NotRequired[ImportStatusType]
@@ -1239,7 +1229,7 @@ class ImportSummaryTypeDef(TypedDict):
1239
1229
  EndTime: NotRequired[datetime]
1240
1230
 
1241
1231
 
1242
- class ListBackupsInputListBackupsPaginateTypeDef(TypedDict):
1232
+ class ListBackupsInputPaginateTypeDef(TypedDict):
1243
1233
  TableName: NotRequired[str]
1244
1234
  TimeRangeLowerBound: NotRequired[TimestampTypeDef]
1245
1235
  TimeRangeUpperBound: NotRequired[TimestampTypeDef]
@@ -1247,11 +1237,11 @@ class ListBackupsInputListBackupsPaginateTypeDef(TypedDict):
1247
1237
  PaginationConfig: NotRequired[PaginatorConfigTypeDef]
1248
1238
 
1249
1239
 
1250
- class ListTablesInputListTablesPaginateTypeDef(TypedDict):
1240
+ class ListTablesInputPaginateTypeDef(TypedDict):
1251
1241
  PaginationConfig: NotRequired[PaginatorConfigTypeDef]
1252
1242
 
1253
1243
 
1254
- class ListTagsOfResourceInputListTagsOfResourcePaginateTypeDef(TypedDict):
1244
+ class ListTagsOfResourceInputPaginateTypeDef(TypedDict):
1255
1245
  ResourceArn: str
1256
1246
  PaginationConfig: NotRequired[PaginatorConfigTypeDef]
1257
1247
 
@@ -1261,6 +1251,9 @@ class UpdateContinuousBackupsInputRequestTypeDef(TypedDict):
1261
1251
  PointInTimeRecoverySpecification: PointInTimeRecoverySpecificationTypeDef
1262
1252
 
1263
1253
 
1254
+ ProjectionUnionTypeDef = Union[ProjectionTypeDef, ProjectionOutputTypeDef]
1255
+
1256
+
1264
1257
  class UpdateTimeToLiveInputRequestTypeDef(TypedDict):
1265
1258
  TableName: str
1266
1259
  TimeToLiveSpecification: TimeToLiveSpecificationTypeDef
@@ -1760,9 +1753,10 @@ class SourceTableFeatureDetailsTypeDef(TypedDict):
1760
1753
  SSEDescription: NotRequired[SSEDescriptionTypeDef]
1761
1754
 
1762
1755
 
1763
- GlobalSecondaryIndexUnionTypeDef = Union[
1764
- GlobalSecondaryIndexTypeDef, GlobalSecondaryIndexOutputTypeDef
1765
- ]
1756
+ class ListImportsOutputTypeDef(TypedDict):
1757
+ ImportSummaryList: List[ImportSummaryTypeDef]
1758
+ ResponseMetadata: ResponseMetadataTypeDef
1759
+ NextToken: NotRequired[str]
1766
1760
 
1767
1761
 
1768
1762
  class CreateGlobalSecondaryIndexActionTypeDef(TypedDict):
@@ -1774,16 +1768,19 @@ class CreateGlobalSecondaryIndexActionTypeDef(TypedDict):
1774
1768
  WarmThroughput: NotRequired[WarmThroughputTypeDef]
1775
1769
 
1776
1770
 
1777
- class LocalSecondaryIndexTypeDef(TypedDict):
1771
+ class GlobalSecondaryIndexTypeDef(TypedDict):
1778
1772
  IndexName: str
1779
1773
  KeySchema: Sequence[KeySchemaElementTypeDef]
1780
1774
  Projection: ProjectionUnionTypeDef
1775
+ ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
1776
+ OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
1777
+ WarmThroughput: NotRequired[WarmThroughputTypeDef]
1781
1778
 
1782
1779
 
1783
- class ListImportsOutputTypeDef(TypedDict):
1784
- ImportSummaryList: List[ImportSummaryTypeDef]
1785
- ResponseMetadata: ResponseMetadataTypeDef
1786
- NextToken: NotRequired[str]
1780
+ class LocalSecondaryIndexTypeDef(TypedDict):
1781
+ IndexName: str
1782
+ KeySchema: Sequence[KeySchemaElementTypeDef]
1783
+ Projection: ProjectionUnionTypeDef
1787
1784
 
1788
1785
 
1789
1786
  class BatchExecuteStatementOutputTypeDef(TypedDict):
@@ -1804,7 +1801,7 @@ class BatchExecuteStatementInputRequestTypeDef(TypedDict):
1804
1801
  ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1805
1802
 
1806
1803
 
1807
- class QueryInputQueryPaginateTypeDef(TypedDict):
1804
+ class QueryInputPaginateTypeDef(TypedDict):
1808
1805
  TableName: str
1809
1806
  IndexName: NotRequired[str]
1810
1807
  Select: NotRequired[SelectType]
@@ -1843,15 +1840,13 @@ class QueryInputRequestTypeDef(TypedDict):
1843
1840
  ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1844
1841
 
1845
1842
 
1846
- class ScanInputRequestTypeDef(TypedDict):
1843
+ class ScanInputPaginateTypeDef(TypedDict):
1847
1844
  TableName: str
1848
1845
  IndexName: NotRequired[str]
1849
1846
  AttributesToGet: NotRequired[Sequence[str]]
1850
- Limit: NotRequired[int]
1851
1847
  Select: NotRequired[SelectType]
1852
1848
  ScanFilter: NotRequired[Mapping[str, ConditionTypeDef]]
1853
1849
  ConditionalOperator: NotRequired[ConditionalOperatorType]
1854
- ExclusiveStartKey: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1855
1850
  ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1856
1851
  TotalSegments: NotRequired[int]
1857
1852
  Segment: NotRequired[int]
@@ -1860,15 +1855,18 @@ class ScanInputRequestTypeDef(TypedDict):
1860
1855
  ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1861
1856
  ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1862
1857
  ConsistentRead: NotRequired[bool]
1858
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
1863
1859
 
1864
1860
 
1865
- class ScanInputScanPaginateTypeDef(TypedDict):
1861
+ class ScanInputRequestTypeDef(TypedDict):
1866
1862
  TableName: str
1867
1863
  IndexName: NotRequired[str]
1868
1864
  AttributesToGet: NotRequired[Sequence[str]]
1865
+ Limit: NotRequired[int]
1869
1866
  Select: NotRequired[SelectType]
1870
1867
  ScanFilter: NotRequired[Mapping[str, ConditionTypeDef]]
1871
1868
  ConditionalOperator: NotRequired[ConditionalOperatorType]
1869
+ ExclusiveStartKey: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1872
1870
  ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1873
1871
  TotalSegments: NotRequired[int]
1874
1872
  Segment: NotRequired[int]
@@ -1877,7 +1875,6 @@ class ScanInputScanPaginateTypeDef(TypedDict):
1877
1875
  ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1878
1876
  ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1879
1877
  ConsistentRead: NotRequired[bool]
1880
- PaginationConfig: NotRequired[PaginatorConfigTypeDef]
1881
1878
 
1882
1879
 
1883
1880
  DeleteRequestUnionTypeDef = Union[DeleteRequestTypeDef, DeleteRequestOutputTypeDef]
@@ -2076,6 +2073,12 @@ class BackupDescriptionTypeDef(TypedDict):
2076
2073
  SourceTableFeatureDetails: NotRequired[SourceTableFeatureDetailsTypeDef]
2077
2074
 
2078
2075
 
2076
+ class GlobalSecondaryIndexUpdateTypeDef(TypedDict):
2077
+ Update: NotRequired[UpdateGlobalSecondaryIndexActionTypeDef]
2078
+ Create: NotRequired[CreateGlobalSecondaryIndexActionTypeDef]
2079
+ Delete: NotRequired[DeleteGlobalSecondaryIndexActionTypeDef]
2080
+
2081
+
2079
2082
  class TableCreationParametersTypeDef(TypedDict):
2080
2083
  TableName: str
2081
2084
  AttributeDefinitions: Sequence[AttributeDefinitionTypeDef]
@@ -2084,13 +2087,7 @@ class TableCreationParametersTypeDef(TypedDict):
2084
2087
  ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
2085
2088
  OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
2086
2089
  SSESpecification: NotRequired[SSESpecificationTypeDef]
2087
- GlobalSecondaryIndexes: NotRequired[Sequence[GlobalSecondaryIndexUnionTypeDef]]
2088
-
2089
-
2090
- class GlobalSecondaryIndexUpdateTypeDef(TypedDict):
2091
- Update: NotRequired[UpdateGlobalSecondaryIndexActionTypeDef]
2092
- Create: NotRequired[CreateGlobalSecondaryIndexActionTypeDef]
2093
- Delete: NotRequired[DeleteGlobalSecondaryIndexActionTypeDef]
2090
+ GlobalSecondaryIndexes: NotRequired[Sequence[GlobalSecondaryIndexTypeDef]]
2094
2091
 
2095
2092
 
2096
2093
  class CreateTableInputRequestTypeDef(TypedDict):
@@ -2098,7 +2095,7 @@ class CreateTableInputRequestTypeDef(TypedDict):
2098
2095
  TableName: str
2099
2096
  KeySchema: Sequence[KeySchemaElementTypeDef]
2100
2097
  LocalSecondaryIndexes: NotRequired[Sequence[LocalSecondaryIndexTypeDef]]
2101
- GlobalSecondaryIndexes: NotRequired[Sequence[GlobalSecondaryIndexUnionTypeDef]]
2098
+ GlobalSecondaryIndexes: NotRequired[Sequence[GlobalSecondaryIndexTypeDef]]
2102
2099
  BillingMode: NotRequired[BillingModeType]
2103
2100
  ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
2104
2101
  StreamSpecification: NotRequired[StreamSpecificationTypeDef]
@@ -2308,15 +2305,6 @@ class DescribeBackupOutputTypeDef(TypedDict):
2308
2305
  ResponseMetadata: ResponseMetadataTypeDef
2309
2306
 
2310
2307
 
2311
- class ImportTableInputRequestTypeDef(TypedDict):
2312
- S3BucketSource: S3BucketSourceTypeDef
2313
- InputFormat: InputFormatType
2314
- TableCreationParameters: TableCreationParametersTypeDef
2315
- ClientToken: NotRequired[str]
2316
- InputFormatOptions: NotRequired[InputFormatOptionsTypeDef]
2317
- InputCompressionType: NotRequired[InputCompressionTypeType]
2318
-
2319
-
2320
2308
  class UpdateTableInputRequestTypeDef(TypedDict):
2321
2309
  TableName: str
2322
2310
  AttributeDefinitions: NotRequired[Sequence[AttributeDefinitionTypeDef]]
@@ -2348,6 +2336,15 @@ class UpdateTableInputTableUpdateTypeDef(TypedDict):
2348
2336
  WarmThroughput: NotRequired[WarmThroughputTypeDef]
2349
2337
 
2350
2338
 
2339
+ class ImportTableInputRequestTypeDef(TypedDict):
2340
+ S3BucketSource: S3BucketSourceTypeDef
2341
+ InputFormat: InputFormatType
2342
+ TableCreationParameters: TableCreationParametersTypeDef
2343
+ ClientToken: NotRequired[str]
2344
+ InputFormatOptions: NotRequired[InputFormatOptionsTypeDef]
2345
+ InputCompressionType: NotRequired[InputCompressionTypeType]
2346
+
2347
+
2351
2348
  WriteRequestUnionTypeDef = Union[WriteRequestTypeDef, WriteRequestOutputTypeDef]
2352
2349
 
2353
2350
 
@@ -1,7 +1,7 @@
1
1
  """
2
2
  Type annotations for dynamodb service type definitions.
3
3
 
4
- [Open documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/type_defs/)
4
+ [Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/type_defs/)
5
5
 
6
6
  Usage::
7
7
 
@@ -11,13 +11,15 @@ Usage::
11
11
  data: ArchivalSummaryTypeDef = ...
12
12
  ```
13
13
 
14
- Copyright 2024 Vlad Emelianov
14
+ Copyright 2025 Vlad Emelianov
15
15
  """
16
16
 
17
+ from __future__ import annotations
18
+
17
19
  import sys
18
20
  from datetime import datetime
19
21
  from decimal import Decimal
20
- from typing import Any, Dict, List, Mapping, Sequence, Set, Union
22
+ from typing import Any, Union
21
23
 
22
24
  from boto3.dynamodb.conditions import ConditionBase
23
25
 
@@ -64,6 +66,13 @@ from .literals import (
64
66
  TimeToLiveStatusType,
65
67
  )
66
68
 
69
+ if sys.version_info >= (3, 9):
70
+ from builtins import dict as Dict
71
+ from builtins import list as List
72
+ from builtins import set as Set
73
+ from collections.abc import Mapping, Sequence
74
+ else:
75
+ from typing import Dict, List, Mapping, Sequence, Set
67
76
  if sys.version_info >= (3, 12):
68
77
  from typing import NotRequired, TypedDict
69
78
  else:
@@ -158,8 +167,7 @@ __all__ = (
158
167
  "DescribeKinesisStreamingDestinationOutputTypeDef",
159
168
  "DescribeLimitsOutputTypeDef",
160
169
  "DescribeTableInputRequestTypeDef",
161
- "DescribeTableInputTableExistsWaitTypeDef",
162
- "DescribeTableInputTableNotExistsWaitTypeDef",
170
+ "DescribeTableInputWaitTypeDef",
163
171
  "DescribeTableOutputTypeDef",
164
172
  "DescribeTableReplicaAutoScalingInputRequestTypeDef",
165
173
  "DescribeTableReplicaAutoScalingOutputTypeDef",
@@ -191,7 +199,6 @@ __all__ = (
191
199
  "GlobalSecondaryIndexInfoTypeDef",
192
200
  "GlobalSecondaryIndexOutputTypeDef",
193
201
  "GlobalSecondaryIndexTypeDef",
194
- "GlobalSecondaryIndexUnionTypeDef",
195
202
  "GlobalSecondaryIndexUpdateTypeDef",
196
203
  "GlobalSecondaryIndexWarmThroughputDescriptionTypeDef",
197
204
  "GlobalTableDescriptionTypeDef",
@@ -219,7 +226,7 @@ __all__ = (
219
226
  "KinesisDataStreamDestinationTypeDef",
220
227
  "KinesisStreamingDestinationInputRequestTypeDef",
221
228
  "KinesisStreamingDestinationOutputTypeDef",
222
- "ListBackupsInputListBackupsPaginateTypeDef",
229
+ "ListBackupsInputPaginateTypeDef",
223
230
  "ListBackupsInputRequestTypeDef",
224
231
  "ListBackupsOutputTypeDef",
225
232
  "ListContributorInsightsInputRequestTypeDef",
@@ -230,10 +237,10 @@ __all__ = (
230
237
  "ListGlobalTablesOutputTypeDef",
231
238
  "ListImportsInputRequestTypeDef",
232
239
  "ListImportsOutputTypeDef",
233
- "ListTablesInputListTablesPaginateTypeDef",
240
+ "ListTablesInputPaginateTypeDef",
234
241
  "ListTablesInputRequestTypeDef",
235
242
  "ListTablesOutputTypeDef",
236
- "ListTagsOfResourceInputListTagsOfResourcePaginateTypeDef",
243
+ "ListTagsOfResourceInputPaginateTypeDef",
237
244
  "ListTagsOfResourceInputRequestTypeDef",
238
245
  "ListTagsOfResourceOutputTypeDef",
239
246
  "LocalSecondaryIndexDescriptionTypeDef",
@@ -264,7 +271,7 @@ __all__ = (
264
271
  "PutResourcePolicyInputRequestTypeDef",
265
272
  "PutResourcePolicyOutputTypeDef",
266
273
  "PutTypeDef",
267
- "QueryInputQueryPaginateTypeDef",
274
+ "QueryInputPaginateTypeDef",
268
275
  "QueryInputRequestTypeDef",
269
276
  "QueryInputTableQueryTypeDef",
270
277
  "QueryOutputTableTypeDef",
@@ -292,8 +299,8 @@ __all__ = (
292
299
  "S3BucketSourceTypeDef",
293
300
  "SSEDescriptionTypeDef",
294
301
  "SSESpecificationTypeDef",
302
+ "ScanInputPaginateTypeDef",
295
303
  "ScanInputRequestTypeDef",
296
- "ScanInputScanPaginateTypeDef",
297
304
  "ScanInputTableScanTypeDef",
298
305
  "ScanOutputTableTypeDef",
299
306
  "ScanOutputTypeDef",
@@ -631,10 +638,6 @@ class ProvisionedThroughputDescriptionTypeDef(TypedDict):
631
638
  ReadCapacityUnits: NotRequired[int]
632
639
  WriteCapacityUnits: NotRequired[int]
633
640
 
634
- class ProjectionTypeDef(TypedDict):
635
- ProjectionType: NotRequired[ProjectionTypeType]
636
- NonKeyAttributes: NotRequired[Sequence[str]]
637
-
638
641
  class S3BucketSourceTypeDef(TypedDict):
639
642
  S3Bucket: str
640
643
  S3BucketOwner: NotRequired[str]
@@ -680,6 +683,10 @@ class ListTagsOfResourceInputRequestTypeDef(TypedDict):
680
683
  class PointInTimeRecoverySpecificationTypeDef(TypedDict):
681
684
  PointInTimeRecoveryEnabled: bool
682
685
 
686
+ class ProjectionTypeDef(TypedDict):
687
+ ProjectionType: NotRequired[ProjectionTypeType]
688
+ NonKeyAttributes: NotRequired[Sequence[str]]
689
+
683
690
  class PutResourcePolicyInputRequestTypeDef(TypedDict):
684
691
  ResourceArn: str
685
692
  Policy: str
@@ -965,11 +972,7 @@ class DescribeKinesisStreamingDestinationOutputTypeDef(TypedDict):
965
972
  KinesisDataStreamDestinations: List[KinesisDataStreamDestinationTypeDef]
966
973
  ResponseMetadata: ResponseMetadataTypeDef
967
974
 
968
- class DescribeTableInputTableExistsWaitTypeDef(TypedDict):
969
- TableName: str
970
- WaiterConfig: NotRequired[WaiterConfigTypeDef]
971
-
972
- class DescribeTableInputTableNotExistsWaitTypeDef(TypedDict):
975
+ class DescribeTableInputWaitTypeDef(TypedDict):
973
976
  TableName: str
974
977
  WaiterConfig: NotRequired[WaiterConfigTypeDef]
975
978
 
@@ -1077,16 +1080,6 @@ class GlobalSecondaryIndexDescriptionTypeDef(TypedDict):
1077
1080
  OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
1078
1081
  WarmThroughput: NotRequired[GlobalSecondaryIndexWarmThroughputDescriptionTypeDef]
1079
1082
 
1080
- class GlobalSecondaryIndexTypeDef(TypedDict):
1081
- IndexName: str
1082
- KeySchema: Sequence[KeySchemaElementTypeDef]
1083
- Projection: ProjectionTypeDef
1084
- ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
1085
- OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
1086
- WarmThroughput: NotRequired[WarmThroughputTypeDef]
1087
-
1088
- ProjectionUnionTypeDef = Union[ProjectionTypeDef, ProjectionOutputTypeDef]
1089
-
1090
1083
  class ImportSummaryTypeDef(TypedDict):
1091
1084
  ImportArn: NotRequired[str]
1092
1085
  ImportStatus: NotRequired[ImportStatusType]
@@ -1097,17 +1090,17 @@ class ImportSummaryTypeDef(TypedDict):
1097
1090
  StartTime: NotRequired[datetime]
1098
1091
  EndTime: NotRequired[datetime]
1099
1092
 
1100
- class ListBackupsInputListBackupsPaginateTypeDef(TypedDict):
1093
+ class ListBackupsInputPaginateTypeDef(TypedDict):
1101
1094
  TableName: NotRequired[str]
1102
1095
  TimeRangeLowerBound: NotRequired[TimestampTypeDef]
1103
1096
  TimeRangeUpperBound: NotRequired[TimestampTypeDef]
1104
1097
  BackupType: NotRequired[BackupTypeFilterType]
1105
1098
  PaginationConfig: NotRequired[PaginatorConfigTypeDef]
1106
1099
 
1107
- class ListTablesInputListTablesPaginateTypeDef(TypedDict):
1100
+ class ListTablesInputPaginateTypeDef(TypedDict):
1108
1101
  PaginationConfig: NotRequired[PaginatorConfigTypeDef]
1109
1102
 
1110
- class ListTagsOfResourceInputListTagsOfResourcePaginateTypeDef(TypedDict):
1103
+ class ListTagsOfResourceInputPaginateTypeDef(TypedDict):
1111
1104
  ResourceArn: str
1112
1105
  PaginationConfig: NotRequired[PaginatorConfigTypeDef]
1113
1106
 
@@ -1115,6 +1108,8 @@ class UpdateContinuousBackupsInputRequestTypeDef(TypedDict):
1115
1108
  TableName: str
1116
1109
  PointInTimeRecoverySpecification: PointInTimeRecoverySpecificationTypeDef
1117
1110
 
1111
+ ProjectionUnionTypeDef = Union[ProjectionTypeDef, ProjectionOutputTypeDef]
1112
+
1118
1113
  class UpdateTimeToLiveInputRequestTypeDef(TypedDict):
1119
1114
  TableName: str
1120
1115
  TimeToLiveSpecification: TimeToLiveSpecificationTypeDef
@@ -1552,9 +1547,10 @@ class SourceTableFeatureDetailsTypeDef(TypedDict):
1552
1547
  TimeToLiveDescription: NotRequired[TimeToLiveDescriptionTypeDef]
1553
1548
  SSEDescription: NotRequired[SSEDescriptionTypeDef]
1554
1549
 
1555
- GlobalSecondaryIndexUnionTypeDef = Union[
1556
- GlobalSecondaryIndexTypeDef, GlobalSecondaryIndexOutputTypeDef
1557
- ]
1550
+ class ListImportsOutputTypeDef(TypedDict):
1551
+ ImportSummaryList: List[ImportSummaryTypeDef]
1552
+ ResponseMetadata: ResponseMetadataTypeDef
1553
+ NextToken: NotRequired[str]
1558
1554
 
1559
1555
  class CreateGlobalSecondaryIndexActionTypeDef(TypedDict):
1560
1556
  IndexName: str
@@ -1564,15 +1560,18 @@ class CreateGlobalSecondaryIndexActionTypeDef(TypedDict):
1564
1560
  OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
1565
1561
  WarmThroughput: NotRequired[WarmThroughputTypeDef]
1566
1562
 
1567
- class LocalSecondaryIndexTypeDef(TypedDict):
1563
+ class GlobalSecondaryIndexTypeDef(TypedDict):
1568
1564
  IndexName: str
1569
1565
  KeySchema: Sequence[KeySchemaElementTypeDef]
1570
1566
  Projection: ProjectionUnionTypeDef
1567
+ ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
1568
+ OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
1569
+ WarmThroughput: NotRequired[WarmThroughputTypeDef]
1571
1570
 
1572
- class ListImportsOutputTypeDef(TypedDict):
1573
- ImportSummaryList: List[ImportSummaryTypeDef]
1574
- ResponseMetadata: ResponseMetadataTypeDef
1575
- NextToken: NotRequired[str]
1571
+ class LocalSecondaryIndexTypeDef(TypedDict):
1572
+ IndexName: str
1573
+ KeySchema: Sequence[KeySchemaElementTypeDef]
1574
+ Projection: ProjectionUnionTypeDef
1576
1575
 
1577
1576
  class BatchExecuteStatementOutputTypeDef(TypedDict):
1578
1577
  Responses: List[BatchStatementResponseTypeDef]
@@ -1589,7 +1588,7 @@ class BatchExecuteStatementInputRequestTypeDef(TypedDict):
1589
1588
  Statements: Sequence[BatchStatementRequestTypeDef]
1590
1589
  ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1591
1590
 
1592
- class QueryInputQueryPaginateTypeDef(TypedDict):
1591
+ class QueryInputPaginateTypeDef(TypedDict):
1593
1592
  TableName: str
1594
1593
  IndexName: NotRequired[str]
1595
1594
  Select: NotRequired[SelectType]
@@ -1626,15 +1625,13 @@ class QueryInputRequestTypeDef(TypedDict):
1626
1625
  ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1627
1626
  ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1628
1627
 
1629
- class ScanInputRequestTypeDef(TypedDict):
1628
+ class ScanInputPaginateTypeDef(TypedDict):
1630
1629
  TableName: str
1631
1630
  IndexName: NotRequired[str]
1632
1631
  AttributesToGet: NotRequired[Sequence[str]]
1633
- Limit: NotRequired[int]
1634
1632
  Select: NotRequired[SelectType]
1635
1633
  ScanFilter: NotRequired[Mapping[str, ConditionTypeDef]]
1636
1634
  ConditionalOperator: NotRequired[ConditionalOperatorType]
1637
- ExclusiveStartKey: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1638
1635
  ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1639
1636
  TotalSegments: NotRequired[int]
1640
1637
  Segment: NotRequired[int]
@@ -1643,14 +1640,17 @@ class ScanInputRequestTypeDef(TypedDict):
1643
1640
  ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1644
1641
  ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1645
1642
  ConsistentRead: NotRequired[bool]
1643
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
1646
1644
 
1647
- class ScanInputScanPaginateTypeDef(TypedDict):
1645
+ class ScanInputRequestTypeDef(TypedDict):
1648
1646
  TableName: str
1649
1647
  IndexName: NotRequired[str]
1650
1648
  AttributesToGet: NotRequired[Sequence[str]]
1649
+ Limit: NotRequired[int]
1651
1650
  Select: NotRequired[SelectType]
1652
1651
  ScanFilter: NotRequired[Mapping[str, ConditionTypeDef]]
1653
1652
  ConditionalOperator: NotRequired[ConditionalOperatorType]
1653
+ ExclusiveStartKey: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1654
1654
  ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1655
1655
  TotalSegments: NotRequired[int]
1656
1656
  Segment: NotRequired[int]
@@ -1659,7 +1659,6 @@ class ScanInputScanPaginateTypeDef(TypedDict):
1659
1659
  ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1660
1660
  ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1661
1661
  ConsistentRead: NotRequired[bool]
1662
- PaginationConfig: NotRequired[PaginatorConfigTypeDef]
1663
1662
 
1664
1663
  DeleteRequestUnionTypeDef = Union[DeleteRequestTypeDef, DeleteRequestOutputTypeDef]
1665
1664
 
@@ -1834,6 +1833,11 @@ class BackupDescriptionTypeDef(TypedDict):
1834
1833
  SourceTableDetails: NotRequired[SourceTableDetailsTypeDef]
1835
1834
  SourceTableFeatureDetails: NotRequired[SourceTableFeatureDetailsTypeDef]
1836
1835
 
1836
+ class GlobalSecondaryIndexUpdateTypeDef(TypedDict):
1837
+ Update: NotRequired[UpdateGlobalSecondaryIndexActionTypeDef]
1838
+ Create: NotRequired[CreateGlobalSecondaryIndexActionTypeDef]
1839
+ Delete: NotRequired[DeleteGlobalSecondaryIndexActionTypeDef]
1840
+
1837
1841
  class TableCreationParametersTypeDef(TypedDict):
1838
1842
  TableName: str
1839
1843
  AttributeDefinitions: Sequence[AttributeDefinitionTypeDef]
@@ -1842,19 +1846,14 @@ class TableCreationParametersTypeDef(TypedDict):
1842
1846
  ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
1843
1847
  OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
1844
1848
  SSESpecification: NotRequired[SSESpecificationTypeDef]
1845
- GlobalSecondaryIndexes: NotRequired[Sequence[GlobalSecondaryIndexUnionTypeDef]]
1846
-
1847
- class GlobalSecondaryIndexUpdateTypeDef(TypedDict):
1848
- Update: NotRequired[UpdateGlobalSecondaryIndexActionTypeDef]
1849
- Create: NotRequired[CreateGlobalSecondaryIndexActionTypeDef]
1850
- Delete: NotRequired[DeleteGlobalSecondaryIndexActionTypeDef]
1849
+ GlobalSecondaryIndexes: NotRequired[Sequence[GlobalSecondaryIndexTypeDef]]
1851
1850
 
1852
1851
  class CreateTableInputRequestTypeDef(TypedDict):
1853
1852
  AttributeDefinitions: Sequence[AttributeDefinitionTypeDef]
1854
1853
  TableName: str
1855
1854
  KeySchema: Sequence[KeySchemaElementTypeDef]
1856
1855
  LocalSecondaryIndexes: NotRequired[Sequence[LocalSecondaryIndexTypeDef]]
1857
- GlobalSecondaryIndexes: NotRequired[Sequence[GlobalSecondaryIndexUnionTypeDef]]
1856
+ GlobalSecondaryIndexes: NotRequired[Sequence[GlobalSecondaryIndexTypeDef]]
1858
1857
  BillingMode: NotRequired[BillingModeType]
1859
1858
  ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
1860
1859
  StreamSpecification: NotRequired[StreamSpecificationTypeDef]
@@ -2042,14 +2041,6 @@ class DescribeBackupOutputTypeDef(TypedDict):
2042
2041
  BackupDescription: BackupDescriptionTypeDef
2043
2042
  ResponseMetadata: ResponseMetadataTypeDef
2044
2043
 
2045
- class ImportTableInputRequestTypeDef(TypedDict):
2046
- S3BucketSource: S3BucketSourceTypeDef
2047
- InputFormat: InputFormatType
2048
- TableCreationParameters: TableCreationParametersTypeDef
2049
- ClientToken: NotRequired[str]
2050
- InputFormatOptions: NotRequired[InputFormatOptionsTypeDef]
2051
- InputCompressionType: NotRequired[InputCompressionTypeType]
2052
-
2053
2044
  class UpdateTableInputRequestTypeDef(TypedDict):
2054
2045
  TableName: str
2055
2046
  AttributeDefinitions: NotRequired[Sequence[AttributeDefinitionTypeDef]]
@@ -2079,6 +2070,14 @@ class UpdateTableInputTableUpdateTypeDef(TypedDict):
2079
2070
  OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
2080
2071
  WarmThroughput: NotRequired[WarmThroughputTypeDef]
2081
2072
 
2073
+ class ImportTableInputRequestTypeDef(TypedDict):
2074
+ S3BucketSource: S3BucketSourceTypeDef
2075
+ InputFormat: InputFormatType
2076
+ TableCreationParameters: TableCreationParametersTypeDef
2077
+ ClientToken: NotRequired[str]
2078
+ InputFormatOptions: NotRequired[InputFormatOptionsTypeDef]
2079
+ InputCompressionType: NotRequired[InputCompressionTypeType]
2080
+
2082
2081
  WriteRequestUnionTypeDef = Union[WriteRequestTypeDef, WriteRequestOutputTypeDef]
2083
2082
 
2084
2083
  class BatchWriteItemInputServiceResourceBatchWriteItemTypeDef(TypedDict):
@@ -1,7 +1,7 @@
1
1
  """
2
2
  Source of truth for version.
3
3
 
4
- Copyright 2024 Vlad Emelianov
4
+ Copyright 2025 Vlad Emelianov
5
5
  """
6
6
 
7
- __version__ = "1.35.74"
7
+ __version__ = "1.35.93"