types-boto3-dynamodb 1.36.0__py3-none-any.whl

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