Skip to content

Type definitions#

Index > DynamoDB > Type definitions

Auto-generated documentation for DynamoDB type annotations stubs module mypy-boto3-dynamodb.

TableAttributeValueTypeDef#

# TableAttributeValueTypeDef definition

TableAttributeValueTypeDef = Union[
    bytes,
    bytearray,
    str,
    int,
    Decimal,
    bool,
    Set[int],
    Set[Decimal],
    Set[str],
    Set[bytes],
    Set[bytearray],
    Sequence[Any],
    Mapping[str, Any],
    None,
]

ConditionBaseImportTypeDef#

# ConditionBaseImportTypeDef definition

ConditionBaseImportTypeDef = Union[
    str,
    ConditionBase,
]

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

UniversalAttributeValueTypeDef#

# UniversalAttributeValueTypeDef definition

UniversalAttributeValueTypeDef = Union[
    AttributeValueTypeDef,  # (1)
    bytes,
    bytearray,
    str,
    int,
    Decimal,
    bool,
    Set[int],
    Set[Decimal],
    Set[str],
    Set[bytes],
    Set[bytearray],
    Sequence[Any],
    Mapping[str, Any],
    None,
]
  1. See AttributeValueTypeDef

KeysAndAttributesServiceResourceUnionTypeDef#

# KeysAndAttributesServiceResourceUnionTypeDef definition

KeysAndAttributesServiceResourceUnionTypeDef = Union[
    KeysAndAttributesServiceResourceTypeDef,  # (1)
    KeysAndAttributesServiceResourceOutputTypeDef,  # (2)
]
  1. See KeysAndAttributesServiceResourceTypeDef
  2. See KeysAndAttributesServiceResourceOutputTypeDef

InputFormatOptionsUnionTypeDef#

# InputFormatOptionsUnionTypeDef definition

InputFormatOptionsUnionTypeDef = Union[
    InputFormatOptionsTypeDef,  # (1)
    InputFormatOptionsOutputTypeDef,  # (2)
]
  1. See InputFormatOptionsTypeDef
  2. See InputFormatOptionsOutputTypeDef

IncrementalExportSpecificationUnionTypeDef#

# IncrementalExportSpecificationUnionTypeDef definition

IncrementalExportSpecificationUnionTypeDef = Union[
    IncrementalExportSpecificationTypeDef,  # (1)
    IncrementalExportSpecificationOutputTypeDef,  # (2)
]
  1. See IncrementalExportSpecificationTypeDef
  2. See IncrementalExportSpecificationOutputTypeDef

GlobalSecondaryIndexUnionTypeDef#

# GlobalSecondaryIndexUnionTypeDef definition

GlobalSecondaryIndexUnionTypeDef = Union[
    GlobalSecondaryIndexTypeDef,  # (1)
    GlobalSecondaryIndexOutputTypeDef,  # (2)
]
  1. See GlobalSecondaryIndexTypeDef
  2. See GlobalSecondaryIndexOutputTypeDef

KeysAndAttributesUnionTypeDef#

# KeysAndAttributesUnionTypeDef definition

KeysAndAttributesUnionTypeDef = Union[
    KeysAndAttributesTypeDef,  # (1)
    KeysAndAttributesOutputTypeDef,  # (2)
]
  1. See KeysAndAttributesTypeDef
  2. See KeysAndAttributesOutputTypeDef

WriteRequestServiceResourceUnionTypeDef#

# WriteRequestServiceResourceUnionTypeDef definition

WriteRequestServiceResourceUnionTypeDef = Union[
    WriteRequestServiceResourceTypeDef,  # (1)
    WriteRequestServiceResourceOutputTypeDef,  # (2)
]
  1. See WriteRequestServiceResourceTypeDef
  2. See WriteRequestServiceResourceOutputTypeDef

TableCreationParametersUnionTypeDef#

# TableCreationParametersUnionTypeDef definition

TableCreationParametersUnionTypeDef = Union[
    TableCreationParametersTypeDef,  # (1)
    TableCreationParametersOutputTypeDef,  # (2)
]
  1. See TableCreationParametersTypeDef
  2. See TableCreationParametersOutputTypeDef

WriteRequestUnionTypeDef#

# WriteRequestUnionTypeDef definition

WriteRequestUnionTypeDef = Union[
    WriteRequestTypeDef,  # (1)
    WriteRequestOutputTypeDef,  # (2)
]
  1. See WriteRequestTypeDef
  2. See WriteRequestOutputTypeDef

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

ArchivalSummaryTypeDef#

# ArchivalSummaryTypeDef definition

class ArchivalSummaryTypeDef(TypedDict):
    ArchivalDateTime: NotRequired[datetime],
    ArchivalReason: NotRequired[str],
    ArchivalBackupArn: NotRequired[str],

AttributeDefinitionTypeDef#

# AttributeDefinitionTypeDef definition

class AttributeDefinitionTypeDef(TypedDict):
    AttributeName: str,
    AttributeType: ScalarAttributeTypeType,  # (1)
  1. See ScalarAttributeTypeType

AttributeValueTypeDef#

# AttributeValueTypeDef definition

class AttributeValueTypeDef(TypedDict):
    S: NotRequired[str],
    N: NotRequired[str],
    B: NotRequired[bytes],
    SS: NotRequired[Sequence[str]],
    NS: NotRequired[Sequence[str]],
    BS: NotRequired[Sequence[bytes]],
    M: NotRequired[Mapping[str, Any]],
    L: NotRequired[Sequence[Any]],
    NULL: NotRequired[bool],
    BOOL: NotRequired[bool],

AutoScalingTargetTrackingScalingPolicyConfigurationDescriptionTypeDef#

# AutoScalingTargetTrackingScalingPolicyConfigurationDescriptionTypeDef definition

class AutoScalingTargetTrackingScalingPolicyConfigurationDescriptionTypeDef(TypedDict):
    TargetValue: float,
    DisableScaleIn: NotRequired[bool],
    ScaleInCooldown: NotRequired[int],
    ScaleOutCooldown: NotRequired[int],

AutoScalingTargetTrackingScalingPolicyConfigurationUpdateTypeDef#

# AutoScalingTargetTrackingScalingPolicyConfigurationUpdateTypeDef definition

class AutoScalingTargetTrackingScalingPolicyConfigurationUpdateTypeDef(TypedDict):
    TargetValue: float,
    DisableScaleIn: NotRequired[bool],
    ScaleInCooldown: NotRequired[int],
    ScaleOutCooldown: NotRequired[int],

BackupDetailsTypeDef#

# BackupDetailsTypeDef definition

class BackupDetailsTypeDef(TypedDict):
    BackupArn: str,
    BackupName: str,
    BackupStatus: BackupStatusType,  # (1)
    BackupType: BackupTypeType,  # (2)
    BackupCreationDateTime: datetime,
    BackupSizeBytes: NotRequired[int],
    BackupExpiryDateTime: NotRequired[datetime],
  1. See BackupStatusType
  2. See BackupTypeType

BackupSummaryTypeDef#

# BackupSummaryTypeDef definition

class BackupSummaryTypeDef(TypedDict):
    TableName: NotRequired[str],
    TableId: NotRequired[str],
    TableArn: NotRequired[str],
    BackupArn: NotRequired[str],
    BackupName: NotRequired[str],
    BackupCreationDateTime: NotRequired[datetime],
    BackupExpiryDateTime: NotRequired[datetime],
    BackupStatus: NotRequired[BackupStatusType],  # (1)
    BackupType: NotRequired[BackupTypeType],  # (2)
    BackupSizeBytes: NotRequired[int],
  1. See BackupStatusType
  2. See BackupTypeType

BillingModeSummaryTypeDef#

# BillingModeSummaryTypeDef definition

class BillingModeSummaryTypeDef(TypedDict):
    BillingMode: NotRequired[BillingModeType],  # (1)
    LastUpdateToPayPerRequestDateTime: NotRequired[datetime],
  1. See BillingModeType

CapacityTypeDef#

# CapacityTypeDef definition

class CapacityTypeDef(TypedDict):
    ReadCapacityUnits: NotRequired[float],
    WriteCapacityUnits: NotRequired[float],
    CapacityUnits: NotRequired[float],

PointInTimeRecoveryDescriptionTypeDef#

# PointInTimeRecoveryDescriptionTypeDef definition

class PointInTimeRecoveryDescriptionTypeDef(TypedDict):
    PointInTimeRecoveryStatus: NotRequired[PointInTimeRecoveryStatusType],  # (1)
    EarliestRestorableDateTime: NotRequired[datetime],
    LatestRestorableDateTime: NotRequired[datetime],
  1. See PointInTimeRecoveryStatusType

ContributorInsightsSummaryTypeDef#

# ContributorInsightsSummaryTypeDef definition

class ContributorInsightsSummaryTypeDef(TypedDict):
    TableName: NotRequired[str],
    IndexName: NotRequired[str],
    ContributorInsightsStatus: NotRequired[ContributorInsightsStatusType],  # (1)
  1. See ContributorInsightsStatusType

CreateBackupInputRequestTypeDef#

# CreateBackupInputRequestTypeDef definition

class CreateBackupInputRequestTypeDef(TypedDict):
    TableName: str,
    BackupName: str,

KeySchemaElementTypeDef#

# KeySchemaElementTypeDef definition

class KeySchemaElementTypeDef(TypedDict):
    AttributeName: str,
    KeyType: KeyTypeType,  # (1)
  1. See KeyTypeType

ProjectionTypeDef#

# ProjectionTypeDef definition

class ProjectionTypeDef(TypedDict):
    ProjectionType: NotRequired[ProjectionTypeType],  # (1)
    NonKeyAttributes: NotRequired[Sequence[str]],
  1. See ProjectionTypeType

ProvisionedThroughputTypeDef#

# ProvisionedThroughputTypeDef definition

class ProvisionedThroughputTypeDef(TypedDict):
    ReadCapacityUnits: int,
    WriteCapacityUnits: int,

ReplicaTypeDef#

# ReplicaTypeDef definition

class ReplicaTypeDef(TypedDict):
    RegionName: NotRequired[str],

CreateReplicaActionTypeDef#

# CreateReplicaActionTypeDef definition

class CreateReplicaActionTypeDef(TypedDict):
    RegionName: str,

ProvisionedThroughputOverrideTypeDef#

# ProvisionedThroughputOverrideTypeDef definition

class ProvisionedThroughputOverrideTypeDef(TypedDict):
    ReadCapacityUnits: NotRequired[int],

SSESpecificationTypeDef#

# SSESpecificationTypeDef definition

class SSESpecificationTypeDef(TypedDict):
    Enabled: NotRequired[bool],
    SSEType: NotRequired[SSETypeType],  # (1)
    KMSMasterKeyId: NotRequired[str],
  1. See SSETypeType

StreamSpecificationTypeDef#

# StreamSpecificationTypeDef definition

class StreamSpecificationTypeDef(TypedDict):
    StreamEnabled: bool,
    StreamViewType: NotRequired[StreamViewTypeType],  # (1)
  1. See StreamViewTypeType

TagTypeDef#

# TagTypeDef definition

class TagTypeDef(TypedDict):
    Key: str,
    Value: str,

CsvOptionsOutputTypeDef#

# CsvOptionsOutputTypeDef definition

class CsvOptionsOutputTypeDef(TypedDict):
    Delimiter: NotRequired[str],
    HeaderList: NotRequired[List[str]],

CsvOptionsTypeDef#

# CsvOptionsTypeDef definition

class CsvOptionsTypeDef(TypedDict):
    Delimiter: NotRequired[str],
    HeaderList: NotRequired[Sequence[str]],

DeleteBackupInputRequestTypeDef#

# DeleteBackupInputRequestTypeDef definition

class DeleteBackupInputRequestTypeDef(TypedDict):
    BackupArn: str,

DeleteGlobalSecondaryIndexActionTypeDef#

# DeleteGlobalSecondaryIndexActionTypeDef definition

class DeleteGlobalSecondaryIndexActionTypeDef(TypedDict):
    IndexName: str,

DeleteReplicaActionTypeDef#

# DeleteReplicaActionTypeDef definition

class DeleteReplicaActionTypeDef(TypedDict):
    RegionName: str,

DeleteReplicationGroupMemberActionTypeDef#

# DeleteReplicationGroupMemberActionTypeDef definition

class DeleteReplicationGroupMemberActionTypeDef(TypedDict):
    RegionName: str,

DeleteResourcePolicyInputRequestTypeDef#

# DeleteResourcePolicyInputRequestTypeDef definition

class DeleteResourcePolicyInputRequestTypeDef(TypedDict):
    ResourceArn: str,
    ExpectedRevisionId: NotRequired[str],

DeleteTableInputRequestTypeDef#

# DeleteTableInputRequestTypeDef definition

class DeleteTableInputRequestTypeDef(TypedDict):
    TableName: str,

DescribeBackupInputRequestTypeDef#

# DescribeBackupInputRequestTypeDef definition

class DescribeBackupInputRequestTypeDef(TypedDict):
    BackupArn: str,

DescribeContinuousBackupsInputRequestTypeDef#

# DescribeContinuousBackupsInputRequestTypeDef definition

class DescribeContinuousBackupsInputRequestTypeDef(TypedDict):
    TableName: str,

DescribeContributorInsightsInputRequestTypeDef#

# DescribeContributorInsightsInputRequestTypeDef definition

class DescribeContributorInsightsInputRequestTypeDef(TypedDict):
    TableName: str,
    IndexName: NotRequired[str],

FailureExceptionTypeDef#

# FailureExceptionTypeDef definition

class FailureExceptionTypeDef(TypedDict):
    ExceptionName: NotRequired[str],
    ExceptionDescription: NotRequired[str],

EndpointTypeDef#

# EndpointTypeDef definition

class EndpointTypeDef(TypedDict):
    Address: str,
    CachePeriodInMinutes: int,

DescribeExportInputRequestTypeDef#

# DescribeExportInputRequestTypeDef definition

class DescribeExportInputRequestTypeDef(TypedDict):
    ExportArn: str,

DescribeGlobalTableInputRequestTypeDef#

# DescribeGlobalTableInputRequestTypeDef definition

class DescribeGlobalTableInputRequestTypeDef(TypedDict):
    GlobalTableName: str,

DescribeGlobalTableSettingsInputRequestTypeDef#

# DescribeGlobalTableSettingsInputRequestTypeDef definition

class DescribeGlobalTableSettingsInputRequestTypeDef(TypedDict):
    GlobalTableName: str,

DescribeImportInputRequestTypeDef#

# DescribeImportInputRequestTypeDef definition

class DescribeImportInputRequestTypeDef(TypedDict):
    ImportArn: str,

DescribeKinesisStreamingDestinationInputRequestTypeDef#

# DescribeKinesisStreamingDestinationInputRequestTypeDef definition

class DescribeKinesisStreamingDestinationInputRequestTypeDef(TypedDict):
    TableName: str,

KinesisDataStreamDestinationTypeDef#

# KinesisDataStreamDestinationTypeDef definition

class KinesisDataStreamDestinationTypeDef(TypedDict):
    StreamArn: NotRequired[str],
    DestinationStatus: NotRequired[DestinationStatusType],  # (1)
    DestinationStatusDescription: NotRequired[str],
    ApproximateCreationDateTimePrecision: NotRequired[ApproximateCreationDateTimePrecisionType],  # (2)
  1. See DestinationStatusType
  2. See ApproximateCreationDateTimePrecisionType

DescribeTableInputRequestTypeDef#

# DescribeTableInputRequestTypeDef definition

class DescribeTableInputRequestTypeDef(TypedDict):
    TableName: str,

WaiterConfigTypeDef#

# WaiterConfigTypeDef definition

class WaiterConfigTypeDef(TypedDict):
    Delay: NotRequired[int],
    MaxAttempts: NotRequired[int],

DescribeTableReplicaAutoScalingInputRequestTypeDef#

# DescribeTableReplicaAutoScalingInputRequestTypeDef definition

class DescribeTableReplicaAutoScalingInputRequestTypeDef(TypedDict):
    TableName: str,

DescribeTimeToLiveInputRequestTypeDef#

# DescribeTimeToLiveInputRequestTypeDef definition

class DescribeTimeToLiveInputRequestTypeDef(TypedDict):
    TableName: str,

TimeToLiveDescriptionTypeDef#

# TimeToLiveDescriptionTypeDef definition

class TimeToLiveDescriptionTypeDef(TypedDict):
    TimeToLiveStatus: NotRequired[TimeToLiveStatusType],  # (1)
    AttributeName: NotRequired[str],
  1. See TimeToLiveStatusType

EnableKinesisStreamingConfigurationTypeDef#

# EnableKinesisStreamingConfigurationTypeDef definition

class EnableKinesisStreamingConfigurationTypeDef(TypedDict):
    ApproximateCreationDateTimePrecision: NotRequired[ApproximateCreationDateTimePrecisionType],  # (1)
  1. See ApproximateCreationDateTimePrecisionType

IncrementalExportSpecificationOutputTypeDef#

# IncrementalExportSpecificationOutputTypeDef definition

class IncrementalExportSpecificationOutputTypeDef(TypedDict):
    ExportFromTime: NotRequired[datetime],
    ExportToTime: NotRequired[datetime],
    ExportViewType: NotRequired[ExportViewTypeType],  # (1)
  1. See ExportViewTypeType

ExportSummaryTypeDef#

# ExportSummaryTypeDef definition

class ExportSummaryTypeDef(TypedDict):
    ExportArn: NotRequired[str],
    ExportStatus: NotRequired[ExportStatusType],  # (1)
    ExportType: NotRequired[ExportTypeType],  # (2)
  1. See ExportStatusType
  2. See ExportTypeType

GetResourcePolicyInputRequestTypeDef#

# GetResourcePolicyInputRequestTypeDef definition

class GetResourcePolicyInputRequestTypeDef(TypedDict):
    ResourceArn: str,

ProjectionExtraOutputTypeDef#

# ProjectionExtraOutputTypeDef definition

class ProjectionExtraOutputTypeDef(TypedDict):
    ProjectionType: NotRequired[ProjectionTypeType],  # (1)
    NonKeyAttributes: NotRequired[List[str]],
  1. See ProjectionTypeType

ProvisionedThroughputDescriptionTypeDef#

# ProvisionedThroughputDescriptionTypeDef definition

class ProvisionedThroughputDescriptionTypeDef(TypedDict):
    LastIncreaseDateTime: NotRequired[datetime],
    LastDecreaseDateTime: NotRequired[datetime],
    NumberOfDecreasesToday: NotRequired[int],
    ReadCapacityUnits: NotRequired[int],
    WriteCapacityUnits: NotRequired[int],

ProjectionOutputTypeDef#

# ProjectionOutputTypeDef definition

class ProjectionOutputTypeDef(TypedDict):
    ProjectionType: NotRequired[ProjectionTypeType],  # (1)
    NonKeyAttributes: NotRequired[List[str]],
  1. See ProjectionTypeType

S3BucketSourceTypeDef#

# S3BucketSourceTypeDef definition

class S3BucketSourceTypeDef(TypedDict):
    S3Bucket: str,
    S3BucketOwner: NotRequired[str],
    S3KeyPrefix: NotRequired[str],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListContributorInsightsInputRequestTypeDef#

# ListContributorInsightsInputRequestTypeDef definition

class ListContributorInsightsInputRequestTypeDef(TypedDict):
    TableName: NotRequired[str],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListExportsInputRequestTypeDef#

# ListExportsInputRequestTypeDef definition

class ListExportsInputRequestTypeDef(TypedDict):
    TableArn: NotRequired[str],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListGlobalTablesInputRequestTypeDef#

# ListGlobalTablesInputRequestTypeDef definition

class ListGlobalTablesInputRequestTypeDef(TypedDict):
    ExclusiveStartGlobalTableName: NotRequired[str],
    Limit: NotRequired[int],
    RegionName: NotRequired[str],

ListImportsInputRequestTypeDef#

# ListImportsInputRequestTypeDef definition

class ListImportsInputRequestTypeDef(TypedDict):
    TableArn: NotRequired[str],
    PageSize: NotRequired[int],
    NextToken: NotRequired[str],

ListTablesInputRequestTypeDef#

# ListTablesInputRequestTypeDef definition

class ListTablesInputRequestTypeDef(TypedDict):
    ExclusiveStartTableName: NotRequired[str],
    Limit: NotRequired[int],

ListTagsOfResourceInputRequestTypeDef#

# ListTagsOfResourceInputRequestTypeDef definition

class ListTagsOfResourceInputRequestTypeDef(TypedDict):
    ResourceArn: str,
    NextToken: NotRequired[str],

PointInTimeRecoverySpecificationTypeDef#

# PointInTimeRecoverySpecificationTypeDef definition

class PointInTimeRecoverySpecificationTypeDef(TypedDict):
    PointInTimeRecoveryEnabled: bool,

PutResourcePolicyInputRequestTypeDef#

# PutResourcePolicyInputRequestTypeDef definition

class PutResourcePolicyInputRequestTypeDef(TypedDict):
    ResourceArn: str,
    Policy: str,
    ExpectedRevisionId: NotRequired[str],
    ConfirmRemoveSelfResourceAccess: NotRequired[bool],

TableClassSummaryTypeDef#

# TableClassSummaryTypeDef definition

class TableClassSummaryTypeDef(TypedDict):
    TableClass: NotRequired[TableClassType],  # (1)
    LastUpdateDateTime: NotRequired[datetime],
  1. See TableClassType

RestoreSummaryTypeDef#

# RestoreSummaryTypeDef definition

class RestoreSummaryTypeDef(TypedDict):
    RestoreDateTime: datetime,
    RestoreInProgress: bool,
    SourceBackupArn: NotRequired[str],
    SourceTableArn: NotRequired[str],

SSEDescriptionTypeDef#

# SSEDescriptionTypeDef definition

class SSEDescriptionTypeDef(TypedDict):
    Status: NotRequired[SSEStatusType],  # (1)
    SSEType: NotRequired[SSETypeType],  # (2)
    KMSMasterKeyArn: NotRequired[str],
    InaccessibleEncryptionDateTime: NotRequired[datetime],
  1. See SSEStatusType
  2. See SSETypeType

TableBatchWriterRequestTypeDef#

# TableBatchWriterRequestTypeDef definition

class TableBatchWriterRequestTypeDef(TypedDict):
    overwrite_by_pkeys: NotRequired[List[str]],

TimeToLiveSpecificationTypeDef#

# TimeToLiveSpecificationTypeDef definition

class TimeToLiveSpecificationTypeDef(TypedDict):
    Enabled: bool,
    AttributeName: str,

UntagResourceInputRequestTypeDef#

# UntagResourceInputRequestTypeDef definition

class UntagResourceInputRequestTypeDef(TypedDict):
    ResourceArn: str,
    TagKeys: Sequence[str],

UpdateContributorInsightsInputRequestTypeDef#

# UpdateContributorInsightsInputRequestTypeDef definition

class UpdateContributorInsightsInputRequestTypeDef(TypedDict):
    TableName: str,
    ContributorInsightsAction: ContributorInsightsActionType,  # (1)
    IndexName: NotRequired[str],
  1. See ContributorInsightsActionType

UpdateKinesisStreamingConfigurationTypeDef#

# UpdateKinesisStreamingConfigurationTypeDef definition

class UpdateKinesisStreamingConfigurationTypeDef(TypedDict):
    ApproximateCreationDateTimePrecision: NotRequired[ApproximateCreationDateTimePrecisionType],  # (1)
  1. See ApproximateCreationDateTimePrecisionType

ArchivalSummaryResponseTypeDef#

# ArchivalSummaryResponseTypeDef definition

class ArchivalSummaryResponseTypeDef(TypedDict):
    ArchivalDateTime: datetime,
    ArchivalReason: str,
    ArchivalBackupArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

BillingModeSummaryResponseTypeDef#

# BillingModeSummaryResponseTypeDef definition

class BillingModeSummaryResponseTypeDef(TypedDict):
    BillingMode: BillingModeType,  # (1)
    LastUpdateToPayPerRequestDateTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BillingModeType
  2. See ResponseMetadataTypeDef

DeleteResourcePolicyOutputTypeDef#

# DeleteResourcePolicyOutputTypeDef definition

class DeleteResourcePolicyOutputTypeDef(TypedDict):
    RevisionId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeLimitsOutputTypeDef#

# DescribeLimitsOutputTypeDef definition

class DescribeLimitsOutputTypeDef(TypedDict):
    AccountMaxReadCapacityUnits: int,
    AccountMaxWriteCapacityUnits: int,
    TableMaxReadCapacityUnits: int,
    TableMaxWriteCapacityUnits: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

EmptyResponseMetadataTypeDef#

# EmptyResponseMetadataTypeDef definition

class EmptyResponseMetadataTypeDef(TypedDict):
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetResourcePolicyOutputTypeDef#

# GetResourcePolicyOutputTypeDef definition

class GetResourcePolicyOutputTypeDef(TypedDict):
    Policy: str,
    RevisionId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListTablesOutputTypeDef#

# ListTablesOutputTypeDef definition

class ListTablesOutputTypeDef(TypedDict):
    TableNames: List[str],
    LastEvaluatedTableName: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ProvisionedThroughputDescriptionResponseTypeDef#

# ProvisionedThroughputDescriptionResponseTypeDef definition

class ProvisionedThroughputDescriptionResponseTypeDef(TypedDict):
    LastIncreaseDateTime: datetime,
    LastDecreaseDateTime: datetime,
    NumberOfDecreasesToday: int,
    ReadCapacityUnits: int,
    WriteCapacityUnits: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

PutResourcePolicyOutputTypeDef#

# PutResourcePolicyOutputTypeDef definition

class PutResourcePolicyOutputTypeDef(TypedDict):
    RevisionId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

RestoreSummaryResponseTypeDef#

# RestoreSummaryResponseTypeDef definition

class RestoreSummaryResponseTypeDef(TypedDict):
    SourceBackupArn: str,
    SourceTableArn: str,
    RestoreDateTime: datetime,
    RestoreInProgress: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

SSEDescriptionResponseTypeDef#

# SSEDescriptionResponseTypeDef definition

class SSEDescriptionResponseTypeDef(TypedDict):
    Status: SSEStatusType,  # (1)
    SSEType: SSETypeType,  # (2)
    KMSMasterKeyArn: str,
    InaccessibleEncryptionDateTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See SSEStatusType
  2. See SSETypeType
  3. See ResponseMetadataTypeDef

StreamSpecificationResponseTypeDef#

# StreamSpecificationResponseTypeDef definition

class StreamSpecificationResponseTypeDef(TypedDict):
    StreamEnabled: bool,
    StreamViewType: StreamViewTypeType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See StreamViewTypeType
  2. See ResponseMetadataTypeDef

TableClassSummaryResponseTypeDef#

# TableClassSummaryResponseTypeDef definition

class TableClassSummaryResponseTypeDef(TypedDict):
    TableClass: TableClassType,  # (1)
    LastUpdateDateTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TableClassType
  2. See ResponseMetadataTypeDef

UpdateContributorInsightsOutputTypeDef#

# UpdateContributorInsightsOutputTypeDef definition

class UpdateContributorInsightsOutputTypeDef(TypedDict):
    TableName: str,
    IndexName: str,
    ContributorInsightsStatus: ContributorInsightsStatusType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ContributorInsightsStatusType
  2. See ResponseMetadataTypeDef

BatchStatementErrorTypeDef#

# BatchStatementErrorTypeDef definition

class BatchStatementErrorTypeDef(TypedDict):
    Code: NotRequired[BatchStatementErrorCodeEnumType],  # (1)
    Message: NotRequired[str],
    Item: NotRequired[Dict[str, AttributeValueTypeDef]],  # (2)
  1. See BatchStatementErrorCodeEnumType
  2. See AttributeValueTypeDef

DeleteRequestOutputTypeDef#

# DeleteRequestOutputTypeDef definition

class DeleteRequestOutputTypeDef(TypedDict):
    Key: Dict[str, AttributeValueTypeDef],  # (1)
  1. See AttributeValueTypeDef

ItemCollectionMetricsTypeDef#

# ItemCollectionMetricsTypeDef definition

class ItemCollectionMetricsTypeDef(TypedDict):
    ItemCollectionKey: NotRequired[Dict[str, AttributeValueTypeDef]],  # (1)
    SizeEstimateRangeGB: NotRequired[List[float]],
  1. See AttributeValueTypeDef

ItemResponseTypeDef#

# ItemResponseTypeDef definition

class ItemResponseTypeDef(TypedDict):
    Item: NotRequired[Dict[str, AttributeValueTypeDef]],  # (1)
  1. See AttributeValueTypeDef

KeysAndAttributesOutputTypeDef#

# KeysAndAttributesOutputTypeDef definition

class KeysAndAttributesOutputTypeDef(TypedDict):
    Keys: List[Dict[str, AttributeValueTypeDef]],  # (1)
    AttributesToGet: NotRequired[List[str]],
    ConsistentRead: NotRequired[bool],
    ProjectionExpression: NotRequired[str],
    ExpressionAttributeNames: NotRequired[Dict[str, str]],
  1. See AttributeValueTypeDef

PutRequestOutputTypeDef#

# PutRequestOutputTypeDef definition

class PutRequestOutputTypeDef(TypedDict):
    Item: Dict[str, AttributeValueTypeDef],  # (1)
  1. See AttributeValueTypeDef

AttributeValueUpdateTableTypeDef#

# AttributeValueUpdateTableTypeDef definition

class AttributeValueUpdateTableTypeDef(TypedDict):
    Value: NotRequired[Union[bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]],
    Action: NotRequired[AttributeActionType],  # (1)
  1. See AttributeActionType

ConditionTableTypeDef#

# ConditionTableTypeDef definition

class ConditionTableTypeDef(TypedDict):
    ComparisonOperator: ComparisonOperatorType,  # (1)
    AttributeValueList: NotRequired[Sequence[Union[bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]]],
  1. See ComparisonOperatorType

DeleteRequestServiceResourceOutputTypeDef#

# DeleteRequestServiceResourceOutputTypeDef definition

class DeleteRequestServiceResourceOutputTypeDef(TypedDict):
    Key: Dict[str, Union[bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]],

DeleteRequestServiceResourceTypeDef#

# DeleteRequestServiceResourceTypeDef definition

class DeleteRequestServiceResourceTypeDef(TypedDict):
    Key: Mapping[str, Union[bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]],

ExpectedAttributeValueTableTypeDef#

# ExpectedAttributeValueTableTypeDef definition

class ExpectedAttributeValueTableTypeDef(TypedDict):
    Value: NotRequired[Union[bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]],
    Exists: NotRequired[bool],
    ComparisonOperator: NotRequired[ComparisonOperatorType],  # (1)
    AttributeValueList: NotRequired[Sequence[Union[bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]]],
  1. See ComparisonOperatorType

GetItemInputTableGetItemTypeDef#

# GetItemInputTableGetItemTypeDef definition

class GetItemInputTableGetItemTypeDef(TypedDict):
    Key: Mapping[str, Union[bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]],
    AttributesToGet: NotRequired[Sequence[str]],
    ConsistentRead: NotRequired[bool],
    ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType],  # (1)
    ProjectionExpression: NotRequired[str],
    ExpressionAttributeNames: NotRequired[Mapping[str, str]],
  1. See ReturnConsumedCapacityType

ItemCollectionMetricsServiceResourceTypeDef#

# ItemCollectionMetricsServiceResourceTypeDef definition

class ItemCollectionMetricsServiceResourceTypeDef(TypedDict):
    ItemCollectionKey: NotRequired[Dict[str, Union[bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]]],
    SizeEstimateRangeGB: NotRequired[List[float]],

ItemCollectionMetricsTableTypeDef#

# ItemCollectionMetricsTableTypeDef definition

class ItemCollectionMetricsTableTypeDef(TypedDict):
    ItemCollectionKey: NotRequired[Dict[str, Union[bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]]],
    SizeEstimateRangeGB: NotRequired[List[float]],

KeysAndAttributesServiceResourceOutputTypeDef#

# KeysAndAttributesServiceResourceOutputTypeDef definition

class KeysAndAttributesServiceResourceOutputTypeDef(TypedDict):
    Keys: List[Dict[str, Union[bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]]],
    AttributesToGet: NotRequired[List[str]],
    ConsistentRead: NotRequired[bool],
    ProjectionExpression: NotRequired[str],
    ExpressionAttributeNames: NotRequired[Dict[str, str]],

KeysAndAttributesServiceResourceTypeDef#

# KeysAndAttributesServiceResourceTypeDef definition

class KeysAndAttributesServiceResourceTypeDef(TypedDict):
    Keys: Sequence[Mapping[str, Union[bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]]],
    AttributesToGet: NotRequired[Sequence[str]],
    ConsistentRead: NotRequired[bool],
    ProjectionExpression: NotRequired[str],
    ExpressionAttributeNames: NotRequired[Mapping[str, str]],

PutRequestServiceResourceOutputTypeDef#

# PutRequestServiceResourceOutputTypeDef definition

class PutRequestServiceResourceOutputTypeDef(TypedDict):
    Item: Dict[str, Union[bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]],

PutRequestServiceResourceTypeDef#

# PutRequestServiceResourceTypeDef definition

class PutRequestServiceResourceTypeDef(TypedDict):
    Item: Mapping[str, Union[bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]],

AutoScalingPolicyDescriptionTypeDef#

# AutoScalingPolicyDescriptionTypeDef definition

class AutoScalingPolicyDescriptionTypeDef(TypedDict):
    PolicyName: NotRequired[str],
    TargetTrackingScalingPolicyConfiguration: NotRequired[AutoScalingTargetTrackingScalingPolicyConfigurationDescriptionTypeDef],  # (1)
  1. See AutoScalingTargetTrackingScalingPolicyConfigurationDescriptionTypeDef

AutoScalingPolicyUpdateTypeDef#

# AutoScalingPolicyUpdateTypeDef definition

class AutoScalingPolicyUpdateTypeDef(TypedDict):
    TargetTrackingScalingPolicyConfiguration: AutoScalingTargetTrackingScalingPolicyConfigurationUpdateTypeDef,  # (1)
    PolicyName: NotRequired[str],
  1. See AutoScalingTargetTrackingScalingPolicyConfigurationUpdateTypeDef

CreateBackupOutputTypeDef#

# CreateBackupOutputTypeDef definition

class CreateBackupOutputTypeDef(TypedDict):
    BackupDetails: BackupDetailsTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BackupDetailsTypeDef
  2. See ResponseMetadataTypeDef

ListBackupsOutputTypeDef#

# ListBackupsOutputTypeDef definition

class ListBackupsOutputTypeDef(TypedDict):
    BackupSummaries: List[BackupSummaryTypeDef],  # (1)
    LastEvaluatedBackupArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BackupSummaryTypeDef
  2. See ResponseMetadataTypeDef

ConsumedCapacityTypeDef#

# ConsumedCapacityTypeDef definition

class ConsumedCapacityTypeDef(TypedDict):
    TableName: NotRequired[str],
    CapacityUnits: NotRequired[float],
    ReadCapacityUnits: NotRequired[float],
    WriteCapacityUnits: NotRequired[float],
    Table: NotRequired[CapacityTypeDef],  # (1)
    LocalSecondaryIndexes: NotRequired[Dict[str, CapacityTypeDef]],  # (2)
    GlobalSecondaryIndexes: NotRequired[Dict[str, CapacityTypeDef]],  # (2)
  1. See CapacityTypeDef
  2. See CapacityTypeDef
  3. See CapacityTypeDef

ContinuousBackupsDescriptionTypeDef#

# ContinuousBackupsDescriptionTypeDef definition

class ContinuousBackupsDescriptionTypeDef(TypedDict):
    ContinuousBackupsStatus: ContinuousBackupsStatusType,  # (1)
    PointInTimeRecoveryDescription: NotRequired[PointInTimeRecoveryDescriptionTypeDef],  # (2)
  1. See ContinuousBackupsStatusType
  2. See PointInTimeRecoveryDescriptionTypeDef

ListContributorInsightsOutputTypeDef#

# ListContributorInsightsOutputTypeDef definition

class ListContributorInsightsOutputTypeDef(TypedDict):
    ContributorInsightsSummaries: List[ContributorInsightsSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ContributorInsightsSummaryTypeDef
  2. See ResponseMetadataTypeDef

LocalSecondaryIndexTypeDef#

# LocalSecondaryIndexTypeDef definition

class LocalSecondaryIndexTypeDef(TypedDict):
    IndexName: str,
    KeySchema: Sequence[KeySchemaElementTypeDef],  # (1)
    Projection: ProjectionTypeDef,  # (2)
  1. See KeySchemaElementTypeDef
  2. See ProjectionTypeDef

CreateGlobalSecondaryIndexActionTypeDef#

# CreateGlobalSecondaryIndexActionTypeDef definition

class CreateGlobalSecondaryIndexActionTypeDef(TypedDict):
    IndexName: str,
    KeySchema: Sequence[KeySchemaElementTypeDef],  # (1)
    Projection: ProjectionTypeDef,  # (2)
    ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef],  # (3)
  1. See KeySchemaElementTypeDef
  2. See ProjectionTypeDef
  3. See ProvisionedThroughputTypeDef

GlobalSecondaryIndexTypeDef#

# GlobalSecondaryIndexTypeDef definition

class GlobalSecondaryIndexTypeDef(TypedDict):
    IndexName: str,
    KeySchema: Sequence[KeySchemaElementTypeDef],  # (1)
    Projection: ProjectionTypeDef,  # (2)
    ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef],  # (3)
  1. See KeySchemaElementTypeDef
  2. See ProjectionTypeDef
  3. See ProvisionedThroughputTypeDef

SourceTableDetailsTypeDef#

# SourceTableDetailsTypeDef definition

class SourceTableDetailsTypeDef(TypedDict):
    TableName: str,
    TableId: str,
    KeySchema: List[KeySchemaElementTypeDef],  # (1)
    TableCreationDateTime: datetime,
    ProvisionedThroughput: ProvisionedThroughputTypeDef,  # (2)
    TableArn: NotRequired[str],
    TableSizeBytes: NotRequired[int],
    ItemCount: NotRequired[int],
    BillingMode: NotRequired[BillingModeType],  # (3)
  1. See KeySchemaElementTypeDef
  2. See ProvisionedThroughputTypeDef
  3. See BillingModeType

UpdateGlobalSecondaryIndexActionTypeDef#

# UpdateGlobalSecondaryIndexActionTypeDef definition

class UpdateGlobalSecondaryIndexActionTypeDef(TypedDict):
    IndexName: str,
    ProvisionedThroughput: ProvisionedThroughputTypeDef,  # (1)
  1. See ProvisionedThroughputTypeDef

CreateGlobalTableInputRequestTypeDef#

# CreateGlobalTableInputRequestTypeDef definition

class CreateGlobalTableInputRequestTypeDef(TypedDict):
    GlobalTableName: str,
    ReplicationGroup: Sequence[ReplicaTypeDef],  # (1)
  1. See ReplicaTypeDef

GlobalTableTypeDef#

# GlobalTableTypeDef definition

class GlobalTableTypeDef(TypedDict):
    GlobalTableName: NotRequired[str],
    ReplicationGroup: NotRequired[List[ReplicaTypeDef]],  # (1)
  1. See ReplicaTypeDef

ReplicaGlobalSecondaryIndexDescriptionTypeDef#

# ReplicaGlobalSecondaryIndexDescriptionTypeDef definition

class ReplicaGlobalSecondaryIndexDescriptionTypeDef(TypedDict):
    IndexName: NotRequired[str],
    ProvisionedThroughputOverride: NotRequired[ProvisionedThroughputOverrideTypeDef],  # (1)
  1. See ProvisionedThroughputOverrideTypeDef

ReplicaGlobalSecondaryIndexTypeDef#

# ReplicaGlobalSecondaryIndexTypeDef definition

class ReplicaGlobalSecondaryIndexTypeDef(TypedDict):
    IndexName: str,
    ProvisionedThroughputOverride: NotRequired[ProvisionedThroughputOverrideTypeDef],  # (1)
  1. See ProvisionedThroughputOverrideTypeDef

ListTagsOfResourceOutputTypeDef#

# ListTagsOfResourceOutputTypeDef definition

class ListTagsOfResourceOutputTypeDef(TypedDict):
    Tags: List[TagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See TagTypeDef
  2. See ResponseMetadataTypeDef

TagResourceInputRequestTypeDef#

# TagResourceInputRequestTypeDef definition

class TagResourceInputRequestTypeDef(TypedDict):
    ResourceArn: str,
    Tags: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

InputFormatOptionsOutputTypeDef#

# InputFormatOptionsOutputTypeDef definition

class InputFormatOptionsOutputTypeDef(TypedDict):
    Csv: NotRequired[CsvOptionsOutputTypeDef],  # (1)
  1. See CsvOptionsOutputTypeDef

InputFormatOptionsTypeDef#

# InputFormatOptionsTypeDef definition

class InputFormatOptionsTypeDef(TypedDict):
    Csv: NotRequired[CsvOptionsTypeDef],  # (1)
  1. See CsvOptionsTypeDef

ReplicaUpdateTypeDef#

# ReplicaUpdateTypeDef definition

class ReplicaUpdateTypeDef(TypedDict):
    Create: NotRequired[CreateReplicaActionTypeDef],  # (1)
    Delete: NotRequired[DeleteReplicaActionTypeDef],  # (2)
  1. See CreateReplicaActionTypeDef
  2. See DeleteReplicaActionTypeDef

DescribeContributorInsightsOutputTypeDef#

# DescribeContributorInsightsOutputTypeDef definition

class DescribeContributorInsightsOutputTypeDef(TypedDict):
    TableName: str,
    IndexName: str,
    ContributorInsightsRuleList: List[str],
    ContributorInsightsStatus: ContributorInsightsStatusType,  # (1)
    LastUpdateDateTime: datetime,
    FailureException: FailureExceptionTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ContributorInsightsStatusType
  2. See FailureExceptionTypeDef
  3. See ResponseMetadataTypeDef

DescribeEndpointsResponseTypeDef#

# DescribeEndpointsResponseTypeDef definition

class DescribeEndpointsResponseTypeDef(TypedDict):
    Endpoints: List[EndpointTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See EndpointTypeDef
  2. See ResponseMetadataTypeDef

DescribeKinesisStreamingDestinationOutputTypeDef#

# DescribeKinesisStreamingDestinationOutputTypeDef definition

class DescribeKinesisStreamingDestinationOutputTypeDef(TypedDict):
    TableName: str,
    KinesisDataStreamDestinations: List[KinesisDataStreamDestinationTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See KinesisDataStreamDestinationTypeDef
  2. See ResponseMetadataTypeDef

DescribeTableInputTableExistsWaitTypeDef#

# DescribeTableInputTableExistsWaitTypeDef definition

class DescribeTableInputTableExistsWaitTypeDef(TypedDict):
    TableName: str,
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

DescribeTableInputTableNotExistsWaitTypeDef#

# DescribeTableInputTableNotExistsWaitTypeDef definition

class DescribeTableInputTableNotExistsWaitTypeDef(TypedDict):
    TableName: str,
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

DescribeTimeToLiveOutputTypeDef#

# DescribeTimeToLiveOutputTypeDef definition

class DescribeTimeToLiveOutputTypeDef(TypedDict):
    TimeToLiveDescription: TimeToLiveDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TimeToLiveDescriptionTypeDef
  2. See ResponseMetadataTypeDef

KinesisStreamingDestinationInputRequestTypeDef#

# KinesisStreamingDestinationInputRequestTypeDef definition

class KinesisStreamingDestinationInputRequestTypeDef(TypedDict):
    TableName: str,
    StreamArn: str,
    EnableKinesisStreamingConfiguration: NotRequired[EnableKinesisStreamingConfigurationTypeDef],  # (1)
  1. See EnableKinesisStreamingConfigurationTypeDef

KinesisStreamingDestinationOutputTypeDef#

# KinesisStreamingDestinationOutputTypeDef definition

class KinesisStreamingDestinationOutputTypeDef(TypedDict):
    TableName: str,
    StreamArn: str,
    DestinationStatus: DestinationStatusType,  # (1)
    EnableKinesisStreamingConfiguration: EnableKinesisStreamingConfigurationTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See DestinationStatusType
  2. See EnableKinesisStreamingConfigurationTypeDef
  3. See ResponseMetadataTypeDef

ExportDescriptionTypeDef#

# ExportDescriptionTypeDef definition

class ExportDescriptionTypeDef(TypedDict):
    ExportArn: NotRequired[str],
    ExportStatus: NotRequired[ExportStatusType],  # (1)
    StartTime: NotRequired[datetime],
    EndTime: NotRequired[datetime],
    ExportManifest: NotRequired[str],
    TableArn: NotRequired[str],
    TableId: NotRequired[str],
    ExportTime: NotRequired[datetime],
    ClientToken: NotRequired[str],
    S3Bucket: NotRequired[str],
    S3BucketOwner: NotRequired[str],
    S3Prefix: NotRequired[str],
    S3SseAlgorithm: NotRequired[S3SseAlgorithmType],  # (2)
    S3SseKmsKeyId: NotRequired[str],
    FailureCode: NotRequired[str],
    FailureMessage: NotRequired[str],
    ExportFormat: NotRequired[ExportFormatType],  # (3)
    BilledSizeBytes: NotRequired[int],
    ItemCount: NotRequired[int],
    ExportType: NotRequired[ExportTypeType],  # (4)
    IncrementalExportSpecification: NotRequired[IncrementalExportSpecificationOutputTypeDef],  # (5)
  1. See ExportStatusType
  2. See S3SseAlgorithmType
  3. See ExportFormatType
  4. See ExportTypeType
  5. See IncrementalExportSpecificationOutputTypeDef

ListExportsOutputTypeDef#

# ListExportsOutputTypeDef definition

class ListExportsOutputTypeDef(TypedDict):
    ExportSummaries: List[ExportSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ExportSummaryTypeDef
  2. See ResponseMetadataTypeDef

IncrementalExportSpecificationTypeDef#

# IncrementalExportSpecificationTypeDef definition

class IncrementalExportSpecificationTypeDef(TypedDict):
    ExportFromTime: NotRequired[Union[datetime, str]],
    ExportToTime: NotRequired[Union[datetime, str]],
    ExportViewType: NotRequired[ExportViewTypeType],  # (1)
  1. See ExportViewTypeType

ListBackupsInputRequestTypeDef#

# ListBackupsInputRequestTypeDef definition

class ListBackupsInputRequestTypeDef(TypedDict):
    TableName: NotRequired[str],
    Limit: NotRequired[int],
    TimeRangeLowerBound: NotRequired[Union[datetime, str]],
    TimeRangeUpperBound: NotRequired[Union[datetime, str]],
    ExclusiveStartBackupArn: NotRequired[str],
    BackupType: NotRequired[BackupTypeFilterType],  # (1)
  1. See BackupTypeFilterType

LocalSecondaryIndexDescriptionTypeDef#

# LocalSecondaryIndexDescriptionTypeDef definition

class LocalSecondaryIndexDescriptionTypeDef(TypedDict):
    IndexName: NotRequired[str],
    KeySchema: NotRequired[List[KeySchemaElementTypeDef]],  # (1)
    Projection: NotRequired[ProjectionExtraOutputTypeDef],  # (2)
    IndexSizeBytes: NotRequired[int],
    ItemCount: NotRequired[int],
    IndexArn: NotRequired[str],
  1. See KeySchemaElementTypeDef
  2. See ProjectionExtraOutputTypeDef

GlobalSecondaryIndexDescriptionTypeDef#

# GlobalSecondaryIndexDescriptionTypeDef definition

class GlobalSecondaryIndexDescriptionTypeDef(TypedDict):
    IndexName: NotRequired[str],
    KeySchema: NotRequired[List[KeySchemaElementTypeDef]],  # (1)
    Projection: NotRequired[ProjectionExtraOutputTypeDef],  # (2)
    IndexStatus: NotRequired[IndexStatusType],  # (3)
    Backfilling: NotRequired[bool],
    ProvisionedThroughput: NotRequired[ProvisionedThroughputDescriptionTypeDef],  # (4)
    IndexSizeBytes: NotRequired[int],
    ItemCount: NotRequired[int],
    IndexArn: NotRequired[str],
  1. See KeySchemaElementTypeDef
  2. See ProjectionExtraOutputTypeDef
  3. See IndexStatusType
  4. See ProvisionedThroughputDescriptionTypeDef

GlobalSecondaryIndexInfoTypeDef#

# GlobalSecondaryIndexInfoTypeDef definition

class GlobalSecondaryIndexInfoTypeDef(TypedDict):
    IndexName: NotRequired[str],
    KeySchema: NotRequired[List[KeySchemaElementTypeDef]],  # (1)
    Projection: NotRequired[ProjectionOutputTypeDef],  # (2)
    ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef],  # (3)
  1. See KeySchemaElementTypeDef
  2. See ProjectionOutputTypeDef
  3. See ProvisionedThroughputTypeDef

GlobalSecondaryIndexOutputTypeDef#

# GlobalSecondaryIndexOutputTypeDef definition

class GlobalSecondaryIndexOutputTypeDef(TypedDict):
    IndexName: str,
    KeySchema: List[KeySchemaElementTypeDef],  # (1)
    Projection: ProjectionOutputTypeDef,  # (2)
    ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef],  # (3)
  1. See KeySchemaElementTypeDef
  2. See ProjectionOutputTypeDef
  3. See ProvisionedThroughputTypeDef

LocalSecondaryIndexInfoTypeDef#

# LocalSecondaryIndexInfoTypeDef definition

class LocalSecondaryIndexInfoTypeDef(TypedDict):
    IndexName: NotRequired[str],
    KeySchema: NotRequired[List[KeySchemaElementTypeDef]],  # (1)
    Projection: NotRequired[ProjectionOutputTypeDef],  # (2)
  1. See KeySchemaElementTypeDef
  2. See ProjectionOutputTypeDef

ImportSummaryTypeDef#

# ImportSummaryTypeDef definition

class ImportSummaryTypeDef(TypedDict):
    ImportArn: NotRequired[str],
    ImportStatus: NotRequired[ImportStatusType],  # (1)
    TableArn: NotRequired[str],
    S3BucketSource: NotRequired[S3BucketSourceTypeDef],  # (2)
    CloudWatchLogGroupArn: NotRequired[str],
    InputFormat: NotRequired[InputFormatType],  # (3)
    StartTime: NotRequired[datetime],
    EndTime: NotRequired[datetime],
  1. See ImportStatusType
  2. See S3BucketSourceTypeDef
  3. See InputFormatType

ListBackupsInputListBackupsPaginateTypeDef#

# ListBackupsInputListBackupsPaginateTypeDef definition

class ListBackupsInputListBackupsPaginateTypeDef(TypedDict):
    TableName: NotRequired[str],
    TimeRangeLowerBound: NotRequired[Union[datetime, str]],
    TimeRangeUpperBound: NotRequired[Union[datetime, str]],
    BackupType: NotRequired[BackupTypeFilterType],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See BackupTypeFilterType
  2. See PaginatorConfigTypeDef

ListTablesInputListTablesPaginateTypeDef#

# ListTablesInputListTablesPaginateTypeDef definition

class ListTablesInputListTablesPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListTagsOfResourceInputListTagsOfResourcePaginateTypeDef#

# ListTagsOfResourceInputListTagsOfResourcePaginateTypeDef definition

class ListTagsOfResourceInputListTagsOfResourcePaginateTypeDef(TypedDict):
    ResourceArn: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

UpdateContinuousBackupsInputRequestTypeDef#

# UpdateContinuousBackupsInputRequestTypeDef definition

class UpdateContinuousBackupsInputRequestTypeDef(TypedDict):
    TableName: str,
    PointInTimeRecoverySpecification: PointInTimeRecoverySpecificationTypeDef,  # (1)
  1. See PointInTimeRecoverySpecificationTypeDef

UpdateTimeToLiveInputRequestTypeDef#

# UpdateTimeToLiveInputRequestTypeDef definition

class UpdateTimeToLiveInputRequestTypeDef(TypedDict):
    TableName: str,
    TimeToLiveSpecification: TimeToLiveSpecificationTypeDef,  # (1)
  1. See TimeToLiveSpecificationTypeDef

UpdateTimeToLiveOutputTypeDef#

# UpdateTimeToLiveOutputTypeDef definition

class UpdateTimeToLiveOutputTypeDef(TypedDict):
    TimeToLiveSpecification: TimeToLiveSpecificationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TimeToLiveSpecificationTypeDef
  2. See ResponseMetadataTypeDef

UpdateKinesisStreamingDestinationInputRequestTypeDef#

# UpdateKinesisStreamingDestinationInputRequestTypeDef definition

class UpdateKinesisStreamingDestinationInputRequestTypeDef(TypedDict):
    TableName: str,
    StreamArn: str,
    UpdateKinesisStreamingConfiguration: NotRequired[UpdateKinesisStreamingConfigurationTypeDef],  # (1)
  1. See UpdateKinesisStreamingConfigurationTypeDef

UpdateKinesisStreamingDestinationOutputTypeDef#

# UpdateKinesisStreamingDestinationOutputTypeDef definition

class UpdateKinesisStreamingDestinationOutputTypeDef(TypedDict):
    TableName: str,
    StreamArn: str,
    DestinationStatus: DestinationStatusType,  # (1)
    UpdateKinesisStreamingConfiguration: UpdateKinesisStreamingConfigurationTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See DestinationStatusType
  2. See UpdateKinesisStreamingConfigurationTypeDef
  3. See ResponseMetadataTypeDef

BatchStatementResponseTypeDef#

# BatchStatementResponseTypeDef definition

class BatchStatementResponseTypeDef(TypedDict):
    Error: NotRequired[BatchStatementErrorTypeDef],  # (1)
    TableName: NotRequired[str],
    Item: NotRequired[Dict[str, AttributeValueTypeDef]],  # (2)
  1. See BatchStatementErrorTypeDef
  2. See AttributeValueTypeDef

WriteRequestOutputTypeDef#

# WriteRequestOutputTypeDef definition

class WriteRequestOutputTypeDef(TypedDict):
    PutRequest: NotRequired[PutRequestOutputTypeDef],  # (1)
    DeleteRequest: NotRequired[DeleteRequestOutputTypeDef],  # (2)
  1. See PutRequestOutputTypeDef
  2. See DeleteRequestOutputTypeDef

AttributeValueUpdateTypeDef#

# AttributeValueUpdateTypeDef definition

class AttributeValueUpdateTypeDef(TypedDict):
    Value: NotRequired[Union[AttributeValueTypeDef, bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]],  # (1)
    Action: NotRequired[AttributeActionType],  # (2)
  1. See AttributeValueTypeDef
  2. See AttributeActionType

BatchStatementRequestTypeDef#

# BatchStatementRequestTypeDef definition

class BatchStatementRequestTypeDef(TypedDict):
    Statement: str,
    Parameters: NotRequired[Sequence[Union[AttributeValueTypeDef, bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]]],  # (1)
    ConsistentRead: NotRequired[bool],
    ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType],  # (2)
  1. See AttributeValueTypeDef
  2. See ReturnValuesOnConditionCheckFailureType

ConditionCheckTypeDef#

# ConditionCheckTypeDef definition

class ConditionCheckTypeDef(TypedDict):
    Key: Mapping[str, Union[AttributeValueTypeDef, bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]],  # (1)
    TableName: str,
    ConditionExpression: str,
    ExpressionAttributeNames: NotRequired[Mapping[str, str]],
    ExpressionAttributeValues: NotRequired[Mapping[str, Union[AttributeValueTypeDef, bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]]],  # (1)
    ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType],  # (3)
  1. See AttributeValueTypeDef
  2. See AttributeValueTypeDef
  3. See ReturnValuesOnConditionCheckFailureType

ConditionTypeDef#

# ConditionTypeDef definition

class ConditionTypeDef(TypedDict):
    ComparisonOperator: ComparisonOperatorType,  # (2)
    AttributeValueList: NotRequired[Sequence[Union[AttributeValueTypeDef, bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]]],  # (1)
  1. See AttributeValueTypeDef
  2. See ComparisonOperatorType

DeleteRequestTypeDef#

# DeleteRequestTypeDef definition

class DeleteRequestTypeDef(TypedDict):
    Key: Mapping[str, Union[AttributeValueTypeDef, bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]],  # (1)
  1. See AttributeValueTypeDef

DeleteTypeDef#

# DeleteTypeDef definition

class DeleteTypeDef(TypedDict):
    Key: Mapping[str, Union[AttributeValueTypeDef, bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]],  # (1)
    TableName: str,
    ConditionExpression: NotRequired[str],
    ExpressionAttributeNames: NotRequired[Mapping[str, str]],
    ExpressionAttributeValues: NotRequired[Mapping[str, Union[AttributeValueTypeDef, bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]]],  # (1)
    ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType],  # (3)
  1. See AttributeValueTypeDef
  2. See AttributeValueTypeDef
  3. See ReturnValuesOnConditionCheckFailureType

ExecuteStatementInputRequestTypeDef#

# ExecuteStatementInputRequestTypeDef definition

class ExecuteStatementInputRequestTypeDef(TypedDict):
    Statement: str,
    Parameters: NotRequired[Sequence[Union[AttributeValueTypeDef, bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]]],  # (1)
    ConsistentRead: NotRequired[bool],
    NextToken: NotRequired[str],
    ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType],  # (2)
    Limit: NotRequired[int],
    ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType],  # (3)
  1. See AttributeValueTypeDef
  2. See ReturnConsumedCapacityType
  3. See ReturnValuesOnConditionCheckFailureType

ExpectedAttributeValueTypeDef#

# ExpectedAttributeValueTypeDef definition

class ExpectedAttributeValueTypeDef(TypedDict):
    Value: NotRequired[Union[AttributeValueTypeDef, bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]],  # (1)
    Exists: NotRequired[bool],
    ComparisonOperator: NotRequired[ComparisonOperatorType],  # (2)
    AttributeValueList: NotRequired[Sequence[Union[AttributeValueTypeDef, bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]]],  # (3)
  1. See AttributeValueTypeDef
  2. See ComparisonOperatorType
  3. See AttributeValueTypeDef

GetItemInputRequestTypeDef#

# GetItemInputRequestTypeDef definition

class GetItemInputRequestTypeDef(TypedDict):
    TableName: str,
    Key: Mapping[str, Union[AttributeValueTypeDef, bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]],  # (1)
    AttributesToGet: NotRequired[Sequence[str]],
    ConsistentRead: NotRequired[bool],
    ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType],  # (2)
    ProjectionExpression: NotRequired[str],
    ExpressionAttributeNames: NotRequired[Mapping[str, str]],
  1. See AttributeValueTypeDef
  2. See ReturnConsumedCapacityType

GetTypeDef#

# GetTypeDef definition

class GetTypeDef(TypedDict):
    Key: Mapping[str, Union[AttributeValueTypeDef, bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]],  # (1)
    TableName: str,
    ProjectionExpression: NotRequired[str],
    ExpressionAttributeNames: NotRequired[Mapping[str, str]],
  1. See AttributeValueTypeDef

KeysAndAttributesTypeDef#

# KeysAndAttributesTypeDef definition

class KeysAndAttributesTypeDef(TypedDict):
    Keys: Sequence[Mapping[str, Union[AttributeValueTypeDef, bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]]],  # (1)
    AttributesToGet: NotRequired[Sequence[str]],
    ConsistentRead: NotRequired[bool],
    ProjectionExpression: NotRequired[str],
    ExpressionAttributeNames: NotRequired[Mapping[str, str]],
  1. See AttributeValueTypeDef

ParameterizedStatementTypeDef#

# ParameterizedStatementTypeDef definition

class ParameterizedStatementTypeDef(TypedDict):
    Statement: str,
    Parameters: NotRequired[Sequence[Union[AttributeValueTypeDef, bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]]],  # (1)
    ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType],  # (2)
  1. See AttributeValueTypeDef
  2. See ReturnValuesOnConditionCheckFailureType

PutRequestTypeDef#

# PutRequestTypeDef definition

class PutRequestTypeDef(TypedDict):
    Item: Mapping[str, Union[AttributeValueTypeDef, bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]],  # (1)
  1. See AttributeValueTypeDef

PutTypeDef#

# PutTypeDef definition

class PutTypeDef(TypedDict):
    Item: Mapping[str, Union[AttributeValueTypeDef, bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]],  # (1)
    TableName: str,
    ConditionExpression: NotRequired[str],
    ExpressionAttributeNames: NotRequired[Mapping[str, str]],
    ExpressionAttributeValues: NotRequired[Mapping[str, Union[AttributeValueTypeDef, bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]]],  # (1)
    ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType],  # (3)
  1. See AttributeValueTypeDef
  2. See AttributeValueTypeDef
  3. See ReturnValuesOnConditionCheckFailureType

UpdateTypeDef#

# UpdateTypeDef definition

class UpdateTypeDef(TypedDict):
    Key: Mapping[str, Union[AttributeValueTypeDef, bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]],  # (1)
    UpdateExpression: str,
    TableName: str,
    ConditionExpression: NotRequired[str],
    ExpressionAttributeNames: NotRequired[Mapping[str, str]],
    ExpressionAttributeValues: NotRequired[Mapping[str, Union[AttributeValueTypeDef, bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]]],  # (1)
    ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType],  # (3)
  1. See AttributeValueTypeDef
  2. See AttributeValueTypeDef
  3. See ReturnValuesOnConditionCheckFailureType

QueryInputTableQueryTypeDef#

# QueryInputTableQueryTypeDef definition

class QueryInputTableQueryTypeDef(TypedDict):
    IndexName: NotRequired[str],
    Select: NotRequired[SelectType],  # (1)
    AttributesToGet: NotRequired[Sequence[str]],
    Limit: NotRequired[int],
    ConsistentRead: NotRequired[bool],
    KeyConditions: NotRequired[Mapping[str, ConditionTableTypeDef]],  # (2)
    QueryFilter: NotRequired[Mapping[str, ConditionTableTypeDef]],  # (2)
    ConditionalOperator: NotRequired[ConditionalOperatorType],  # (4)
    ScanIndexForward: NotRequired[bool],
    ExclusiveStartKey: NotRequired[Mapping[str, Union[bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]]],
    ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType],  # (5)
    ProjectionExpression: NotRequired[str],
    FilterExpression: NotRequired[Union[str, ConditionBase]],
    KeyConditionExpression: NotRequired[Union[str, ConditionBase]],
    ExpressionAttributeNames: NotRequired[Mapping[str, str]],
    ExpressionAttributeValues: NotRequired[Mapping[str, Union[bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]]],
  1. See SelectType
  2. See ConditionTableTypeDef
  3. See ConditionTableTypeDef
  4. See ConditionalOperatorType
  5. See ReturnConsumedCapacityType

ScanInputTableScanTypeDef#

# ScanInputTableScanTypeDef definition

class ScanInputTableScanTypeDef(TypedDict):
    IndexName: NotRequired[str],
    AttributesToGet: NotRequired[Sequence[str]],
    Limit: NotRequired[int],
    Select: NotRequired[SelectType],  # (1)
    ScanFilter: NotRequired[Mapping[str, ConditionTableTypeDef]],  # (2)
    ConditionalOperator: NotRequired[ConditionalOperatorType],  # (3)
    ExclusiveStartKey: NotRequired[Mapping[str, Union[bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]]],
    ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType],  # (4)
    TotalSegments: NotRequired[int],
    Segment: NotRequired[int],
    ProjectionExpression: NotRequired[str],
    FilterExpression: NotRequired[Union[str, ConditionBase]],
    ExpressionAttributeNames: NotRequired[Mapping[str, str]],
    ExpressionAttributeValues: NotRequired[Mapping[str, Union[bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]]],
    ConsistentRead: NotRequired[bool],
  1. See SelectType
  2. See ConditionTableTypeDef
  3. See ConditionalOperatorType
  4. See ReturnConsumedCapacityType

DeleteItemInputTableDeleteItemTypeDef#

# DeleteItemInputTableDeleteItemTypeDef definition

class DeleteItemInputTableDeleteItemTypeDef(TypedDict):
    Key: Mapping[str, Union[bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]],
    Expected: NotRequired[Mapping[str, ExpectedAttributeValueTableTypeDef]],  # (1)
    ConditionalOperator: NotRequired[ConditionalOperatorType],  # (2)
    ReturnValues: NotRequired[ReturnValueType],  # (3)
    ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType],  # (4)
    ReturnItemCollectionMetrics: NotRequired[ReturnItemCollectionMetricsType],  # (5)
    ConditionExpression: NotRequired[Union[str, ConditionBase]],
    ExpressionAttributeNames: NotRequired[Mapping[str, str]],
    ExpressionAttributeValues: NotRequired[Mapping[str, Union[bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]]],
    ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType],  # (6)
  1. See ExpectedAttributeValueTableTypeDef
  2. See ConditionalOperatorType
  3. See ReturnValueType
  4. See ReturnConsumedCapacityType
  5. See ReturnItemCollectionMetricsType
  6. See ReturnValuesOnConditionCheckFailureType

PutItemInputTablePutItemTypeDef#

# PutItemInputTablePutItemTypeDef definition

class PutItemInputTablePutItemTypeDef(TypedDict):
    Item: Mapping[str, Union[bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]],
    Expected: NotRequired[Mapping[str, ExpectedAttributeValueTableTypeDef]],  # (1)
    ReturnValues: NotRequired[ReturnValueType],  # (2)
    ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType],  # (3)
    ReturnItemCollectionMetrics: NotRequired[ReturnItemCollectionMetricsType],  # (4)
    ConditionalOperator: NotRequired[ConditionalOperatorType],  # (5)
    ConditionExpression: NotRequired[Union[str, ConditionBase]],
    ExpressionAttributeNames: NotRequired[Mapping[str, str]],
    ExpressionAttributeValues: NotRequired[Mapping[str, Union[bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]]],
    ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType],  # (6)
  1. See ExpectedAttributeValueTableTypeDef
  2. See ReturnValueType
  3. See ReturnConsumedCapacityType
  4. See ReturnItemCollectionMetricsType
  5. See ConditionalOperatorType
  6. See ReturnValuesOnConditionCheckFailureType

UpdateItemInputTableUpdateItemTypeDef#

# UpdateItemInputTableUpdateItemTypeDef definition

class UpdateItemInputTableUpdateItemTypeDef(TypedDict):
    Key: Mapping[str, Union[bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]],
    AttributeUpdates: NotRequired[Mapping[str, AttributeValueUpdateTableTypeDef]],  # (1)
    Expected: NotRequired[Mapping[str, ExpectedAttributeValueTableTypeDef]],  # (2)
    ConditionalOperator: NotRequired[ConditionalOperatorType],  # (3)
    ReturnValues: NotRequired[ReturnValueType],  # (4)
    ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType],  # (5)
    ReturnItemCollectionMetrics: NotRequired[ReturnItemCollectionMetricsType],  # (6)
    UpdateExpression: NotRequired[str],
    ConditionExpression: NotRequired[Union[str, ConditionBase]],
    ExpressionAttributeNames: NotRequired[Mapping[str, str]],
    ExpressionAttributeValues: NotRequired[Mapping[str, Union[bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]]],
    ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType],  # (7)
  1. See AttributeValueUpdateTableTypeDef
  2. See ExpectedAttributeValueTableTypeDef
  3. See ConditionalOperatorType
  4. See ReturnValueType
  5. See ReturnConsumedCapacityType
  6. See ReturnItemCollectionMetricsType
  7. See ReturnValuesOnConditionCheckFailureType

WriteRequestServiceResourceOutputTypeDef#

# WriteRequestServiceResourceOutputTypeDef definition

class WriteRequestServiceResourceOutputTypeDef(TypedDict):
    PutRequest: NotRequired[PutRequestServiceResourceOutputTypeDef],  # (1)
    DeleteRequest: NotRequired[DeleteRequestServiceResourceOutputTypeDef],  # (2)
  1. See PutRequestServiceResourceOutputTypeDef
  2. See DeleteRequestServiceResourceOutputTypeDef

WriteRequestServiceResourceTypeDef#

# WriteRequestServiceResourceTypeDef definition

class WriteRequestServiceResourceTypeDef(TypedDict):
    PutRequest: NotRequired[PutRequestServiceResourceTypeDef],  # (1)
    DeleteRequest: NotRequired[DeleteRequestServiceResourceTypeDef],  # (2)
  1. See PutRequestServiceResourceTypeDef
  2. See DeleteRequestServiceResourceTypeDef

AutoScalingSettingsDescriptionTypeDef#

# AutoScalingSettingsDescriptionTypeDef definition

class AutoScalingSettingsDescriptionTypeDef(TypedDict):
    MinimumUnits: NotRequired[int],
    MaximumUnits: NotRequired[int],
    AutoScalingDisabled: NotRequired[bool],
    AutoScalingRoleArn: NotRequired[str],
    ScalingPolicies: NotRequired[List[AutoScalingPolicyDescriptionTypeDef]],  # (1)
  1. See AutoScalingPolicyDescriptionTypeDef

AutoScalingSettingsUpdateTypeDef#

# AutoScalingSettingsUpdateTypeDef definition

class AutoScalingSettingsUpdateTypeDef(TypedDict):
    MinimumUnits: NotRequired[int],
    MaximumUnits: NotRequired[int],
    AutoScalingDisabled: NotRequired[bool],
    AutoScalingRoleArn: NotRequired[str],
    ScalingPolicyUpdate: NotRequired[AutoScalingPolicyUpdateTypeDef],  # (1)
  1. See AutoScalingPolicyUpdateTypeDef

BatchGetItemOutputServiceResourceTypeDef#

# BatchGetItemOutputServiceResourceTypeDef definition

class BatchGetItemOutputServiceResourceTypeDef(TypedDict):
    Responses: Dict[str, List[Dict[str, Union[bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]]]],
    UnprocessedKeys: Dict[str, KeysAndAttributesServiceResourceOutputTypeDef],  # (1)
    ConsumedCapacity: List[ConsumedCapacityTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See KeysAndAttributesServiceResourceOutputTypeDef
  2. See ConsumedCapacityTypeDef
  3. See ResponseMetadataTypeDef

BatchGetItemOutputTypeDef#

# BatchGetItemOutputTypeDef definition

class BatchGetItemOutputTypeDef(TypedDict):
    Responses: Dict[str, List[Dict[str, AttributeValueTypeDef]]],  # (1)
    UnprocessedKeys: Dict[str, KeysAndAttributesOutputTypeDef],  # (2)
    ConsumedCapacity: List[ConsumedCapacityTypeDef],  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See AttributeValueTypeDef
  2. See KeysAndAttributesOutputTypeDef
  3. See ConsumedCapacityTypeDef
  4. See ResponseMetadataTypeDef

DeleteItemOutputTableTypeDef#

# DeleteItemOutputTableTypeDef definition

class DeleteItemOutputTableTypeDef(TypedDict):
    Attributes: Dict[str, Union[bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]],
    ConsumedCapacity: ConsumedCapacityTypeDef,  # (1)
    ItemCollectionMetrics: ItemCollectionMetricsTableTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ConsumedCapacityTypeDef
  2. See ItemCollectionMetricsTableTypeDef
  3. See ResponseMetadataTypeDef

DeleteItemOutputTypeDef#

# DeleteItemOutputTypeDef definition

class DeleteItemOutputTypeDef(TypedDict):
    Attributes: Dict[str, AttributeValueTypeDef],  # (1)
    ConsumedCapacity: ConsumedCapacityTypeDef,  # (2)
    ItemCollectionMetrics: ItemCollectionMetricsTypeDef,  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See AttributeValueTypeDef
  2. See ConsumedCapacityTypeDef
  3. See ItemCollectionMetricsTypeDef
  4. See ResponseMetadataTypeDef

ExecuteStatementOutputTypeDef#

# ExecuteStatementOutputTypeDef definition

class ExecuteStatementOutputTypeDef(TypedDict):
    Items: List[Dict[str, AttributeValueTypeDef]],  # (1)
    ConsumedCapacity: ConsumedCapacityTypeDef,  # (2)
    LastEvaluatedKey: Dict[str, AttributeValueTypeDef],  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
    NextToken: NotRequired[str],
  1. See AttributeValueTypeDef
  2. See ConsumedCapacityTypeDef
  3. See AttributeValueTypeDef
  4. See ResponseMetadataTypeDef

ExecuteTransactionOutputTypeDef#

# ExecuteTransactionOutputTypeDef definition

class ExecuteTransactionOutputTypeDef(TypedDict):
    Responses: List[ItemResponseTypeDef],  # (1)
    ConsumedCapacity: List[ConsumedCapacityTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ItemResponseTypeDef
  2. See ConsumedCapacityTypeDef
  3. See ResponseMetadataTypeDef

GetItemOutputTableTypeDef#

# GetItemOutputTableTypeDef definition

class GetItemOutputTableTypeDef(TypedDict):
    ConsumedCapacity: ConsumedCapacityTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    Item: NotRequired[Dict[str, Union[bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]]],
  1. See ConsumedCapacityTypeDef
  2. See ResponseMetadataTypeDef

GetItemOutputTypeDef#

# GetItemOutputTypeDef definition

class GetItemOutputTypeDef(TypedDict):
    ConsumedCapacity: ConsumedCapacityTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
    Item: NotRequired[Dict[str, AttributeValueTypeDef]],  # (1)
  1. See AttributeValueTypeDef
  2. See ConsumedCapacityTypeDef
  3. See ResponseMetadataTypeDef

PutItemOutputTableTypeDef#

# PutItemOutputTableTypeDef definition

class PutItemOutputTableTypeDef(TypedDict):
    Attributes: Dict[str, Union[bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]],
    ConsumedCapacity: ConsumedCapacityTypeDef,  # (1)
    ItemCollectionMetrics: ItemCollectionMetricsTableTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ConsumedCapacityTypeDef
  2. See ItemCollectionMetricsTableTypeDef
  3. See ResponseMetadataTypeDef

PutItemOutputTypeDef#

# PutItemOutputTypeDef definition

class PutItemOutputTypeDef(TypedDict):
    Attributes: Dict[str, AttributeValueTypeDef],  # (1)
    ConsumedCapacity: ConsumedCapacityTypeDef,  # (2)
    ItemCollectionMetrics: ItemCollectionMetricsTypeDef,  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See AttributeValueTypeDef
  2. See ConsumedCapacityTypeDef
  3. See ItemCollectionMetricsTypeDef
  4. See ResponseMetadataTypeDef

QueryOutputTableTypeDef#

# QueryOutputTableTypeDef definition

class QueryOutputTableTypeDef(TypedDict):
    Items: List[Dict[str, Union[bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]]],
    Count: int,
    ScannedCount: int,
    LastEvaluatedKey: Dict[str, Union[bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]],
    ConsumedCapacity: ConsumedCapacityTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ConsumedCapacityTypeDef
  2. See ResponseMetadataTypeDef

QueryOutputTypeDef#

# QueryOutputTypeDef definition

class QueryOutputTypeDef(TypedDict):
    Items: List[Dict[str, AttributeValueTypeDef]],  # (1)
    Count: int,
    ScannedCount: int,
    LastEvaluatedKey: Dict[str, AttributeValueTypeDef],  # (2)
    ConsumedCapacity: ConsumedCapacityTypeDef,  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See AttributeValueTypeDef
  2. See AttributeValueTypeDef
  3. See ConsumedCapacityTypeDef
  4. See ResponseMetadataTypeDef

ScanOutputTableTypeDef#

# ScanOutputTableTypeDef definition

class ScanOutputTableTypeDef(TypedDict):
    Items: List[Dict[str, Union[bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]]],
    Count: int,
    ScannedCount: int,
    LastEvaluatedKey: Dict[str, Union[bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]],
    ConsumedCapacity: ConsumedCapacityTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ConsumedCapacityTypeDef
  2. See ResponseMetadataTypeDef

ScanOutputTypeDef#

# ScanOutputTypeDef definition

class ScanOutputTypeDef(TypedDict):
    Items: List[Dict[str, AttributeValueTypeDef]],  # (1)
    Count: int,
    ScannedCount: int,
    LastEvaluatedKey: Dict[str, AttributeValueTypeDef],  # (2)
    ConsumedCapacity: ConsumedCapacityTypeDef,  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See AttributeValueTypeDef
  2. See AttributeValueTypeDef
  3. See ConsumedCapacityTypeDef
  4. See ResponseMetadataTypeDef

TransactGetItemsOutputTypeDef#

# TransactGetItemsOutputTypeDef definition

class TransactGetItemsOutputTypeDef(TypedDict):
    ConsumedCapacity: List[ConsumedCapacityTypeDef],  # (1)
    Responses: List[ItemResponseTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ConsumedCapacityTypeDef
  2. See ItemResponseTypeDef
  3. See ResponseMetadataTypeDef

TransactWriteItemsOutputTypeDef#

# TransactWriteItemsOutputTypeDef definition

class TransactWriteItemsOutputTypeDef(TypedDict):
    ConsumedCapacity: List[ConsumedCapacityTypeDef],  # (1)
    ItemCollectionMetrics: Dict[str, List[ItemCollectionMetricsTypeDef]],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ConsumedCapacityTypeDef
  2. See ItemCollectionMetricsTypeDef
  3. See ResponseMetadataTypeDef

UpdateItemOutputTableTypeDef#

# UpdateItemOutputTableTypeDef definition

class UpdateItemOutputTableTypeDef(TypedDict):
    Attributes: Dict[str, Union[bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]],
    ConsumedCapacity: ConsumedCapacityTypeDef,  # (1)
    ItemCollectionMetrics: ItemCollectionMetricsTableTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ConsumedCapacityTypeDef
  2. See ItemCollectionMetricsTableTypeDef
  3. See ResponseMetadataTypeDef

UpdateItemOutputTypeDef#

# UpdateItemOutputTypeDef definition

class UpdateItemOutputTypeDef(TypedDict):
    Attributes: Dict[str, AttributeValueTypeDef],  # (1)
    ConsumedCapacity: ConsumedCapacityTypeDef,  # (2)
    ItemCollectionMetrics: ItemCollectionMetricsTypeDef,  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See AttributeValueTypeDef
  2. See ConsumedCapacityTypeDef
  3. See ItemCollectionMetricsTypeDef
  4. See ResponseMetadataTypeDef

DescribeContinuousBackupsOutputTypeDef#

# DescribeContinuousBackupsOutputTypeDef definition

class DescribeContinuousBackupsOutputTypeDef(TypedDict):
    ContinuousBackupsDescription: ContinuousBackupsDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ContinuousBackupsDescriptionTypeDef
  2. See ResponseMetadataTypeDef

UpdateContinuousBackupsOutputTypeDef#

# UpdateContinuousBackupsOutputTypeDef definition

class UpdateContinuousBackupsOutputTypeDef(TypedDict):
    ContinuousBackupsDescription: ContinuousBackupsDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ContinuousBackupsDescriptionTypeDef
  2. See ResponseMetadataTypeDef

TableCreationParametersTypeDef#

# TableCreationParametersTypeDef definition

class TableCreationParametersTypeDef(TypedDict):
    TableName: str,
    AttributeDefinitions: Sequence[AttributeDefinitionTypeDef],  # (1)
    KeySchema: Sequence[KeySchemaElementTypeDef],  # (2)
    BillingMode: NotRequired[BillingModeType],  # (3)
    ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef],  # (4)
    SSESpecification: NotRequired[SSESpecificationTypeDef],  # (5)
    GlobalSecondaryIndexes: NotRequired[Sequence[GlobalSecondaryIndexTypeDef]],  # (6)
  1. See AttributeDefinitionTypeDef
  2. See KeySchemaElementTypeDef
  3. See BillingModeType
  4. See ProvisionedThroughputTypeDef
  5. See SSESpecificationTypeDef
  6. See GlobalSecondaryIndexTypeDef

GlobalSecondaryIndexUpdateTypeDef#

# GlobalSecondaryIndexUpdateTypeDef definition

class GlobalSecondaryIndexUpdateTypeDef(TypedDict):
    Update: NotRequired[UpdateGlobalSecondaryIndexActionTypeDef],  # (1)
    Create: NotRequired[CreateGlobalSecondaryIndexActionTypeDef],  # (2)
    Delete: NotRequired[DeleteGlobalSecondaryIndexActionTypeDef],  # (3)
  1. See UpdateGlobalSecondaryIndexActionTypeDef
  2. See CreateGlobalSecondaryIndexActionTypeDef
  3. See DeleteGlobalSecondaryIndexActionTypeDef

ListGlobalTablesOutputTypeDef#

# ListGlobalTablesOutputTypeDef definition

class ListGlobalTablesOutputTypeDef(TypedDict):
    GlobalTables: List[GlobalTableTypeDef],  # (1)
    LastEvaluatedGlobalTableName: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See GlobalTableTypeDef
  2. See ResponseMetadataTypeDef

ReplicaDescriptionTypeDef#

# ReplicaDescriptionTypeDef definition

class ReplicaDescriptionTypeDef(TypedDict):
    RegionName: NotRequired[str],
    ReplicaStatus: NotRequired[ReplicaStatusType],  # (1)
    ReplicaStatusDescription: NotRequired[str],
    ReplicaStatusPercentProgress: NotRequired[str],
    KMSMasterKeyId: NotRequired[str],
    ProvisionedThroughputOverride: NotRequired[ProvisionedThroughputOverrideTypeDef],  # (2)
    GlobalSecondaryIndexes: NotRequired[List[ReplicaGlobalSecondaryIndexDescriptionTypeDef]],  # (3)
    ReplicaInaccessibleDateTime: NotRequired[datetime],
    ReplicaTableClassSummary: NotRequired[TableClassSummaryTypeDef],  # (4)
  1. See ReplicaStatusType
  2. See ProvisionedThroughputOverrideTypeDef
  3. See ReplicaGlobalSecondaryIndexDescriptionTypeDef
  4. See TableClassSummaryTypeDef

CreateReplicationGroupMemberActionTypeDef#

# CreateReplicationGroupMemberActionTypeDef definition

class CreateReplicationGroupMemberActionTypeDef(TypedDict):
    RegionName: str,
    KMSMasterKeyId: NotRequired[str],
    ProvisionedThroughputOverride: NotRequired[ProvisionedThroughputOverrideTypeDef],  # (1)
    GlobalSecondaryIndexes: NotRequired[Sequence[ReplicaGlobalSecondaryIndexTypeDef]],  # (2)
    TableClassOverride: NotRequired[TableClassType],  # (3)
  1. See ProvisionedThroughputOverrideTypeDef
  2. See ReplicaGlobalSecondaryIndexTypeDef
  3. See TableClassType

UpdateReplicationGroupMemberActionTypeDef#

# UpdateReplicationGroupMemberActionTypeDef definition

class UpdateReplicationGroupMemberActionTypeDef(TypedDict):
    RegionName: str,
    KMSMasterKeyId: NotRequired[str],
    ProvisionedThroughputOverride: NotRequired[ProvisionedThroughputOverrideTypeDef],  # (1)
    GlobalSecondaryIndexes: NotRequired[Sequence[ReplicaGlobalSecondaryIndexTypeDef]],  # (2)
    TableClassOverride: NotRequired[TableClassType],  # (3)
  1. See ProvisionedThroughputOverrideTypeDef
  2. See ReplicaGlobalSecondaryIndexTypeDef
  3. See TableClassType

UpdateGlobalTableInputRequestTypeDef#

# UpdateGlobalTableInputRequestTypeDef definition

class UpdateGlobalTableInputRequestTypeDef(TypedDict):
    GlobalTableName: str,
    ReplicaUpdates: Sequence[ReplicaUpdateTypeDef],  # (1)
  1. See ReplicaUpdateTypeDef

DescribeExportOutputTypeDef#

# DescribeExportOutputTypeDef definition

class DescribeExportOutputTypeDef(TypedDict):
    ExportDescription: ExportDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ExportDescriptionTypeDef
  2. See ResponseMetadataTypeDef

ExportTableToPointInTimeOutputTypeDef#

# ExportTableToPointInTimeOutputTypeDef definition

class ExportTableToPointInTimeOutputTypeDef(TypedDict):
    ExportDescription: ExportDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ExportDescriptionTypeDef
  2. See ResponseMetadataTypeDef

ExportTableToPointInTimeInputRequestTypeDef#

# ExportTableToPointInTimeInputRequestTypeDef definition

class ExportTableToPointInTimeInputRequestTypeDef(TypedDict):
    TableArn: str,
    S3Bucket: str,
    ExportTime: NotRequired[Union[datetime, str]],
    ClientToken: NotRequired[str],
    S3BucketOwner: NotRequired[str],
    S3Prefix: NotRequired[str],
    S3SseAlgorithm: NotRequired[S3SseAlgorithmType],  # (1)
    S3SseKmsKeyId: NotRequired[str],
    ExportFormat: NotRequired[ExportFormatType],  # (2)
    ExportType: NotRequired[ExportTypeType],  # (3)
    IncrementalExportSpecification: NotRequired[IncrementalExportSpecificationTypeDef],  # (4)
  1. See S3SseAlgorithmType
  2. See ExportFormatType
  3. See ExportTypeType
  4. See IncrementalExportSpecificationTypeDef

TableCreationParametersOutputTypeDef#

# TableCreationParametersOutputTypeDef definition

class TableCreationParametersOutputTypeDef(TypedDict):
    TableName: str,
    AttributeDefinitions: List[AttributeDefinitionTypeDef],  # (1)
    KeySchema: List[KeySchemaElementTypeDef],  # (2)
    BillingMode: NotRequired[BillingModeType],  # (3)
    ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef],  # (4)
    SSESpecification: NotRequired[SSESpecificationTypeDef],  # (5)
    GlobalSecondaryIndexes: NotRequired[List[GlobalSecondaryIndexOutputTypeDef]],  # (6)
  1. See AttributeDefinitionTypeDef
  2. See KeySchemaElementTypeDef
  3. See BillingModeType
  4. See ProvisionedThroughputTypeDef
  5. See SSESpecificationTypeDef
  6. See GlobalSecondaryIndexOutputTypeDef

SourceTableFeatureDetailsTypeDef#

# SourceTableFeatureDetailsTypeDef definition

class SourceTableFeatureDetailsTypeDef(TypedDict):
    LocalSecondaryIndexes: NotRequired[List[LocalSecondaryIndexInfoTypeDef]],  # (1)
    GlobalSecondaryIndexes: NotRequired[List[GlobalSecondaryIndexInfoTypeDef]],  # (2)
    StreamDescription: NotRequired[StreamSpecificationTypeDef],  # (3)
    TimeToLiveDescription: NotRequired[TimeToLiveDescriptionTypeDef],  # (4)
    SSEDescription: NotRequired[SSEDescriptionTypeDef],  # (5)
  1. See LocalSecondaryIndexInfoTypeDef
  2. See GlobalSecondaryIndexInfoTypeDef
  3. See StreamSpecificationTypeDef
  4. See TimeToLiveDescriptionTypeDef
  5. See SSEDescriptionTypeDef

ListImportsOutputTypeDef#

# ListImportsOutputTypeDef definition

class ListImportsOutputTypeDef(TypedDict):
    ImportSummaryList: List[ImportSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ImportSummaryTypeDef
  2. See ResponseMetadataTypeDef

BatchExecuteStatementOutputTypeDef#

# BatchExecuteStatementOutputTypeDef definition

class BatchExecuteStatementOutputTypeDef(TypedDict):
    Responses: List[BatchStatementResponseTypeDef],  # (1)
    ConsumedCapacity: List[ConsumedCapacityTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See BatchStatementResponseTypeDef
  2. See ConsumedCapacityTypeDef
  3. See ResponseMetadataTypeDef

BatchWriteItemOutputTypeDef#

# BatchWriteItemOutputTypeDef definition

class BatchWriteItemOutputTypeDef(TypedDict):
    UnprocessedItems: Dict[str, List[WriteRequestOutputTypeDef]],  # (1)
    ItemCollectionMetrics: Dict[str, List[ItemCollectionMetricsTypeDef]],  # (2)
    ConsumedCapacity: List[ConsumedCapacityTypeDef],  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See WriteRequestOutputTypeDef
  2. See ItemCollectionMetricsTypeDef
  3. See ConsumedCapacityTypeDef
  4. See ResponseMetadataTypeDef

BatchExecuteStatementInputRequestTypeDef#

# BatchExecuteStatementInputRequestTypeDef definition

class BatchExecuteStatementInputRequestTypeDef(TypedDict):
    Statements: Sequence[BatchStatementRequestTypeDef],  # (1)
    ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType],  # (2)
  1. See BatchStatementRequestTypeDef
  2. See ReturnConsumedCapacityType

QueryInputQueryPaginateTypeDef#

# QueryInputQueryPaginateTypeDef definition

class QueryInputQueryPaginateTypeDef(TypedDict):
    TableName: str,
    IndexName: NotRequired[str],
    Select: NotRequired[SelectType],  # (1)
    AttributesToGet: NotRequired[Sequence[str]],
    ConsistentRead: NotRequired[bool],
    KeyConditions: NotRequired[Mapping[str, ConditionTypeDef]],  # (2)
    QueryFilter: NotRequired[Mapping[str, ConditionTypeDef]],  # (2)
    ConditionalOperator: NotRequired[ConditionalOperatorType],  # (4)
    ScanIndexForward: NotRequired[bool],
    ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType],  # (5)
    ProjectionExpression: NotRequired[str],
    FilterExpression: NotRequired[str],
    KeyConditionExpression: NotRequired[str],
    ExpressionAttributeNames: NotRequired[Mapping[str, str]],
    ExpressionAttributeValues: NotRequired[Mapping[str, Union[AttributeValueTypeDef, bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]]],  # (6)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (7)
  1. See SelectType
  2. See ConditionTypeDef
  3. See ConditionTypeDef
  4. See ConditionalOperatorType
  5. See ReturnConsumedCapacityType
  6. See AttributeValueTypeDef
  7. See PaginatorConfigTypeDef

QueryInputRequestTypeDef#

# QueryInputRequestTypeDef definition

class QueryInputRequestTypeDef(TypedDict):
    TableName: str,
    IndexName: NotRequired[str],
    Select: NotRequired[SelectType],  # (1)
    AttributesToGet: NotRequired[Sequence[str]],
    Limit: NotRequired[int],
    ConsistentRead: NotRequired[bool],
    KeyConditions: NotRequired[Mapping[str, ConditionTypeDef]],  # (2)
    QueryFilter: NotRequired[Mapping[str, ConditionTypeDef]],  # (2)
    ConditionalOperator: NotRequired[ConditionalOperatorType],  # (4)
    ScanIndexForward: NotRequired[bool],
    ExclusiveStartKey: NotRequired[Mapping[str, Union[AttributeValueTypeDef, bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]]],  # (5)
    ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType],  # (6)
    ProjectionExpression: NotRequired[str],
    FilterExpression: NotRequired[str],
    KeyConditionExpression: NotRequired[str],
    ExpressionAttributeNames: NotRequired[Mapping[str, str]],
    ExpressionAttributeValues: NotRequired[Mapping[str, Union[AttributeValueTypeDef, bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]]],  # (5)
  1. See SelectType
  2. See ConditionTypeDef
  3. See ConditionTypeDef
  4. See ConditionalOperatorType
  5. See AttributeValueTypeDef
  6. See ReturnConsumedCapacityType
  7. See AttributeValueTypeDef

ScanInputRequestTypeDef#

# ScanInputRequestTypeDef definition

class ScanInputRequestTypeDef(TypedDict):
    TableName: str,
    IndexName: NotRequired[str],
    AttributesToGet: NotRequired[Sequence[str]],
    Limit: NotRequired[int],
    Select: NotRequired[SelectType],  # (1)
    ScanFilter: NotRequired[Mapping[str, ConditionTypeDef]],  # (2)
    ConditionalOperator: NotRequired[ConditionalOperatorType],  # (3)
    ExclusiveStartKey: NotRequired[Mapping[str, Union[AttributeValueTypeDef, bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]]],  # (4)
    ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType],  # (5)
    TotalSegments: NotRequired[int],
    Segment: NotRequired[int],
    ProjectionExpression: NotRequired[str],
    FilterExpression: NotRequired[str],
    ExpressionAttributeNames: NotRequired[Mapping[str, str]],
    ExpressionAttributeValues: NotRequired[Mapping[str, Union[AttributeValueTypeDef, bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]]],  # (4)
    ConsistentRead: NotRequired[bool],
  1. See SelectType
  2. See ConditionTypeDef
  3. See ConditionalOperatorType
  4. See AttributeValueTypeDef
  5. See ReturnConsumedCapacityType
  6. See AttributeValueTypeDef

ScanInputScanPaginateTypeDef#

# ScanInputScanPaginateTypeDef definition

class ScanInputScanPaginateTypeDef(TypedDict):
    TableName: str,
    IndexName: NotRequired[str],
    AttributesToGet: NotRequired[Sequence[str]],
    Select: NotRequired[SelectType],  # (1)
    ScanFilter: NotRequired[Mapping[str, ConditionTypeDef]],  # (2)
    ConditionalOperator: NotRequired[ConditionalOperatorType],  # (3)
    ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType],  # (4)
    TotalSegments: NotRequired[int],
    Segment: NotRequired[int],
    ProjectionExpression: NotRequired[str],
    FilterExpression: NotRequired[str],
    ExpressionAttributeNames: NotRequired[Mapping[str, str]],
    ExpressionAttributeValues: NotRequired[Mapping[str, Union[AttributeValueTypeDef, bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]]],  # (5)
    ConsistentRead: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (6)
  1. See SelectType
  2. See ConditionTypeDef
  3. See ConditionalOperatorType
  4. See ReturnConsumedCapacityType
  5. See AttributeValueTypeDef
  6. See PaginatorConfigTypeDef

DeleteItemInputRequestTypeDef#

# DeleteItemInputRequestTypeDef definition

class DeleteItemInputRequestTypeDef(TypedDict):
    TableName: str,
    Key: Mapping[str, Union[AttributeValueTypeDef, bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]],  # (1)
    Expected: NotRequired[Mapping[str, ExpectedAttributeValueTypeDef]],  # (2)
    ConditionalOperator: NotRequired[ConditionalOperatorType],  # (3)
    ReturnValues: NotRequired[ReturnValueType],  # (4)
    ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType],  # (5)
    ReturnItemCollectionMetrics: NotRequired[ReturnItemCollectionMetricsType],  # (6)
    ConditionExpression: NotRequired[str],
    ExpressionAttributeNames: NotRequired[Mapping[str, str]],
    ExpressionAttributeValues: NotRequired[Mapping[str, Union[AttributeValueTypeDef, bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]]],  # (1)
    ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType],  # (8)
  1. See AttributeValueTypeDef
  2. See ExpectedAttributeValueTypeDef
  3. See ConditionalOperatorType
  4. See ReturnValueType
  5. See ReturnConsumedCapacityType
  6. See ReturnItemCollectionMetricsType
  7. See AttributeValueTypeDef
  8. See ReturnValuesOnConditionCheckFailureType

PutItemInputRequestTypeDef#

# PutItemInputRequestTypeDef definition

class PutItemInputRequestTypeDef(TypedDict):
    TableName: str,
    Item: Mapping[str, Union[AttributeValueTypeDef, bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]],  # (1)
    Expected: NotRequired[Mapping[str, ExpectedAttributeValueTypeDef]],  # (2)
    ReturnValues: NotRequired[ReturnValueType],  # (3)
    ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType],  # (4)
    ReturnItemCollectionMetrics: NotRequired[ReturnItemCollectionMetricsType],  # (5)
    ConditionalOperator: NotRequired[ConditionalOperatorType],  # (6)
    ConditionExpression: NotRequired[str],
    ExpressionAttributeNames: NotRequired[Mapping[str, str]],
    ExpressionAttributeValues: NotRequired[Mapping[str, Union[AttributeValueTypeDef, bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]]],  # (1)
    ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType],  # (8)
  1. See AttributeValueTypeDef
  2. See ExpectedAttributeValueTypeDef
  3. See ReturnValueType
  4. See ReturnConsumedCapacityType
  5. See ReturnItemCollectionMetricsType
  6. See ConditionalOperatorType
  7. See AttributeValueTypeDef
  8. See ReturnValuesOnConditionCheckFailureType

UpdateItemInputRequestTypeDef#

# UpdateItemInputRequestTypeDef definition

class UpdateItemInputRequestTypeDef(TypedDict):
    TableName: str,
    Key: Mapping[str, Union[AttributeValueTypeDef, bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]],  # (1)
    AttributeUpdates: NotRequired[Mapping[str, AttributeValueUpdateTypeDef]],  # (2)
    Expected: NotRequired[Mapping[str, ExpectedAttributeValueTypeDef]],  # (3)
    ConditionalOperator: NotRequired[ConditionalOperatorType],  # (4)
    ReturnValues: NotRequired[ReturnValueType],  # (5)
    ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType],  # (6)
    ReturnItemCollectionMetrics: NotRequired[ReturnItemCollectionMetricsType],  # (7)
    UpdateExpression: NotRequired[str],
    ConditionExpression: NotRequired[str],
    ExpressionAttributeNames: NotRequired[Mapping[str, str]],
    ExpressionAttributeValues: NotRequired[Mapping[str, Union[AttributeValueTypeDef, bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]]],  # (1)
    ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType],  # (9)
  1. See AttributeValueTypeDef
  2. See AttributeValueUpdateTypeDef
  3. See ExpectedAttributeValueTypeDef
  4. See ConditionalOperatorType
  5. See ReturnValueType
  6. See ReturnConsumedCapacityType
  7. See ReturnItemCollectionMetricsType
  8. See AttributeValueTypeDef
  9. See ReturnValuesOnConditionCheckFailureType

TransactGetItemTypeDef#

# TransactGetItemTypeDef definition

class TransactGetItemTypeDef(TypedDict):
    Get: GetTypeDef,  # (1)
  1. See GetTypeDef

ExecuteTransactionInputRequestTypeDef#

# ExecuteTransactionInputRequestTypeDef definition

class ExecuteTransactionInputRequestTypeDef(TypedDict):
    TransactStatements: Sequence[ParameterizedStatementTypeDef],  # (1)
    ClientRequestToken: NotRequired[str],
    ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType],  # (2)
  1. See ParameterizedStatementTypeDef
  2. See ReturnConsumedCapacityType

WriteRequestTypeDef#

# WriteRequestTypeDef definition

class WriteRequestTypeDef(TypedDict):
    PutRequest: NotRequired[PutRequestTypeDef],  # (1)
    DeleteRequest: NotRequired[DeleteRequestTypeDef],  # (2)
  1. See PutRequestTypeDef
  2. See DeleteRequestTypeDef

TransactWriteItemTypeDef#

# TransactWriteItemTypeDef definition

class TransactWriteItemTypeDef(TypedDict):
    ConditionCheck: NotRequired[ConditionCheckTypeDef],  # (1)
    Put: NotRequired[PutTypeDef],  # (2)
    Delete: NotRequired[DeleteTypeDef],  # (3)
    Update: NotRequired[UpdateTypeDef],  # (4)
  1. See ConditionCheckTypeDef
  2. See PutTypeDef
  3. See DeleteTypeDef
  4. See UpdateTypeDef

BatchGetItemInputServiceResourceBatchGetItemTypeDef#

# BatchGetItemInputServiceResourceBatchGetItemTypeDef definition

class BatchGetItemInputServiceResourceBatchGetItemTypeDef(TypedDict):
    RequestItems: Mapping[str, Union[KeysAndAttributesServiceResourceTypeDef, KeysAndAttributesServiceResourceOutputTypeDef]],  # (1)
    ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType],  # (2)
  1. See KeysAndAttributesServiceResourceTypeDef KeysAndAttributesServiceResourceOutputTypeDef
  2. See ReturnConsumedCapacityType

BatchWriteItemOutputServiceResourceTypeDef#

# BatchWriteItemOutputServiceResourceTypeDef definition

class BatchWriteItemOutputServiceResourceTypeDef(TypedDict):
    UnprocessedItems: Dict[str, List[WriteRequestServiceResourceOutputTypeDef]],  # (1)
    ItemCollectionMetrics: Dict[str, List[ItemCollectionMetricsServiceResourceTypeDef]],  # (2)
    ConsumedCapacity: List[ConsumedCapacityTypeDef],  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See WriteRequestServiceResourceOutputTypeDef
  2. See ItemCollectionMetricsServiceResourceTypeDef
  3. See ConsumedCapacityTypeDef
  4. See ResponseMetadataTypeDef

ReplicaGlobalSecondaryIndexAutoScalingDescriptionTypeDef#

# ReplicaGlobalSecondaryIndexAutoScalingDescriptionTypeDef definition

class ReplicaGlobalSecondaryIndexAutoScalingDescriptionTypeDef(TypedDict):
    IndexName: NotRequired[str],
    IndexStatus: NotRequired[IndexStatusType],  # (1)
    ProvisionedReadCapacityAutoScalingSettings: NotRequired[AutoScalingSettingsDescriptionTypeDef],  # (2)
    ProvisionedWriteCapacityAutoScalingSettings: NotRequired[AutoScalingSettingsDescriptionTypeDef],  # (2)
  1. See IndexStatusType
  2. See AutoScalingSettingsDescriptionTypeDef
  3. See AutoScalingSettingsDescriptionTypeDef

ReplicaGlobalSecondaryIndexSettingsDescriptionTypeDef#

# ReplicaGlobalSecondaryIndexSettingsDescriptionTypeDef definition

class ReplicaGlobalSecondaryIndexSettingsDescriptionTypeDef(TypedDict):
    IndexName: str,
    IndexStatus: NotRequired[IndexStatusType],  # (1)
    ProvisionedReadCapacityUnits: NotRequired[int],
    ProvisionedReadCapacityAutoScalingSettings: NotRequired[AutoScalingSettingsDescriptionTypeDef],  # (2)
    ProvisionedWriteCapacityUnits: NotRequired[int],
    ProvisionedWriteCapacityAutoScalingSettings: NotRequired[AutoScalingSettingsDescriptionTypeDef],  # (2)
  1. See IndexStatusType
  2. See AutoScalingSettingsDescriptionTypeDef
  3. See AutoScalingSettingsDescriptionTypeDef

GlobalSecondaryIndexAutoScalingUpdateTypeDef#

# GlobalSecondaryIndexAutoScalingUpdateTypeDef definition

class GlobalSecondaryIndexAutoScalingUpdateTypeDef(TypedDict):
    IndexName: NotRequired[str],
    ProvisionedWriteCapacityAutoScalingUpdate: NotRequired[AutoScalingSettingsUpdateTypeDef],  # (1)
  1. See AutoScalingSettingsUpdateTypeDef

GlobalTableGlobalSecondaryIndexSettingsUpdateTypeDef#

# GlobalTableGlobalSecondaryIndexSettingsUpdateTypeDef definition

class GlobalTableGlobalSecondaryIndexSettingsUpdateTypeDef(TypedDict):
    IndexName: str,
    ProvisionedWriteCapacityUnits: NotRequired[int],
    ProvisionedWriteCapacityAutoScalingSettingsUpdate: NotRequired[AutoScalingSettingsUpdateTypeDef],  # (1)
  1. See AutoScalingSettingsUpdateTypeDef

ReplicaGlobalSecondaryIndexAutoScalingUpdateTypeDef#

# ReplicaGlobalSecondaryIndexAutoScalingUpdateTypeDef definition

class ReplicaGlobalSecondaryIndexAutoScalingUpdateTypeDef(TypedDict):
    IndexName: NotRequired[str],
    ProvisionedReadCapacityAutoScalingUpdate: NotRequired[AutoScalingSettingsUpdateTypeDef],  # (1)
  1. See AutoScalingSettingsUpdateTypeDef

ReplicaGlobalSecondaryIndexSettingsUpdateTypeDef#

# ReplicaGlobalSecondaryIndexSettingsUpdateTypeDef definition

class ReplicaGlobalSecondaryIndexSettingsUpdateTypeDef(TypedDict):
    IndexName: str,
    ProvisionedReadCapacityUnits: NotRequired[int],
    ProvisionedReadCapacityAutoScalingSettingsUpdate: NotRequired[AutoScalingSettingsUpdateTypeDef],  # (1)
  1. See AutoScalingSettingsUpdateTypeDef

ImportTableInputRequestTypeDef#

# ImportTableInputRequestTypeDef definition

class ImportTableInputRequestTypeDef(TypedDict):
    S3BucketSource: S3BucketSourceTypeDef,  # (1)
    InputFormat: InputFormatType,  # (2)
    TableCreationParameters: TableCreationParametersTypeDef,  # (3)
    ClientToken: NotRequired[str],
    InputFormatOptions: NotRequired[InputFormatOptionsTypeDef],  # (4)
    InputCompressionType: NotRequired[InputCompressionTypeType],  # (5)
  1. See S3BucketSourceTypeDef
  2. See InputFormatType
  3. See TableCreationParametersTypeDef
  4. See InputFormatOptionsTypeDef
  5. See InputCompressionTypeType

GlobalTableDescriptionTypeDef#

# GlobalTableDescriptionTypeDef definition

class GlobalTableDescriptionTypeDef(TypedDict):
    ReplicationGroup: NotRequired[List[ReplicaDescriptionTypeDef]],  # (1)
    GlobalTableArn: NotRequired[str],
    CreationDateTime: NotRequired[datetime],
    GlobalTableStatus: NotRequired[GlobalTableStatusType],  # (2)
    GlobalTableName: NotRequired[str],
  1. See ReplicaDescriptionTypeDef
  2. See GlobalTableStatusType

TableDescriptionTypeDef#

# TableDescriptionTypeDef definition

class TableDescriptionTypeDef(TypedDict):
    AttributeDefinitions: NotRequired[List[AttributeDefinitionTypeDef]],  # (1)
    TableName: NotRequired[str],
    KeySchema: NotRequired[List[KeySchemaElementTypeDef]],  # (2)
    TableStatus: NotRequired[TableStatusType],  # (3)
    CreationDateTime: NotRequired[datetime],
    ProvisionedThroughput: NotRequired[ProvisionedThroughputDescriptionTypeDef],  # (4)
    TableSizeBytes: NotRequired[int],
    ItemCount: NotRequired[int],
    TableArn: NotRequired[str],
    TableId: NotRequired[str],
    BillingModeSummary: NotRequired[BillingModeSummaryTypeDef],  # (5)
    LocalSecondaryIndexes: NotRequired[List[LocalSecondaryIndexDescriptionTypeDef]],  # (6)
    GlobalSecondaryIndexes: NotRequired[List[GlobalSecondaryIndexDescriptionTypeDef]],  # (7)
    StreamSpecification: NotRequired[StreamSpecificationTypeDef],  # (8)
    LatestStreamLabel: NotRequired[str],
    LatestStreamArn: NotRequired[str],
    GlobalTableVersion: NotRequired[str],
    Replicas: NotRequired[List[ReplicaDescriptionTypeDef]],  # (9)
    RestoreSummary: NotRequired[RestoreSummaryTypeDef],  # (10)
    SSEDescription: NotRequired[SSEDescriptionTypeDef],  # (11)
    ArchivalSummary: NotRequired[ArchivalSummaryTypeDef],  # (12)
    TableClassSummary: NotRequired[TableClassSummaryTypeDef],  # (13)
    DeletionProtectionEnabled: NotRequired[bool],
  1. See AttributeDefinitionTypeDef
  2. See KeySchemaElementTypeDef
  3. See TableStatusType
  4. See ProvisionedThroughputDescriptionTypeDef
  5. See BillingModeSummaryTypeDef
  6. See LocalSecondaryIndexDescriptionTypeDef
  7. See GlobalSecondaryIndexDescriptionTypeDef
  8. See StreamSpecificationTypeDef
  9. See ReplicaDescriptionTypeDef
  10. See RestoreSummaryTypeDef
  11. See SSEDescriptionTypeDef
  12. See ArchivalSummaryTypeDef
  13. See TableClassSummaryTypeDef

ReplicationGroupUpdateTypeDef#

# ReplicationGroupUpdateTypeDef definition

class ReplicationGroupUpdateTypeDef(TypedDict):
    Create: NotRequired[CreateReplicationGroupMemberActionTypeDef],  # (1)
    Update: NotRequired[UpdateReplicationGroupMemberActionTypeDef],  # (2)
    Delete: NotRequired[DeleteReplicationGroupMemberActionTypeDef],  # (3)
  1. See CreateReplicationGroupMemberActionTypeDef
  2. See UpdateReplicationGroupMemberActionTypeDef
  3. See DeleteReplicationGroupMemberActionTypeDef

CreateTableInputRequestTypeDef#

# CreateTableInputRequestTypeDef definition

class CreateTableInputRequestTypeDef(TypedDict):
    AttributeDefinitions: Sequence[AttributeDefinitionTypeDef],  # (1)
    TableName: str,
    KeySchema: Sequence[KeySchemaElementTypeDef],  # (2)
    LocalSecondaryIndexes: NotRequired[Sequence[LocalSecondaryIndexTypeDef]],  # (3)
    GlobalSecondaryIndexes: NotRequired[Sequence[Union[GlobalSecondaryIndexTypeDef, GlobalSecondaryIndexOutputTypeDef]]],  # (4)
    BillingMode: NotRequired[BillingModeType],  # (5)
    ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef],  # (6)
    StreamSpecification: NotRequired[StreamSpecificationTypeDef],  # (7)
    SSESpecification: NotRequired[SSESpecificationTypeDef],  # (8)
    Tags: NotRequired[Sequence[TagTypeDef]],  # (9)
    TableClass: NotRequired[TableClassType],  # (10)
    DeletionProtectionEnabled: NotRequired[bool],
    ResourcePolicy: NotRequired[str],
  1. See AttributeDefinitionTypeDef
  2. See KeySchemaElementTypeDef
  3. See LocalSecondaryIndexTypeDef
  4. See GlobalSecondaryIndexTypeDef GlobalSecondaryIndexOutputTypeDef
  5. See BillingModeType
  6. See ProvisionedThroughputTypeDef
  7. See StreamSpecificationTypeDef
  8. See SSESpecificationTypeDef
  9. See TagTypeDef
  10. See TableClassType

CreateTableInputServiceResourceCreateTableTypeDef#

# CreateTableInputServiceResourceCreateTableTypeDef definition

class CreateTableInputServiceResourceCreateTableTypeDef(TypedDict):
    AttributeDefinitions: Sequence[AttributeDefinitionTypeDef],  # (1)
    TableName: str,
    KeySchema: Sequence[KeySchemaElementTypeDef],  # (2)
    LocalSecondaryIndexes: NotRequired[Sequence[LocalSecondaryIndexTypeDef]],  # (3)
    GlobalSecondaryIndexes: NotRequired[Sequence[Union[GlobalSecondaryIndexTypeDef, GlobalSecondaryIndexOutputTypeDef]]],  # (4)
    BillingMode: NotRequired[BillingModeType],  # (5)
    ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef],  # (6)
    StreamSpecification: NotRequired[StreamSpecificationTypeDef],  # (7)
    SSESpecification: NotRequired[SSESpecificationTypeDef],  # (8)
    Tags: NotRequired[Sequence[TagTypeDef]],  # (9)
    TableClass: NotRequired[TableClassType],  # (10)
    DeletionProtectionEnabled: NotRequired[bool],
    ResourcePolicy: NotRequired[str],
  1. See AttributeDefinitionTypeDef
  2. See KeySchemaElementTypeDef
  3. See LocalSecondaryIndexTypeDef
  4. See GlobalSecondaryIndexTypeDef GlobalSecondaryIndexOutputTypeDef
  5. See BillingModeType
  6. See ProvisionedThroughputTypeDef
  7. See StreamSpecificationTypeDef
  8. See SSESpecificationTypeDef
  9. See TagTypeDef
  10. See TableClassType

RestoreTableFromBackupInputRequestTypeDef#

# RestoreTableFromBackupInputRequestTypeDef definition

class RestoreTableFromBackupInputRequestTypeDef(TypedDict):
    TargetTableName: str,
    BackupArn: str,
    BillingModeOverride: NotRequired[BillingModeType],  # (1)
    GlobalSecondaryIndexOverride: NotRequired[Sequence[Union[GlobalSecondaryIndexTypeDef, GlobalSecondaryIndexOutputTypeDef]]],  # (2)
    LocalSecondaryIndexOverride: NotRequired[Sequence[LocalSecondaryIndexTypeDef]],  # (3)
    ProvisionedThroughputOverride: NotRequired[ProvisionedThroughputTypeDef],  # (4)
    SSESpecificationOverride: NotRequired[SSESpecificationTypeDef],  # (5)
  1. See BillingModeType
  2. See GlobalSecondaryIndexTypeDef GlobalSecondaryIndexOutputTypeDef
  3. See LocalSecondaryIndexTypeDef
  4. See ProvisionedThroughputTypeDef
  5. See SSESpecificationTypeDef

RestoreTableToPointInTimeInputRequestTypeDef#

# RestoreTableToPointInTimeInputRequestTypeDef definition

class RestoreTableToPointInTimeInputRequestTypeDef(TypedDict):
    TargetTableName: str,
    SourceTableArn: NotRequired[str],
    SourceTableName: NotRequired[str],
    UseLatestRestorableTime: NotRequired[bool],
    RestoreDateTime: NotRequired[Union[datetime, str]],
    BillingModeOverride: NotRequired[BillingModeType],  # (1)
    GlobalSecondaryIndexOverride: NotRequired[Sequence[Union[GlobalSecondaryIndexTypeDef, GlobalSecondaryIndexOutputTypeDef]]],  # (2)
    LocalSecondaryIndexOverride: NotRequired[Sequence[LocalSecondaryIndexTypeDef]],  # (3)
    ProvisionedThroughputOverride: NotRequired[ProvisionedThroughputTypeDef],  # (4)
    SSESpecificationOverride: NotRequired[SSESpecificationTypeDef],  # (5)
  1. See BillingModeType
  2. See GlobalSecondaryIndexTypeDef GlobalSecondaryIndexOutputTypeDef
  3. See LocalSecondaryIndexTypeDef
  4. See ProvisionedThroughputTypeDef
  5. See SSESpecificationTypeDef

ImportTableDescriptionTypeDef#

# ImportTableDescriptionTypeDef definition

class ImportTableDescriptionTypeDef(TypedDict):
    ImportArn: NotRequired[str],
    ImportStatus: NotRequired[ImportStatusType],  # (1)
    TableArn: NotRequired[str],
    TableId: NotRequired[str],
    ClientToken: NotRequired[str],
    S3BucketSource: NotRequired[S3BucketSourceTypeDef],  # (2)
    ErrorCount: NotRequired[int],
    CloudWatchLogGroupArn: NotRequired[str],
    InputFormat: NotRequired[InputFormatType],  # (3)
    InputFormatOptions: NotRequired[InputFormatOptionsOutputTypeDef],  # (4)
    InputCompressionType: NotRequired[InputCompressionTypeType],  # (5)
    TableCreationParameters: NotRequired[TableCreationParametersOutputTypeDef],  # (6)
    StartTime: NotRequired[datetime],
    EndTime: NotRequired[datetime],
    ProcessedSizeBytes: NotRequired[int],
    ProcessedItemCount: NotRequired[int],
    ImportedItemCount: NotRequired[int],
    FailureCode: NotRequired[str],
    FailureMessage: NotRequired[str],
  1. See ImportStatusType
  2. See S3BucketSourceTypeDef
  3. See InputFormatType
  4. See InputFormatOptionsOutputTypeDef
  5. See InputCompressionTypeType
  6. See TableCreationParametersOutputTypeDef

BackupDescriptionTypeDef#

# BackupDescriptionTypeDef definition

class BackupDescriptionTypeDef(TypedDict):
    BackupDetails: NotRequired[BackupDetailsTypeDef],  # (1)
    SourceTableDetails: NotRequired[SourceTableDetailsTypeDef],  # (2)
    SourceTableFeatureDetails: NotRequired[SourceTableFeatureDetailsTypeDef],  # (3)
  1. See BackupDetailsTypeDef
  2. See SourceTableDetailsTypeDef
  3. See SourceTableFeatureDetailsTypeDef

TransactGetItemsInputRequestTypeDef#

# TransactGetItemsInputRequestTypeDef definition

class TransactGetItemsInputRequestTypeDef(TypedDict):
    TransactItems: Sequence[TransactGetItemTypeDef],  # (1)
    ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType],  # (2)
  1. See TransactGetItemTypeDef
  2. See ReturnConsumedCapacityType

BatchGetItemInputRequestTypeDef#

# BatchGetItemInputRequestTypeDef definition

class BatchGetItemInputRequestTypeDef(TypedDict):
    RequestItems: Mapping[str, Union[KeysAndAttributesTypeDef, KeysAndAttributesOutputTypeDef]],  # (1)
    ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType],  # (2)
  1. See KeysAndAttributesTypeDef KeysAndAttributesOutputTypeDef
  2. See ReturnConsumedCapacityType

TransactWriteItemsInputRequestTypeDef#

# TransactWriteItemsInputRequestTypeDef definition

class TransactWriteItemsInputRequestTypeDef(TypedDict):
    TransactItems: Sequence[TransactWriteItemTypeDef],  # (1)
    ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType],  # (2)
    ReturnItemCollectionMetrics: NotRequired[ReturnItemCollectionMetricsType],  # (3)
    ClientRequestToken: NotRequired[str],
  1. See TransactWriteItemTypeDef
  2. See ReturnConsumedCapacityType
  3. See ReturnItemCollectionMetricsType

BatchWriteItemInputServiceResourceBatchWriteItemTypeDef#

# BatchWriteItemInputServiceResourceBatchWriteItemTypeDef definition

class BatchWriteItemInputServiceResourceBatchWriteItemTypeDef(TypedDict):
    RequestItems: Mapping[str, Sequence[Union[WriteRequestServiceResourceTypeDef, WriteRequestServiceResourceOutputTypeDef]]],  # (1)
    ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType],  # (2)
    ReturnItemCollectionMetrics: NotRequired[ReturnItemCollectionMetricsType],  # (3)
  1. See WriteRequestServiceResourceTypeDef WriteRequestServiceResourceOutputTypeDef
  2. See ReturnConsumedCapacityType
  3. See ReturnItemCollectionMetricsType

ReplicaAutoScalingDescriptionTypeDef#

# ReplicaAutoScalingDescriptionTypeDef definition

class ReplicaAutoScalingDescriptionTypeDef(TypedDict):
    RegionName: NotRequired[str],
    GlobalSecondaryIndexes: NotRequired[List[ReplicaGlobalSecondaryIndexAutoScalingDescriptionTypeDef]],  # (1)
    ReplicaProvisionedReadCapacityAutoScalingSettings: NotRequired[AutoScalingSettingsDescriptionTypeDef],  # (2)
    ReplicaProvisionedWriteCapacityAutoScalingSettings: NotRequired[AutoScalingSettingsDescriptionTypeDef],  # (2)
    ReplicaStatus: NotRequired[ReplicaStatusType],  # (4)
  1. See ReplicaGlobalSecondaryIndexAutoScalingDescriptionTypeDef
  2. See AutoScalingSettingsDescriptionTypeDef
  3. See AutoScalingSettingsDescriptionTypeDef
  4. See ReplicaStatusType

ReplicaSettingsDescriptionTypeDef#

# ReplicaSettingsDescriptionTypeDef definition

class ReplicaSettingsDescriptionTypeDef(TypedDict):
    RegionName: str,
    ReplicaStatus: NotRequired[ReplicaStatusType],  # (1)
    ReplicaBillingModeSummary: NotRequired[BillingModeSummaryTypeDef],  # (2)
    ReplicaProvisionedReadCapacityUnits: NotRequired[int],
    ReplicaProvisionedReadCapacityAutoScalingSettings: NotRequired[AutoScalingSettingsDescriptionTypeDef],  # (3)
    ReplicaProvisionedWriteCapacityUnits: NotRequired[int],
    ReplicaProvisionedWriteCapacityAutoScalingSettings: NotRequired[AutoScalingSettingsDescriptionTypeDef],  # (3)
    ReplicaGlobalSecondaryIndexSettings: NotRequired[List[ReplicaGlobalSecondaryIndexSettingsDescriptionTypeDef]],  # (5)
    ReplicaTableClassSummary: NotRequired[TableClassSummaryTypeDef],  # (6)
  1. See ReplicaStatusType
  2. See BillingModeSummaryTypeDef
  3. See AutoScalingSettingsDescriptionTypeDef
  4. See AutoScalingSettingsDescriptionTypeDef
  5. See ReplicaGlobalSecondaryIndexSettingsDescriptionTypeDef
  6. See TableClassSummaryTypeDef

ReplicaAutoScalingUpdateTypeDef#

# ReplicaAutoScalingUpdateTypeDef definition

class ReplicaAutoScalingUpdateTypeDef(TypedDict):
    RegionName: str,
    ReplicaGlobalSecondaryIndexUpdates: NotRequired[Sequence[ReplicaGlobalSecondaryIndexAutoScalingUpdateTypeDef]],  # (1)
    ReplicaProvisionedReadCapacityAutoScalingUpdate: NotRequired[AutoScalingSettingsUpdateTypeDef],  # (2)
  1. See ReplicaGlobalSecondaryIndexAutoScalingUpdateTypeDef
  2. See AutoScalingSettingsUpdateTypeDef

ReplicaSettingsUpdateTypeDef#

# ReplicaSettingsUpdateTypeDef definition

class ReplicaSettingsUpdateTypeDef(TypedDict):
    RegionName: str,
    ReplicaProvisionedReadCapacityUnits: NotRequired[int],
    ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate: NotRequired[AutoScalingSettingsUpdateTypeDef],  # (1)
    ReplicaGlobalSecondaryIndexSettingsUpdate: NotRequired[Sequence[ReplicaGlobalSecondaryIndexSettingsUpdateTypeDef]],  # (2)
    ReplicaTableClass: NotRequired[TableClassType],  # (3)
  1. See AutoScalingSettingsUpdateTypeDef
  2. See ReplicaGlobalSecondaryIndexSettingsUpdateTypeDef
  3. See TableClassType

CreateGlobalTableOutputTypeDef#

# CreateGlobalTableOutputTypeDef definition

class CreateGlobalTableOutputTypeDef(TypedDict):
    GlobalTableDescription: GlobalTableDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See GlobalTableDescriptionTypeDef
  2. See ResponseMetadataTypeDef

DescribeGlobalTableOutputTypeDef#

# DescribeGlobalTableOutputTypeDef definition

class DescribeGlobalTableOutputTypeDef(TypedDict):
    GlobalTableDescription: GlobalTableDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See GlobalTableDescriptionTypeDef
  2. See ResponseMetadataTypeDef

UpdateGlobalTableOutputTypeDef#

# UpdateGlobalTableOutputTypeDef definition

class UpdateGlobalTableOutputTypeDef(TypedDict):
    GlobalTableDescription: GlobalTableDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See GlobalTableDescriptionTypeDef
  2. See ResponseMetadataTypeDef

CreateTableOutputTypeDef#

# CreateTableOutputTypeDef definition

class CreateTableOutputTypeDef(TypedDict):
    TableDescription: TableDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TableDescriptionTypeDef
  2. See ResponseMetadataTypeDef

DeleteTableOutputTypeDef#

# DeleteTableOutputTypeDef definition

class DeleteTableOutputTypeDef(TypedDict):
    TableDescription: TableDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TableDescriptionTypeDef
  2. See ResponseMetadataTypeDef

DescribeTableOutputTypeDef#

# DescribeTableOutputTypeDef definition

class DescribeTableOutputTypeDef(TypedDict):
    Table: TableDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TableDescriptionTypeDef
  2. See ResponseMetadataTypeDef

RestoreTableFromBackupOutputTypeDef#

# RestoreTableFromBackupOutputTypeDef definition

class RestoreTableFromBackupOutputTypeDef(TypedDict):
    TableDescription: TableDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TableDescriptionTypeDef
  2. See ResponseMetadataTypeDef

RestoreTableToPointInTimeOutputTypeDef#

# RestoreTableToPointInTimeOutputTypeDef definition

class RestoreTableToPointInTimeOutputTypeDef(TypedDict):
    TableDescription: TableDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TableDescriptionTypeDef
  2. See ResponseMetadataTypeDef

UpdateTableOutputTypeDef#

# UpdateTableOutputTypeDef definition

class UpdateTableOutputTypeDef(TypedDict):
    TableDescription: TableDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TableDescriptionTypeDef
  2. See ResponseMetadataTypeDef

UpdateTableInputRequestTypeDef#

# UpdateTableInputRequestTypeDef definition

class UpdateTableInputRequestTypeDef(TypedDict):
    TableName: str,
    AttributeDefinitions: NotRequired[Sequence[AttributeDefinitionTypeDef]],  # (1)
    BillingMode: NotRequired[BillingModeType],  # (2)
    ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef],  # (3)
    GlobalSecondaryIndexUpdates: NotRequired[Sequence[GlobalSecondaryIndexUpdateTypeDef]],  # (4)
    StreamSpecification: NotRequired[StreamSpecificationTypeDef],  # (5)
    SSESpecification: NotRequired[SSESpecificationTypeDef],  # (6)
    ReplicaUpdates: NotRequired[Sequence[ReplicationGroupUpdateTypeDef]],  # (7)
    TableClass: NotRequired[TableClassType],  # (8)
    DeletionProtectionEnabled: NotRequired[bool],
  1. See AttributeDefinitionTypeDef
  2. See BillingModeType
  3. See ProvisionedThroughputTypeDef
  4. See GlobalSecondaryIndexUpdateTypeDef
  5. See StreamSpecificationTypeDef
  6. See SSESpecificationTypeDef
  7. See ReplicationGroupUpdateTypeDef
  8. See TableClassType

UpdateTableInputTableUpdateTypeDef#

# UpdateTableInputTableUpdateTypeDef definition

class UpdateTableInputTableUpdateTypeDef(TypedDict):
    AttributeDefinitions: NotRequired[Sequence[AttributeDefinitionTypeDef]],  # (1)
    BillingMode: NotRequired[BillingModeType],  # (2)
    ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef],  # (3)
    GlobalSecondaryIndexUpdates: NotRequired[Sequence[GlobalSecondaryIndexUpdateTypeDef]],  # (4)
    StreamSpecification: NotRequired[StreamSpecificationTypeDef],  # (5)
    SSESpecification: NotRequired[SSESpecificationTypeDef],  # (6)
    ReplicaUpdates: NotRequired[Sequence[ReplicationGroupUpdateTypeDef]],  # (7)
    TableClass: NotRequired[TableClassType],  # (8)
    DeletionProtectionEnabled: NotRequired[bool],
  1. See AttributeDefinitionTypeDef
  2. See BillingModeType
  3. See ProvisionedThroughputTypeDef
  4. See GlobalSecondaryIndexUpdateTypeDef
  5. See StreamSpecificationTypeDef
  6. See SSESpecificationTypeDef
  7. See ReplicationGroupUpdateTypeDef
  8. See TableClassType

DescribeImportOutputTypeDef#

# DescribeImportOutputTypeDef definition

class DescribeImportOutputTypeDef(TypedDict):
    ImportTableDescription: ImportTableDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ImportTableDescriptionTypeDef
  2. See ResponseMetadataTypeDef

ImportTableOutputTypeDef#

# ImportTableOutputTypeDef definition

class ImportTableOutputTypeDef(TypedDict):
    ImportTableDescription: ImportTableDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ImportTableDescriptionTypeDef
  2. See ResponseMetadataTypeDef

DeleteBackupOutputTypeDef#

# DeleteBackupOutputTypeDef definition

class DeleteBackupOutputTypeDef(TypedDict):
    BackupDescription: BackupDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BackupDescriptionTypeDef
  2. See ResponseMetadataTypeDef

DescribeBackupOutputTypeDef#

# DescribeBackupOutputTypeDef definition

class DescribeBackupOutputTypeDef(TypedDict):
    BackupDescription: BackupDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BackupDescriptionTypeDef
  2. See ResponseMetadataTypeDef

BatchWriteItemInputRequestTypeDef#

# BatchWriteItemInputRequestTypeDef definition

class BatchWriteItemInputRequestTypeDef(TypedDict):
    RequestItems: Mapping[str, Sequence[Union[WriteRequestTypeDef, WriteRequestOutputTypeDef]]],  # (1)
    ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType],  # (2)
    ReturnItemCollectionMetrics: NotRequired[ReturnItemCollectionMetricsType],  # (3)
  1. See WriteRequestTypeDef WriteRequestOutputTypeDef
  2. See ReturnConsumedCapacityType
  3. See ReturnItemCollectionMetricsType

TableAutoScalingDescriptionTypeDef#

# TableAutoScalingDescriptionTypeDef definition

class TableAutoScalingDescriptionTypeDef(TypedDict):
    TableName: NotRequired[str],
    TableStatus: NotRequired[TableStatusType],  # (1)
    Replicas: NotRequired[List[ReplicaAutoScalingDescriptionTypeDef]],  # (2)
  1. See TableStatusType
  2. See ReplicaAutoScalingDescriptionTypeDef

DescribeGlobalTableSettingsOutputTypeDef#

# DescribeGlobalTableSettingsOutputTypeDef definition

class DescribeGlobalTableSettingsOutputTypeDef(TypedDict):
    GlobalTableName: str,
    ReplicaSettings: List[ReplicaSettingsDescriptionTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ReplicaSettingsDescriptionTypeDef
  2. See ResponseMetadataTypeDef

UpdateGlobalTableSettingsOutputTypeDef#

# UpdateGlobalTableSettingsOutputTypeDef definition

class UpdateGlobalTableSettingsOutputTypeDef(TypedDict):
    GlobalTableName: str,
    ReplicaSettings: List[ReplicaSettingsDescriptionTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ReplicaSettingsDescriptionTypeDef
  2. See ResponseMetadataTypeDef

UpdateTableReplicaAutoScalingInputRequestTypeDef#

# UpdateTableReplicaAutoScalingInputRequestTypeDef definition

class UpdateTableReplicaAutoScalingInputRequestTypeDef(TypedDict):
    TableName: str,
    GlobalSecondaryIndexUpdates: NotRequired[Sequence[GlobalSecondaryIndexAutoScalingUpdateTypeDef]],  # (1)
    ProvisionedWriteCapacityAutoScalingUpdate: NotRequired[AutoScalingSettingsUpdateTypeDef],  # (2)
    ReplicaUpdates: NotRequired[Sequence[ReplicaAutoScalingUpdateTypeDef]],  # (3)
  1. See GlobalSecondaryIndexAutoScalingUpdateTypeDef
  2. See AutoScalingSettingsUpdateTypeDef
  3. See ReplicaAutoScalingUpdateTypeDef

UpdateGlobalTableSettingsInputRequestTypeDef#

# UpdateGlobalTableSettingsInputRequestTypeDef definition

class UpdateGlobalTableSettingsInputRequestTypeDef(TypedDict):
    GlobalTableName: str,
    GlobalTableBillingMode: NotRequired[BillingModeType],  # (1)
    GlobalTableProvisionedWriteCapacityUnits: NotRequired[int],
    GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate: NotRequired[AutoScalingSettingsUpdateTypeDef],  # (2)
    GlobalTableGlobalSecondaryIndexSettingsUpdate: NotRequired[Sequence[GlobalTableGlobalSecondaryIndexSettingsUpdateTypeDef]],  # (3)
    ReplicaSettingsUpdate: NotRequired[Sequence[ReplicaSettingsUpdateTypeDef]],  # (4)
  1. See BillingModeType
  2. See AutoScalingSettingsUpdateTypeDef
  3. See GlobalTableGlobalSecondaryIndexSettingsUpdateTypeDef
  4. See ReplicaSettingsUpdateTypeDef

DescribeTableReplicaAutoScalingOutputTypeDef#

# DescribeTableReplicaAutoScalingOutputTypeDef definition

class DescribeTableReplicaAutoScalingOutputTypeDef(TypedDict):
    TableAutoScalingDescription: TableAutoScalingDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TableAutoScalingDescriptionTypeDef
  2. See ResponseMetadataTypeDef

UpdateTableReplicaAutoScalingOutputTypeDef#

# UpdateTableReplicaAutoScalingOutputTypeDef definition

class UpdateTableReplicaAutoScalingOutputTypeDef(TypedDict):
    TableAutoScalingDescription: TableAutoScalingDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TableAutoScalingDescriptionTypeDef
  2. See ResponseMetadataTypeDef