types-boto3-dynamodb 1.36.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.
@@ -0,0 +1,2134 @@
1
+ """
2
+ Type annotations for dynamodb service type definitions.
3
+
4
+ [Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/type_defs/)
5
+
6
+ Usage::
7
+
8
+ ```python
9
+ from types_boto3_dynamodb.type_defs import ArchivalSummaryTypeDef
10
+
11
+ data: ArchivalSummaryTypeDef = ...
12
+ ```
13
+
14
+ Copyright 2025 Vlad Emelianov
15
+ """
16
+
17
+ from __future__ import annotations
18
+
19
+ import sys
20
+ from datetime import datetime
21
+ from decimal import Decimal
22
+ from typing import Any, Union
23
+
24
+ from boto3.dynamodb.conditions import ConditionBase
25
+
26
+ from .literals import (
27
+ ApproximateCreationDateTimePrecisionType,
28
+ AttributeActionType,
29
+ BackupStatusType,
30
+ BackupTypeFilterType,
31
+ BackupTypeType,
32
+ BatchStatementErrorCodeEnumType,
33
+ BillingModeType,
34
+ ComparisonOperatorType,
35
+ ConditionalOperatorType,
36
+ ContinuousBackupsStatusType,
37
+ ContributorInsightsActionType,
38
+ ContributorInsightsStatusType,
39
+ DestinationStatusType,
40
+ ExportFormatType,
41
+ ExportStatusType,
42
+ ExportTypeType,
43
+ ExportViewTypeType,
44
+ GlobalTableStatusType,
45
+ ImportStatusType,
46
+ IndexStatusType,
47
+ InputCompressionTypeType,
48
+ InputFormatType,
49
+ KeyTypeType,
50
+ MultiRegionConsistencyType,
51
+ PointInTimeRecoveryStatusType,
52
+ ProjectionTypeType,
53
+ ReplicaStatusType,
54
+ ReturnConsumedCapacityType,
55
+ ReturnItemCollectionMetricsType,
56
+ ReturnValuesOnConditionCheckFailureType,
57
+ ReturnValueType,
58
+ S3SseAlgorithmType,
59
+ ScalarAttributeTypeType,
60
+ SelectType,
61
+ SSEStatusType,
62
+ SSETypeType,
63
+ StreamViewTypeType,
64
+ TableClassType,
65
+ TableStatusType,
66
+ TimeToLiveStatusType,
67
+ )
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
76
+ if sys.version_info >= (3, 12):
77
+ from typing import NotRequired, TypedDict
78
+ else:
79
+ from typing_extensions import NotRequired, TypedDict
80
+
81
+ __all__ = (
82
+ "ArchivalSummaryTypeDef",
83
+ "AttributeDefinitionTypeDef",
84
+ "AttributeValueTypeDef",
85
+ "AttributeValueUpdateTableTypeDef",
86
+ "AttributeValueUpdateTypeDef",
87
+ "AutoScalingPolicyDescriptionTypeDef",
88
+ "AutoScalingPolicyUpdateTypeDef",
89
+ "AutoScalingSettingsDescriptionTypeDef",
90
+ "AutoScalingSettingsUpdateTypeDef",
91
+ "AutoScalingTargetTrackingScalingPolicyConfigurationDescriptionTypeDef",
92
+ "AutoScalingTargetTrackingScalingPolicyConfigurationUpdateTypeDef",
93
+ "BackupDescriptionTypeDef",
94
+ "BackupDetailsTypeDef",
95
+ "BackupSummaryTypeDef",
96
+ "BatchExecuteStatementInputRequestTypeDef",
97
+ "BatchExecuteStatementOutputTypeDef",
98
+ "BatchGetItemInputRequestTypeDef",
99
+ "BatchGetItemInputServiceResourceBatchGetItemTypeDef",
100
+ "BatchGetItemOutputServiceResourceTypeDef",
101
+ "BatchGetItemOutputTypeDef",
102
+ "BatchStatementErrorTypeDef",
103
+ "BatchStatementRequestTypeDef",
104
+ "BatchStatementResponseTypeDef",
105
+ "BatchWriteItemInputRequestTypeDef",
106
+ "BatchWriteItemInputServiceResourceBatchWriteItemTypeDef",
107
+ "BatchWriteItemOutputServiceResourceTypeDef",
108
+ "BatchWriteItemOutputTypeDef",
109
+ "BillingModeSummaryTypeDef",
110
+ "CapacityTypeDef",
111
+ "ConditionBaseImportTypeDef",
112
+ "ConditionCheckTypeDef",
113
+ "ConditionTableTypeDef",
114
+ "ConditionTypeDef",
115
+ "ConsumedCapacityTypeDef",
116
+ "ContinuousBackupsDescriptionTypeDef",
117
+ "ContributorInsightsSummaryTypeDef",
118
+ "CreateBackupInputRequestTypeDef",
119
+ "CreateBackupOutputTypeDef",
120
+ "CreateGlobalSecondaryIndexActionTypeDef",
121
+ "CreateGlobalTableInputRequestTypeDef",
122
+ "CreateGlobalTableOutputTypeDef",
123
+ "CreateReplicaActionTypeDef",
124
+ "CreateReplicationGroupMemberActionTypeDef",
125
+ "CreateTableInputRequestTypeDef",
126
+ "CreateTableInputServiceResourceCreateTableTypeDef",
127
+ "CreateTableOutputTypeDef",
128
+ "CsvOptionsOutputTypeDef",
129
+ "CsvOptionsTypeDef",
130
+ "CsvOptionsUnionTypeDef",
131
+ "DeleteBackupInputRequestTypeDef",
132
+ "DeleteBackupOutputTypeDef",
133
+ "DeleteGlobalSecondaryIndexActionTypeDef",
134
+ "DeleteItemInputRequestTypeDef",
135
+ "DeleteItemInputTableDeleteItemTypeDef",
136
+ "DeleteItemOutputTableTypeDef",
137
+ "DeleteItemOutputTypeDef",
138
+ "DeleteReplicaActionTypeDef",
139
+ "DeleteReplicationGroupMemberActionTypeDef",
140
+ "DeleteRequestOutputTypeDef",
141
+ "DeleteRequestServiceResourceOutputTypeDef",
142
+ "DeleteRequestServiceResourceTypeDef",
143
+ "DeleteRequestServiceResourceUnionTypeDef",
144
+ "DeleteRequestTypeDef",
145
+ "DeleteRequestUnionTypeDef",
146
+ "DeleteResourcePolicyInputRequestTypeDef",
147
+ "DeleteResourcePolicyOutputTypeDef",
148
+ "DeleteTableInputRequestTypeDef",
149
+ "DeleteTableOutputTypeDef",
150
+ "DeleteTypeDef",
151
+ "DescribeBackupInputRequestTypeDef",
152
+ "DescribeBackupOutputTypeDef",
153
+ "DescribeContinuousBackupsInputRequestTypeDef",
154
+ "DescribeContinuousBackupsOutputTypeDef",
155
+ "DescribeContributorInsightsInputRequestTypeDef",
156
+ "DescribeContributorInsightsOutputTypeDef",
157
+ "DescribeEndpointsResponseTypeDef",
158
+ "DescribeExportInputRequestTypeDef",
159
+ "DescribeExportOutputTypeDef",
160
+ "DescribeGlobalTableInputRequestTypeDef",
161
+ "DescribeGlobalTableOutputTypeDef",
162
+ "DescribeGlobalTableSettingsInputRequestTypeDef",
163
+ "DescribeGlobalTableSettingsOutputTypeDef",
164
+ "DescribeImportInputRequestTypeDef",
165
+ "DescribeImportOutputTypeDef",
166
+ "DescribeKinesisStreamingDestinationInputRequestTypeDef",
167
+ "DescribeKinesisStreamingDestinationOutputTypeDef",
168
+ "DescribeLimitsOutputTypeDef",
169
+ "DescribeTableInputRequestTypeDef",
170
+ "DescribeTableInputWaitTypeDef",
171
+ "DescribeTableOutputTypeDef",
172
+ "DescribeTableReplicaAutoScalingInputRequestTypeDef",
173
+ "DescribeTableReplicaAutoScalingOutputTypeDef",
174
+ "DescribeTimeToLiveInputRequestTypeDef",
175
+ "DescribeTimeToLiveOutputTypeDef",
176
+ "EmptyResponseMetadataTypeDef",
177
+ "EnableKinesisStreamingConfigurationTypeDef",
178
+ "EndpointTypeDef",
179
+ "ExecuteStatementInputRequestTypeDef",
180
+ "ExecuteStatementOutputTypeDef",
181
+ "ExecuteTransactionInputRequestTypeDef",
182
+ "ExecuteTransactionOutputTypeDef",
183
+ "ExpectedAttributeValueTableTypeDef",
184
+ "ExpectedAttributeValueTypeDef",
185
+ "ExportDescriptionTypeDef",
186
+ "ExportSummaryTypeDef",
187
+ "ExportTableToPointInTimeInputRequestTypeDef",
188
+ "ExportTableToPointInTimeOutputTypeDef",
189
+ "FailureExceptionTypeDef",
190
+ "GetItemInputRequestTypeDef",
191
+ "GetItemInputTableGetItemTypeDef",
192
+ "GetItemOutputTableTypeDef",
193
+ "GetItemOutputTypeDef",
194
+ "GetResourcePolicyInputRequestTypeDef",
195
+ "GetResourcePolicyOutputTypeDef",
196
+ "GetTypeDef",
197
+ "GlobalSecondaryIndexAutoScalingUpdateTypeDef",
198
+ "GlobalSecondaryIndexDescriptionTypeDef",
199
+ "GlobalSecondaryIndexInfoTypeDef",
200
+ "GlobalSecondaryIndexOutputTypeDef",
201
+ "GlobalSecondaryIndexTypeDef",
202
+ "GlobalSecondaryIndexUpdateTypeDef",
203
+ "GlobalSecondaryIndexWarmThroughputDescriptionTypeDef",
204
+ "GlobalTableDescriptionTypeDef",
205
+ "GlobalTableGlobalSecondaryIndexSettingsUpdateTypeDef",
206
+ "GlobalTableTypeDef",
207
+ "ImportSummaryTypeDef",
208
+ "ImportTableDescriptionTypeDef",
209
+ "ImportTableInputRequestTypeDef",
210
+ "ImportTableOutputTypeDef",
211
+ "IncrementalExportSpecificationOutputTypeDef",
212
+ "IncrementalExportSpecificationTypeDef",
213
+ "InputFormatOptionsOutputTypeDef",
214
+ "InputFormatOptionsTypeDef",
215
+ "ItemCollectionMetricsServiceResourceTypeDef",
216
+ "ItemCollectionMetricsTableTypeDef",
217
+ "ItemCollectionMetricsTypeDef",
218
+ "ItemResponseTypeDef",
219
+ "KeySchemaElementTypeDef",
220
+ "KeysAndAttributesOutputTypeDef",
221
+ "KeysAndAttributesServiceResourceOutputTypeDef",
222
+ "KeysAndAttributesServiceResourceTypeDef",
223
+ "KeysAndAttributesServiceResourceUnionTypeDef",
224
+ "KeysAndAttributesTypeDef",
225
+ "KeysAndAttributesUnionTypeDef",
226
+ "KinesisDataStreamDestinationTypeDef",
227
+ "KinesisStreamingDestinationInputRequestTypeDef",
228
+ "KinesisStreamingDestinationOutputTypeDef",
229
+ "ListBackupsInputPaginateTypeDef",
230
+ "ListBackupsInputRequestTypeDef",
231
+ "ListBackupsOutputTypeDef",
232
+ "ListContributorInsightsInputRequestTypeDef",
233
+ "ListContributorInsightsOutputTypeDef",
234
+ "ListExportsInputRequestTypeDef",
235
+ "ListExportsOutputTypeDef",
236
+ "ListGlobalTablesInputRequestTypeDef",
237
+ "ListGlobalTablesOutputTypeDef",
238
+ "ListImportsInputRequestTypeDef",
239
+ "ListImportsOutputTypeDef",
240
+ "ListTablesInputPaginateTypeDef",
241
+ "ListTablesInputRequestTypeDef",
242
+ "ListTablesOutputTypeDef",
243
+ "ListTagsOfResourceInputPaginateTypeDef",
244
+ "ListTagsOfResourceInputRequestTypeDef",
245
+ "ListTagsOfResourceOutputTypeDef",
246
+ "LocalSecondaryIndexDescriptionTypeDef",
247
+ "LocalSecondaryIndexInfoTypeDef",
248
+ "LocalSecondaryIndexTypeDef",
249
+ "OnDemandThroughputOverrideTypeDef",
250
+ "OnDemandThroughputTypeDef",
251
+ "PaginatorConfigTypeDef",
252
+ "ParameterizedStatementTypeDef",
253
+ "PointInTimeRecoveryDescriptionTypeDef",
254
+ "PointInTimeRecoverySpecificationTypeDef",
255
+ "ProjectionOutputTypeDef",
256
+ "ProjectionTypeDef",
257
+ "ProjectionUnionTypeDef",
258
+ "ProvisionedThroughputDescriptionTypeDef",
259
+ "ProvisionedThroughputOverrideTypeDef",
260
+ "ProvisionedThroughputTypeDef",
261
+ "PutItemInputRequestTypeDef",
262
+ "PutItemInputTablePutItemTypeDef",
263
+ "PutItemOutputTableTypeDef",
264
+ "PutItemOutputTypeDef",
265
+ "PutRequestOutputTypeDef",
266
+ "PutRequestServiceResourceOutputTypeDef",
267
+ "PutRequestServiceResourceTypeDef",
268
+ "PutRequestServiceResourceUnionTypeDef",
269
+ "PutRequestTypeDef",
270
+ "PutRequestUnionTypeDef",
271
+ "PutResourcePolicyInputRequestTypeDef",
272
+ "PutResourcePolicyOutputTypeDef",
273
+ "PutTypeDef",
274
+ "QueryInputPaginateTypeDef",
275
+ "QueryInputRequestTypeDef",
276
+ "QueryInputTableQueryTypeDef",
277
+ "QueryOutputTableTypeDef",
278
+ "QueryOutputTypeDef",
279
+ "ReplicaAutoScalingDescriptionTypeDef",
280
+ "ReplicaAutoScalingUpdateTypeDef",
281
+ "ReplicaDescriptionTypeDef",
282
+ "ReplicaGlobalSecondaryIndexAutoScalingDescriptionTypeDef",
283
+ "ReplicaGlobalSecondaryIndexAutoScalingUpdateTypeDef",
284
+ "ReplicaGlobalSecondaryIndexDescriptionTypeDef",
285
+ "ReplicaGlobalSecondaryIndexSettingsDescriptionTypeDef",
286
+ "ReplicaGlobalSecondaryIndexSettingsUpdateTypeDef",
287
+ "ReplicaGlobalSecondaryIndexTypeDef",
288
+ "ReplicaSettingsDescriptionTypeDef",
289
+ "ReplicaSettingsUpdateTypeDef",
290
+ "ReplicaTypeDef",
291
+ "ReplicaUpdateTypeDef",
292
+ "ReplicationGroupUpdateTypeDef",
293
+ "ResponseMetadataTypeDef",
294
+ "RestoreSummaryTypeDef",
295
+ "RestoreTableFromBackupInputRequestTypeDef",
296
+ "RestoreTableFromBackupOutputTypeDef",
297
+ "RestoreTableToPointInTimeInputRequestTypeDef",
298
+ "RestoreTableToPointInTimeOutputTypeDef",
299
+ "S3BucketSourceTypeDef",
300
+ "SSEDescriptionTypeDef",
301
+ "SSESpecificationTypeDef",
302
+ "ScanInputPaginateTypeDef",
303
+ "ScanInputRequestTypeDef",
304
+ "ScanInputTableScanTypeDef",
305
+ "ScanOutputTableTypeDef",
306
+ "ScanOutputTypeDef",
307
+ "SourceTableDetailsTypeDef",
308
+ "SourceTableFeatureDetailsTypeDef",
309
+ "StreamSpecificationTypeDef",
310
+ "TableAttributeValueTypeDef",
311
+ "TableAutoScalingDescriptionTypeDef",
312
+ "TableBatchWriterRequestTypeDef",
313
+ "TableClassSummaryTypeDef",
314
+ "TableCreationParametersOutputTypeDef",
315
+ "TableCreationParametersTypeDef",
316
+ "TableDescriptionTypeDef",
317
+ "TableWarmThroughputDescriptionTypeDef",
318
+ "TagResourceInputRequestTypeDef",
319
+ "TagTypeDef",
320
+ "TimeToLiveDescriptionTypeDef",
321
+ "TimeToLiveSpecificationTypeDef",
322
+ "TimestampTypeDef",
323
+ "TransactGetItemTypeDef",
324
+ "TransactGetItemsInputRequestTypeDef",
325
+ "TransactGetItemsOutputTypeDef",
326
+ "TransactWriteItemTypeDef",
327
+ "TransactWriteItemsInputRequestTypeDef",
328
+ "TransactWriteItemsOutputTypeDef",
329
+ "UniversalAttributeValueTypeDef",
330
+ "UntagResourceInputRequestTypeDef",
331
+ "UpdateContinuousBackupsInputRequestTypeDef",
332
+ "UpdateContinuousBackupsOutputTypeDef",
333
+ "UpdateContributorInsightsInputRequestTypeDef",
334
+ "UpdateContributorInsightsOutputTypeDef",
335
+ "UpdateGlobalSecondaryIndexActionTypeDef",
336
+ "UpdateGlobalTableInputRequestTypeDef",
337
+ "UpdateGlobalTableOutputTypeDef",
338
+ "UpdateGlobalTableSettingsInputRequestTypeDef",
339
+ "UpdateGlobalTableSettingsOutputTypeDef",
340
+ "UpdateItemInputRequestTypeDef",
341
+ "UpdateItemInputTableUpdateItemTypeDef",
342
+ "UpdateItemOutputTableTypeDef",
343
+ "UpdateItemOutputTypeDef",
344
+ "UpdateKinesisStreamingConfigurationTypeDef",
345
+ "UpdateKinesisStreamingDestinationInputRequestTypeDef",
346
+ "UpdateKinesisStreamingDestinationOutputTypeDef",
347
+ "UpdateReplicationGroupMemberActionTypeDef",
348
+ "UpdateTableInputRequestTypeDef",
349
+ "UpdateTableInputTableUpdateTypeDef",
350
+ "UpdateTableOutputTypeDef",
351
+ "UpdateTableReplicaAutoScalingInputRequestTypeDef",
352
+ "UpdateTableReplicaAutoScalingOutputTypeDef",
353
+ "UpdateTimeToLiveInputRequestTypeDef",
354
+ "UpdateTimeToLiveOutputTypeDef",
355
+ "UpdateTypeDef",
356
+ "WaiterConfigTypeDef",
357
+ "WarmThroughputTypeDef",
358
+ "WriteRequestOutputTypeDef",
359
+ "WriteRequestServiceResourceOutputTypeDef",
360
+ "WriteRequestServiceResourceTypeDef",
361
+ "WriteRequestServiceResourceUnionTypeDef",
362
+ "WriteRequestTypeDef",
363
+ "WriteRequestUnionTypeDef",
364
+ )
365
+
366
+ class ArchivalSummaryTypeDef(TypedDict):
367
+ ArchivalDateTime: NotRequired[datetime]
368
+ ArchivalReason: NotRequired[str]
369
+ ArchivalBackupArn: NotRequired[str]
370
+
371
+ class AttributeDefinitionTypeDef(TypedDict):
372
+ AttributeName: str
373
+ AttributeType: ScalarAttributeTypeType
374
+
375
+ class AttributeValueTypeDef(TypedDict):
376
+ S: NotRequired[str]
377
+ N: NotRequired[str]
378
+ B: NotRequired[bytes]
379
+ SS: NotRequired[Sequence[str]]
380
+ NS: NotRequired[Sequence[str]]
381
+ BS: NotRequired[Sequence[bytes]]
382
+ M: NotRequired[Mapping[str, Any]]
383
+ L: NotRequired[Sequence[Any]]
384
+ NULL: NotRequired[bool]
385
+ BOOL: NotRequired[bool]
386
+
387
+ TableAttributeValueTypeDef = Union[
388
+ bytes,
389
+ bytearray,
390
+ str,
391
+ int,
392
+ Decimal,
393
+ bool,
394
+ Set[int],
395
+ Set[Decimal],
396
+ Set[str],
397
+ Set[bytes],
398
+ Set[bytearray],
399
+ Sequence[Any],
400
+ Mapping[str, Any],
401
+ None,
402
+ ]
403
+
404
+ class AutoScalingTargetTrackingScalingPolicyConfigurationDescriptionTypeDef(TypedDict):
405
+ TargetValue: float
406
+ DisableScaleIn: NotRequired[bool]
407
+ ScaleInCooldown: NotRequired[int]
408
+ ScaleOutCooldown: NotRequired[int]
409
+
410
+ class AutoScalingTargetTrackingScalingPolicyConfigurationUpdateTypeDef(TypedDict):
411
+ TargetValue: float
412
+ DisableScaleIn: NotRequired[bool]
413
+ ScaleInCooldown: NotRequired[int]
414
+ ScaleOutCooldown: NotRequired[int]
415
+
416
+ class BackupDetailsTypeDef(TypedDict):
417
+ BackupArn: str
418
+ BackupName: str
419
+ BackupStatus: BackupStatusType
420
+ BackupType: BackupTypeType
421
+ BackupCreationDateTime: datetime
422
+ BackupSizeBytes: NotRequired[int]
423
+ BackupExpiryDateTime: NotRequired[datetime]
424
+
425
+ class BackupSummaryTypeDef(TypedDict):
426
+ TableName: NotRequired[str]
427
+ TableId: NotRequired[str]
428
+ TableArn: NotRequired[str]
429
+ BackupArn: NotRequired[str]
430
+ BackupName: NotRequired[str]
431
+ BackupCreationDateTime: NotRequired[datetime]
432
+ BackupExpiryDateTime: NotRequired[datetime]
433
+ BackupStatus: NotRequired[BackupStatusType]
434
+ BackupType: NotRequired[BackupTypeType]
435
+ BackupSizeBytes: NotRequired[int]
436
+
437
+ class ResponseMetadataTypeDef(TypedDict):
438
+ RequestId: str
439
+ HTTPStatusCode: int
440
+ HTTPHeaders: Dict[str, str]
441
+ RetryAttempts: int
442
+ HostId: NotRequired[str]
443
+
444
+ class BillingModeSummaryTypeDef(TypedDict):
445
+ BillingMode: NotRequired[BillingModeType]
446
+ LastUpdateToPayPerRequestDateTime: NotRequired[datetime]
447
+
448
+ class CapacityTypeDef(TypedDict):
449
+ ReadCapacityUnits: NotRequired[float]
450
+ WriteCapacityUnits: NotRequired[float]
451
+ CapacityUnits: NotRequired[float]
452
+
453
+ ConditionBaseImportTypeDef = Union[str, ConditionBase]
454
+
455
+ class PointInTimeRecoveryDescriptionTypeDef(TypedDict):
456
+ PointInTimeRecoveryStatus: NotRequired[PointInTimeRecoveryStatusType]
457
+ RecoveryPeriodInDays: NotRequired[int]
458
+ EarliestRestorableDateTime: NotRequired[datetime]
459
+ LatestRestorableDateTime: NotRequired[datetime]
460
+
461
+ class ContributorInsightsSummaryTypeDef(TypedDict):
462
+ TableName: NotRequired[str]
463
+ IndexName: NotRequired[str]
464
+ ContributorInsightsStatus: NotRequired[ContributorInsightsStatusType]
465
+
466
+ class CreateBackupInputRequestTypeDef(TypedDict):
467
+ TableName: str
468
+ BackupName: str
469
+
470
+ class KeySchemaElementTypeDef(TypedDict):
471
+ AttributeName: str
472
+ KeyType: KeyTypeType
473
+
474
+ class OnDemandThroughputTypeDef(TypedDict):
475
+ MaxReadRequestUnits: NotRequired[int]
476
+ MaxWriteRequestUnits: NotRequired[int]
477
+
478
+ class ProvisionedThroughputTypeDef(TypedDict):
479
+ ReadCapacityUnits: int
480
+ WriteCapacityUnits: int
481
+
482
+ class WarmThroughputTypeDef(TypedDict):
483
+ ReadUnitsPerSecond: NotRequired[int]
484
+ WriteUnitsPerSecond: NotRequired[int]
485
+
486
+ ReplicaTypeDef = TypedDict(
487
+ "ReplicaTypeDef",
488
+ {
489
+ "RegionName": NotRequired[str],
490
+ },
491
+ )
492
+ CreateReplicaActionTypeDef = TypedDict(
493
+ "CreateReplicaActionTypeDef",
494
+ {
495
+ "RegionName": str,
496
+ },
497
+ )
498
+
499
+ class OnDemandThroughputOverrideTypeDef(TypedDict):
500
+ MaxReadRequestUnits: NotRequired[int]
501
+
502
+ class ProvisionedThroughputOverrideTypeDef(TypedDict):
503
+ ReadCapacityUnits: NotRequired[int]
504
+
505
+ class SSESpecificationTypeDef(TypedDict):
506
+ Enabled: NotRequired[bool]
507
+ SSEType: NotRequired[SSETypeType]
508
+ KMSMasterKeyId: NotRequired[str]
509
+
510
+ class StreamSpecificationTypeDef(TypedDict):
511
+ StreamEnabled: bool
512
+ StreamViewType: NotRequired[StreamViewTypeType]
513
+
514
+ class TagTypeDef(TypedDict):
515
+ Key: str
516
+ Value: str
517
+
518
+ class CsvOptionsOutputTypeDef(TypedDict):
519
+ Delimiter: NotRequired[str]
520
+ HeaderList: NotRequired[List[str]]
521
+
522
+ class CsvOptionsTypeDef(TypedDict):
523
+ Delimiter: NotRequired[str]
524
+ HeaderList: NotRequired[Sequence[str]]
525
+
526
+ class DeleteBackupInputRequestTypeDef(TypedDict):
527
+ BackupArn: str
528
+
529
+ class DeleteGlobalSecondaryIndexActionTypeDef(TypedDict):
530
+ IndexName: str
531
+
532
+ DeleteReplicaActionTypeDef = TypedDict(
533
+ "DeleteReplicaActionTypeDef",
534
+ {
535
+ "RegionName": str,
536
+ },
537
+ )
538
+ DeleteReplicationGroupMemberActionTypeDef = TypedDict(
539
+ "DeleteReplicationGroupMemberActionTypeDef",
540
+ {
541
+ "RegionName": str,
542
+ },
543
+ )
544
+
545
+ class DeleteResourcePolicyInputRequestTypeDef(TypedDict):
546
+ ResourceArn: str
547
+ ExpectedRevisionId: NotRequired[str]
548
+
549
+ class DeleteTableInputRequestTypeDef(TypedDict):
550
+ TableName: str
551
+
552
+ class DescribeBackupInputRequestTypeDef(TypedDict):
553
+ BackupArn: str
554
+
555
+ class DescribeContinuousBackupsInputRequestTypeDef(TypedDict):
556
+ TableName: str
557
+
558
+ class DescribeContributorInsightsInputRequestTypeDef(TypedDict):
559
+ TableName: str
560
+ IndexName: NotRequired[str]
561
+
562
+ class FailureExceptionTypeDef(TypedDict):
563
+ ExceptionName: NotRequired[str]
564
+ ExceptionDescription: NotRequired[str]
565
+
566
+ class EndpointTypeDef(TypedDict):
567
+ Address: str
568
+ CachePeriodInMinutes: int
569
+
570
+ class DescribeExportInputRequestTypeDef(TypedDict):
571
+ ExportArn: str
572
+
573
+ class DescribeGlobalTableInputRequestTypeDef(TypedDict):
574
+ GlobalTableName: str
575
+
576
+ class DescribeGlobalTableSettingsInputRequestTypeDef(TypedDict):
577
+ GlobalTableName: str
578
+
579
+ class DescribeImportInputRequestTypeDef(TypedDict):
580
+ ImportArn: str
581
+
582
+ class DescribeKinesisStreamingDestinationInputRequestTypeDef(TypedDict):
583
+ TableName: str
584
+
585
+ class KinesisDataStreamDestinationTypeDef(TypedDict):
586
+ StreamArn: NotRequired[str]
587
+ DestinationStatus: NotRequired[DestinationStatusType]
588
+ DestinationStatusDescription: NotRequired[str]
589
+ ApproximateCreationDateTimePrecision: NotRequired[ApproximateCreationDateTimePrecisionType]
590
+
591
+ class DescribeTableInputRequestTypeDef(TypedDict):
592
+ TableName: str
593
+
594
+ class WaiterConfigTypeDef(TypedDict):
595
+ Delay: NotRequired[int]
596
+ MaxAttempts: NotRequired[int]
597
+
598
+ class DescribeTableReplicaAutoScalingInputRequestTypeDef(TypedDict):
599
+ TableName: str
600
+
601
+ class DescribeTimeToLiveInputRequestTypeDef(TypedDict):
602
+ TableName: str
603
+
604
+ class TimeToLiveDescriptionTypeDef(TypedDict):
605
+ TimeToLiveStatus: NotRequired[TimeToLiveStatusType]
606
+ AttributeName: NotRequired[str]
607
+
608
+ class EnableKinesisStreamingConfigurationTypeDef(TypedDict):
609
+ ApproximateCreationDateTimePrecision: NotRequired[ApproximateCreationDateTimePrecisionType]
610
+
611
+ class IncrementalExportSpecificationOutputTypeDef(TypedDict):
612
+ ExportFromTime: NotRequired[datetime]
613
+ ExportToTime: NotRequired[datetime]
614
+ ExportViewType: NotRequired[ExportViewTypeType]
615
+
616
+ class ExportSummaryTypeDef(TypedDict):
617
+ ExportArn: NotRequired[str]
618
+ ExportStatus: NotRequired[ExportStatusType]
619
+ ExportType: NotRequired[ExportTypeType]
620
+
621
+ TimestampTypeDef = Union[datetime, str]
622
+
623
+ class GetResourcePolicyInputRequestTypeDef(TypedDict):
624
+ ResourceArn: str
625
+
626
+ class GlobalSecondaryIndexWarmThroughputDescriptionTypeDef(TypedDict):
627
+ ReadUnitsPerSecond: NotRequired[int]
628
+ WriteUnitsPerSecond: NotRequired[int]
629
+ Status: NotRequired[IndexStatusType]
630
+
631
+ class ProjectionOutputTypeDef(TypedDict):
632
+ ProjectionType: NotRequired[ProjectionTypeType]
633
+ NonKeyAttributes: NotRequired[List[str]]
634
+
635
+ class ProvisionedThroughputDescriptionTypeDef(TypedDict):
636
+ LastIncreaseDateTime: NotRequired[datetime]
637
+ LastDecreaseDateTime: NotRequired[datetime]
638
+ NumberOfDecreasesToday: NotRequired[int]
639
+ ReadCapacityUnits: NotRequired[int]
640
+ WriteCapacityUnits: NotRequired[int]
641
+
642
+ class S3BucketSourceTypeDef(TypedDict):
643
+ S3Bucket: str
644
+ S3BucketOwner: NotRequired[str]
645
+ S3KeyPrefix: NotRequired[str]
646
+
647
+ class PaginatorConfigTypeDef(TypedDict):
648
+ MaxItems: NotRequired[int]
649
+ PageSize: NotRequired[int]
650
+ StartingToken: NotRequired[str]
651
+
652
+ class ListContributorInsightsInputRequestTypeDef(TypedDict):
653
+ TableName: NotRequired[str]
654
+ NextToken: NotRequired[str]
655
+ MaxResults: NotRequired[int]
656
+
657
+ class ListExportsInputRequestTypeDef(TypedDict):
658
+ TableArn: NotRequired[str]
659
+ MaxResults: NotRequired[int]
660
+ NextToken: NotRequired[str]
661
+
662
+ ListGlobalTablesInputRequestTypeDef = TypedDict(
663
+ "ListGlobalTablesInputRequestTypeDef",
664
+ {
665
+ "ExclusiveStartGlobalTableName": NotRequired[str],
666
+ "Limit": NotRequired[int],
667
+ "RegionName": NotRequired[str],
668
+ },
669
+ )
670
+
671
+ class ListImportsInputRequestTypeDef(TypedDict):
672
+ TableArn: NotRequired[str]
673
+ PageSize: NotRequired[int]
674
+ NextToken: NotRequired[str]
675
+
676
+ class ListTablesInputRequestTypeDef(TypedDict):
677
+ ExclusiveStartTableName: NotRequired[str]
678
+ Limit: NotRequired[int]
679
+
680
+ class ListTagsOfResourceInputRequestTypeDef(TypedDict):
681
+ ResourceArn: str
682
+ NextToken: NotRequired[str]
683
+
684
+ class PointInTimeRecoverySpecificationTypeDef(TypedDict):
685
+ PointInTimeRecoveryEnabled: bool
686
+ RecoveryPeriodInDays: NotRequired[int]
687
+
688
+ class ProjectionTypeDef(TypedDict):
689
+ ProjectionType: NotRequired[ProjectionTypeType]
690
+ NonKeyAttributes: NotRequired[Sequence[str]]
691
+
692
+ class PutResourcePolicyInputRequestTypeDef(TypedDict):
693
+ ResourceArn: str
694
+ Policy: str
695
+ ExpectedRevisionId: NotRequired[str]
696
+ ConfirmRemoveSelfResourceAccess: NotRequired[bool]
697
+
698
+ class TableClassSummaryTypeDef(TypedDict):
699
+ TableClass: NotRequired[TableClassType]
700
+ LastUpdateDateTime: NotRequired[datetime]
701
+
702
+ class TableWarmThroughputDescriptionTypeDef(TypedDict):
703
+ ReadUnitsPerSecond: NotRequired[int]
704
+ WriteUnitsPerSecond: NotRequired[int]
705
+ Status: NotRequired[TableStatusType]
706
+
707
+ class RestoreSummaryTypeDef(TypedDict):
708
+ RestoreDateTime: datetime
709
+ RestoreInProgress: bool
710
+ SourceBackupArn: NotRequired[str]
711
+ SourceTableArn: NotRequired[str]
712
+
713
+ class SSEDescriptionTypeDef(TypedDict):
714
+ Status: NotRequired[SSEStatusType]
715
+ SSEType: NotRequired[SSETypeType]
716
+ KMSMasterKeyArn: NotRequired[str]
717
+ InaccessibleEncryptionDateTime: NotRequired[datetime]
718
+
719
+ class TableBatchWriterRequestTypeDef(TypedDict):
720
+ overwrite_by_pkeys: NotRequired[List[str]]
721
+
722
+ class TimeToLiveSpecificationTypeDef(TypedDict):
723
+ Enabled: bool
724
+ AttributeName: str
725
+
726
+ class UntagResourceInputRequestTypeDef(TypedDict):
727
+ ResourceArn: str
728
+ TagKeys: Sequence[str]
729
+
730
+ class UpdateContributorInsightsInputRequestTypeDef(TypedDict):
731
+ TableName: str
732
+ ContributorInsightsAction: ContributorInsightsActionType
733
+ IndexName: NotRequired[str]
734
+
735
+ class UpdateKinesisStreamingConfigurationTypeDef(TypedDict):
736
+ ApproximateCreationDateTimePrecision: NotRequired[ApproximateCreationDateTimePrecisionType]
737
+
738
+ class BatchStatementErrorTypeDef(TypedDict):
739
+ Code: NotRequired[BatchStatementErrorCodeEnumType]
740
+ Message: NotRequired[str]
741
+ Item: NotRequired[Dict[str, AttributeValueTypeDef]]
742
+
743
+ class DeleteRequestOutputTypeDef(TypedDict):
744
+ Key: Dict[str, AttributeValueTypeDef]
745
+
746
+ class ItemCollectionMetricsTypeDef(TypedDict):
747
+ ItemCollectionKey: NotRequired[Dict[str, AttributeValueTypeDef]]
748
+ SizeEstimateRangeGB: NotRequired[List[float]]
749
+
750
+ class ItemResponseTypeDef(TypedDict):
751
+ Item: NotRequired[Dict[str, AttributeValueTypeDef]]
752
+
753
+ class KeysAndAttributesOutputTypeDef(TypedDict):
754
+ Keys: List[Dict[str, AttributeValueTypeDef]]
755
+ AttributesToGet: NotRequired[List[str]]
756
+ ConsistentRead: NotRequired[bool]
757
+ ProjectionExpression: NotRequired[str]
758
+ ExpressionAttributeNames: NotRequired[Dict[str, str]]
759
+
760
+ class PutRequestOutputTypeDef(TypedDict):
761
+ Item: Dict[str, AttributeValueTypeDef]
762
+
763
+ UniversalAttributeValueTypeDef = Union[
764
+ AttributeValueTypeDef,
765
+ bytes,
766
+ bytearray,
767
+ str,
768
+ int,
769
+ Decimal,
770
+ bool,
771
+ Set[int],
772
+ Set[Decimal],
773
+ Set[str],
774
+ Set[bytes],
775
+ Set[bytearray],
776
+ Sequence[Any],
777
+ Mapping[str, Any],
778
+ None,
779
+ ]
780
+
781
+ class AttributeValueUpdateTableTypeDef(TypedDict):
782
+ Value: NotRequired[TableAttributeValueTypeDef]
783
+ Action: NotRequired[AttributeActionType]
784
+
785
+ class ConditionTableTypeDef(TypedDict):
786
+ ComparisonOperator: ComparisonOperatorType
787
+ AttributeValueList: NotRequired[Sequence[TableAttributeValueTypeDef]]
788
+
789
+ class DeleteRequestServiceResourceOutputTypeDef(TypedDict):
790
+ Key: Dict[str, TableAttributeValueTypeDef]
791
+
792
+ class DeleteRequestServiceResourceTypeDef(TypedDict):
793
+ Key: Mapping[str, TableAttributeValueTypeDef]
794
+
795
+ class ExpectedAttributeValueTableTypeDef(TypedDict):
796
+ Value: NotRequired[TableAttributeValueTypeDef]
797
+ Exists: NotRequired[bool]
798
+ ComparisonOperator: NotRequired[ComparisonOperatorType]
799
+ AttributeValueList: NotRequired[Sequence[TableAttributeValueTypeDef]]
800
+
801
+ class GetItemInputTableGetItemTypeDef(TypedDict):
802
+ Key: Mapping[str, TableAttributeValueTypeDef]
803
+ AttributesToGet: NotRequired[Sequence[str]]
804
+ ConsistentRead: NotRequired[bool]
805
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
806
+ ProjectionExpression: NotRequired[str]
807
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
808
+
809
+ class ItemCollectionMetricsServiceResourceTypeDef(TypedDict):
810
+ ItemCollectionKey: NotRequired[Dict[str, TableAttributeValueTypeDef]]
811
+ SizeEstimateRangeGB: NotRequired[List[float]]
812
+
813
+ class ItemCollectionMetricsTableTypeDef(TypedDict):
814
+ ItemCollectionKey: NotRequired[Dict[str, TableAttributeValueTypeDef]]
815
+ SizeEstimateRangeGB: NotRequired[List[float]]
816
+
817
+ class KeysAndAttributesServiceResourceOutputTypeDef(TypedDict):
818
+ Keys: List[Dict[str, TableAttributeValueTypeDef]]
819
+ AttributesToGet: NotRequired[List[str]]
820
+ ConsistentRead: NotRequired[bool]
821
+ ProjectionExpression: NotRequired[str]
822
+ ExpressionAttributeNames: NotRequired[Dict[str, str]]
823
+
824
+ class KeysAndAttributesServiceResourceTypeDef(TypedDict):
825
+ Keys: Sequence[Mapping[str, TableAttributeValueTypeDef]]
826
+ AttributesToGet: NotRequired[Sequence[str]]
827
+ ConsistentRead: NotRequired[bool]
828
+ ProjectionExpression: NotRequired[str]
829
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
830
+
831
+ class PutRequestServiceResourceOutputTypeDef(TypedDict):
832
+ Item: Dict[str, TableAttributeValueTypeDef]
833
+
834
+ class PutRequestServiceResourceTypeDef(TypedDict):
835
+ Item: Mapping[str, TableAttributeValueTypeDef]
836
+
837
+ class AutoScalingPolicyDescriptionTypeDef(TypedDict):
838
+ PolicyName: NotRequired[str]
839
+ TargetTrackingScalingPolicyConfiguration: NotRequired[
840
+ AutoScalingTargetTrackingScalingPolicyConfigurationDescriptionTypeDef
841
+ ]
842
+
843
+ class AutoScalingPolicyUpdateTypeDef(TypedDict):
844
+ TargetTrackingScalingPolicyConfiguration: (
845
+ AutoScalingTargetTrackingScalingPolicyConfigurationUpdateTypeDef
846
+ )
847
+ PolicyName: NotRequired[str]
848
+
849
+ class CreateBackupOutputTypeDef(TypedDict):
850
+ BackupDetails: BackupDetailsTypeDef
851
+ ResponseMetadata: ResponseMetadataTypeDef
852
+
853
+ class DeleteResourcePolicyOutputTypeDef(TypedDict):
854
+ RevisionId: str
855
+ ResponseMetadata: ResponseMetadataTypeDef
856
+
857
+ class DescribeLimitsOutputTypeDef(TypedDict):
858
+ AccountMaxReadCapacityUnits: int
859
+ AccountMaxWriteCapacityUnits: int
860
+ TableMaxReadCapacityUnits: int
861
+ TableMaxWriteCapacityUnits: int
862
+ ResponseMetadata: ResponseMetadataTypeDef
863
+
864
+ class EmptyResponseMetadataTypeDef(TypedDict):
865
+ ResponseMetadata: ResponseMetadataTypeDef
866
+
867
+ class GetResourcePolicyOutputTypeDef(TypedDict):
868
+ Policy: str
869
+ RevisionId: str
870
+ ResponseMetadata: ResponseMetadataTypeDef
871
+
872
+ class ListBackupsOutputTypeDef(TypedDict):
873
+ BackupSummaries: List[BackupSummaryTypeDef]
874
+ LastEvaluatedBackupArn: str
875
+ ResponseMetadata: ResponseMetadataTypeDef
876
+
877
+ class ListTablesOutputTypeDef(TypedDict):
878
+ TableNames: List[str]
879
+ LastEvaluatedTableName: str
880
+ ResponseMetadata: ResponseMetadataTypeDef
881
+
882
+ class PutResourcePolicyOutputTypeDef(TypedDict):
883
+ RevisionId: str
884
+ ResponseMetadata: ResponseMetadataTypeDef
885
+
886
+ class UpdateContributorInsightsOutputTypeDef(TypedDict):
887
+ TableName: str
888
+ IndexName: str
889
+ ContributorInsightsStatus: ContributorInsightsStatusType
890
+ ResponseMetadata: ResponseMetadataTypeDef
891
+
892
+ class ConsumedCapacityTypeDef(TypedDict):
893
+ TableName: NotRequired[str]
894
+ CapacityUnits: NotRequired[float]
895
+ ReadCapacityUnits: NotRequired[float]
896
+ WriteCapacityUnits: NotRequired[float]
897
+ Table: NotRequired[CapacityTypeDef]
898
+ LocalSecondaryIndexes: NotRequired[Dict[str, CapacityTypeDef]]
899
+ GlobalSecondaryIndexes: NotRequired[Dict[str, CapacityTypeDef]]
900
+
901
+ class ContinuousBackupsDescriptionTypeDef(TypedDict):
902
+ ContinuousBackupsStatus: ContinuousBackupsStatusType
903
+ PointInTimeRecoveryDescription: NotRequired[PointInTimeRecoveryDescriptionTypeDef]
904
+
905
+ class ListContributorInsightsOutputTypeDef(TypedDict):
906
+ ContributorInsightsSummaries: List[ContributorInsightsSummaryTypeDef]
907
+ ResponseMetadata: ResponseMetadataTypeDef
908
+ NextToken: NotRequired[str]
909
+
910
+ class SourceTableDetailsTypeDef(TypedDict):
911
+ TableName: str
912
+ TableId: str
913
+ KeySchema: List[KeySchemaElementTypeDef]
914
+ TableCreationDateTime: datetime
915
+ ProvisionedThroughput: ProvisionedThroughputTypeDef
916
+ TableArn: NotRequired[str]
917
+ TableSizeBytes: NotRequired[int]
918
+ OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
919
+ ItemCount: NotRequired[int]
920
+ BillingMode: NotRequired[BillingModeType]
921
+
922
+ class UpdateGlobalSecondaryIndexActionTypeDef(TypedDict):
923
+ IndexName: str
924
+ ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
925
+ OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
926
+ WarmThroughput: NotRequired[WarmThroughputTypeDef]
927
+
928
+ class CreateGlobalTableInputRequestTypeDef(TypedDict):
929
+ GlobalTableName: str
930
+ ReplicationGroup: Sequence[ReplicaTypeDef]
931
+
932
+ class GlobalTableTypeDef(TypedDict):
933
+ GlobalTableName: NotRequired[str]
934
+ ReplicationGroup: NotRequired[List[ReplicaTypeDef]]
935
+
936
+ class ReplicaGlobalSecondaryIndexTypeDef(TypedDict):
937
+ IndexName: str
938
+ ProvisionedThroughputOverride: NotRequired[ProvisionedThroughputOverrideTypeDef]
939
+ OnDemandThroughputOverride: NotRequired[OnDemandThroughputOverrideTypeDef]
940
+
941
+ class ListTagsOfResourceOutputTypeDef(TypedDict):
942
+ Tags: List[TagTypeDef]
943
+ ResponseMetadata: ResponseMetadataTypeDef
944
+ NextToken: NotRequired[str]
945
+
946
+ class TagResourceInputRequestTypeDef(TypedDict):
947
+ ResourceArn: str
948
+ Tags: Sequence[TagTypeDef]
949
+
950
+ class InputFormatOptionsOutputTypeDef(TypedDict):
951
+ Csv: NotRequired[CsvOptionsOutputTypeDef]
952
+
953
+ CsvOptionsUnionTypeDef = Union[CsvOptionsTypeDef, CsvOptionsOutputTypeDef]
954
+
955
+ class ReplicaUpdateTypeDef(TypedDict):
956
+ Create: NotRequired[CreateReplicaActionTypeDef]
957
+ Delete: NotRequired[DeleteReplicaActionTypeDef]
958
+
959
+ class DescribeContributorInsightsOutputTypeDef(TypedDict):
960
+ TableName: str
961
+ IndexName: str
962
+ ContributorInsightsRuleList: List[str]
963
+ ContributorInsightsStatus: ContributorInsightsStatusType
964
+ LastUpdateDateTime: datetime
965
+ FailureException: FailureExceptionTypeDef
966
+ ResponseMetadata: ResponseMetadataTypeDef
967
+
968
+ class DescribeEndpointsResponseTypeDef(TypedDict):
969
+ Endpoints: List[EndpointTypeDef]
970
+ ResponseMetadata: ResponseMetadataTypeDef
971
+
972
+ class DescribeKinesisStreamingDestinationOutputTypeDef(TypedDict):
973
+ TableName: str
974
+ KinesisDataStreamDestinations: List[KinesisDataStreamDestinationTypeDef]
975
+ ResponseMetadata: ResponseMetadataTypeDef
976
+
977
+ class DescribeTableInputWaitTypeDef(TypedDict):
978
+ TableName: str
979
+ WaiterConfig: NotRequired[WaiterConfigTypeDef]
980
+
981
+ class DescribeTimeToLiveOutputTypeDef(TypedDict):
982
+ TimeToLiveDescription: TimeToLiveDescriptionTypeDef
983
+ ResponseMetadata: ResponseMetadataTypeDef
984
+
985
+ class KinesisStreamingDestinationInputRequestTypeDef(TypedDict):
986
+ TableName: str
987
+ StreamArn: str
988
+ EnableKinesisStreamingConfiguration: NotRequired[EnableKinesisStreamingConfigurationTypeDef]
989
+
990
+ class KinesisStreamingDestinationOutputTypeDef(TypedDict):
991
+ TableName: str
992
+ StreamArn: str
993
+ DestinationStatus: DestinationStatusType
994
+ EnableKinesisStreamingConfiguration: EnableKinesisStreamingConfigurationTypeDef
995
+ ResponseMetadata: ResponseMetadataTypeDef
996
+
997
+ class ExportDescriptionTypeDef(TypedDict):
998
+ ExportArn: NotRequired[str]
999
+ ExportStatus: NotRequired[ExportStatusType]
1000
+ StartTime: NotRequired[datetime]
1001
+ EndTime: NotRequired[datetime]
1002
+ ExportManifest: NotRequired[str]
1003
+ TableArn: NotRequired[str]
1004
+ TableId: NotRequired[str]
1005
+ ExportTime: NotRequired[datetime]
1006
+ ClientToken: NotRequired[str]
1007
+ S3Bucket: NotRequired[str]
1008
+ S3BucketOwner: NotRequired[str]
1009
+ S3Prefix: NotRequired[str]
1010
+ S3SseAlgorithm: NotRequired[S3SseAlgorithmType]
1011
+ S3SseKmsKeyId: NotRequired[str]
1012
+ FailureCode: NotRequired[str]
1013
+ FailureMessage: NotRequired[str]
1014
+ ExportFormat: NotRequired[ExportFormatType]
1015
+ BilledSizeBytes: NotRequired[int]
1016
+ ItemCount: NotRequired[int]
1017
+ ExportType: NotRequired[ExportTypeType]
1018
+ IncrementalExportSpecification: NotRequired[IncrementalExportSpecificationOutputTypeDef]
1019
+
1020
+ class ListExportsOutputTypeDef(TypedDict):
1021
+ ExportSummaries: List[ExportSummaryTypeDef]
1022
+ ResponseMetadata: ResponseMetadataTypeDef
1023
+ NextToken: NotRequired[str]
1024
+
1025
+ class IncrementalExportSpecificationTypeDef(TypedDict):
1026
+ ExportFromTime: NotRequired[TimestampTypeDef]
1027
+ ExportToTime: NotRequired[TimestampTypeDef]
1028
+ ExportViewType: NotRequired[ExportViewTypeType]
1029
+
1030
+ class ListBackupsInputRequestTypeDef(TypedDict):
1031
+ TableName: NotRequired[str]
1032
+ Limit: NotRequired[int]
1033
+ TimeRangeLowerBound: NotRequired[TimestampTypeDef]
1034
+ TimeRangeUpperBound: NotRequired[TimestampTypeDef]
1035
+ ExclusiveStartBackupArn: NotRequired[str]
1036
+ BackupType: NotRequired[BackupTypeFilterType]
1037
+
1038
+ class ReplicaGlobalSecondaryIndexDescriptionTypeDef(TypedDict):
1039
+ IndexName: NotRequired[str]
1040
+ ProvisionedThroughputOverride: NotRequired[ProvisionedThroughputOverrideTypeDef]
1041
+ OnDemandThroughputOverride: NotRequired[OnDemandThroughputOverrideTypeDef]
1042
+ WarmThroughput: NotRequired[GlobalSecondaryIndexWarmThroughputDescriptionTypeDef]
1043
+
1044
+ class GlobalSecondaryIndexInfoTypeDef(TypedDict):
1045
+ IndexName: NotRequired[str]
1046
+ KeySchema: NotRequired[List[KeySchemaElementTypeDef]]
1047
+ Projection: NotRequired[ProjectionOutputTypeDef]
1048
+ ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
1049
+ OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
1050
+
1051
+ class GlobalSecondaryIndexOutputTypeDef(TypedDict):
1052
+ IndexName: str
1053
+ KeySchema: List[KeySchemaElementTypeDef]
1054
+ Projection: ProjectionOutputTypeDef
1055
+ ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
1056
+ OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
1057
+ WarmThroughput: NotRequired[WarmThroughputTypeDef]
1058
+
1059
+ class LocalSecondaryIndexDescriptionTypeDef(TypedDict):
1060
+ IndexName: NotRequired[str]
1061
+ KeySchema: NotRequired[List[KeySchemaElementTypeDef]]
1062
+ Projection: NotRequired[ProjectionOutputTypeDef]
1063
+ IndexSizeBytes: NotRequired[int]
1064
+ ItemCount: NotRequired[int]
1065
+ IndexArn: NotRequired[str]
1066
+
1067
+ class LocalSecondaryIndexInfoTypeDef(TypedDict):
1068
+ IndexName: NotRequired[str]
1069
+ KeySchema: NotRequired[List[KeySchemaElementTypeDef]]
1070
+ Projection: NotRequired[ProjectionOutputTypeDef]
1071
+
1072
+ class GlobalSecondaryIndexDescriptionTypeDef(TypedDict):
1073
+ IndexName: NotRequired[str]
1074
+ KeySchema: NotRequired[List[KeySchemaElementTypeDef]]
1075
+ Projection: NotRequired[ProjectionOutputTypeDef]
1076
+ IndexStatus: NotRequired[IndexStatusType]
1077
+ Backfilling: NotRequired[bool]
1078
+ ProvisionedThroughput: NotRequired[ProvisionedThroughputDescriptionTypeDef]
1079
+ IndexSizeBytes: NotRequired[int]
1080
+ ItemCount: NotRequired[int]
1081
+ IndexArn: NotRequired[str]
1082
+ OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
1083
+ WarmThroughput: NotRequired[GlobalSecondaryIndexWarmThroughputDescriptionTypeDef]
1084
+
1085
+ class ImportSummaryTypeDef(TypedDict):
1086
+ ImportArn: NotRequired[str]
1087
+ ImportStatus: NotRequired[ImportStatusType]
1088
+ TableArn: NotRequired[str]
1089
+ S3BucketSource: NotRequired[S3BucketSourceTypeDef]
1090
+ CloudWatchLogGroupArn: NotRequired[str]
1091
+ InputFormat: NotRequired[InputFormatType]
1092
+ StartTime: NotRequired[datetime]
1093
+ EndTime: NotRequired[datetime]
1094
+
1095
+ class ListBackupsInputPaginateTypeDef(TypedDict):
1096
+ TableName: NotRequired[str]
1097
+ TimeRangeLowerBound: NotRequired[TimestampTypeDef]
1098
+ TimeRangeUpperBound: NotRequired[TimestampTypeDef]
1099
+ BackupType: NotRequired[BackupTypeFilterType]
1100
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
1101
+
1102
+ class ListTablesInputPaginateTypeDef(TypedDict):
1103
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
1104
+
1105
+ class ListTagsOfResourceInputPaginateTypeDef(TypedDict):
1106
+ ResourceArn: str
1107
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
1108
+
1109
+ class UpdateContinuousBackupsInputRequestTypeDef(TypedDict):
1110
+ TableName: str
1111
+ PointInTimeRecoverySpecification: PointInTimeRecoverySpecificationTypeDef
1112
+
1113
+ ProjectionUnionTypeDef = Union[ProjectionTypeDef, ProjectionOutputTypeDef]
1114
+
1115
+ class UpdateTimeToLiveInputRequestTypeDef(TypedDict):
1116
+ TableName: str
1117
+ TimeToLiveSpecification: TimeToLiveSpecificationTypeDef
1118
+
1119
+ class UpdateTimeToLiveOutputTypeDef(TypedDict):
1120
+ TimeToLiveSpecification: TimeToLiveSpecificationTypeDef
1121
+ ResponseMetadata: ResponseMetadataTypeDef
1122
+
1123
+ class UpdateKinesisStreamingDestinationInputRequestTypeDef(TypedDict):
1124
+ TableName: str
1125
+ StreamArn: str
1126
+ UpdateKinesisStreamingConfiguration: NotRequired[UpdateKinesisStreamingConfigurationTypeDef]
1127
+
1128
+ class UpdateKinesisStreamingDestinationOutputTypeDef(TypedDict):
1129
+ TableName: str
1130
+ StreamArn: str
1131
+ DestinationStatus: DestinationStatusType
1132
+ UpdateKinesisStreamingConfiguration: UpdateKinesisStreamingConfigurationTypeDef
1133
+ ResponseMetadata: ResponseMetadataTypeDef
1134
+
1135
+ class BatchStatementResponseTypeDef(TypedDict):
1136
+ Error: NotRequired[BatchStatementErrorTypeDef]
1137
+ TableName: NotRequired[str]
1138
+ Item: NotRequired[Dict[str, AttributeValueTypeDef]]
1139
+
1140
+ class WriteRequestOutputTypeDef(TypedDict):
1141
+ PutRequest: NotRequired[PutRequestOutputTypeDef]
1142
+ DeleteRequest: NotRequired[DeleteRequestOutputTypeDef]
1143
+
1144
+ class AttributeValueUpdateTypeDef(TypedDict):
1145
+ Value: NotRequired[UniversalAttributeValueTypeDef]
1146
+ Action: NotRequired[AttributeActionType]
1147
+
1148
+ class BatchStatementRequestTypeDef(TypedDict):
1149
+ Statement: str
1150
+ Parameters: NotRequired[Sequence[UniversalAttributeValueTypeDef]]
1151
+ ConsistentRead: NotRequired[bool]
1152
+ ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType]
1153
+
1154
+ class ConditionCheckTypeDef(TypedDict):
1155
+ Key: Mapping[str, UniversalAttributeValueTypeDef]
1156
+ TableName: str
1157
+ ConditionExpression: str
1158
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1159
+ ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1160
+ ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType]
1161
+
1162
+ class ConditionTypeDef(TypedDict):
1163
+ ComparisonOperator: ComparisonOperatorType
1164
+ AttributeValueList: NotRequired[Sequence[UniversalAttributeValueTypeDef]]
1165
+
1166
+ class DeleteRequestTypeDef(TypedDict):
1167
+ Key: Mapping[str, UniversalAttributeValueTypeDef]
1168
+
1169
+ class DeleteTypeDef(TypedDict):
1170
+ Key: Mapping[str, UniversalAttributeValueTypeDef]
1171
+ TableName: str
1172
+ ConditionExpression: NotRequired[str]
1173
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1174
+ ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1175
+ ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType]
1176
+
1177
+ class ExecuteStatementInputRequestTypeDef(TypedDict):
1178
+ Statement: str
1179
+ Parameters: NotRequired[Sequence[UniversalAttributeValueTypeDef]]
1180
+ ConsistentRead: NotRequired[bool]
1181
+ NextToken: NotRequired[str]
1182
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1183
+ Limit: NotRequired[int]
1184
+ ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType]
1185
+
1186
+ class ExpectedAttributeValueTypeDef(TypedDict):
1187
+ Value: NotRequired[UniversalAttributeValueTypeDef]
1188
+ Exists: NotRequired[bool]
1189
+ ComparisonOperator: NotRequired[ComparisonOperatorType]
1190
+ AttributeValueList: NotRequired[Sequence[UniversalAttributeValueTypeDef]]
1191
+
1192
+ class GetItemInputRequestTypeDef(TypedDict):
1193
+ TableName: str
1194
+ Key: Mapping[str, UniversalAttributeValueTypeDef]
1195
+ AttributesToGet: NotRequired[Sequence[str]]
1196
+ ConsistentRead: NotRequired[bool]
1197
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1198
+ ProjectionExpression: NotRequired[str]
1199
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1200
+
1201
+ class GetTypeDef(TypedDict):
1202
+ Key: Mapping[str, UniversalAttributeValueTypeDef]
1203
+ TableName: str
1204
+ ProjectionExpression: NotRequired[str]
1205
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1206
+
1207
+ class KeysAndAttributesTypeDef(TypedDict):
1208
+ Keys: Sequence[Mapping[str, UniversalAttributeValueTypeDef]]
1209
+ AttributesToGet: NotRequired[Sequence[str]]
1210
+ ConsistentRead: NotRequired[bool]
1211
+ ProjectionExpression: NotRequired[str]
1212
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1213
+
1214
+ class ParameterizedStatementTypeDef(TypedDict):
1215
+ Statement: str
1216
+ Parameters: NotRequired[Sequence[UniversalAttributeValueTypeDef]]
1217
+ ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType]
1218
+
1219
+ class PutRequestTypeDef(TypedDict):
1220
+ Item: Mapping[str, UniversalAttributeValueTypeDef]
1221
+
1222
+ class PutTypeDef(TypedDict):
1223
+ Item: Mapping[str, UniversalAttributeValueTypeDef]
1224
+ TableName: str
1225
+ ConditionExpression: NotRequired[str]
1226
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1227
+ ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1228
+ ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType]
1229
+
1230
+ class UpdateTypeDef(TypedDict):
1231
+ Key: Mapping[str, UniversalAttributeValueTypeDef]
1232
+ UpdateExpression: str
1233
+ TableName: str
1234
+ ConditionExpression: NotRequired[str]
1235
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1236
+ ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1237
+ ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType]
1238
+
1239
+ class QueryInputTableQueryTypeDef(TypedDict):
1240
+ IndexName: NotRequired[str]
1241
+ Select: NotRequired[SelectType]
1242
+ AttributesToGet: NotRequired[Sequence[str]]
1243
+ Limit: NotRequired[int]
1244
+ ConsistentRead: NotRequired[bool]
1245
+ KeyConditions: NotRequired[Mapping[str, ConditionTableTypeDef]]
1246
+ QueryFilter: NotRequired[Mapping[str, ConditionTableTypeDef]]
1247
+ ConditionalOperator: NotRequired[ConditionalOperatorType]
1248
+ ScanIndexForward: NotRequired[bool]
1249
+ ExclusiveStartKey: NotRequired[Mapping[str, TableAttributeValueTypeDef]]
1250
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1251
+ ProjectionExpression: NotRequired[str]
1252
+ FilterExpression: NotRequired[ConditionBaseImportTypeDef]
1253
+ KeyConditionExpression: NotRequired[ConditionBaseImportTypeDef]
1254
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1255
+ ExpressionAttributeValues: NotRequired[Mapping[str, TableAttributeValueTypeDef]]
1256
+
1257
+ class ScanInputTableScanTypeDef(TypedDict):
1258
+ IndexName: NotRequired[str]
1259
+ AttributesToGet: NotRequired[Sequence[str]]
1260
+ Limit: NotRequired[int]
1261
+ Select: NotRequired[SelectType]
1262
+ ScanFilter: NotRequired[Mapping[str, ConditionTableTypeDef]]
1263
+ ConditionalOperator: NotRequired[ConditionalOperatorType]
1264
+ ExclusiveStartKey: NotRequired[Mapping[str, TableAttributeValueTypeDef]]
1265
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1266
+ TotalSegments: NotRequired[int]
1267
+ Segment: NotRequired[int]
1268
+ ProjectionExpression: NotRequired[str]
1269
+ FilterExpression: NotRequired[ConditionBaseImportTypeDef]
1270
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1271
+ ExpressionAttributeValues: NotRequired[Mapping[str, TableAttributeValueTypeDef]]
1272
+ ConsistentRead: NotRequired[bool]
1273
+
1274
+ DeleteRequestServiceResourceUnionTypeDef = Union[
1275
+ DeleteRequestServiceResourceTypeDef, DeleteRequestServiceResourceOutputTypeDef
1276
+ ]
1277
+
1278
+ class DeleteItemInputTableDeleteItemTypeDef(TypedDict):
1279
+ Key: Mapping[str, TableAttributeValueTypeDef]
1280
+ Expected: NotRequired[Mapping[str, ExpectedAttributeValueTableTypeDef]]
1281
+ ConditionalOperator: NotRequired[ConditionalOperatorType]
1282
+ ReturnValues: NotRequired[ReturnValueType]
1283
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1284
+ ReturnItemCollectionMetrics: NotRequired[ReturnItemCollectionMetricsType]
1285
+ ConditionExpression: NotRequired[ConditionBaseImportTypeDef]
1286
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1287
+ ExpressionAttributeValues: NotRequired[Mapping[str, TableAttributeValueTypeDef]]
1288
+ ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType]
1289
+
1290
+ class PutItemInputTablePutItemTypeDef(TypedDict):
1291
+ Item: Mapping[str, TableAttributeValueTypeDef]
1292
+ Expected: NotRequired[Mapping[str, ExpectedAttributeValueTableTypeDef]]
1293
+ ReturnValues: NotRequired[ReturnValueType]
1294
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1295
+ ReturnItemCollectionMetrics: NotRequired[ReturnItemCollectionMetricsType]
1296
+ ConditionalOperator: NotRequired[ConditionalOperatorType]
1297
+ ConditionExpression: NotRequired[ConditionBaseImportTypeDef]
1298
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1299
+ ExpressionAttributeValues: NotRequired[Mapping[str, TableAttributeValueTypeDef]]
1300
+ ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType]
1301
+
1302
+ class UpdateItemInputTableUpdateItemTypeDef(TypedDict):
1303
+ Key: Mapping[str, TableAttributeValueTypeDef]
1304
+ AttributeUpdates: NotRequired[Mapping[str, AttributeValueUpdateTableTypeDef]]
1305
+ Expected: NotRequired[Mapping[str, ExpectedAttributeValueTableTypeDef]]
1306
+ ConditionalOperator: NotRequired[ConditionalOperatorType]
1307
+ ReturnValues: NotRequired[ReturnValueType]
1308
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1309
+ ReturnItemCollectionMetrics: NotRequired[ReturnItemCollectionMetricsType]
1310
+ UpdateExpression: NotRequired[str]
1311
+ ConditionExpression: NotRequired[ConditionBaseImportTypeDef]
1312
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1313
+ ExpressionAttributeValues: NotRequired[Mapping[str, TableAttributeValueTypeDef]]
1314
+ ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType]
1315
+
1316
+ KeysAndAttributesServiceResourceUnionTypeDef = Union[
1317
+ KeysAndAttributesServiceResourceTypeDef, KeysAndAttributesServiceResourceOutputTypeDef
1318
+ ]
1319
+
1320
+ class WriteRequestServiceResourceOutputTypeDef(TypedDict):
1321
+ PutRequest: NotRequired[PutRequestServiceResourceOutputTypeDef]
1322
+ DeleteRequest: NotRequired[DeleteRequestServiceResourceOutputTypeDef]
1323
+
1324
+ PutRequestServiceResourceUnionTypeDef = Union[
1325
+ PutRequestServiceResourceTypeDef, PutRequestServiceResourceOutputTypeDef
1326
+ ]
1327
+
1328
+ class AutoScalingSettingsDescriptionTypeDef(TypedDict):
1329
+ MinimumUnits: NotRequired[int]
1330
+ MaximumUnits: NotRequired[int]
1331
+ AutoScalingDisabled: NotRequired[bool]
1332
+ AutoScalingRoleArn: NotRequired[str]
1333
+ ScalingPolicies: NotRequired[List[AutoScalingPolicyDescriptionTypeDef]]
1334
+
1335
+ class AutoScalingSettingsUpdateTypeDef(TypedDict):
1336
+ MinimumUnits: NotRequired[int]
1337
+ MaximumUnits: NotRequired[int]
1338
+ AutoScalingDisabled: NotRequired[bool]
1339
+ AutoScalingRoleArn: NotRequired[str]
1340
+ ScalingPolicyUpdate: NotRequired[AutoScalingPolicyUpdateTypeDef]
1341
+
1342
+ class BatchGetItemOutputServiceResourceTypeDef(TypedDict):
1343
+ Responses: Dict[str, List[Dict[str, TableAttributeValueTypeDef]]]
1344
+ UnprocessedKeys: Dict[str, KeysAndAttributesServiceResourceOutputTypeDef]
1345
+ ConsumedCapacity: List[ConsumedCapacityTypeDef]
1346
+ ResponseMetadata: ResponseMetadataTypeDef
1347
+
1348
+ class BatchGetItemOutputTypeDef(TypedDict):
1349
+ Responses: Dict[str, List[Dict[str, AttributeValueTypeDef]]]
1350
+ UnprocessedKeys: Dict[str, KeysAndAttributesOutputTypeDef]
1351
+ ConsumedCapacity: List[ConsumedCapacityTypeDef]
1352
+ ResponseMetadata: ResponseMetadataTypeDef
1353
+
1354
+ class DeleteItemOutputTableTypeDef(TypedDict):
1355
+ Attributes: Dict[str, TableAttributeValueTypeDef]
1356
+ ConsumedCapacity: ConsumedCapacityTypeDef
1357
+ ItemCollectionMetrics: ItemCollectionMetricsTableTypeDef
1358
+ ResponseMetadata: ResponseMetadataTypeDef
1359
+
1360
+ class DeleteItemOutputTypeDef(TypedDict):
1361
+ Attributes: Dict[str, AttributeValueTypeDef]
1362
+ ConsumedCapacity: ConsumedCapacityTypeDef
1363
+ ItemCollectionMetrics: ItemCollectionMetricsTypeDef
1364
+ ResponseMetadata: ResponseMetadataTypeDef
1365
+
1366
+ class ExecuteStatementOutputTypeDef(TypedDict):
1367
+ Items: List[Dict[str, AttributeValueTypeDef]]
1368
+ ConsumedCapacity: ConsumedCapacityTypeDef
1369
+ ResponseMetadata: ResponseMetadataTypeDef
1370
+ NextToken: NotRequired[str]
1371
+ LastEvaluatedKey: NotRequired[Dict[str, AttributeValueTypeDef]]
1372
+
1373
+ class ExecuteTransactionOutputTypeDef(TypedDict):
1374
+ Responses: List[ItemResponseTypeDef]
1375
+ ConsumedCapacity: List[ConsumedCapacityTypeDef]
1376
+ ResponseMetadata: ResponseMetadataTypeDef
1377
+
1378
+ class GetItemOutputTableTypeDef(TypedDict):
1379
+ ConsumedCapacity: ConsumedCapacityTypeDef
1380
+ ResponseMetadata: ResponseMetadataTypeDef
1381
+ Item: NotRequired[Dict[str, TableAttributeValueTypeDef]]
1382
+
1383
+ class GetItemOutputTypeDef(TypedDict):
1384
+ ConsumedCapacity: ConsumedCapacityTypeDef
1385
+ ResponseMetadata: ResponseMetadataTypeDef
1386
+ Item: NotRequired[Dict[str, AttributeValueTypeDef]]
1387
+
1388
+ class PutItemOutputTableTypeDef(TypedDict):
1389
+ Attributes: Dict[str, TableAttributeValueTypeDef]
1390
+ ConsumedCapacity: ConsumedCapacityTypeDef
1391
+ ItemCollectionMetrics: ItemCollectionMetricsTableTypeDef
1392
+ ResponseMetadata: ResponseMetadataTypeDef
1393
+
1394
+ class PutItemOutputTypeDef(TypedDict):
1395
+ Attributes: Dict[str, AttributeValueTypeDef]
1396
+ ConsumedCapacity: ConsumedCapacityTypeDef
1397
+ ItemCollectionMetrics: ItemCollectionMetricsTypeDef
1398
+ ResponseMetadata: ResponseMetadataTypeDef
1399
+
1400
+ class QueryOutputTableTypeDef(TypedDict):
1401
+ Items: List[Dict[str, TableAttributeValueTypeDef]]
1402
+ Count: int
1403
+ ScannedCount: int
1404
+ ConsumedCapacity: ConsumedCapacityTypeDef
1405
+ ResponseMetadata: ResponseMetadataTypeDef
1406
+ LastEvaluatedKey: NotRequired[Dict[str, TableAttributeValueTypeDef]]
1407
+
1408
+ class QueryOutputTypeDef(TypedDict):
1409
+ Items: List[Dict[str, AttributeValueTypeDef]]
1410
+ Count: int
1411
+ ScannedCount: int
1412
+ ConsumedCapacity: ConsumedCapacityTypeDef
1413
+ ResponseMetadata: ResponseMetadataTypeDef
1414
+ LastEvaluatedKey: NotRequired[Dict[str, AttributeValueTypeDef]]
1415
+
1416
+ class ScanOutputTableTypeDef(TypedDict):
1417
+ Items: List[Dict[str, TableAttributeValueTypeDef]]
1418
+ Count: int
1419
+ ScannedCount: int
1420
+ ConsumedCapacity: ConsumedCapacityTypeDef
1421
+ ResponseMetadata: ResponseMetadataTypeDef
1422
+ LastEvaluatedKey: NotRequired[Dict[str, TableAttributeValueTypeDef]]
1423
+
1424
+ class ScanOutputTypeDef(TypedDict):
1425
+ Items: List[Dict[str, AttributeValueTypeDef]]
1426
+ Count: int
1427
+ ScannedCount: int
1428
+ ConsumedCapacity: ConsumedCapacityTypeDef
1429
+ ResponseMetadata: ResponseMetadataTypeDef
1430
+ LastEvaluatedKey: NotRequired[Dict[str, AttributeValueTypeDef]]
1431
+
1432
+ class TransactGetItemsOutputTypeDef(TypedDict):
1433
+ ConsumedCapacity: List[ConsumedCapacityTypeDef]
1434
+ Responses: List[ItemResponseTypeDef]
1435
+ ResponseMetadata: ResponseMetadataTypeDef
1436
+
1437
+ class TransactWriteItemsOutputTypeDef(TypedDict):
1438
+ ConsumedCapacity: List[ConsumedCapacityTypeDef]
1439
+ ItemCollectionMetrics: Dict[str, List[ItemCollectionMetricsTypeDef]]
1440
+ ResponseMetadata: ResponseMetadataTypeDef
1441
+
1442
+ class UpdateItemOutputTableTypeDef(TypedDict):
1443
+ Attributes: Dict[str, TableAttributeValueTypeDef]
1444
+ ConsumedCapacity: ConsumedCapacityTypeDef
1445
+ ItemCollectionMetrics: ItemCollectionMetricsTableTypeDef
1446
+ ResponseMetadata: ResponseMetadataTypeDef
1447
+
1448
+ class UpdateItemOutputTypeDef(TypedDict):
1449
+ Attributes: Dict[str, AttributeValueTypeDef]
1450
+ ConsumedCapacity: ConsumedCapacityTypeDef
1451
+ ItemCollectionMetrics: ItemCollectionMetricsTypeDef
1452
+ ResponseMetadata: ResponseMetadataTypeDef
1453
+
1454
+ class DescribeContinuousBackupsOutputTypeDef(TypedDict):
1455
+ ContinuousBackupsDescription: ContinuousBackupsDescriptionTypeDef
1456
+ ResponseMetadata: ResponseMetadataTypeDef
1457
+
1458
+ class UpdateContinuousBackupsOutputTypeDef(TypedDict):
1459
+ ContinuousBackupsDescription: ContinuousBackupsDescriptionTypeDef
1460
+ ResponseMetadata: ResponseMetadataTypeDef
1461
+
1462
+ class ListGlobalTablesOutputTypeDef(TypedDict):
1463
+ GlobalTables: List[GlobalTableTypeDef]
1464
+ LastEvaluatedGlobalTableName: str
1465
+ ResponseMetadata: ResponseMetadataTypeDef
1466
+
1467
+ CreateReplicationGroupMemberActionTypeDef = TypedDict(
1468
+ "CreateReplicationGroupMemberActionTypeDef",
1469
+ {
1470
+ "RegionName": str,
1471
+ "KMSMasterKeyId": NotRequired[str],
1472
+ "ProvisionedThroughputOverride": NotRequired[ProvisionedThroughputOverrideTypeDef],
1473
+ "OnDemandThroughputOverride": NotRequired[OnDemandThroughputOverrideTypeDef],
1474
+ "GlobalSecondaryIndexes": NotRequired[Sequence[ReplicaGlobalSecondaryIndexTypeDef]],
1475
+ "TableClassOverride": NotRequired[TableClassType],
1476
+ },
1477
+ )
1478
+ UpdateReplicationGroupMemberActionTypeDef = TypedDict(
1479
+ "UpdateReplicationGroupMemberActionTypeDef",
1480
+ {
1481
+ "RegionName": str,
1482
+ "KMSMasterKeyId": NotRequired[str],
1483
+ "ProvisionedThroughputOverride": NotRequired[ProvisionedThroughputOverrideTypeDef],
1484
+ "OnDemandThroughputOverride": NotRequired[OnDemandThroughputOverrideTypeDef],
1485
+ "GlobalSecondaryIndexes": NotRequired[Sequence[ReplicaGlobalSecondaryIndexTypeDef]],
1486
+ "TableClassOverride": NotRequired[TableClassType],
1487
+ },
1488
+ )
1489
+
1490
+ class InputFormatOptionsTypeDef(TypedDict):
1491
+ Csv: NotRequired[CsvOptionsUnionTypeDef]
1492
+
1493
+ class UpdateGlobalTableInputRequestTypeDef(TypedDict):
1494
+ GlobalTableName: str
1495
+ ReplicaUpdates: Sequence[ReplicaUpdateTypeDef]
1496
+
1497
+ class DescribeExportOutputTypeDef(TypedDict):
1498
+ ExportDescription: ExportDescriptionTypeDef
1499
+ ResponseMetadata: ResponseMetadataTypeDef
1500
+
1501
+ class ExportTableToPointInTimeOutputTypeDef(TypedDict):
1502
+ ExportDescription: ExportDescriptionTypeDef
1503
+ ResponseMetadata: ResponseMetadataTypeDef
1504
+
1505
+ class ExportTableToPointInTimeInputRequestTypeDef(TypedDict):
1506
+ TableArn: str
1507
+ S3Bucket: str
1508
+ ExportTime: NotRequired[TimestampTypeDef]
1509
+ ClientToken: NotRequired[str]
1510
+ S3BucketOwner: NotRequired[str]
1511
+ S3Prefix: NotRequired[str]
1512
+ S3SseAlgorithm: NotRequired[S3SseAlgorithmType]
1513
+ S3SseKmsKeyId: NotRequired[str]
1514
+ ExportFormat: NotRequired[ExportFormatType]
1515
+ ExportType: NotRequired[ExportTypeType]
1516
+ IncrementalExportSpecification: NotRequired[IncrementalExportSpecificationTypeDef]
1517
+
1518
+ ReplicaDescriptionTypeDef = TypedDict(
1519
+ "ReplicaDescriptionTypeDef",
1520
+ {
1521
+ "RegionName": NotRequired[str],
1522
+ "ReplicaStatus": NotRequired[ReplicaStatusType],
1523
+ "ReplicaStatusDescription": NotRequired[str],
1524
+ "ReplicaStatusPercentProgress": NotRequired[str],
1525
+ "KMSMasterKeyId": NotRequired[str],
1526
+ "ProvisionedThroughputOverride": NotRequired[ProvisionedThroughputOverrideTypeDef],
1527
+ "OnDemandThroughputOverride": NotRequired[OnDemandThroughputOverrideTypeDef],
1528
+ "WarmThroughput": NotRequired[TableWarmThroughputDescriptionTypeDef],
1529
+ "GlobalSecondaryIndexes": NotRequired[List[ReplicaGlobalSecondaryIndexDescriptionTypeDef]],
1530
+ "ReplicaInaccessibleDateTime": NotRequired[datetime],
1531
+ "ReplicaTableClassSummary": NotRequired[TableClassSummaryTypeDef],
1532
+ },
1533
+ )
1534
+
1535
+ class TableCreationParametersOutputTypeDef(TypedDict):
1536
+ TableName: str
1537
+ AttributeDefinitions: List[AttributeDefinitionTypeDef]
1538
+ KeySchema: List[KeySchemaElementTypeDef]
1539
+ BillingMode: NotRequired[BillingModeType]
1540
+ ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
1541
+ OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
1542
+ SSESpecification: NotRequired[SSESpecificationTypeDef]
1543
+ GlobalSecondaryIndexes: NotRequired[List[GlobalSecondaryIndexOutputTypeDef]]
1544
+
1545
+ class SourceTableFeatureDetailsTypeDef(TypedDict):
1546
+ LocalSecondaryIndexes: NotRequired[List[LocalSecondaryIndexInfoTypeDef]]
1547
+ GlobalSecondaryIndexes: NotRequired[List[GlobalSecondaryIndexInfoTypeDef]]
1548
+ StreamDescription: NotRequired[StreamSpecificationTypeDef]
1549
+ TimeToLiveDescription: NotRequired[TimeToLiveDescriptionTypeDef]
1550
+ SSEDescription: NotRequired[SSEDescriptionTypeDef]
1551
+
1552
+ class ListImportsOutputTypeDef(TypedDict):
1553
+ ImportSummaryList: List[ImportSummaryTypeDef]
1554
+ ResponseMetadata: ResponseMetadataTypeDef
1555
+ NextToken: NotRequired[str]
1556
+
1557
+ class CreateGlobalSecondaryIndexActionTypeDef(TypedDict):
1558
+ IndexName: str
1559
+ KeySchema: Sequence[KeySchemaElementTypeDef]
1560
+ Projection: ProjectionUnionTypeDef
1561
+ ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
1562
+ OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
1563
+ WarmThroughput: NotRequired[WarmThroughputTypeDef]
1564
+
1565
+ class GlobalSecondaryIndexTypeDef(TypedDict):
1566
+ IndexName: str
1567
+ KeySchema: Sequence[KeySchemaElementTypeDef]
1568
+ Projection: ProjectionUnionTypeDef
1569
+ ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
1570
+ OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
1571
+ WarmThroughput: NotRequired[WarmThroughputTypeDef]
1572
+
1573
+ class LocalSecondaryIndexTypeDef(TypedDict):
1574
+ IndexName: str
1575
+ KeySchema: Sequence[KeySchemaElementTypeDef]
1576
+ Projection: ProjectionUnionTypeDef
1577
+
1578
+ class BatchExecuteStatementOutputTypeDef(TypedDict):
1579
+ Responses: List[BatchStatementResponseTypeDef]
1580
+ ConsumedCapacity: List[ConsumedCapacityTypeDef]
1581
+ ResponseMetadata: ResponseMetadataTypeDef
1582
+
1583
+ class BatchWriteItemOutputTypeDef(TypedDict):
1584
+ UnprocessedItems: Dict[str, List[WriteRequestOutputTypeDef]]
1585
+ ItemCollectionMetrics: Dict[str, List[ItemCollectionMetricsTypeDef]]
1586
+ ConsumedCapacity: List[ConsumedCapacityTypeDef]
1587
+ ResponseMetadata: ResponseMetadataTypeDef
1588
+
1589
+ class BatchExecuteStatementInputRequestTypeDef(TypedDict):
1590
+ Statements: Sequence[BatchStatementRequestTypeDef]
1591
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1592
+
1593
+ class QueryInputPaginateTypeDef(TypedDict):
1594
+ TableName: str
1595
+ IndexName: NotRequired[str]
1596
+ Select: NotRequired[SelectType]
1597
+ AttributesToGet: NotRequired[Sequence[str]]
1598
+ ConsistentRead: NotRequired[bool]
1599
+ KeyConditions: NotRequired[Mapping[str, ConditionTypeDef]]
1600
+ QueryFilter: NotRequired[Mapping[str, ConditionTypeDef]]
1601
+ ConditionalOperator: NotRequired[ConditionalOperatorType]
1602
+ ScanIndexForward: NotRequired[bool]
1603
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1604
+ ProjectionExpression: NotRequired[str]
1605
+ FilterExpression: NotRequired[str]
1606
+ KeyConditionExpression: NotRequired[str]
1607
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1608
+ ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1609
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
1610
+
1611
+ class QueryInputRequestTypeDef(TypedDict):
1612
+ TableName: str
1613
+ IndexName: NotRequired[str]
1614
+ Select: NotRequired[SelectType]
1615
+ AttributesToGet: NotRequired[Sequence[str]]
1616
+ Limit: NotRequired[int]
1617
+ ConsistentRead: NotRequired[bool]
1618
+ KeyConditions: NotRequired[Mapping[str, ConditionTypeDef]]
1619
+ QueryFilter: NotRequired[Mapping[str, ConditionTypeDef]]
1620
+ ConditionalOperator: NotRequired[ConditionalOperatorType]
1621
+ ScanIndexForward: NotRequired[bool]
1622
+ ExclusiveStartKey: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1623
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1624
+ ProjectionExpression: NotRequired[str]
1625
+ FilterExpression: NotRequired[str]
1626
+ KeyConditionExpression: NotRequired[str]
1627
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1628
+ ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1629
+
1630
+ class ScanInputPaginateTypeDef(TypedDict):
1631
+ TableName: str
1632
+ IndexName: NotRequired[str]
1633
+ AttributesToGet: NotRequired[Sequence[str]]
1634
+ Select: NotRequired[SelectType]
1635
+ ScanFilter: NotRequired[Mapping[str, ConditionTypeDef]]
1636
+ ConditionalOperator: NotRequired[ConditionalOperatorType]
1637
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1638
+ TotalSegments: NotRequired[int]
1639
+ Segment: NotRequired[int]
1640
+ ProjectionExpression: NotRequired[str]
1641
+ FilterExpression: NotRequired[str]
1642
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1643
+ ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1644
+ ConsistentRead: NotRequired[bool]
1645
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
1646
+
1647
+ class ScanInputRequestTypeDef(TypedDict):
1648
+ TableName: str
1649
+ IndexName: NotRequired[str]
1650
+ AttributesToGet: NotRequired[Sequence[str]]
1651
+ Limit: NotRequired[int]
1652
+ Select: NotRequired[SelectType]
1653
+ ScanFilter: NotRequired[Mapping[str, ConditionTypeDef]]
1654
+ ConditionalOperator: NotRequired[ConditionalOperatorType]
1655
+ ExclusiveStartKey: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1656
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1657
+ TotalSegments: NotRequired[int]
1658
+ Segment: NotRequired[int]
1659
+ ProjectionExpression: NotRequired[str]
1660
+ FilterExpression: NotRequired[str]
1661
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1662
+ ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1663
+ ConsistentRead: NotRequired[bool]
1664
+
1665
+ DeleteRequestUnionTypeDef = Union[DeleteRequestTypeDef, DeleteRequestOutputTypeDef]
1666
+
1667
+ class DeleteItemInputRequestTypeDef(TypedDict):
1668
+ TableName: str
1669
+ Key: Mapping[str, UniversalAttributeValueTypeDef]
1670
+ Expected: NotRequired[Mapping[str, ExpectedAttributeValueTypeDef]]
1671
+ ConditionalOperator: NotRequired[ConditionalOperatorType]
1672
+ ReturnValues: NotRequired[ReturnValueType]
1673
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1674
+ ReturnItemCollectionMetrics: NotRequired[ReturnItemCollectionMetricsType]
1675
+ ConditionExpression: NotRequired[str]
1676
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1677
+ ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1678
+ ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType]
1679
+
1680
+ class PutItemInputRequestTypeDef(TypedDict):
1681
+ TableName: str
1682
+ Item: Mapping[str, UniversalAttributeValueTypeDef]
1683
+ Expected: NotRequired[Mapping[str, ExpectedAttributeValueTypeDef]]
1684
+ ReturnValues: NotRequired[ReturnValueType]
1685
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1686
+ ReturnItemCollectionMetrics: NotRequired[ReturnItemCollectionMetricsType]
1687
+ ConditionalOperator: NotRequired[ConditionalOperatorType]
1688
+ ConditionExpression: NotRequired[str]
1689
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1690
+ ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1691
+ ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType]
1692
+
1693
+ class UpdateItemInputRequestTypeDef(TypedDict):
1694
+ TableName: str
1695
+ Key: Mapping[str, UniversalAttributeValueTypeDef]
1696
+ AttributeUpdates: NotRequired[Mapping[str, AttributeValueUpdateTypeDef]]
1697
+ Expected: NotRequired[Mapping[str, ExpectedAttributeValueTypeDef]]
1698
+ ConditionalOperator: NotRequired[ConditionalOperatorType]
1699
+ ReturnValues: NotRequired[ReturnValueType]
1700
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1701
+ ReturnItemCollectionMetrics: NotRequired[ReturnItemCollectionMetricsType]
1702
+ UpdateExpression: NotRequired[str]
1703
+ ConditionExpression: NotRequired[str]
1704
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1705
+ ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1706
+ ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType]
1707
+
1708
+ class TransactGetItemTypeDef(TypedDict):
1709
+ Get: GetTypeDef
1710
+
1711
+ KeysAndAttributesUnionTypeDef = Union[KeysAndAttributesTypeDef, KeysAndAttributesOutputTypeDef]
1712
+
1713
+ class ExecuteTransactionInputRequestTypeDef(TypedDict):
1714
+ TransactStatements: Sequence[ParameterizedStatementTypeDef]
1715
+ ClientRequestToken: NotRequired[str]
1716
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1717
+
1718
+ PutRequestUnionTypeDef = Union[PutRequestTypeDef, PutRequestOutputTypeDef]
1719
+
1720
+ class TransactWriteItemTypeDef(TypedDict):
1721
+ ConditionCheck: NotRequired[ConditionCheckTypeDef]
1722
+ Put: NotRequired[PutTypeDef]
1723
+ Delete: NotRequired[DeleteTypeDef]
1724
+ Update: NotRequired[UpdateTypeDef]
1725
+
1726
+ class BatchGetItemInputServiceResourceBatchGetItemTypeDef(TypedDict):
1727
+ RequestItems: Mapping[str, KeysAndAttributesServiceResourceUnionTypeDef]
1728
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1729
+
1730
+ class BatchWriteItemOutputServiceResourceTypeDef(TypedDict):
1731
+ UnprocessedItems: Dict[str, List[WriteRequestServiceResourceOutputTypeDef]]
1732
+ ItemCollectionMetrics: Dict[str, List[ItemCollectionMetricsServiceResourceTypeDef]]
1733
+ ConsumedCapacity: List[ConsumedCapacityTypeDef]
1734
+ ResponseMetadata: ResponseMetadataTypeDef
1735
+
1736
+ class WriteRequestServiceResourceTypeDef(TypedDict):
1737
+ PutRequest: NotRequired[PutRequestServiceResourceUnionTypeDef]
1738
+ DeleteRequest: NotRequired[DeleteRequestServiceResourceUnionTypeDef]
1739
+
1740
+ class ReplicaGlobalSecondaryIndexAutoScalingDescriptionTypeDef(TypedDict):
1741
+ IndexName: NotRequired[str]
1742
+ IndexStatus: NotRequired[IndexStatusType]
1743
+ ProvisionedReadCapacityAutoScalingSettings: NotRequired[AutoScalingSettingsDescriptionTypeDef]
1744
+ ProvisionedWriteCapacityAutoScalingSettings: NotRequired[AutoScalingSettingsDescriptionTypeDef]
1745
+
1746
+ class ReplicaGlobalSecondaryIndexSettingsDescriptionTypeDef(TypedDict):
1747
+ IndexName: str
1748
+ IndexStatus: NotRequired[IndexStatusType]
1749
+ ProvisionedReadCapacityUnits: NotRequired[int]
1750
+ ProvisionedReadCapacityAutoScalingSettings: NotRequired[AutoScalingSettingsDescriptionTypeDef]
1751
+ ProvisionedWriteCapacityUnits: NotRequired[int]
1752
+ ProvisionedWriteCapacityAutoScalingSettings: NotRequired[AutoScalingSettingsDescriptionTypeDef]
1753
+
1754
+ class GlobalSecondaryIndexAutoScalingUpdateTypeDef(TypedDict):
1755
+ IndexName: NotRequired[str]
1756
+ ProvisionedWriteCapacityAutoScalingUpdate: NotRequired[AutoScalingSettingsUpdateTypeDef]
1757
+
1758
+ class GlobalTableGlobalSecondaryIndexSettingsUpdateTypeDef(TypedDict):
1759
+ IndexName: str
1760
+ ProvisionedWriteCapacityUnits: NotRequired[int]
1761
+ ProvisionedWriteCapacityAutoScalingSettingsUpdate: NotRequired[AutoScalingSettingsUpdateTypeDef]
1762
+
1763
+ class ReplicaGlobalSecondaryIndexAutoScalingUpdateTypeDef(TypedDict):
1764
+ IndexName: NotRequired[str]
1765
+ ProvisionedReadCapacityAutoScalingUpdate: NotRequired[AutoScalingSettingsUpdateTypeDef]
1766
+
1767
+ class ReplicaGlobalSecondaryIndexSettingsUpdateTypeDef(TypedDict):
1768
+ IndexName: str
1769
+ ProvisionedReadCapacityUnits: NotRequired[int]
1770
+ ProvisionedReadCapacityAutoScalingSettingsUpdate: NotRequired[AutoScalingSettingsUpdateTypeDef]
1771
+
1772
+ class ReplicationGroupUpdateTypeDef(TypedDict):
1773
+ Create: NotRequired[CreateReplicationGroupMemberActionTypeDef]
1774
+ Update: NotRequired[UpdateReplicationGroupMemberActionTypeDef]
1775
+ Delete: NotRequired[DeleteReplicationGroupMemberActionTypeDef]
1776
+
1777
+ class GlobalTableDescriptionTypeDef(TypedDict):
1778
+ ReplicationGroup: NotRequired[List[ReplicaDescriptionTypeDef]]
1779
+ GlobalTableArn: NotRequired[str]
1780
+ CreationDateTime: NotRequired[datetime]
1781
+ GlobalTableStatus: NotRequired[GlobalTableStatusType]
1782
+ GlobalTableName: NotRequired[str]
1783
+
1784
+ class TableDescriptionTypeDef(TypedDict):
1785
+ AttributeDefinitions: NotRequired[List[AttributeDefinitionTypeDef]]
1786
+ TableName: NotRequired[str]
1787
+ KeySchema: NotRequired[List[KeySchemaElementTypeDef]]
1788
+ TableStatus: NotRequired[TableStatusType]
1789
+ CreationDateTime: NotRequired[datetime]
1790
+ ProvisionedThroughput: NotRequired[ProvisionedThroughputDescriptionTypeDef]
1791
+ TableSizeBytes: NotRequired[int]
1792
+ ItemCount: NotRequired[int]
1793
+ TableArn: NotRequired[str]
1794
+ TableId: NotRequired[str]
1795
+ BillingModeSummary: NotRequired[BillingModeSummaryTypeDef]
1796
+ LocalSecondaryIndexes: NotRequired[List[LocalSecondaryIndexDescriptionTypeDef]]
1797
+ GlobalSecondaryIndexes: NotRequired[List[GlobalSecondaryIndexDescriptionTypeDef]]
1798
+ StreamSpecification: NotRequired[StreamSpecificationTypeDef]
1799
+ LatestStreamLabel: NotRequired[str]
1800
+ LatestStreamArn: NotRequired[str]
1801
+ GlobalTableVersion: NotRequired[str]
1802
+ Replicas: NotRequired[List[ReplicaDescriptionTypeDef]]
1803
+ RestoreSummary: NotRequired[RestoreSummaryTypeDef]
1804
+ SSEDescription: NotRequired[SSEDescriptionTypeDef]
1805
+ ArchivalSummary: NotRequired[ArchivalSummaryTypeDef]
1806
+ TableClassSummary: NotRequired[TableClassSummaryTypeDef]
1807
+ DeletionProtectionEnabled: NotRequired[bool]
1808
+ OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
1809
+ WarmThroughput: NotRequired[TableWarmThroughputDescriptionTypeDef]
1810
+ MultiRegionConsistency: NotRequired[MultiRegionConsistencyType]
1811
+
1812
+ class ImportTableDescriptionTypeDef(TypedDict):
1813
+ ImportArn: NotRequired[str]
1814
+ ImportStatus: NotRequired[ImportStatusType]
1815
+ TableArn: NotRequired[str]
1816
+ TableId: NotRequired[str]
1817
+ ClientToken: NotRequired[str]
1818
+ S3BucketSource: NotRequired[S3BucketSourceTypeDef]
1819
+ ErrorCount: NotRequired[int]
1820
+ CloudWatchLogGroupArn: NotRequired[str]
1821
+ InputFormat: NotRequired[InputFormatType]
1822
+ InputFormatOptions: NotRequired[InputFormatOptionsOutputTypeDef]
1823
+ InputCompressionType: NotRequired[InputCompressionTypeType]
1824
+ TableCreationParameters: NotRequired[TableCreationParametersOutputTypeDef]
1825
+ StartTime: NotRequired[datetime]
1826
+ EndTime: NotRequired[datetime]
1827
+ ProcessedSizeBytes: NotRequired[int]
1828
+ ProcessedItemCount: NotRequired[int]
1829
+ ImportedItemCount: NotRequired[int]
1830
+ FailureCode: NotRequired[str]
1831
+ FailureMessage: NotRequired[str]
1832
+
1833
+ class BackupDescriptionTypeDef(TypedDict):
1834
+ BackupDetails: NotRequired[BackupDetailsTypeDef]
1835
+ SourceTableDetails: NotRequired[SourceTableDetailsTypeDef]
1836
+ SourceTableFeatureDetails: NotRequired[SourceTableFeatureDetailsTypeDef]
1837
+
1838
+ class GlobalSecondaryIndexUpdateTypeDef(TypedDict):
1839
+ Update: NotRequired[UpdateGlobalSecondaryIndexActionTypeDef]
1840
+ Create: NotRequired[CreateGlobalSecondaryIndexActionTypeDef]
1841
+ Delete: NotRequired[DeleteGlobalSecondaryIndexActionTypeDef]
1842
+
1843
+ class TableCreationParametersTypeDef(TypedDict):
1844
+ TableName: str
1845
+ AttributeDefinitions: Sequence[AttributeDefinitionTypeDef]
1846
+ KeySchema: Sequence[KeySchemaElementTypeDef]
1847
+ BillingMode: NotRequired[BillingModeType]
1848
+ ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
1849
+ OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
1850
+ SSESpecification: NotRequired[SSESpecificationTypeDef]
1851
+ GlobalSecondaryIndexes: NotRequired[Sequence[GlobalSecondaryIndexTypeDef]]
1852
+
1853
+ class CreateTableInputRequestTypeDef(TypedDict):
1854
+ AttributeDefinitions: Sequence[AttributeDefinitionTypeDef]
1855
+ TableName: str
1856
+ KeySchema: Sequence[KeySchemaElementTypeDef]
1857
+ LocalSecondaryIndexes: NotRequired[Sequence[LocalSecondaryIndexTypeDef]]
1858
+ GlobalSecondaryIndexes: NotRequired[Sequence[GlobalSecondaryIndexTypeDef]]
1859
+ BillingMode: NotRequired[BillingModeType]
1860
+ ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
1861
+ StreamSpecification: NotRequired[StreamSpecificationTypeDef]
1862
+ SSESpecification: NotRequired[SSESpecificationTypeDef]
1863
+ Tags: NotRequired[Sequence[TagTypeDef]]
1864
+ TableClass: NotRequired[TableClassType]
1865
+ DeletionProtectionEnabled: NotRequired[bool]
1866
+ WarmThroughput: NotRequired[WarmThroughputTypeDef]
1867
+ ResourcePolicy: NotRequired[str]
1868
+ OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
1869
+
1870
+ class CreateTableInputServiceResourceCreateTableTypeDef(TypedDict):
1871
+ AttributeDefinitions: Sequence[AttributeDefinitionTypeDef]
1872
+ TableName: str
1873
+ KeySchema: Sequence[KeySchemaElementTypeDef]
1874
+ LocalSecondaryIndexes: NotRequired[Sequence[LocalSecondaryIndexTypeDef]]
1875
+ GlobalSecondaryIndexes: NotRequired[Sequence[GlobalSecondaryIndexTypeDef]]
1876
+ BillingMode: NotRequired[BillingModeType]
1877
+ ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
1878
+ StreamSpecification: NotRequired[StreamSpecificationTypeDef]
1879
+ SSESpecification: NotRequired[SSESpecificationTypeDef]
1880
+ Tags: NotRequired[Sequence[TagTypeDef]]
1881
+ TableClass: NotRequired[TableClassType]
1882
+ DeletionProtectionEnabled: NotRequired[bool]
1883
+ WarmThroughput: NotRequired[WarmThroughputTypeDef]
1884
+ ResourcePolicy: NotRequired[str]
1885
+ OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
1886
+
1887
+ class RestoreTableFromBackupInputRequestTypeDef(TypedDict):
1888
+ TargetTableName: str
1889
+ BackupArn: str
1890
+ BillingModeOverride: NotRequired[BillingModeType]
1891
+ GlobalSecondaryIndexOverride: NotRequired[Sequence[GlobalSecondaryIndexTypeDef]]
1892
+ LocalSecondaryIndexOverride: NotRequired[Sequence[LocalSecondaryIndexTypeDef]]
1893
+ ProvisionedThroughputOverride: NotRequired[ProvisionedThroughputTypeDef]
1894
+ OnDemandThroughputOverride: NotRequired[OnDemandThroughputTypeDef]
1895
+ SSESpecificationOverride: NotRequired[SSESpecificationTypeDef]
1896
+
1897
+ class RestoreTableToPointInTimeInputRequestTypeDef(TypedDict):
1898
+ TargetTableName: str
1899
+ SourceTableArn: NotRequired[str]
1900
+ SourceTableName: NotRequired[str]
1901
+ UseLatestRestorableTime: NotRequired[bool]
1902
+ RestoreDateTime: NotRequired[TimestampTypeDef]
1903
+ BillingModeOverride: NotRequired[BillingModeType]
1904
+ GlobalSecondaryIndexOverride: NotRequired[Sequence[GlobalSecondaryIndexTypeDef]]
1905
+ LocalSecondaryIndexOverride: NotRequired[Sequence[LocalSecondaryIndexTypeDef]]
1906
+ ProvisionedThroughputOverride: NotRequired[ProvisionedThroughputTypeDef]
1907
+ OnDemandThroughputOverride: NotRequired[OnDemandThroughputTypeDef]
1908
+ SSESpecificationOverride: NotRequired[SSESpecificationTypeDef]
1909
+
1910
+ class TransactGetItemsInputRequestTypeDef(TypedDict):
1911
+ TransactItems: Sequence[TransactGetItemTypeDef]
1912
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1913
+
1914
+ class BatchGetItemInputRequestTypeDef(TypedDict):
1915
+ RequestItems: Mapping[str, KeysAndAttributesUnionTypeDef]
1916
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1917
+
1918
+ class WriteRequestTypeDef(TypedDict):
1919
+ PutRequest: NotRequired[PutRequestUnionTypeDef]
1920
+ DeleteRequest: NotRequired[DeleteRequestUnionTypeDef]
1921
+
1922
+ class TransactWriteItemsInputRequestTypeDef(TypedDict):
1923
+ TransactItems: Sequence[TransactWriteItemTypeDef]
1924
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1925
+ ReturnItemCollectionMetrics: NotRequired[ReturnItemCollectionMetricsType]
1926
+ ClientRequestToken: NotRequired[str]
1927
+
1928
+ WriteRequestServiceResourceUnionTypeDef = Union[
1929
+ WriteRequestServiceResourceTypeDef, WriteRequestServiceResourceOutputTypeDef
1930
+ ]
1931
+ ReplicaAutoScalingDescriptionTypeDef = TypedDict(
1932
+ "ReplicaAutoScalingDescriptionTypeDef",
1933
+ {
1934
+ "RegionName": NotRequired[str],
1935
+ "GlobalSecondaryIndexes": NotRequired[
1936
+ List[ReplicaGlobalSecondaryIndexAutoScalingDescriptionTypeDef]
1937
+ ],
1938
+ "ReplicaProvisionedReadCapacityAutoScalingSettings": NotRequired[
1939
+ AutoScalingSettingsDescriptionTypeDef
1940
+ ],
1941
+ "ReplicaProvisionedWriteCapacityAutoScalingSettings": NotRequired[
1942
+ AutoScalingSettingsDescriptionTypeDef
1943
+ ],
1944
+ "ReplicaStatus": NotRequired[ReplicaStatusType],
1945
+ },
1946
+ )
1947
+ ReplicaSettingsDescriptionTypeDef = TypedDict(
1948
+ "ReplicaSettingsDescriptionTypeDef",
1949
+ {
1950
+ "RegionName": str,
1951
+ "ReplicaStatus": NotRequired[ReplicaStatusType],
1952
+ "ReplicaBillingModeSummary": NotRequired[BillingModeSummaryTypeDef],
1953
+ "ReplicaProvisionedReadCapacityUnits": NotRequired[int],
1954
+ "ReplicaProvisionedReadCapacityAutoScalingSettings": NotRequired[
1955
+ AutoScalingSettingsDescriptionTypeDef
1956
+ ],
1957
+ "ReplicaProvisionedWriteCapacityUnits": NotRequired[int],
1958
+ "ReplicaProvisionedWriteCapacityAutoScalingSettings": NotRequired[
1959
+ AutoScalingSettingsDescriptionTypeDef
1960
+ ],
1961
+ "ReplicaGlobalSecondaryIndexSettings": NotRequired[
1962
+ List[ReplicaGlobalSecondaryIndexSettingsDescriptionTypeDef]
1963
+ ],
1964
+ "ReplicaTableClassSummary": NotRequired[TableClassSummaryTypeDef],
1965
+ },
1966
+ )
1967
+ ReplicaAutoScalingUpdateTypeDef = TypedDict(
1968
+ "ReplicaAutoScalingUpdateTypeDef",
1969
+ {
1970
+ "RegionName": str,
1971
+ "ReplicaGlobalSecondaryIndexUpdates": NotRequired[
1972
+ Sequence[ReplicaGlobalSecondaryIndexAutoScalingUpdateTypeDef]
1973
+ ],
1974
+ "ReplicaProvisionedReadCapacityAutoScalingUpdate": NotRequired[
1975
+ AutoScalingSettingsUpdateTypeDef
1976
+ ],
1977
+ },
1978
+ )
1979
+ ReplicaSettingsUpdateTypeDef = TypedDict(
1980
+ "ReplicaSettingsUpdateTypeDef",
1981
+ {
1982
+ "RegionName": str,
1983
+ "ReplicaProvisionedReadCapacityUnits": NotRequired[int],
1984
+ "ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate": NotRequired[
1985
+ AutoScalingSettingsUpdateTypeDef
1986
+ ],
1987
+ "ReplicaGlobalSecondaryIndexSettingsUpdate": NotRequired[
1988
+ Sequence[ReplicaGlobalSecondaryIndexSettingsUpdateTypeDef]
1989
+ ],
1990
+ "ReplicaTableClass": NotRequired[TableClassType],
1991
+ },
1992
+ )
1993
+
1994
+ class CreateGlobalTableOutputTypeDef(TypedDict):
1995
+ GlobalTableDescription: GlobalTableDescriptionTypeDef
1996
+ ResponseMetadata: ResponseMetadataTypeDef
1997
+
1998
+ class DescribeGlobalTableOutputTypeDef(TypedDict):
1999
+ GlobalTableDescription: GlobalTableDescriptionTypeDef
2000
+ ResponseMetadata: ResponseMetadataTypeDef
2001
+
2002
+ class UpdateGlobalTableOutputTypeDef(TypedDict):
2003
+ GlobalTableDescription: GlobalTableDescriptionTypeDef
2004
+ ResponseMetadata: ResponseMetadataTypeDef
2005
+
2006
+ class CreateTableOutputTypeDef(TypedDict):
2007
+ TableDescription: TableDescriptionTypeDef
2008
+ ResponseMetadata: ResponseMetadataTypeDef
2009
+
2010
+ class DeleteTableOutputTypeDef(TypedDict):
2011
+ TableDescription: TableDescriptionTypeDef
2012
+ ResponseMetadata: ResponseMetadataTypeDef
2013
+
2014
+ class DescribeTableOutputTypeDef(TypedDict):
2015
+ Table: TableDescriptionTypeDef
2016
+ ResponseMetadata: ResponseMetadataTypeDef
2017
+
2018
+ class RestoreTableFromBackupOutputTypeDef(TypedDict):
2019
+ TableDescription: TableDescriptionTypeDef
2020
+ ResponseMetadata: ResponseMetadataTypeDef
2021
+
2022
+ class RestoreTableToPointInTimeOutputTypeDef(TypedDict):
2023
+ TableDescription: TableDescriptionTypeDef
2024
+ ResponseMetadata: ResponseMetadataTypeDef
2025
+
2026
+ class UpdateTableOutputTypeDef(TypedDict):
2027
+ TableDescription: TableDescriptionTypeDef
2028
+ ResponseMetadata: ResponseMetadataTypeDef
2029
+
2030
+ class DescribeImportOutputTypeDef(TypedDict):
2031
+ ImportTableDescription: ImportTableDescriptionTypeDef
2032
+ ResponseMetadata: ResponseMetadataTypeDef
2033
+
2034
+ class ImportTableOutputTypeDef(TypedDict):
2035
+ ImportTableDescription: ImportTableDescriptionTypeDef
2036
+ ResponseMetadata: ResponseMetadataTypeDef
2037
+
2038
+ class DeleteBackupOutputTypeDef(TypedDict):
2039
+ BackupDescription: BackupDescriptionTypeDef
2040
+ ResponseMetadata: ResponseMetadataTypeDef
2041
+
2042
+ class DescribeBackupOutputTypeDef(TypedDict):
2043
+ BackupDescription: BackupDescriptionTypeDef
2044
+ ResponseMetadata: ResponseMetadataTypeDef
2045
+
2046
+ class UpdateTableInputRequestTypeDef(TypedDict):
2047
+ TableName: str
2048
+ AttributeDefinitions: NotRequired[Sequence[AttributeDefinitionTypeDef]]
2049
+ BillingMode: NotRequired[BillingModeType]
2050
+ ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
2051
+ GlobalSecondaryIndexUpdates: NotRequired[Sequence[GlobalSecondaryIndexUpdateTypeDef]]
2052
+ StreamSpecification: NotRequired[StreamSpecificationTypeDef]
2053
+ SSESpecification: NotRequired[SSESpecificationTypeDef]
2054
+ ReplicaUpdates: NotRequired[Sequence[ReplicationGroupUpdateTypeDef]]
2055
+ TableClass: NotRequired[TableClassType]
2056
+ DeletionProtectionEnabled: NotRequired[bool]
2057
+ MultiRegionConsistency: NotRequired[MultiRegionConsistencyType]
2058
+ OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
2059
+ WarmThroughput: NotRequired[WarmThroughputTypeDef]
2060
+
2061
+ class UpdateTableInputTableUpdateTypeDef(TypedDict):
2062
+ AttributeDefinitions: NotRequired[Sequence[AttributeDefinitionTypeDef]]
2063
+ BillingMode: NotRequired[BillingModeType]
2064
+ ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
2065
+ GlobalSecondaryIndexUpdates: NotRequired[Sequence[GlobalSecondaryIndexUpdateTypeDef]]
2066
+ StreamSpecification: NotRequired[StreamSpecificationTypeDef]
2067
+ SSESpecification: NotRequired[SSESpecificationTypeDef]
2068
+ ReplicaUpdates: NotRequired[Sequence[ReplicationGroupUpdateTypeDef]]
2069
+ TableClass: NotRequired[TableClassType]
2070
+ DeletionProtectionEnabled: NotRequired[bool]
2071
+ MultiRegionConsistency: NotRequired[MultiRegionConsistencyType]
2072
+ OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
2073
+ WarmThroughput: NotRequired[WarmThroughputTypeDef]
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
+
2083
+ WriteRequestUnionTypeDef = Union[WriteRequestTypeDef, WriteRequestOutputTypeDef]
2084
+
2085
+ class BatchWriteItemInputServiceResourceBatchWriteItemTypeDef(TypedDict):
2086
+ RequestItems: Mapping[str, Sequence[WriteRequestServiceResourceUnionTypeDef]]
2087
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
2088
+ ReturnItemCollectionMetrics: NotRequired[ReturnItemCollectionMetricsType]
2089
+
2090
+ class TableAutoScalingDescriptionTypeDef(TypedDict):
2091
+ TableName: NotRequired[str]
2092
+ TableStatus: NotRequired[TableStatusType]
2093
+ Replicas: NotRequired[List[ReplicaAutoScalingDescriptionTypeDef]]
2094
+
2095
+ class DescribeGlobalTableSettingsOutputTypeDef(TypedDict):
2096
+ GlobalTableName: str
2097
+ ReplicaSettings: List[ReplicaSettingsDescriptionTypeDef]
2098
+ ResponseMetadata: ResponseMetadataTypeDef
2099
+
2100
+ class UpdateGlobalTableSettingsOutputTypeDef(TypedDict):
2101
+ GlobalTableName: str
2102
+ ReplicaSettings: List[ReplicaSettingsDescriptionTypeDef]
2103
+ ResponseMetadata: ResponseMetadataTypeDef
2104
+
2105
+ class UpdateTableReplicaAutoScalingInputRequestTypeDef(TypedDict):
2106
+ TableName: str
2107
+ GlobalSecondaryIndexUpdates: NotRequired[Sequence[GlobalSecondaryIndexAutoScalingUpdateTypeDef]]
2108
+ ProvisionedWriteCapacityAutoScalingUpdate: NotRequired[AutoScalingSettingsUpdateTypeDef]
2109
+ ReplicaUpdates: NotRequired[Sequence[ReplicaAutoScalingUpdateTypeDef]]
2110
+
2111
+ class UpdateGlobalTableSettingsInputRequestTypeDef(TypedDict):
2112
+ GlobalTableName: str
2113
+ GlobalTableBillingMode: NotRequired[BillingModeType]
2114
+ GlobalTableProvisionedWriteCapacityUnits: NotRequired[int]
2115
+ GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate: NotRequired[
2116
+ AutoScalingSettingsUpdateTypeDef
2117
+ ]
2118
+ GlobalTableGlobalSecondaryIndexSettingsUpdate: NotRequired[
2119
+ Sequence[GlobalTableGlobalSecondaryIndexSettingsUpdateTypeDef]
2120
+ ]
2121
+ ReplicaSettingsUpdate: NotRequired[Sequence[ReplicaSettingsUpdateTypeDef]]
2122
+
2123
+ class BatchWriteItemInputRequestTypeDef(TypedDict):
2124
+ RequestItems: Mapping[str, Sequence[WriteRequestUnionTypeDef]]
2125
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
2126
+ ReturnItemCollectionMetrics: NotRequired[ReturnItemCollectionMetricsType]
2127
+
2128
+ class DescribeTableReplicaAutoScalingOutputTypeDef(TypedDict):
2129
+ TableAutoScalingDescription: TableAutoScalingDescriptionTypeDef
2130
+ ResponseMetadata: ResponseMetadataTypeDef
2131
+
2132
+ class UpdateTableReplicaAutoScalingOutputTypeDef(TypedDict):
2133
+ TableAutoScalingDescription: TableAutoScalingDescriptionTypeDef
2134
+ ResponseMetadata: ResponseMetadataTypeDef