Skip to content

Typed dictionaries#

Index > DynamoDB > Typed dictionaries

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

ArchivalSummaryResponseMetadataTypeDef#

# ArchivalSummaryResponseMetadataTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ArchivalSummaryResponseMetadataTypeDef

def get_value() -> ArchivalSummaryResponseMetadataTypeDef:
    return {
        "ArchivalDateTime": ...,
        "ArchivalReason": ...,
        "ArchivalBackupArn": ...,
        "ResponseMetadata": ...,
    }
# ArchivalSummaryResponseMetadataTypeDef definition

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

ArchivalSummaryTableTypeDef#

# ArchivalSummaryTableTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ArchivalSummaryTableTypeDef

def get_value() -> ArchivalSummaryTableTypeDef:
    return {
        "ArchivalDateTime": ...,
    }
# ArchivalSummaryTableTypeDef definition

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

ArchivalSummaryTypeDef#

# ArchivalSummaryTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ArchivalSummaryTypeDef

def get_value() -> ArchivalSummaryTypeDef:
    return {
        "ArchivalDateTime": ...,
    }
# ArchivalSummaryTypeDef definition

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

AttributeDefinitionServiceResourceTypeDef#

# AttributeDefinitionServiceResourceTypeDef usage example

from mypy_boto3_dynamodb.type_defs import AttributeDefinitionServiceResourceTypeDef

def get_value() -> AttributeDefinitionServiceResourceTypeDef:
    return {
        "AttributeName": ...,
        "AttributeType": ...,
    }
# AttributeDefinitionServiceResourceTypeDef definition

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

AttributeDefinitionTableTypeDef#

# AttributeDefinitionTableTypeDef usage example

from mypy_boto3_dynamodb.type_defs import AttributeDefinitionTableTypeDef

def get_value() -> AttributeDefinitionTableTypeDef:
    return {
        "AttributeName": ...,
        "AttributeType": ...,
    }
# AttributeDefinitionTableTypeDef definition

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

AttributeDefinitionTypeDef#

# AttributeDefinitionTypeDef usage example

from mypy_boto3_dynamodb.type_defs import AttributeDefinitionTypeDef

def get_value() -> AttributeDefinitionTypeDef:
    return {
        "AttributeName": ...,
        "AttributeType": ...,
    }
# AttributeDefinitionTypeDef definition

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

AttributeValueTypeDef#

# AttributeValueTypeDef usage example

from mypy_boto3_dynamodb.type_defs import AttributeValueTypeDef

def get_value() -> AttributeValueTypeDef:
    return {
        "S": ...,
    }
# 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],

AttributeValueUpdateTableTypeDef#

# AttributeValueUpdateTableTypeDef usage example

from mypy_boto3_dynamodb.type_defs import AttributeValueUpdateTableTypeDef

def get_value() -> AttributeValueUpdateTableTypeDef:
    return {
        "Value": ...,
    }
# 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

AutoScalingTargetTrackingScalingPolicyConfigurationDescriptionTypeDef#

# AutoScalingTargetTrackingScalingPolicyConfigurationDescriptionTypeDef usage example

from mypy_boto3_dynamodb.type_defs import AutoScalingTargetTrackingScalingPolicyConfigurationDescriptionTypeDef

def get_value() -> AutoScalingTargetTrackingScalingPolicyConfigurationDescriptionTypeDef:
    return {
        "TargetValue": ...,
    }
# AutoScalingTargetTrackingScalingPolicyConfigurationDescriptionTypeDef definition

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

AutoScalingTargetTrackingScalingPolicyConfigurationUpdateTypeDef#

# AutoScalingTargetTrackingScalingPolicyConfigurationUpdateTypeDef usage example

from mypy_boto3_dynamodb.type_defs import AutoScalingTargetTrackingScalingPolicyConfigurationUpdateTypeDef

def get_value() -> AutoScalingTargetTrackingScalingPolicyConfigurationUpdateTypeDef:
    return {
        "TargetValue": ...,
    }
# AutoScalingTargetTrackingScalingPolicyConfigurationUpdateTypeDef definition

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

BackupDetailsTypeDef#

# BackupDetailsTypeDef usage example

from mypy_boto3_dynamodb.type_defs import BackupDetailsTypeDef

def get_value() -> BackupDetailsTypeDef:
    return {
        "BackupArn": ...,
        "BackupName": ...,
        "BackupStatus": ...,
        "BackupType": ...,
        "BackupCreationDateTime": ...,
    }
# 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

BackupSummaryTableTypeDef#

# BackupSummaryTableTypeDef usage example

from mypy_boto3_dynamodb.type_defs import BackupSummaryTableTypeDef

def get_value() -> BackupSummaryTableTypeDef:
    return {
        "TableName": ...,
    }
# BackupSummaryTableTypeDef definition

class BackupSummaryTableTypeDef(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

BackupSummaryTypeDef#

# BackupSummaryTypeDef usage example

from mypy_boto3_dynamodb.type_defs import BackupSummaryTypeDef

def get_value() -> BackupSummaryTypeDef:
    return {
        "TableName": ...,
    }
# 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

KeysAndAttributesServiceResourceTypeDef#

# KeysAndAttributesServiceResourceTypeDef usage example

from mypy_boto3_dynamodb.type_defs import KeysAndAttributesServiceResourceTypeDef

def get_value() -> KeysAndAttributesServiceResourceTypeDef:
    return {
        "Keys": ...,
    }
# 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]],

BatchStatementErrorTypeDef#

# BatchStatementErrorTypeDef usage example

from mypy_boto3_dynamodb.type_defs import BatchStatementErrorTypeDef

def get_value() -> BatchStatementErrorTypeDef:
    return {
        "Code": ...,
    }
# BatchStatementErrorTypeDef definition

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

ItemCollectionMetricsServiceResourceTypeDef#

# ItemCollectionMetricsServiceResourceTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ItemCollectionMetricsServiceResourceTypeDef

def get_value() -> ItemCollectionMetricsServiceResourceTypeDef:
    return {
        "ItemCollectionKey": ...,
    }
# 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]],

BillingModeSummaryResponseMetadataTypeDef#

# BillingModeSummaryResponseMetadataTypeDef usage example

from mypy_boto3_dynamodb.type_defs import BillingModeSummaryResponseMetadataTypeDef

def get_value() -> BillingModeSummaryResponseMetadataTypeDef:
    return {
        "BillingMode": ...,
        "LastUpdateToPayPerRequestDateTime": ...,
        "ResponseMetadata": ...,
    }
# BillingModeSummaryResponseMetadataTypeDef definition

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

BillingModeSummaryTableTypeDef#

# BillingModeSummaryTableTypeDef usage example

from mypy_boto3_dynamodb.type_defs import BillingModeSummaryTableTypeDef

def get_value() -> BillingModeSummaryTableTypeDef:
    return {
        "BillingMode": ...,
    }
# BillingModeSummaryTableTypeDef definition

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

BillingModeSummaryTypeDef#

# BillingModeSummaryTypeDef usage example

from mypy_boto3_dynamodb.type_defs import BillingModeSummaryTypeDef

def get_value() -> BillingModeSummaryTypeDef:
    return {
        "BillingMode": ...,
    }
# BillingModeSummaryTypeDef definition

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

CapacityServiceResourceTypeDef#

# CapacityServiceResourceTypeDef usage example

from mypy_boto3_dynamodb.type_defs import CapacityServiceResourceTypeDef

def get_value() -> CapacityServiceResourceTypeDef:
    return {
        "ReadCapacityUnits": ...,
    }
# CapacityServiceResourceTypeDef definition

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

CapacityTableTypeDef#

# CapacityTableTypeDef usage example

from mypy_boto3_dynamodb.type_defs import CapacityTableTypeDef

def get_value() -> CapacityTableTypeDef:
    return {
        "ReadCapacityUnits": ...,
    }
# CapacityTableTypeDef definition

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

CapacityTypeDef#

# CapacityTypeDef usage example

from mypy_boto3_dynamodb.type_defs import CapacityTypeDef

def get_value() -> CapacityTypeDef:
    return {
        "ReadCapacityUnits": ...,
    }
# CapacityTypeDef definition

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

ConditionTableTypeDef#

# ConditionTableTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ConditionTableTypeDef

def get_value() -> ConditionTableTypeDef:
    return {
        "ComparisonOperator": ...,
    }
# 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

PointInTimeRecoveryDescriptionTypeDef#

# PointInTimeRecoveryDescriptionTypeDef usage example

from mypy_boto3_dynamodb.type_defs import PointInTimeRecoveryDescriptionTypeDef

def get_value() -> PointInTimeRecoveryDescriptionTypeDef:
    return {
        "PointInTimeRecoveryStatus": ...,
    }
# PointInTimeRecoveryDescriptionTypeDef definition

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

ContributorInsightsSummaryTypeDef#

# ContributorInsightsSummaryTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ContributorInsightsSummaryTypeDef

def get_value() -> ContributorInsightsSummaryTypeDef:
    return {
        "TableName": ...,
    }
# ContributorInsightsSummaryTypeDef definition

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

CreateBackupInputRequestTypeDef#

# CreateBackupInputRequestTypeDef usage example

from mypy_boto3_dynamodb.type_defs import CreateBackupInputRequestTypeDef

def get_value() -> CreateBackupInputRequestTypeDef:
    return {
        "TableName": ...,
        "BackupName": ...,
    }
# CreateBackupInputRequestTypeDef definition

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

KeySchemaElementTableTypeDef#

# KeySchemaElementTableTypeDef usage example

from mypy_boto3_dynamodb.type_defs import KeySchemaElementTableTypeDef

def get_value() -> KeySchemaElementTableTypeDef:
    return {
        "AttributeName": ...,
        "KeyType": ...,
    }
# KeySchemaElementTableTypeDef definition

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

ProjectionTableTypeDef#

# ProjectionTableTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ProjectionTableTypeDef

def get_value() -> ProjectionTableTypeDef:
    return {
        "ProjectionType": ...,
    }
# ProjectionTableTypeDef definition

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

ProvisionedThroughputTableTypeDef#

# ProvisionedThroughputTableTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ProvisionedThroughputTableTypeDef

def get_value() -> ProvisionedThroughputTableTypeDef:
    return {
        "ReadCapacityUnits": ...,
        "WriteCapacityUnits": ...,
    }
# ProvisionedThroughputTableTypeDef definition

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

KeySchemaElementTypeDef#

# KeySchemaElementTypeDef usage example

from mypy_boto3_dynamodb.type_defs import KeySchemaElementTypeDef

def get_value() -> KeySchemaElementTypeDef:
    return {
        "AttributeName": ...,
        "KeyType": ...,
    }
# KeySchemaElementTypeDef definition

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

ProjectionTypeDef#

# ProjectionTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ProjectionTypeDef

def get_value() -> ProjectionTypeDef:
    return {
        "ProjectionType": ...,
    }
# ProjectionTypeDef definition

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

ProvisionedThroughputTypeDef#

# ProvisionedThroughputTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ProvisionedThroughputTypeDef

def get_value() -> ProvisionedThroughputTypeDef:
    return {
        "ReadCapacityUnits": ...,
        "WriteCapacityUnits": ...,
    }
# ProvisionedThroughputTypeDef definition

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

ReplicaTypeDef#

# ReplicaTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ReplicaTypeDef

def get_value() -> ReplicaTypeDef:
    return {
        "RegionName": ...,
    }
# ReplicaTypeDef definition

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

CreateReplicaActionTypeDef#

# CreateReplicaActionTypeDef usage example

from mypy_boto3_dynamodb.type_defs import CreateReplicaActionTypeDef

def get_value() -> CreateReplicaActionTypeDef:
    return {
        "RegionName": ...,
    }
# CreateReplicaActionTypeDef definition

class CreateReplicaActionTypeDef(TypedDict):
    RegionName: str,

ProvisionedThroughputOverrideTableTypeDef#

# ProvisionedThroughputOverrideTableTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ProvisionedThroughputOverrideTableTypeDef

def get_value() -> ProvisionedThroughputOverrideTableTypeDef:
    return {
        "ReadCapacityUnits": ...,
    }
# ProvisionedThroughputOverrideTableTypeDef definition

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

ProvisionedThroughputOverrideTypeDef#

# ProvisionedThroughputOverrideTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ProvisionedThroughputOverrideTypeDef

def get_value() -> ProvisionedThroughputOverrideTypeDef:
    return {
        "ReadCapacityUnits": ...,
    }
# ProvisionedThroughputOverrideTypeDef definition

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

SSESpecificationTypeDef#

# SSESpecificationTypeDef usage example

from mypy_boto3_dynamodb.type_defs import SSESpecificationTypeDef

def get_value() -> SSESpecificationTypeDef:
    return {
        "Enabled": ...,
    }
# SSESpecificationTypeDef definition

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

StreamSpecificationTypeDef#

# StreamSpecificationTypeDef usage example

from mypy_boto3_dynamodb.type_defs import StreamSpecificationTypeDef

def get_value() -> StreamSpecificationTypeDef:
    return {
        "StreamEnabled": ...,
    }
# StreamSpecificationTypeDef definition

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

TagTypeDef#

# TagTypeDef usage example

from mypy_boto3_dynamodb.type_defs import TagTypeDef

def get_value() -> TagTypeDef:
    return {
        "Key": ...,
        "Value": ...,
    }
# TagTypeDef definition

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

KeySchemaElementServiceResourceTypeDef#

# KeySchemaElementServiceResourceTypeDef usage example

from mypy_boto3_dynamodb.type_defs import KeySchemaElementServiceResourceTypeDef

def get_value() -> KeySchemaElementServiceResourceTypeDef:
    return {
        "AttributeName": ...,
        "KeyType": ...,
    }
# KeySchemaElementServiceResourceTypeDef definition

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

ProvisionedThroughputServiceResourceTypeDef#

# ProvisionedThroughputServiceResourceTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ProvisionedThroughputServiceResourceTypeDef

def get_value() -> ProvisionedThroughputServiceResourceTypeDef:
    return {
        "ReadCapacityUnits": ...,
        "WriteCapacityUnits": ...,
    }
# ProvisionedThroughputServiceResourceTypeDef definition

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

SSESpecificationServiceResourceTypeDef#

# SSESpecificationServiceResourceTypeDef usage example

from mypy_boto3_dynamodb.type_defs import SSESpecificationServiceResourceTypeDef

def get_value() -> SSESpecificationServiceResourceTypeDef:
    return {
        "Enabled": ...,
    }
# SSESpecificationServiceResourceTypeDef definition

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

StreamSpecificationServiceResourceTypeDef#

# StreamSpecificationServiceResourceTypeDef usage example

from mypy_boto3_dynamodb.type_defs import StreamSpecificationServiceResourceTypeDef

def get_value() -> StreamSpecificationServiceResourceTypeDef:
    return {
        "StreamEnabled": ...,
    }
# StreamSpecificationServiceResourceTypeDef definition

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

TagServiceResourceTypeDef#

# TagServiceResourceTypeDef usage example

from mypy_boto3_dynamodb.type_defs import TagServiceResourceTypeDef

def get_value() -> TagServiceResourceTypeDef:
    return {
        "Key": ...,
        "Value": ...,
    }
# TagServiceResourceTypeDef definition

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

CsvOptionsTypeDef#

# CsvOptionsTypeDef usage example

from mypy_boto3_dynamodb.type_defs import CsvOptionsTypeDef

def get_value() -> CsvOptionsTypeDef:
    return {
        "Delimiter": ...,
    }
# CsvOptionsTypeDef definition

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

DeleteBackupInputRequestTypeDef#

# DeleteBackupInputRequestTypeDef usage example

from mypy_boto3_dynamodb.type_defs import DeleteBackupInputRequestTypeDef

def get_value() -> DeleteBackupInputRequestTypeDef:
    return {
        "BackupArn": ...,
    }
# DeleteBackupInputRequestTypeDef definition

class DeleteBackupInputRequestTypeDef(TypedDict):
    BackupArn: str,

DeleteGlobalSecondaryIndexActionTableTypeDef#

# DeleteGlobalSecondaryIndexActionTableTypeDef usage example

from mypy_boto3_dynamodb.type_defs import DeleteGlobalSecondaryIndexActionTableTypeDef

def get_value() -> DeleteGlobalSecondaryIndexActionTableTypeDef:
    return {
        "IndexName": ...,
    }
# DeleteGlobalSecondaryIndexActionTableTypeDef definition

class DeleteGlobalSecondaryIndexActionTableTypeDef(TypedDict):
    IndexName: str,

DeleteGlobalSecondaryIndexActionTypeDef#

# DeleteGlobalSecondaryIndexActionTypeDef usage example

from mypy_boto3_dynamodb.type_defs import DeleteGlobalSecondaryIndexActionTypeDef

def get_value() -> DeleteGlobalSecondaryIndexActionTypeDef:
    return {
        "IndexName": ...,
    }
# DeleteGlobalSecondaryIndexActionTypeDef definition

class DeleteGlobalSecondaryIndexActionTypeDef(TypedDict):
    IndexName: str,

ExpectedAttributeValueTableTypeDef#

# ExpectedAttributeValueTableTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ExpectedAttributeValueTableTypeDef

def get_value() -> ExpectedAttributeValueTableTypeDef:
    return {
        "Value": ...,
    }
# 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

ItemCollectionMetricsTableTypeDef#

# ItemCollectionMetricsTableTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ItemCollectionMetricsTableTypeDef

def get_value() -> ItemCollectionMetricsTableTypeDef:
    return {
        "ItemCollectionKey": ...,
    }
# 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]],

DeleteReplicaActionTypeDef#

# DeleteReplicaActionTypeDef usage example

from mypy_boto3_dynamodb.type_defs import DeleteReplicaActionTypeDef

def get_value() -> DeleteReplicaActionTypeDef:
    return {
        "RegionName": ...,
    }
# DeleteReplicaActionTypeDef definition

class DeleteReplicaActionTypeDef(TypedDict):
    RegionName: str,

DeleteReplicationGroupMemberActionTableTypeDef#

# DeleteReplicationGroupMemberActionTableTypeDef usage example

from mypy_boto3_dynamodb.type_defs import DeleteReplicationGroupMemberActionTableTypeDef

def get_value() -> DeleteReplicationGroupMemberActionTableTypeDef:
    return {
        "RegionName": ...,
    }
# DeleteReplicationGroupMemberActionTableTypeDef definition

class DeleteReplicationGroupMemberActionTableTypeDef(TypedDict):
    RegionName: str,

DeleteReplicationGroupMemberActionTypeDef#

# DeleteReplicationGroupMemberActionTypeDef usage example

from mypy_boto3_dynamodb.type_defs import DeleteReplicationGroupMemberActionTypeDef

def get_value() -> DeleteReplicationGroupMemberActionTypeDef:
    return {
        "RegionName": ...,
    }
# DeleteReplicationGroupMemberActionTypeDef definition

class DeleteReplicationGroupMemberActionTypeDef(TypedDict):
    RegionName: str,

DeleteRequestServiceResourceTypeDef#

# DeleteRequestServiceResourceTypeDef usage example

from mypy_boto3_dynamodb.type_defs import DeleteRequestServiceResourceTypeDef

def get_value() -> DeleteRequestServiceResourceTypeDef:
    return {
        "Key": ...,
    }
# 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]],

DeleteTableInputRequestTypeDef#

# DeleteTableInputRequestTypeDef usage example

from mypy_boto3_dynamodb.type_defs import DeleteTableInputRequestTypeDef

def get_value() -> DeleteTableInputRequestTypeDef:
    return {
        "TableName": ...,
    }
# DeleteTableInputRequestTypeDef definition

class DeleteTableInputRequestTypeDef(TypedDict):
    TableName: str,

DescribeBackupInputRequestTypeDef#

# DescribeBackupInputRequestTypeDef usage example

from mypy_boto3_dynamodb.type_defs import DescribeBackupInputRequestTypeDef

def get_value() -> DescribeBackupInputRequestTypeDef:
    return {
        "BackupArn": ...,
    }
# DescribeBackupInputRequestTypeDef definition

class DescribeBackupInputRequestTypeDef(TypedDict):
    BackupArn: str,

DescribeContinuousBackupsInputRequestTypeDef#

# DescribeContinuousBackupsInputRequestTypeDef usage example

from mypy_boto3_dynamodb.type_defs import DescribeContinuousBackupsInputRequestTypeDef

def get_value() -> DescribeContinuousBackupsInputRequestTypeDef:
    return {
        "TableName": ...,
    }
# DescribeContinuousBackupsInputRequestTypeDef definition

class DescribeContinuousBackupsInputRequestTypeDef(TypedDict):
    TableName: str,

DescribeContributorInsightsInputRequestTypeDef#

# DescribeContributorInsightsInputRequestTypeDef usage example

from mypy_boto3_dynamodb.type_defs import DescribeContributorInsightsInputRequestTypeDef

def get_value() -> DescribeContributorInsightsInputRequestTypeDef:
    return {
        "TableName": ...,
    }
# DescribeContributorInsightsInputRequestTypeDef definition

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

FailureExceptionTypeDef#

# FailureExceptionTypeDef usage example

from mypy_boto3_dynamodb.type_defs import FailureExceptionTypeDef

def get_value() -> FailureExceptionTypeDef:
    return {
        "ExceptionName": ...,
    }
# FailureExceptionTypeDef definition

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

EndpointTypeDef#

# EndpointTypeDef usage example

from mypy_boto3_dynamodb.type_defs import EndpointTypeDef

def get_value() -> EndpointTypeDef:
    return {
        "Address": ...,
        "CachePeriodInMinutes": ...,
    }
# EndpointTypeDef definition

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

DescribeExportInputRequestTypeDef#

# DescribeExportInputRequestTypeDef usage example

from mypy_boto3_dynamodb.type_defs import DescribeExportInputRequestTypeDef

def get_value() -> DescribeExportInputRequestTypeDef:
    return {
        "ExportArn": ...,
    }
# DescribeExportInputRequestTypeDef definition

class DescribeExportInputRequestTypeDef(TypedDict):
    ExportArn: str,

ExportDescriptionTypeDef#

# ExportDescriptionTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ExportDescriptionTypeDef

def get_value() -> ExportDescriptionTypeDef:
    return {
        "ExportArn": ...,
    }
# 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],
  1. See ExportStatusType
  2. See S3SseAlgorithmType
  3. See ExportFormatType

DescribeGlobalTableInputRequestTypeDef#

# DescribeGlobalTableInputRequestTypeDef usage example

from mypy_boto3_dynamodb.type_defs import DescribeGlobalTableInputRequestTypeDef

def get_value() -> DescribeGlobalTableInputRequestTypeDef:
    return {
        "GlobalTableName": ...,
    }
# DescribeGlobalTableInputRequestTypeDef definition

class DescribeGlobalTableInputRequestTypeDef(TypedDict):
    GlobalTableName: str,

DescribeGlobalTableSettingsInputRequestTypeDef#

# DescribeGlobalTableSettingsInputRequestTypeDef usage example

from mypy_boto3_dynamodb.type_defs import DescribeGlobalTableSettingsInputRequestTypeDef

def get_value() -> DescribeGlobalTableSettingsInputRequestTypeDef:
    return {
        "GlobalTableName": ...,
    }
# DescribeGlobalTableSettingsInputRequestTypeDef definition

class DescribeGlobalTableSettingsInputRequestTypeDef(TypedDict):
    GlobalTableName: str,

DescribeImportInputRequestTypeDef#

# DescribeImportInputRequestTypeDef usage example

from mypy_boto3_dynamodb.type_defs import DescribeImportInputRequestTypeDef

def get_value() -> DescribeImportInputRequestTypeDef:
    return {
        "ImportArn": ...,
    }
# DescribeImportInputRequestTypeDef definition

class DescribeImportInputRequestTypeDef(TypedDict):
    ImportArn: str,

DescribeKinesisStreamingDestinationInputRequestTypeDef#

# DescribeKinesisStreamingDestinationInputRequestTypeDef usage example

from mypy_boto3_dynamodb.type_defs import DescribeKinesisStreamingDestinationInputRequestTypeDef

def get_value() -> DescribeKinesisStreamingDestinationInputRequestTypeDef:
    return {
        "TableName": ...,
    }
# DescribeKinesisStreamingDestinationInputRequestTypeDef definition

class DescribeKinesisStreamingDestinationInputRequestTypeDef(TypedDict):
    TableName: str,

KinesisDataStreamDestinationTypeDef#

# KinesisDataStreamDestinationTypeDef usage example

from mypy_boto3_dynamodb.type_defs import KinesisDataStreamDestinationTypeDef

def get_value() -> KinesisDataStreamDestinationTypeDef:
    return {
        "StreamArn": ...,
    }
# KinesisDataStreamDestinationTypeDef definition

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

DescribeLimitsOutputTypeDef#

# DescribeLimitsOutputTypeDef usage example

from mypy_boto3_dynamodb.type_defs import DescribeLimitsOutputTypeDef

def get_value() -> DescribeLimitsOutputTypeDef:
    return {
        "AccountMaxReadCapacityUnits": ...,
        "AccountMaxWriteCapacityUnits": ...,
        "TableMaxReadCapacityUnits": ...,
        "TableMaxWriteCapacityUnits": ...,
        "ResponseMetadata": ...,
    }
# DescribeLimitsOutputTypeDef definition

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

DescribeTableInputRequestTypeDef#

# DescribeTableInputRequestTypeDef usage example

from mypy_boto3_dynamodb.type_defs import DescribeTableInputRequestTypeDef

def get_value() -> DescribeTableInputRequestTypeDef:
    return {
        "TableName": ...,
    }
# DescribeTableInputRequestTypeDef definition

class DescribeTableInputRequestTypeDef(TypedDict):
    TableName: str,

WaiterConfigTypeDef#

# WaiterConfigTypeDef usage example

from mypy_boto3_dynamodb.type_defs import WaiterConfigTypeDef

def get_value() -> WaiterConfigTypeDef:
    return {
        "Delay": ...,
    }
# WaiterConfigTypeDef definition

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

DescribeTableReplicaAutoScalingInputRequestTypeDef#

# DescribeTableReplicaAutoScalingInputRequestTypeDef usage example

from mypy_boto3_dynamodb.type_defs import DescribeTableReplicaAutoScalingInputRequestTypeDef

def get_value() -> DescribeTableReplicaAutoScalingInputRequestTypeDef:
    return {
        "TableName": ...,
    }
# DescribeTableReplicaAutoScalingInputRequestTypeDef definition

class DescribeTableReplicaAutoScalingInputRequestTypeDef(TypedDict):
    TableName: str,

DescribeTimeToLiveInputRequestTypeDef#

# DescribeTimeToLiveInputRequestTypeDef usage example

from mypy_boto3_dynamodb.type_defs import DescribeTimeToLiveInputRequestTypeDef

def get_value() -> DescribeTimeToLiveInputRequestTypeDef:
    return {
        "TableName": ...,
    }
# DescribeTimeToLiveInputRequestTypeDef definition

class DescribeTimeToLiveInputRequestTypeDef(TypedDict):
    TableName: str,

TimeToLiveDescriptionTypeDef#

# TimeToLiveDescriptionTypeDef usage example

from mypy_boto3_dynamodb.type_defs import TimeToLiveDescriptionTypeDef

def get_value() -> TimeToLiveDescriptionTypeDef:
    return {
        "TimeToLiveStatus": ...,
    }
# TimeToLiveDescriptionTypeDef definition

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

EmptyResponseMetadataTypeDef#

# EmptyResponseMetadataTypeDef usage example

from mypy_boto3_dynamodb.type_defs import EmptyResponseMetadataTypeDef

def get_value() -> EmptyResponseMetadataTypeDef:
    return {
        "ResponseMetadata": ...,
    }
# EmptyResponseMetadataTypeDef definition

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

ExportSummaryTypeDef#

# ExportSummaryTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ExportSummaryTypeDef

def get_value() -> ExportSummaryTypeDef:
    return {
        "ExportArn": ...,
    }
# ExportSummaryTypeDef definition

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

ExportTableToPointInTimeInputRequestTypeDef#

# ExportTableToPointInTimeInputRequestTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ExportTableToPointInTimeInputRequestTypeDef

def get_value() -> ExportTableToPointInTimeInputRequestTypeDef:
    return {
        "TableArn": ...,
        "S3Bucket": ...,
    }
# 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)
  1. See S3SseAlgorithmType
  2. See ExportFormatType

GetItemInputTableGetItemTypeDef#

# GetItemInputTableGetItemTypeDef usage example

from mypy_boto3_dynamodb.type_defs import GetItemInputTableGetItemTypeDef

def get_value() -> GetItemInputTableGetItemTypeDef:
    return {
        "Key": ...,
    }
# 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

ProvisionedThroughputDescriptionTableTypeDef#

# ProvisionedThroughputDescriptionTableTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ProvisionedThroughputDescriptionTableTypeDef

def get_value() -> ProvisionedThroughputDescriptionTableTypeDef:
    return {
        "LastIncreaseDateTime": ...,
    }
# ProvisionedThroughputDescriptionTableTypeDef definition

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

ProvisionedThroughputDescriptionTypeDef#

# ProvisionedThroughputDescriptionTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ProvisionedThroughputDescriptionTypeDef

def get_value() -> ProvisionedThroughputDescriptionTypeDef:
    return {
        "LastIncreaseDateTime": ...,
    }
# ProvisionedThroughputDescriptionTypeDef definition

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

ProjectionServiceResourceTypeDef#

# ProjectionServiceResourceTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ProjectionServiceResourceTypeDef

def get_value() -> ProjectionServiceResourceTypeDef:
    return {
        "ProjectionType": ...,
    }
# ProjectionServiceResourceTypeDef definition

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

S3BucketSourceTypeDef#

# S3BucketSourceTypeDef usage example

from mypy_boto3_dynamodb.type_defs import S3BucketSourceTypeDef

def get_value() -> S3BucketSourceTypeDef:
    return {
        "S3Bucket": ...,
    }
# S3BucketSourceTypeDef definition

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

KinesisStreamingDestinationInputRequestTypeDef#

# KinesisStreamingDestinationInputRequestTypeDef usage example

from mypy_boto3_dynamodb.type_defs import KinesisStreamingDestinationInputRequestTypeDef

def get_value() -> KinesisStreamingDestinationInputRequestTypeDef:
    return {
        "TableName": ...,
        "StreamArn": ...,
    }
# KinesisStreamingDestinationInputRequestTypeDef definition

class KinesisStreamingDestinationInputRequestTypeDef(TypedDict):
    TableName: str,
    StreamArn: str,

KinesisStreamingDestinationOutputTypeDef#

# KinesisStreamingDestinationOutputTypeDef usage example

from mypy_boto3_dynamodb.type_defs import KinesisStreamingDestinationOutputTypeDef

def get_value() -> KinesisStreamingDestinationOutputTypeDef:
    return {
        "TableName": ...,
        "StreamArn": ...,
        "DestinationStatus": ...,
        "ResponseMetadata": ...,
    }
# KinesisStreamingDestinationOutputTypeDef definition

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

ListBackupsInputListBackupsPaginateTypeDef#

# ListBackupsInputListBackupsPaginateTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ListBackupsInputListBackupsPaginateTypeDef

def get_value() -> ListBackupsInputListBackupsPaginateTypeDef:
    return {
        "TableName": ...,
    }
# 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

ListBackupsInputRequestTypeDef#

# ListBackupsInputRequestTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ListBackupsInputRequestTypeDef

def get_value() -> ListBackupsInputRequestTypeDef:
    return {
        "TableName": ...,
    }
# 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

ListContributorInsightsInputRequestTypeDef#

# ListContributorInsightsInputRequestTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ListContributorInsightsInputRequestTypeDef

def get_value() -> ListContributorInsightsInputRequestTypeDef:
    return {
        "TableName": ...,
    }
# ListContributorInsightsInputRequestTypeDef definition

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

ListExportsInputRequestTypeDef#

# ListExportsInputRequestTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ListExportsInputRequestTypeDef

def get_value() -> ListExportsInputRequestTypeDef:
    return {
        "TableArn": ...,
    }
# ListExportsInputRequestTypeDef definition

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

ListGlobalTablesInputRequestTypeDef#

# ListGlobalTablesInputRequestTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ListGlobalTablesInputRequestTypeDef

def get_value() -> ListGlobalTablesInputRequestTypeDef:
    return {
        "ExclusiveStartGlobalTableName": ...,
    }
# ListGlobalTablesInputRequestTypeDef definition

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

ListImportsInputRequestTypeDef#

# ListImportsInputRequestTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ListImportsInputRequestTypeDef

def get_value() -> ListImportsInputRequestTypeDef:
    return {
        "TableArn": ...,
    }
# ListImportsInputRequestTypeDef definition

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

ListTablesInputListTablesPaginateTypeDef#

# ListTablesInputListTablesPaginateTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ListTablesInputListTablesPaginateTypeDef

def get_value() -> ListTablesInputListTablesPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
# ListTablesInputListTablesPaginateTypeDef definition

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

ListTablesInputRequestTypeDef#

# ListTablesInputRequestTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ListTablesInputRequestTypeDef

def get_value() -> ListTablesInputRequestTypeDef:
    return {
        "ExclusiveStartTableName": ...,
    }
# ListTablesInputRequestTypeDef definition

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

ListTablesOutputTableTypeDef#

# ListTablesOutputTableTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ListTablesOutputTableTypeDef

def get_value() -> ListTablesOutputTableTypeDef:
    return {
        "TableNames": ...,
        "LastEvaluatedTableName": ...,
        "ResponseMetadata": ...,
    }
# ListTablesOutputTableTypeDef definition

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

ListTablesOutputTypeDef#

# ListTablesOutputTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ListTablesOutputTypeDef

def get_value() -> ListTablesOutputTypeDef:
    return {
        "TableNames": ...,
        "LastEvaluatedTableName": ...,
        "ResponseMetadata": ...,
    }
# ListTablesOutputTypeDef definition

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

ListTagsOfResourceInputListTagsOfResourcePaginateTypeDef#

# ListTagsOfResourceInputListTagsOfResourcePaginateTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ListTagsOfResourceInputListTagsOfResourcePaginateTypeDef

def get_value() -> ListTagsOfResourceInputListTagsOfResourcePaginateTypeDef:
    return {
        "ResourceArn": ...,
    }
# ListTagsOfResourceInputListTagsOfResourcePaginateTypeDef definition

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

ListTagsOfResourceInputRequestTypeDef#

# ListTagsOfResourceInputRequestTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ListTagsOfResourceInputRequestTypeDef

def get_value() -> ListTagsOfResourceInputRequestTypeDef:
    return {
        "ResourceArn": ...,
    }
# ListTagsOfResourceInputRequestTypeDef definition

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

TagTableTypeDef#

# TagTableTypeDef usage example

from mypy_boto3_dynamodb.type_defs import TagTableTypeDef

def get_value() -> TagTableTypeDef:
    return {
        "Key": ...,
        "Value": ...,
    }
# TagTableTypeDef definition

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

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef usage example

from mypy_boto3_dynamodb.type_defs import PaginatorConfigTypeDef

def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }
# PaginatorConfigTypeDef definition

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

PointInTimeRecoverySpecificationTypeDef#

# PointInTimeRecoverySpecificationTypeDef usage example

from mypy_boto3_dynamodb.type_defs import PointInTimeRecoverySpecificationTypeDef

def get_value() -> PointInTimeRecoverySpecificationTypeDef:
    return {
        "PointInTimeRecoveryEnabled": ...,
    }
# PointInTimeRecoverySpecificationTypeDef definition

class PointInTimeRecoverySpecificationTypeDef(TypedDict):
    PointInTimeRecoveryEnabled: bool,

ProvisionedThroughputDescriptionResponseMetadataTypeDef#

# ProvisionedThroughputDescriptionResponseMetadataTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ProvisionedThroughputDescriptionResponseMetadataTypeDef

def get_value() -> ProvisionedThroughputDescriptionResponseMetadataTypeDef:
    return {
        "LastIncreaseDateTime": ...,
        "LastDecreaseDateTime": ...,
        "NumberOfDecreasesToday": ...,
        "ReadCapacityUnits": ...,
        "WriteCapacityUnits": ...,
        "ResponseMetadata": ...,
    }
# ProvisionedThroughputDescriptionResponseMetadataTypeDef definition

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

PutRequestServiceResourceTypeDef#

# PutRequestServiceResourceTypeDef usage example

from mypy_boto3_dynamodb.type_defs import PutRequestServiceResourceTypeDef

def get_value() -> PutRequestServiceResourceTypeDef:
    return {
        "Item": ...,
    }
# 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]],

TableClassSummaryTableTypeDef#

# TableClassSummaryTableTypeDef usage example

from mypy_boto3_dynamodb.type_defs import TableClassSummaryTableTypeDef

def get_value() -> TableClassSummaryTableTypeDef:
    return {
        "TableClass": ...,
    }
# TableClassSummaryTableTypeDef definition

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

TableClassSummaryTypeDef#

# TableClassSummaryTypeDef usage example

from mypy_boto3_dynamodb.type_defs import TableClassSummaryTypeDef

def get_value() -> TableClassSummaryTypeDef:
    return {
        "TableClass": ...,
    }
# TableClassSummaryTypeDef definition

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

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
# ResponseMetadataTypeDef definition

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

RestoreSummaryResponseMetadataTypeDef#

# RestoreSummaryResponseMetadataTypeDef usage example

from mypy_boto3_dynamodb.type_defs import RestoreSummaryResponseMetadataTypeDef

def get_value() -> RestoreSummaryResponseMetadataTypeDef:
    return {
        "SourceBackupArn": ...,
        "SourceTableArn": ...,
        "RestoreDateTime": ...,
        "RestoreInProgress": ...,
        "ResponseMetadata": ...,
    }
# RestoreSummaryResponseMetadataTypeDef definition

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

RestoreSummaryTableTypeDef#

# RestoreSummaryTableTypeDef usage example

from mypy_boto3_dynamodb.type_defs import RestoreSummaryTableTypeDef

def get_value() -> RestoreSummaryTableTypeDef:
    return {
        "RestoreDateTime": ...,
        "RestoreInProgress": ...,
    }
# RestoreSummaryTableTypeDef definition

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

RestoreSummaryTypeDef#

# RestoreSummaryTypeDef usage example

from mypy_boto3_dynamodb.type_defs import RestoreSummaryTypeDef

def get_value() -> RestoreSummaryTypeDef:
    return {
        "RestoreDateTime": ...,
        "RestoreInProgress": ...,
    }
# RestoreSummaryTypeDef definition

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

SSEDescriptionResponseMetadataTypeDef#

# SSEDescriptionResponseMetadataTypeDef usage example

from mypy_boto3_dynamodb.type_defs import SSEDescriptionResponseMetadataTypeDef

def get_value() -> SSEDescriptionResponseMetadataTypeDef:
    return {
        "Status": ...,
        "SSEType": ...,
        "KMSMasterKeyArn": ...,
        "InaccessibleEncryptionDateTime": ...,
        "ResponseMetadata": ...,
    }
# SSEDescriptionResponseMetadataTypeDef definition

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

SSEDescriptionTableTypeDef#

# SSEDescriptionTableTypeDef usage example

from mypy_boto3_dynamodb.type_defs import SSEDescriptionTableTypeDef

def get_value() -> SSEDescriptionTableTypeDef:
    return {
        "Status": ...,
    }
# SSEDescriptionTableTypeDef definition

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

SSEDescriptionTypeDef#

# SSEDescriptionTypeDef usage example

from mypy_boto3_dynamodb.type_defs import SSEDescriptionTypeDef

def get_value() -> SSEDescriptionTypeDef:
    return {
        "Status": ...,
    }
# 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

SSESpecificationTableTypeDef#

# SSESpecificationTableTypeDef usage example

from mypy_boto3_dynamodb.type_defs import SSESpecificationTableTypeDef

def get_value() -> SSESpecificationTableTypeDef:
    return {
        "Enabled": ...,
    }
# SSESpecificationTableTypeDef definition

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

StreamSpecificationResponseMetadataTypeDef#

# StreamSpecificationResponseMetadataTypeDef usage example

from mypy_boto3_dynamodb.type_defs import StreamSpecificationResponseMetadataTypeDef

def get_value() -> StreamSpecificationResponseMetadataTypeDef:
    return {
        "StreamEnabled": ...,
        "StreamViewType": ...,
        "ResponseMetadata": ...,
    }
# StreamSpecificationResponseMetadataTypeDef definition

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

StreamSpecificationTableTypeDef#

# StreamSpecificationTableTypeDef usage example

from mypy_boto3_dynamodb.type_defs import StreamSpecificationTableTypeDef

def get_value() -> StreamSpecificationTableTypeDef:
    return {
        "StreamEnabled": ...,
    }
# StreamSpecificationTableTypeDef definition

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

TableBatchWriterRequestTypeDef#

# TableBatchWriterRequestTypeDef usage example

from mypy_boto3_dynamodb.type_defs import TableBatchWriterRequestTypeDef

def get_value() -> TableBatchWriterRequestTypeDef:
    return {
        "overwrite_by_pkeys": ...,
    }
# TableBatchWriterRequestTypeDef definition

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

TableClassSummaryResponseMetadataTypeDef#

# TableClassSummaryResponseMetadataTypeDef usage example

from mypy_boto3_dynamodb.type_defs import TableClassSummaryResponseMetadataTypeDef

def get_value() -> TableClassSummaryResponseMetadataTypeDef:
    return {
        "TableClass": ...,
        "LastUpdateDateTime": ...,
        "ResponseMetadata": ...,
    }
# TableClassSummaryResponseMetadataTypeDef definition

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

TimeToLiveSpecificationTypeDef#

# TimeToLiveSpecificationTypeDef usage example

from mypy_boto3_dynamodb.type_defs import TimeToLiveSpecificationTypeDef

def get_value() -> TimeToLiveSpecificationTypeDef:
    return {
        "Enabled": ...,
        "AttributeName": ...,
    }
# TimeToLiveSpecificationTypeDef definition

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

UntagResourceInputRequestTypeDef#

# UntagResourceInputRequestTypeDef usage example

from mypy_boto3_dynamodb.type_defs import UntagResourceInputRequestTypeDef

def get_value() -> UntagResourceInputRequestTypeDef:
    return {
        "ResourceArn": ...,
        "TagKeys": ...,
    }
# UntagResourceInputRequestTypeDef definition

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

UpdateContributorInsightsInputRequestTypeDef#

# UpdateContributorInsightsInputRequestTypeDef usage example

from mypy_boto3_dynamodb.type_defs import UpdateContributorInsightsInputRequestTypeDef

def get_value() -> UpdateContributorInsightsInputRequestTypeDef:
    return {
        "TableName": ...,
        "ContributorInsightsAction": ...,
    }
# UpdateContributorInsightsInputRequestTypeDef definition

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

UpdateContributorInsightsOutputTypeDef#

# UpdateContributorInsightsOutputTypeDef usage example

from mypy_boto3_dynamodb.type_defs import UpdateContributorInsightsOutputTypeDef

def get_value() -> UpdateContributorInsightsOutputTypeDef:
    return {
        "TableName": ...,
        "IndexName": ...,
        "ContributorInsightsStatus": ...,
        "ResponseMetadata": ...,
    }
# UpdateContributorInsightsOutputTypeDef definition

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

AttributeValueUpdateTypeDef#

# AttributeValueUpdateTypeDef usage example

from mypy_boto3_dynamodb.type_defs import AttributeValueUpdateTypeDef

def get_value() -> AttributeValueUpdateTypeDef:
    return {
        "Value": ...,
    }
# AttributeValueUpdateTypeDef definition

class AttributeValueUpdateTypeDef(TypedDict):
    Value: NotRequired[Union[AttributeValueTypeDef, Union[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 usage example

from mypy_boto3_dynamodb.type_defs import BatchStatementRequestTypeDef

def get_value() -> BatchStatementRequestTypeDef:
    return {
        "Statement": ...,
    }
# BatchStatementRequestTypeDef definition

class BatchStatementRequestTypeDef(TypedDict):
    Statement: str,
    Parameters: NotRequired[Sequence[Union[AttributeValueTypeDef, Union[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],
  1. See AttributeValueTypeDef

ConditionCheckTypeDef#

# ConditionCheckTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ConditionCheckTypeDef

def get_value() -> ConditionCheckTypeDef:
    return {
        "Key": ...,
        "TableName": ...,
        "ConditionExpression": ...,
    }
# ConditionCheckTypeDef definition

class ConditionCheckTypeDef(TypedDict):
    Key: Mapping[str, Union[AttributeValueTypeDef, Union[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, Union[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 usage example

from mypy_boto3_dynamodb.type_defs import ConditionTypeDef

def get_value() -> ConditionTypeDef:
    return {
        "ComparisonOperator": ...,
    }
# ConditionTypeDef definition

class ConditionTypeDef(TypedDict):
    ComparisonOperator: ComparisonOperatorType,  # (2)
    AttributeValueList: NotRequired[Sequence[Union[AttributeValueTypeDef, Union[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 usage example

from mypy_boto3_dynamodb.type_defs import DeleteRequestTypeDef

def get_value() -> DeleteRequestTypeDef:
    return {
        "Key": ...,
    }
# DeleteRequestTypeDef definition

class DeleteRequestTypeDef(TypedDict):
    Key: Mapping[str, Union[AttributeValueTypeDef, Union[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 usage example

from mypy_boto3_dynamodb.type_defs import DeleteTypeDef

def get_value() -> DeleteTypeDef:
    return {
        "Key": ...,
        "TableName": ...,
    }
# DeleteTypeDef definition

class DeleteTypeDef(TypedDict):
    Key: Mapping[str, Union[AttributeValueTypeDef, Union[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, Union[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 usage example

from mypy_boto3_dynamodb.type_defs import ExecuteStatementInputRequestTypeDef

def get_value() -> ExecuteStatementInputRequestTypeDef:
    return {
        "Statement": ...,
    }
# ExecuteStatementInputRequestTypeDef definition

class ExecuteStatementInputRequestTypeDef(TypedDict):
    Statement: str,
    Parameters: NotRequired[Sequence[Union[AttributeValueTypeDef, Union[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],
  1. See AttributeValueTypeDef
  2. See ReturnConsumedCapacityType

ExpectedAttributeValueTypeDef#

# ExpectedAttributeValueTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ExpectedAttributeValueTypeDef

def get_value() -> ExpectedAttributeValueTypeDef:
    return {
        "Value": ...,
    }
# ExpectedAttributeValueTypeDef definition

class ExpectedAttributeValueTypeDef(TypedDict):
    Value: NotRequired[Union[AttributeValueTypeDef, Union[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, Union[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 usage example

from mypy_boto3_dynamodb.type_defs import GetItemInputRequestTypeDef

def get_value() -> GetItemInputRequestTypeDef:
    return {
        "TableName": ...,
        "Key": ...,
    }
# GetItemInputRequestTypeDef definition

class GetItemInputRequestTypeDef(TypedDict):
    TableName: str,
    Key: Mapping[str, Union[AttributeValueTypeDef, Union[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 usage example

from mypy_boto3_dynamodb.type_defs import GetTypeDef

def get_value() -> GetTypeDef:
    return {
        "Key": ...,
        "TableName": ...,
    }
# GetTypeDef definition

class GetTypeDef(TypedDict):
    Key: Mapping[str, Union[AttributeValueTypeDef, Union[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

ItemCollectionMetricsTypeDef#

# ItemCollectionMetricsTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ItemCollectionMetricsTypeDef

def get_value() -> ItemCollectionMetricsTypeDef:
    return {
        "ItemCollectionKey": ...,
    }
# ItemCollectionMetricsTypeDef definition

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

ItemResponseTypeDef#

# ItemResponseTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ItemResponseTypeDef

def get_value() -> ItemResponseTypeDef:
    return {
        "Item": ...,
    }
# ItemResponseTypeDef definition

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

KeysAndAttributesTypeDef#

# KeysAndAttributesTypeDef usage example

from mypy_boto3_dynamodb.type_defs import KeysAndAttributesTypeDef

def get_value() -> KeysAndAttributesTypeDef:
    return {
        "Keys": ...,
    }
# KeysAndAttributesTypeDef definition

class KeysAndAttributesTypeDef(TypedDict):
    Keys: Sequence[Mapping[str, Union[AttributeValueTypeDef, Union[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 usage example

from mypy_boto3_dynamodb.type_defs import ParameterizedStatementTypeDef

def get_value() -> ParameterizedStatementTypeDef:
    return {
        "Statement": ...,
    }
# ParameterizedStatementTypeDef definition

class ParameterizedStatementTypeDef(TypedDict):
    Statement: str,
    Parameters: NotRequired[Sequence[Union[AttributeValueTypeDef, Union[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

PutRequestTypeDef#

# PutRequestTypeDef usage example

from mypy_boto3_dynamodb.type_defs import PutRequestTypeDef

def get_value() -> PutRequestTypeDef:
    return {
        "Item": ...,
    }
# PutRequestTypeDef definition

class PutRequestTypeDef(TypedDict):
    Item: Mapping[str, Union[AttributeValueTypeDef, Union[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 usage example

from mypy_boto3_dynamodb.type_defs import PutTypeDef

def get_value() -> PutTypeDef:
    return {
        "Item": ...,
        "TableName": ...,
    }
# PutTypeDef definition

class PutTypeDef(TypedDict):
    Item: Mapping[str, Union[AttributeValueTypeDef, Union[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, Union[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 usage example

from mypy_boto3_dynamodb.type_defs import UpdateTypeDef

def get_value() -> UpdateTypeDef:
    return {
        "Key": ...,
        "UpdateExpression": ...,
        "TableName": ...,
    }
# UpdateTypeDef definition

class UpdateTypeDef(TypedDict):
    Key: Mapping[str, Union[AttributeValueTypeDef, Union[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, Union[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

AutoScalingPolicyDescriptionTypeDef#

# AutoScalingPolicyDescriptionTypeDef usage example

from mypy_boto3_dynamodb.type_defs import AutoScalingPolicyDescriptionTypeDef

def get_value() -> AutoScalingPolicyDescriptionTypeDef:
    return {
        "PolicyName": ...,
    }
# AutoScalingPolicyDescriptionTypeDef definition

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

AutoScalingPolicyUpdateTypeDef#

# AutoScalingPolicyUpdateTypeDef usage example

from mypy_boto3_dynamodb.type_defs import AutoScalingPolicyUpdateTypeDef

def get_value() -> AutoScalingPolicyUpdateTypeDef:
    return {
        "TargetTrackingScalingPolicyConfiguration": ...,
    }
# AutoScalingPolicyUpdateTypeDef definition

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

CreateBackupOutputTypeDef#

# CreateBackupOutputTypeDef usage example

from mypy_boto3_dynamodb.type_defs import CreateBackupOutputTypeDef

def get_value() -> CreateBackupOutputTypeDef:
    return {
        "BackupDetails": ...,
        "ResponseMetadata": ...,
    }
# CreateBackupOutputTypeDef definition

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

ListBackupsOutputTableTypeDef#

# ListBackupsOutputTableTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ListBackupsOutputTableTypeDef

def get_value() -> ListBackupsOutputTableTypeDef:
    return {
        "BackupSummaries": ...,
        "LastEvaluatedBackupArn": ...,
        "ResponseMetadata": ...,
    }
# ListBackupsOutputTableTypeDef definition

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

ListBackupsOutputTypeDef#

# ListBackupsOutputTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ListBackupsOutputTypeDef

def get_value() -> ListBackupsOutputTypeDef:
    return {
        "BackupSummaries": ...,
        "LastEvaluatedBackupArn": ...,
        "ResponseMetadata": ...,
    }
# ListBackupsOutputTypeDef definition

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

BatchGetItemInputServiceResourceBatchGetItemTypeDef#

# BatchGetItemInputServiceResourceBatchGetItemTypeDef usage example

from mypy_boto3_dynamodb.type_defs import BatchGetItemInputServiceResourceBatchGetItemTypeDef

def get_value() -> BatchGetItemInputServiceResourceBatchGetItemTypeDef:
    return {
        "RequestItems": ...,
    }
# BatchGetItemInputServiceResourceBatchGetItemTypeDef definition

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

BatchStatementResponseTypeDef#

# BatchStatementResponseTypeDef usage example

from mypy_boto3_dynamodb.type_defs import BatchStatementResponseTypeDef

def get_value() -> BatchStatementResponseTypeDef:
    return {
        "Error": ...,
    }
# BatchStatementResponseTypeDef definition

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

ConsumedCapacityServiceResourceTypeDef#

# ConsumedCapacityServiceResourceTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ConsumedCapacityServiceResourceTypeDef

def get_value() -> ConsumedCapacityServiceResourceTypeDef:
    return {
        "TableName": ...,
    }
# ConsumedCapacityServiceResourceTypeDef definition

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

ConsumedCapacityTableTypeDef#

# ConsumedCapacityTableTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ConsumedCapacityTableTypeDef

def get_value() -> ConsumedCapacityTableTypeDef:
    return {
        "TableName": ...,
    }
# ConsumedCapacityTableTypeDef definition

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

ConsumedCapacityTypeDef#

# ConsumedCapacityTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ConsumedCapacityTypeDef

def get_value() -> ConsumedCapacityTypeDef:
    return {
        "TableName": ...,
    }
# 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

QueryInputQueryPaginateTypeDef#

# QueryInputQueryPaginateTypeDef usage example

from mypy_boto3_dynamodb.type_defs import QueryInputQueryPaginateTypeDef

def get_value() -> QueryInputQueryPaginateTypeDef:
    return {
        "TableName": ...,
    }
# 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, ConditionTableTypeDef]],  # (2)
    QueryFilter: NotRequired[Mapping[str, ConditionTableTypeDef]],  # (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[bytes, bytearray, str, int, Decimal, bool, Set[int], Set[Decimal], Set[str], Set[bytes], Set[bytearray], Sequence[Any], Mapping[str, Any], None]]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (6)
  1. See SelectType
  2. See ConditionTableTypeDef
  3. See ConditionTableTypeDef
  4. See ConditionalOperatorType
  5. See ReturnConsumedCapacityType
  6. See PaginatorConfigTypeDef

QueryInputTableQueryTypeDef#

# QueryInputTableQueryTypeDef usage example

from mypy_boto3_dynamodb.type_defs import QueryInputTableQueryTypeDef

def get_value() -> QueryInputTableQueryTypeDef:
    return {
        "IndexName": ...,
    }
# 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

ScanInputScanPaginateTypeDef#

# ScanInputScanPaginateTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ScanInputScanPaginateTypeDef

def get_value() -> ScanInputScanPaginateTypeDef:
    return {
        "TableName": ...,
    }
# ScanInputScanPaginateTypeDef definition

class ScanInputScanPaginateTypeDef(TypedDict):
    TableName: str,
    IndexName: NotRequired[str],
    AttributesToGet: NotRequired[Sequence[str]],
    Select: NotRequired[SelectType],  # (1)
    ScanFilter: NotRequired[Mapping[str, ConditionTableTypeDef]],  # (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[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],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (5)
  1. See SelectType
  2. See ConditionTableTypeDef
  3. See ConditionalOperatorType
  4. See ReturnConsumedCapacityType
  5. See PaginatorConfigTypeDef

ScanInputTableScanTypeDef#

# ScanInputTableScanTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ScanInputTableScanTypeDef

def get_value() -> ScanInputTableScanTypeDef:
    return {
        "IndexName": ...,
    }
# 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

ContinuousBackupsDescriptionTypeDef#

# ContinuousBackupsDescriptionTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ContinuousBackupsDescriptionTypeDef

def get_value() -> ContinuousBackupsDescriptionTypeDef:
    return {
        "ContinuousBackupsStatus": ...,
    }
# ContinuousBackupsDescriptionTypeDef definition

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

ListContributorInsightsOutputTypeDef#

# ListContributorInsightsOutputTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ListContributorInsightsOutputTypeDef

def get_value() -> ListContributorInsightsOutputTypeDef:
    return {
        "ContributorInsightsSummaries": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# ListContributorInsightsOutputTypeDef definition

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

LocalSecondaryIndexDescriptionTableTypeDef#

# LocalSecondaryIndexDescriptionTableTypeDef usage example

from mypy_boto3_dynamodb.type_defs import LocalSecondaryIndexDescriptionTableTypeDef

def get_value() -> LocalSecondaryIndexDescriptionTableTypeDef:
    return {
        "IndexName": ...,
    }
# LocalSecondaryIndexDescriptionTableTypeDef definition

class LocalSecondaryIndexDescriptionTableTypeDef(TypedDict):
    IndexName: NotRequired[str],
    KeySchema: NotRequired[List[KeySchemaElementTableTypeDef]],  # (1)
    Projection: NotRequired[ProjectionTableTypeDef],  # (2)
    IndexSizeBytes: NotRequired[int],
    ItemCount: NotRequired[int],
    IndexArn: NotRequired[str],
  1. See KeySchemaElementTableTypeDef
  2. See ProjectionTableTypeDef

CreateGlobalSecondaryIndexActionTableTypeDef#

# CreateGlobalSecondaryIndexActionTableTypeDef usage example

from mypy_boto3_dynamodb.type_defs import CreateGlobalSecondaryIndexActionTableTypeDef

def get_value() -> CreateGlobalSecondaryIndexActionTableTypeDef:
    return {
        "IndexName": ...,
        "KeySchema": ...,
        "Projection": ...,
    }
# CreateGlobalSecondaryIndexActionTableTypeDef definition

class CreateGlobalSecondaryIndexActionTableTypeDef(TypedDict):
    IndexName: str,
    KeySchema: Sequence[KeySchemaElementTableTypeDef],  # (1)
    Projection: ProjectionTableTypeDef,  # (2)
    ProvisionedThroughput: NotRequired[ProvisionedThroughputTableTypeDef],  # (3)
  1. See KeySchemaElementTableTypeDef
  2. See ProjectionTableTypeDef
  3. See ProvisionedThroughputTableTypeDef

UpdateGlobalSecondaryIndexActionTableTypeDef#

# UpdateGlobalSecondaryIndexActionTableTypeDef usage example

from mypy_boto3_dynamodb.type_defs import UpdateGlobalSecondaryIndexActionTableTypeDef

def get_value() -> UpdateGlobalSecondaryIndexActionTableTypeDef:
    return {
        "IndexName": ...,
        "ProvisionedThroughput": ...,
    }
# UpdateGlobalSecondaryIndexActionTableTypeDef definition

class UpdateGlobalSecondaryIndexActionTableTypeDef(TypedDict):
    IndexName: str,
    ProvisionedThroughput: ProvisionedThroughputTableTypeDef,  # (1)
  1. See ProvisionedThroughputTableTypeDef

LocalSecondaryIndexDescriptionTypeDef#

# LocalSecondaryIndexDescriptionTypeDef usage example

from mypy_boto3_dynamodb.type_defs import LocalSecondaryIndexDescriptionTypeDef

def get_value() -> LocalSecondaryIndexDescriptionTypeDef:
    return {
        "IndexName": ...,
    }
# LocalSecondaryIndexDescriptionTypeDef definition

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

LocalSecondaryIndexInfoTypeDef#

# LocalSecondaryIndexInfoTypeDef usage example

from mypy_boto3_dynamodb.type_defs import LocalSecondaryIndexInfoTypeDef

def get_value() -> LocalSecondaryIndexInfoTypeDef:
    return {
        "IndexName": ...,
    }
# LocalSecondaryIndexInfoTypeDef definition

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

LocalSecondaryIndexTypeDef#

# LocalSecondaryIndexTypeDef usage example

from mypy_boto3_dynamodb.type_defs import LocalSecondaryIndexTypeDef

def get_value() -> LocalSecondaryIndexTypeDef:
    return {
        "IndexName": ...,
        "KeySchema": ...,
        "Projection": ...,
    }
# LocalSecondaryIndexTypeDef definition

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

CreateGlobalSecondaryIndexActionTypeDef#

# CreateGlobalSecondaryIndexActionTypeDef usage example

from mypy_boto3_dynamodb.type_defs import CreateGlobalSecondaryIndexActionTypeDef

def get_value() -> CreateGlobalSecondaryIndexActionTypeDef:
    return {
        "IndexName": ...,
        "KeySchema": ...,
        "Projection": ...,
    }
# 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

GlobalSecondaryIndexInfoTypeDef#

# GlobalSecondaryIndexInfoTypeDef usage example

from mypy_boto3_dynamodb.type_defs import GlobalSecondaryIndexInfoTypeDef

def get_value() -> GlobalSecondaryIndexInfoTypeDef:
    return {
        "IndexName": ...,
    }
# GlobalSecondaryIndexInfoTypeDef definition

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

GlobalSecondaryIndexTypeDef#

# GlobalSecondaryIndexTypeDef usage example

from mypy_boto3_dynamodb.type_defs import GlobalSecondaryIndexTypeDef

def get_value() -> GlobalSecondaryIndexTypeDef:
    return {
        "IndexName": ...,
        "KeySchema": ...,
        "Projection": ...,
    }
# 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 usage example

from mypy_boto3_dynamodb.type_defs import SourceTableDetailsTypeDef

def get_value() -> SourceTableDetailsTypeDef:
    return {
        "TableName": ...,
        "TableId": ...,
        "KeySchema": ...,
        "TableCreationDateTime": ...,
        "ProvisionedThroughput": ...,
    }
# 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 usage example

from mypy_boto3_dynamodb.type_defs import UpdateGlobalSecondaryIndexActionTypeDef

def get_value() -> UpdateGlobalSecondaryIndexActionTypeDef:
    return {
        "IndexName": ...,
        "ProvisionedThroughput": ...,
    }
# UpdateGlobalSecondaryIndexActionTypeDef definition

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

CreateGlobalTableInputRequestTypeDef#

# CreateGlobalTableInputRequestTypeDef usage example

from mypy_boto3_dynamodb.type_defs import CreateGlobalTableInputRequestTypeDef

def get_value() -> CreateGlobalTableInputRequestTypeDef:
    return {
        "GlobalTableName": ...,
        "ReplicationGroup": ...,
    }
# CreateGlobalTableInputRequestTypeDef definition

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

GlobalTableTypeDef#

# GlobalTableTypeDef usage example

from mypy_boto3_dynamodb.type_defs import GlobalTableTypeDef

def get_value() -> GlobalTableTypeDef:
    return {
        "GlobalTableName": ...,
    }
# GlobalTableTypeDef definition

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

ReplicaGlobalSecondaryIndexDescriptionTableTypeDef#

# ReplicaGlobalSecondaryIndexDescriptionTableTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ReplicaGlobalSecondaryIndexDescriptionTableTypeDef

def get_value() -> ReplicaGlobalSecondaryIndexDescriptionTableTypeDef:
    return {
        "IndexName": ...,
    }
# ReplicaGlobalSecondaryIndexDescriptionTableTypeDef definition

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

ReplicaGlobalSecondaryIndexTableTypeDef#

# ReplicaGlobalSecondaryIndexTableTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ReplicaGlobalSecondaryIndexTableTypeDef

def get_value() -> ReplicaGlobalSecondaryIndexTableTypeDef:
    return {
        "IndexName": ...,
    }
# ReplicaGlobalSecondaryIndexTableTypeDef definition

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

ReplicaGlobalSecondaryIndexDescriptionTypeDef#

# ReplicaGlobalSecondaryIndexDescriptionTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ReplicaGlobalSecondaryIndexDescriptionTypeDef

def get_value() -> ReplicaGlobalSecondaryIndexDescriptionTypeDef:
    return {
        "IndexName": ...,
    }
# ReplicaGlobalSecondaryIndexDescriptionTypeDef definition

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

ReplicaGlobalSecondaryIndexTypeDef#

# ReplicaGlobalSecondaryIndexTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ReplicaGlobalSecondaryIndexTypeDef

def get_value() -> ReplicaGlobalSecondaryIndexTypeDef:
    return {
        "IndexName": ...,
    }
# ReplicaGlobalSecondaryIndexTypeDef definition

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

ListTagsOfResourceOutputTypeDef#

# ListTagsOfResourceOutputTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ListTagsOfResourceOutputTypeDef

def get_value() -> ListTagsOfResourceOutputTypeDef:
    return {
        "Tags": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# ListTagsOfResourceOutputTypeDef definition

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

TagResourceInputRequestTypeDef#

# TagResourceInputRequestTypeDef usage example

from mypy_boto3_dynamodb.type_defs import TagResourceInputRequestTypeDef

def get_value() -> TagResourceInputRequestTypeDef:
    return {
        "ResourceArn": ...,
        "Tags": ...,
    }
# TagResourceInputRequestTypeDef definition

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

InputFormatOptionsTypeDef#

# InputFormatOptionsTypeDef usage example

from mypy_boto3_dynamodb.type_defs import InputFormatOptionsTypeDef

def get_value() -> InputFormatOptionsTypeDef:
    return {
        "Csv": ...,
    }
# InputFormatOptionsTypeDef definition

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

DeleteItemInputTableDeleteItemTypeDef#

# DeleteItemInputTableDeleteItemTypeDef usage example

from mypy_boto3_dynamodb.type_defs import DeleteItemInputTableDeleteItemTypeDef

def get_value() -> DeleteItemInputTableDeleteItemTypeDef:
    return {
        "Key": ...,
    }
# 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]]],
  1. See ExpectedAttributeValueTableTypeDef
  2. See ConditionalOperatorType
  3. See ReturnValueType
  4. See ReturnConsumedCapacityType
  5. See ReturnItemCollectionMetricsType

PutItemInputTablePutItemTypeDef#

# PutItemInputTablePutItemTypeDef usage example

from mypy_boto3_dynamodb.type_defs import PutItemInputTablePutItemTypeDef

def get_value() -> PutItemInputTablePutItemTypeDef:
    return {
        "Item": ...,
    }
# 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]]],
  1. See ExpectedAttributeValueTableTypeDef
  2. See ReturnValueType
  3. See ReturnConsumedCapacityType
  4. See ReturnItemCollectionMetricsType
  5. See ConditionalOperatorType

UpdateItemInputTableUpdateItemTypeDef#

# UpdateItemInputTableUpdateItemTypeDef usage example

from mypy_boto3_dynamodb.type_defs import UpdateItemInputTableUpdateItemTypeDef

def get_value() -> UpdateItemInputTableUpdateItemTypeDef:
    return {
        "Key": ...,
    }
# 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]]],
  1. See AttributeValueUpdateTableTypeDef
  2. See ExpectedAttributeValueTableTypeDef
  3. See ConditionalOperatorType
  4. See ReturnValueType
  5. See ReturnConsumedCapacityType
  6. See ReturnItemCollectionMetricsType

ReplicaUpdateTypeDef#

# ReplicaUpdateTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ReplicaUpdateTypeDef

def get_value() -> ReplicaUpdateTypeDef:
    return {
        "Create": ...,
    }
# ReplicaUpdateTypeDef definition

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

DescribeContributorInsightsOutputTypeDef#

# DescribeContributorInsightsOutputTypeDef usage example

from mypy_boto3_dynamodb.type_defs import DescribeContributorInsightsOutputTypeDef

def get_value() -> DescribeContributorInsightsOutputTypeDef:
    return {
        "TableName": ...,
        "IndexName": ...,
        "ContributorInsightsRuleList": ...,
        "ContributorInsightsStatus": ...,
        "LastUpdateDateTime": ...,
        "FailureException": ...,
        "ResponseMetadata": ...,
    }
# 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 usage example

from mypy_boto3_dynamodb.type_defs import DescribeEndpointsResponseTypeDef

def get_value() -> DescribeEndpointsResponseTypeDef:
    return {
        "Endpoints": ...,
        "ResponseMetadata": ...,
    }
# DescribeEndpointsResponseTypeDef definition

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

DescribeExportOutputTypeDef#

# DescribeExportOutputTypeDef usage example

from mypy_boto3_dynamodb.type_defs import DescribeExportOutputTypeDef

def get_value() -> DescribeExportOutputTypeDef:
    return {
        "ExportDescription": ...,
        "ResponseMetadata": ...,
    }
# DescribeExportOutputTypeDef definition

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

ExportTableToPointInTimeOutputTypeDef#

# ExportTableToPointInTimeOutputTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ExportTableToPointInTimeOutputTypeDef

def get_value() -> ExportTableToPointInTimeOutputTypeDef:
    return {
        "ExportDescription": ...,
        "ResponseMetadata": ...,
    }
# ExportTableToPointInTimeOutputTypeDef definition

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

DescribeKinesisStreamingDestinationOutputTypeDef#

# DescribeKinesisStreamingDestinationOutputTypeDef usage example

from mypy_boto3_dynamodb.type_defs import DescribeKinesisStreamingDestinationOutputTypeDef

def get_value() -> DescribeKinesisStreamingDestinationOutputTypeDef:
    return {
        "TableName": ...,
        "KinesisDataStreamDestinations": ...,
        "ResponseMetadata": ...,
    }
# DescribeKinesisStreamingDestinationOutputTypeDef definition

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

DescribeTableInputTableExistsWaitTypeDef#

# DescribeTableInputTableExistsWaitTypeDef usage example

from mypy_boto3_dynamodb.type_defs import DescribeTableInputTableExistsWaitTypeDef

def get_value() -> DescribeTableInputTableExistsWaitTypeDef:
    return {
        "TableName": ...,
    }
# DescribeTableInputTableExistsWaitTypeDef definition

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

DescribeTableInputTableNotExistsWaitTypeDef#

# DescribeTableInputTableNotExistsWaitTypeDef usage example

from mypy_boto3_dynamodb.type_defs import DescribeTableInputTableNotExistsWaitTypeDef

def get_value() -> DescribeTableInputTableNotExistsWaitTypeDef:
    return {
        "TableName": ...,
    }
# DescribeTableInputTableNotExistsWaitTypeDef definition

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

DescribeTimeToLiveOutputTypeDef#

# DescribeTimeToLiveOutputTypeDef usage example

from mypy_boto3_dynamodb.type_defs import DescribeTimeToLiveOutputTypeDef

def get_value() -> DescribeTimeToLiveOutputTypeDef:
    return {
        "TimeToLiveDescription": ...,
        "ResponseMetadata": ...,
    }
# DescribeTimeToLiveOutputTypeDef definition

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

ListExportsOutputTypeDef#

# ListExportsOutputTypeDef usage example

from mypy_boto3_dynamodb.type_defs import ListExportsOutputTypeDef

def get_value() -> ListExportsOutputTypeDef:
    return {
        "ExportSummaries": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# ListExportsOutputTypeDef definition

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

GlobalSecondaryIndexDescriptionTableTypeDef#

# GlobalSecondaryIndexDescriptionTableTypeDef usage example

from mypy_boto3_dynamodb.type_defs import GlobalSecondaryIndexDescriptionTableTypeDef

def get_value() -> GlobalSecondaryIndexDescriptionTableTypeDef:
    return {
        "IndexName": ...,
    }
# GlobalSecondaryIndexDescriptionTableTypeDef definition

class GlobalSecondaryIndexDescriptionTableTypeDef(TypedDict):
    IndexName: NotRequired[str],
    KeySchema: NotRequired[List[KeySchemaElementTableTypeDef]],  # (1)
    Projection: NotRequired[ProjectionTableTypeDef],  # (2)
    IndexStatus: NotRequired[IndexStatusType],  # (3)
    Backfilling: NotRequired[bool],
    ProvisionedThroughput: NotRequired[ProvisionedThroughputDescriptionTableTypeDef],  # (4)
    IndexSizeBytes: NotRequired[int],
    ItemCount: NotRequired[int],
    IndexArn: NotRequired[str],
  1. See KeySchemaElementTableTypeDef
  2. See ProjectionTableTypeDef
  3. See IndexStatusType
  4. See ProvisionedThroughputDescriptionTableTypeDef

GlobalSecondaryIndexDescriptionTypeDef#

# GlobalSecondaryIndexDescriptionTypeDef usage example

from mypy_boto3_dynamodb.type_defs import GlobalSecondaryIndexDescriptionTypeDef

def get_value() -> GlobalSecondaryIndexDescriptionTypeDef:
    return {
        "IndexName": ...,
    }
# GlobalSecondaryIndexDescriptionTypeDef definition

class GlobalSecondaryIndexDescriptionTypeDef(TypedDict):
    IndexName: NotRequired[str],
    KeySchema: NotRequired[List[KeySchemaElementTypeDef]],  # (1)
    Projection: NotRequired[ProjectionTypeDef],  # (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 ProjectionTypeDef
  3. See IndexStatusType
  4. See ProvisionedThroughputDescriptionTypeDef

GlobalSecondaryIndexServiceResourceTypeDef#

# GlobalSecondaryIndexServiceResourceTypeDef usage example

from mypy_boto3_dynamodb.type_defs import GlobalSecondaryIndexServiceResourceTypeDef

def get_value() -> GlobalSecondaryIndexServiceResourceTypeDef:
    return {
        "IndexName": ...,
        "KeySchema": ...,
        "Projection": ...,
    }
# GlobalSecondaryIndexServiceResourceTypeDef definition

class GlobalSecondaryIndexServiceResourceTypeDef(TypedDict):
    IndexName: str,
    KeySchema: Sequence[KeySchemaElementServiceResourceTypeDef],  # (1)
    Projection: ProjectionServiceResourceTypeDef,  # (2)
    ProvisionedThroughput: NotRequired[ProvisionedThroughputServiceResourceTypeDef],  # (3)
  1. See