types-boto3-dynamodb 1.35.74__py3-none-any.whl → 1.35.94__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",
@@ -461,6 +468,7 @@ ConditionBaseImportTypeDef = Union[str, ConditionBase]
461
468
 
462
469
  class PointInTimeRecoveryDescriptionTypeDef(TypedDict):
463
470
  PointInTimeRecoveryStatus: NotRequired[PointInTimeRecoveryStatusType]
471
+ RecoveryPeriodInDays: NotRequired[int]
464
472
  EarliestRestorableDateTime: NotRequired[datetime]
465
473
  LatestRestorableDateTime: NotRequired[datetime]
466
474
 
@@ -689,11 +697,6 @@ class ProvisionedThroughputDescriptionTypeDef(TypedDict):
689
697
  WriteCapacityUnits: NotRequired[int]
690
698
 
691
699
 
692
- class ProjectionTypeDef(TypedDict):
693
- ProjectionType: NotRequired[ProjectionTypeType]
694
- NonKeyAttributes: NotRequired[Sequence[str]]
695
-
696
-
697
700
  class S3BucketSourceTypeDef(TypedDict):
698
701
  S3Bucket: str
699
702
  S3BucketOwner: NotRequired[str]
@@ -746,6 +749,12 @@ class ListTagsOfResourceInputRequestTypeDef(TypedDict):
746
749
 
747
750
  class PointInTimeRecoverySpecificationTypeDef(TypedDict):
748
751
  PointInTimeRecoveryEnabled: bool
752
+ RecoveryPeriodInDays: NotRequired[int]
753
+
754
+
755
+ class ProjectionTypeDef(TypedDict):
756
+ ProjectionType: NotRequired[ProjectionTypeType]
757
+ NonKeyAttributes: NotRequired[Sequence[str]]
749
758
 
750
759
 
751
760
  class PutResourcePolicyInputRequestTypeDef(TypedDict):
@@ -1089,12 +1098,7 @@ class DescribeKinesisStreamingDestinationOutputTypeDef(TypedDict):
1089
1098
  ResponseMetadata: ResponseMetadataTypeDef
1090
1099
 
1091
1100
 
1092
- class DescribeTableInputTableExistsWaitTypeDef(TypedDict):
1093
- TableName: str
1094
- WaiterConfig: NotRequired[WaiterConfigTypeDef]
1095
-
1096
-
1097
- class DescribeTableInputTableNotExistsWaitTypeDef(TypedDict):
1101
+ class DescribeTableInputWaitTypeDef(TypedDict):
1098
1102
  TableName: str
1099
1103
  WaiterConfig: NotRequired[WaiterConfigTypeDef]
1100
1104
 
@@ -1216,18 +1220,6 @@ class GlobalSecondaryIndexDescriptionTypeDef(TypedDict):
1216
1220
  WarmThroughput: NotRequired[GlobalSecondaryIndexWarmThroughputDescriptionTypeDef]
1217
1221
 
1218
1222
 
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
1223
  class ImportSummaryTypeDef(TypedDict):
1232
1224
  ImportArn: NotRequired[str]
1233
1225
  ImportStatus: NotRequired[ImportStatusType]
@@ -1239,7 +1231,7 @@ class ImportSummaryTypeDef(TypedDict):
1239
1231
  EndTime: NotRequired[datetime]
1240
1232
 
1241
1233
 
1242
- class ListBackupsInputListBackupsPaginateTypeDef(TypedDict):
1234
+ class ListBackupsInputPaginateTypeDef(TypedDict):
1243
1235
  TableName: NotRequired[str]
1244
1236
  TimeRangeLowerBound: NotRequired[TimestampTypeDef]
1245
1237
  TimeRangeUpperBound: NotRequired[TimestampTypeDef]
@@ -1247,11 +1239,11 @@ class ListBackupsInputListBackupsPaginateTypeDef(TypedDict):
1247
1239
  PaginationConfig: NotRequired[PaginatorConfigTypeDef]
1248
1240
 
1249
1241
 
1250
- class ListTablesInputListTablesPaginateTypeDef(TypedDict):
1242
+ class ListTablesInputPaginateTypeDef(TypedDict):
1251
1243
  PaginationConfig: NotRequired[PaginatorConfigTypeDef]
1252
1244
 
1253
1245
 
1254
- class ListTagsOfResourceInputListTagsOfResourcePaginateTypeDef(TypedDict):
1246
+ class ListTagsOfResourceInputPaginateTypeDef(TypedDict):
1255
1247
  ResourceArn: str
1256
1248
  PaginationConfig: NotRequired[PaginatorConfigTypeDef]
1257
1249
 
@@ -1261,6 +1253,9 @@ class UpdateContinuousBackupsInputRequestTypeDef(TypedDict):
1261
1253
  PointInTimeRecoverySpecification: PointInTimeRecoverySpecificationTypeDef
1262
1254
 
1263
1255
 
1256
+ ProjectionUnionTypeDef = Union[ProjectionTypeDef, ProjectionOutputTypeDef]
1257
+
1258
+
1264
1259
  class UpdateTimeToLiveInputRequestTypeDef(TypedDict):
1265
1260
  TableName: str
1266
1261
  TimeToLiveSpecification: TimeToLiveSpecificationTypeDef
@@ -1760,9 +1755,10 @@ class SourceTableFeatureDetailsTypeDef(TypedDict):
1760
1755
  SSEDescription: NotRequired[SSEDescriptionTypeDef]
1761
1756
 
1762
1757
 
1763
- GlobalSecondaryIndexUnionTypeDef = Union[
1764
- GlobalSecondaryIndexTypeDef, GlobalSecondaryIndexOutputTypeDef
1765
- ]
1758
+ class ListImportsOutputTypeDef(TypedDict):
1759
+ ImportSummaryList: List[ImportSummaryTypeDef]
1760
+ ResponseMetadata: ResponseMetadataTypeDef
1761
+ NextToken: NotRequired[str]
1766
1762
 
1767
1763
 
1768
1764
  class CreateGlobalSecondaryIndexActionTypeDef(TypedDict):
@@ -1774,16 +1770,19 @@ class CreateGlobalSecondaryIndexActionTypeDef(TypedDict):
1774
1770
  WarmThroughput: NotRequired[WarmThroughputTypeDef]
1775
1771
 
1776
1772
 
1777
- class LocalSecondaryIndexTypeDef(TypedDict):
1773
+ class GlobalSecondaryIndexTypeDef(TypedDict):
1778
1774
  IndexName: str
1779
1775
  KeySchema: Sequence[KeySchemaElementTypeDef]
1780
1776
  Projection: ProjectionUnionTypeDef
1777
+ ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
1778
+ OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
1779
+ WarmThroughput: NotRequired[WarmThroughputTypeDef]
1781
1780
 
1782
1781
 
1783
- class ListImportsOutputTypeDef(TypedDict):
1784
- ImportSummaryList: List[ImportSummaryTypeDef]
1785
- ResponseMetadata: ResponseMetadataTypeDef
1786
- NextToken: NotRequired[str]
1782
+ class LocalSecondaryIndexTypeDef(TypedDict):
1783
+ IndexName: str
1784
+ KeySchema: Sequence[KeySchemaElementTypeDef]
1785
+ Projection: ProjectionUnionTypeDef
1787
1786
 
1788
1787
 
1789
1788
  class BatchExecuteStatementOutputTypeDef(TypedDict):
@@ -1804,7 +1803,7 @@ class BatchExecuteStatementInputRequestTypeDef(TypedDict):
1804
1803
  ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1805
1804
 
1806
1805
 
1807
- class QueryInputQueryPaginateTypeDef(TypedDict):
1806
+ class QueryInputPaginateTypeDef(TypedDict):
1808
1807
  TableName: str
1809
1808
  IndexName: NotRequired[str]
1810
1809
  Select: NotRequired[SelectType]
@@ -1843,15 +1842,13 @@ class QueryInputRequestTypeDef(TypedDict):
1843
1842
  ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1844
1843
 
1845
1844
 
1846
- class ScanInputRequestTypeDef(TypedDict):
1845
+ class ScanInputPaginateTypeDef(TypedDict):
1847
1846
  TableName: str
1848
1847
  IndexName: NotRequired[str]
1849
1848
  AttributesToGet: NotRequired[Sequence[str]]
1850
- Limit: NotRequired[int]
1851
1849
  Select: NotRequired[SelectType]
1852
1850
  ScanFilter: NotRequired[Mapping[str, ConditionTypeDef]]
1853
1851
  ConditionalOperator: NotRequired[ConditionalOperatorType]
1854
- ExclusiveStartKey: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1855
1852
  ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1856
1853
  TotalSegments: NotRequired[int]
1857
1854
  Segment: NotRequired[int]
@@ -1860,15 +1857,18 @@ class ScanInputRequestTypeDef(TypedDict):
1860
1857
  ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1861
1858
  ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1862
1859
  ConsistentRead: NotRequired[bool]
1860
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
1863
1861
 
1864
1862
 
1865
- class ScanInputScanPaginateTypeDef(TypedDict):
1863
+ class ScanInputRequestTypeDef(TypedDict):
1866
1864
  TableName: str
1867
1865
  IndexName: NotRequired[str]
1868
1866
  AttributesToGet: NotRequired[Sequence[str]]
1867
+ Limit: NotRequired[int]
1869
1868
  Select: NotRequired[SelectType]
1870
1869
  ScanFilter: NotRequired[Mapping[str, ConditionTypeDef]]
1871
1870
  ConditionalOperator: NotRequired[ConditionalOperatorType]
1871
+ ExclusiveStartKey: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1872
1872
  ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1873
1873
  TotalSegments: NotRequired[int]
1874
1874
  Segment: NotRequired[int]
@@ -1877,7 +1877,6 @@ class ScanInputScanPaginateTypeDef(TypedDict):
1877
1877
  ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1878
1878
  ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1879
1879
  ConsistentRead: NotRequired[bool]
1880
- PaginationConfig: NotRequired[PaginatorConfigTypeDef]
1881
1880
 
1882
1881
 
1883
1882
  DeleteRequestUnionTypeDef = Union[DeleteRequestTypeDef, DeleteRequestOutputTypeDef]
@@ -2076,6 +2075,12 @@ class BackupDescriptionTypeDef(TypedDict):
2076
2075
  SourceTableFeatureDetails: NotRequired[SourceTableFeatureDetailsTypeDef]
2077
2076
 
2078
2077
 
2078
+ class GlobalSecondaryIndexUpdateTypeDef(TypedDict):
2079
+ Update: NotRequired[UpdateGlobalSecondaryIndexActionTypeDef]
2080
+ Create: NotRequired[CreateGlobalSecondaryIndexActionTypeDef]
2081
+ Delete: NotRequired[DeleteGlobalSecondaryIndexActionTypeDef]
2082
+
2083
+
2079
2084
  class TableCreationParametersTypeDef(TypedDict):
2080
2085
  TableName: str
2081
2086
  AttributeDefinitions: Sequence[AttributeDefinitionTypeDef]
@@ -2084,13 +2089,7 @@ class TableCreationParametersTypeDef(TypedDict):
2084
2089
  ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
2085
2090
  OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
2086
2091
  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]
2092
+ GlobalSecondaryIndexes: NotRequired[Sequence[GlobalSecondaryIndexTypeDef]]
2094
2093
 
2095
2094
 
2096
2095
  class CreateTableInputRequestTypeDef(TypedDict):
@@ -2098,7 +2097,7 @@ class CreateTableInputRequestTypeDef(TypedDict):
2098
2097
  TableName: str
2099
2098
  KeySchema: Sequence[KeySchemaElementTypeDef]
2100
2099
  LocalSecondaryIndexes: NotRequired[Sequence[LocalSecondaryIndexTypeDef]]
2101
- GlobalSecondaryIndexes: NotRequired[Sequence[GlobalSecondaryIndexUnionTypeDef]]
2100
+ GlobalSecondaryIndexes: NotRequired[Sequence[GlobalSecondaryIndexTypeDef]]
2102
2101
  BillingMode: NotRequired[BillingModeType]
2103
2102
  ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
2104
2103
  StreamSpecification: NotRequired[StreamSpecificationTypeDef]
@@ -2308,15 +2307,6 @@ class DescribeBackupOutputTypeDef(TypedDict):
2308
2307
  ResponseMetadata: ResponseMetadataTypeDef
2309
2308
 
2310
2309
 
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
2310
  class UpdateTableInputRequestTypeDef(TypedDict):
2321
2311
  TableName: str
2322
2312
  AttributeDefinitions: NotRequired[Sequence[AttributeDefinitionTypeDef]]
@@ -2348,6 +2338,15 @@ class UpdateTableInputTableUpdateTypeDef(TypedDict):
2348
2338
  WarmThroughput: NotRequired[WarmThroughputTypeDef]
2349
2339
 
2350
2340
 
2341
+ class ImportTableInputRequestTypeDef(TypedDict):
2342
+ S3BucketSource: S3BucketSourceTypeDef
2343
+ InputFormat: InputFormatType
2344
+ TableCreationParameters: TableCreationParametersTypeDef
2345
+ ClientToken: NotRequired[str]
2346
+ InputFormatOptions: NotRequired[InputFormatOptionsTypeDef]
2347
+ InputCompressionType: NotRequired[InputCompressionTypeType]
2348
+
2349
+
2351
2350
  WriteRequestUnionTypeDef = Union[WriteRequestTypeDef, WriteRequestOutputTypeDef]
2352
2351
 
2353
2352
 
@@ -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",
@@ -447,6 +454,7 @@ ConditionBaseImportTypeDef = Union[str, ConditionBase]
447
454
 
448
455
  class PointInTimeRecoveryDescriptionTypeDef(TypedDict):
449
456
  PointInTimeRecoveryStatus: NotRequired[PointInTimeRecoveryStatusType]
457
+ RecoveryPeriodInDays: NotRequired[int]
450
458
  EarliestRestorableDateTime: NotRequired[datetime]
451
459
  LatestRestorableDateTime: NotRequired[datetime]
452
460
 
@@ -631,10 +639,6 @@ class ProvisionedThroughputDescriptionTypeDef(TypedDict):
631
639
  ReadCapacityUnits: NotRequired[int]
632
640
  WriteCapacityUnits: NotRequired[int]
633
641
 
634
- class ProjectionTypeDef(TypedDict):
635
- ProjectionType: NotRequired[ProjectionTypeType]
636
- NonKeyAttributes: NotRequired[Sequence[str]]
637
-
638
642
  class S3BucketSourceTypeDef(TypedDict):
639
643
  S3Bucket: str
640
644
  S3BucketOwner: NotRequired[str]
@@ -679,6 +683,11 @@ class ListTagsOfResourceInputRequestTypeDef(TypedDict):
679
683
 
680
684
  class PointInTimeRecoverySpecificationTypeDef(TypedDict):
681
685
  PointInTimeRecoveryEnabled: bool
686
+ RecoveryPeriodInDays: NotRequired[int]
687
+
688
+ class ProjectionTypeDef(TypedDict):
689
+ ProjectionType: NotRequired[ProjectionTypeType]
690
+ NonKeyAttributes: NotRequired[Sequence[str]]
682
691
 
683
692
  class PutResourcePolicyInputRequestTypeDef(TypedDict):
684
693
  ResourceArn: str
@@ -965,11 +974,7 @@ class DescribeKinesisStreamingDestinationOutputTypeDef(TypedDict):
965
974
  KinesisDataStreamDestinations: List[KinesisDataStreamDestinationTypeDef]
966
975
  ResponseMetadata: ResponseMetadataTypeDef
967
976
 
968
- class DescribeTableInputTableExistsWaitTypeDef(TypedDict):
969
- TableName: str
970
- WaiterConfig: NotRequired[WaiterConfigTypeDef]
971
-
972
- class DescribeTableInputTableNotExistsWaitTypeDef(TypedDict):
977
+ class DescribeTableInputWaitTypeDef(TypedDict):
973
978
  TableName: str
974
979
  WaiterConfig: NotRequired[WaiterConfigTypeDef]
975
980
 
@@ -1077,16 +1082,6 @@ class GlobalSecondaryIndexDescriptionTypeDef(TypedDict):
1077
1082
  OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
1078
1083
  WarmThroughput: NotRequired[GlobalSecondaryIndexWarmThroughputDescriptionTypeDef]
1079
1084
 
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
1085
  class ImportSummaryTypeDef(TypedDict):
1091
1086
  ImportArn: NotRequired[str]
1092
1087
  ImportStatus: NotRequired[ImportStatusType]
@@ -1097,17 +1092,17 @@ class ImportSummaryTypeDef(TypedDict):
1097
1092
  StartTime: NotRequired[datetime]
1098
1093
  EndTime: NotRequired[datetime]
1099
1094
 
1100
- class ListBackupsInputListBackupsPaginateTypeDef(TypedDict):
1095
+ class ListBackupsInputPaginateTypeDef(TypedDict):
1101
1096
  TableName: NotRequired[str]
1102
1097
  TimeRangeLowerBound: NotRequired[TimestampTypeDef]
1103
1098
  TimeRangeUpperBound: NotRequired[TimestampTypeDef]
1104
1099
  BackupType: NotRequired[BackupTypeFilterType]
1105
1100
  PaginationConfig: NotRequired[PaginatorConfigTypeDef]
1106
1101
 
1107
- class ListTablesInputListTablesPaginateTypeDef(TypedDict):
1102
+ class ListTablesInputPaginateTypeDef(TypedDict):
1108
1103
  PaginationConfig: NotRequired[PaginatorConfigTypeDef]
1109
1104
 
1110
- class ListTagsOfResourceInputListTagsOfResourcePaginateTypeDef(TypedDict):
1105
+ class ListTagsOfResourceInputPaginateTypeDef(TypedDict):
1111
1106
  ResourceArn: str
1112
1107
  PaginationConfig: NotRequired[PaginatorConfigTypeDef]
1113
1108
 
@@ -1115,6 +1110,8 @@ class UpdateContinuousBackupsInputRequestTypeDef(TypedDict):
1115
1110
  TableName: str
1116
1111
  PointInTimeRecoverySpecification: PointInTimeRecoverySpecificationTypeDef
1117
1112
 
1113
+ ProjectionUnionTypeDef = Union[ProjectionTypeDef, ProjectionOutputTypeDef]
1114
+
1118
1115
  class UpdateTimeToLiveInputRequestTypeDef(TypedDict):
1119
1116
  TableName: str
1120
1117
  TimeToLiveSpecification: TimeToLiveSpecificationTypeDef
@@ -1552,9 +1549,10 @@ class SourceTableFeatureDetailsTypeDef(TypedDict):
1552
1549
  TimeToLiveDescription: NotRequired[TimeToLiveDescriptionTypeDef]
1553
1550
  SSEDescription: NotRequired[SSEDescriptionTypeDef]
1554
1551
 
1555
- GlobalSecondaryIndexUnionTypeDef = Union[
1556
- GlobalSecondaryIndexTypeDef, GlobalSecondaryIndexOutputTypeDef
1557
- ]
1552
+ class ListImportsOutputTypeDef(TypedDict):
1553
+ ImportSummaryList: List[ImportSummaryTypeDef]
1554
+ ResponseMetadata: ResponseMetadataTypeDef
1555
+ NextToken: NotRequired[str]
1558
1556
 
1559
1557
  class CreateGlobalSecondaryIndexActionTypeDef(TypedDict):
1560
1558
  IndexName: str
@@ -1564,15 +1562,18 @@ class CreateGlobalSecondaryIndexActionTypeDef(TypedDict):
1564
1562
  OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
1565
1563
  WarmThroughput: NotRequired[WarmThroughputTypeDef]
1566
1564
 
1567
- class LocalSecondaryIndexTypeDef(TypedDict):
1565
+ class GlobalSecondaryIndexTypeDef(TypedDict):
1568
1566
  IndexName: str
1569
1567
  KeySchema: Sequence[KeySchemaElementTypeDef]
1570
1568
  Projection: ProjectionUnionTypeDef
1569
+ ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
1570
+ OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
1571
+ WarmThroughput: NotRequired[WarmThroughputTypeDef]
1571
1572
 
1572
- class ListImportsOutputTypeDef(TypedDict):
1573
- ImportSummaryList: List[ImportSummaryTypeDef]
1574
- ResponseMetadata: ResponseMetadataTypeDef
1575
- NextToken: NotRequired[str]
1573
+ class LocalSecondaryIndexTypeDef(TypedDict):
1574
+ IndexName: str
1575
+ KeySchema: Sequence[KeySchemaElementTypeDef]
1576
+ Projection: ProjectionUnionTypeDef
1576
1577
 
1577
1578
  class BatchExecuteStatementOutputTypeDef(TypedDict):
1578
1579
  Responses: List[BatchStatementResponseTypeDef]
@@ -1589,7 +1590,7 @@ class BatchExecuteStatementInputRequestTypeDef(TypedDict):
1589
1590
  Statements: Sequence[BatchStatementRequestTypeDef]
1590
1591
  ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1591
1592
 
1592
- class QueryInputQueryPaginateTypeDef(TypedDict):
1593
+ class QueryInputPaginateTypeDef(TypedDict):
1593
1594
  TableName: str
1594
1595
  IndexName: NotRequired[str]
1595
1596
  Select: NotRequired[SelectType]
@@ -1626,15 +1627,13 @@ class QueryInputRequestTypeDef(TypedDict):
1626
1627
  ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1627
1628
  ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1628
1629
 
1629
- class ScanInputRequestTypeDef(TypedDict):
1630
+ class ScanInputPaginateTypeDef(TypedDict):
1630
1631
  TableName: str
1631
1632
  IndexName: NotRequired[str]
1632
1633
  AttributesToGet: NotRequired[Sequence[str]]
1633
- Limit: NotRequired[int]
1634
1634
  Select: NotRequired[SelectType]
1635
1635
  ScanFilter: NotRequired[Mapping[str, ConditionTypeDef]]
1636
1636
  ConditionalOperator: NotRequired[ConditionalOperatorType]
1637
- ExclusiveStartKey: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1638
1637
  ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1639
1638
  TotalSegments: NotRequired[int]
1640
1639
  Segment: NotRequired[int]
@@ -1643,14 +1642,17 @@ class ScanInputRequestTypeDef(TypedDict):
1643
1642
  ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1644
1643
  ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1645
1644
  ConsistentRead: NotRequired[bool]
1645
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
1646
1646
 
1647
- class ScanInputScanPaginateTypeDef(TypedDict):
1647
+ class ScanInputRequestTypeDef(TypedDict):
1648
1648
  TableName: str
1649
1649
  IndexName: NotRequired[str]
1650
1650
  AttributesToGet: NotRequired[Sequence[str]]
1651
+ Limit: NotRequired[int]
1651
1652
  Select: NotRequired[SelectType]
1652
1653
  ScanFilter: NotRequired[Mapping[str, ConditionTypeDef]]
1653
1654
  ConditionalOperator: NotRequired[ConditionalOperatorType]
1655
+ ExclusiveStartKey: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1654
1656
  ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1655
1657
  TotalSegments: NotRequired[int]
1656
1658
  Segment: NotRequired[int]
@@ -1659,7 +1661,6 @@ class ScanInputScanPaginateTypeDef(TypedDict):
1659
1661
  ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1660
1662
  ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1661
1663
  ConsistentRead: NotRequired[bool]
1662
- PaginationConfig: NotRequired[PaginatorConfigTypeDef]
1663
1664
 
1664
1665
  DeleteRequestUnionTypeDef = Union[DeleteRequestTypeDef, DeleteRequestOutputTypeDef]
1665
1666
 
@@ -1834,6 +1835,11 @@ class BackupDescriptionTypeDef(TypedDict):
1834
1835
  SourceTableDetails: NotRequired[SourceTableDetailsTypeDef]
1835
1836
  SourceTableFeatureDetails: NotRequired[SourceTableFeatureDetailsTypeDef]
1836
1837
 
1838
+ class GlobalSecondaryIndexUpdateTypeDef(TypedDict):
1839
+ Update: NotRequired[UpdateGlobalSecondaryIndexActionTypeDef]
1840
+ Create: NotRequired[CreateGlobalSecondaryIndexActionTypeDef]
1841
+ Delete: NotRequired[DeleteGlobalSecondaryIndexActionTypeDef]
1842
+
1837
1843
  class TableCreationParametersTypeDef(TypedDict):
1838
1844
  TableName: str
1839
1845
  AttributeDefinitions: Sequence[AttributeDefinitionTypeDef]
@@ -1842,19 +1848,14 @@ class TableCreationParametersTypeDef(TypedDict):
1842
1848
  ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
1843
1849
  OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
1844
1850
  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]
1851
+ GlobalSecondaryIndexes: NotRequired[Sequence[GlobalSecondaryIndexTypeDef]]
1851
1852
 
1852
1853
  class CreateTableInputRequestTypeDef(TypedDict):
1853
1854
  AttributeDefinitions: Sequence[AttributeDefinitionTypeDef]
1854
1855
  TableName: str
1855
1856
  KeySchema: Sequence[KeySchemaElementTypeDef]
1856
1857
  LocalSecondaryIndexes: NotRequired[Sequence[LocalSecondaryIndexTypeDef]]
1857
- GlobalSecondaryIndexes: NotRequired[Sequence[GlobalSecondaryIndexUnionTypeDef]]
1858
+ GlobalSecondaryIndexes: NotRequired[Sequence[GlobalSecondaryIndexTypeDef]]
1858
1859
  BillingMode: NotRequired[BillingModeType]
1859
1860
  ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
1860
1861
  StreamSpecification: NotRequired[StreamSpecificationTypeDef]
@@ -2042,14 +2043,6 @@ class DescribeBackupOutputTypeDef(TypedDict):
2042
2043
  BackupDescription: BackupDescriptionTypeDef
2043
2044
  ResponseMetadata: ResponseMetadataTypeDef
2044
2045
 
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
2046
  class UpdateTableInputRequestTypeDef(TypedDict):
2054
2047
  TableName: str
2055
2048
  AttributeDefinitions: NotRequired[Sequence[AttributeDefinitionTypeDef]]
@@ -2079,6 +2072,14 @@ class UpdateTableInputTableUpdateTypeDef(TypedDict):
2079
2072
  OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
2080
2073
  WarmThroughput: NotRequired[WarmThroughputTypeDef]
2081
2074
 
2075
+ class ImportTableInputRequestTypeDef(TypedDict):
2076
+ S3BucketSource: S3BucketSourceTypeDef
2077
+ InputFormat: InputFormatType
2078
+ TableCreationParameters: TableCreationParametersTypeDef
2079
+ ClientToken: NotRequired[str]
2080
+ InputFormatOptions: NotRequired[InputFormatOptionsTypeDef]
2081
+ InputCompressionType: NotRequired[InputCompressionTypeType]
2082
+
2082
2083
  WriteRequestUnionTypeDef = Union[WriteRequestTypeDef, WriteRequestOutputTypeDef]
2083
2084
 
2084
2085
  class BatchWriteItemInputServiceResourceBatchWriteItemTypeDef(TypedDict):