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