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