Skip to content

Type definitions#

Index > DynamoDB > Type definitions

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

TableAttributeValueTypeDef#

# TableAttributeValueTypeDef Union usage example

from types_boto3_dynamodb.type_defs import TableAttributeValueTypeDef


def get_value() -> TableAttributeValueTypeDef:
    return ...


# TableAttributeValueTypeDef definition

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

ConditionBaseImportTypeDef#

# ConditionBaseImportTypeDef Union usage example

from types_boto3_dynamodb.type_defs import ConditionBaseImportTypeDef


def get_value() -> ConditionBaseImportTypeDef:
    return ...


# ConditionBaseImportTypeDef definition

ConditionBaseImportTypeDef = Union[
    str,
    ConditionBase,
]

TimestampTypeDef#

# TimestampTypeDef Union usage example

from types_boto3_dynamodb.type_defs import TimestampTypeDef


def get_value() -> TimestampTypeDef:
    return ...


# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

UniversalAttributeValueTypeDef#

# UniversalAttributeValueTypeDef Union usage example

from types_boto3_dynamodb.type_defs import UniversalAttributeValueTypeDef


def get_value() -> UniversalAttributeValueTypeDef:
    return ...


# UniversalAttributeValueTypeDef definition

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

ProjectionUnionTypeDef#

# ProjectionUnionTypeDef Union usage example

from types_boto3_dynamodb.type_defs import ProjectionUnionTypeDef


def get_value() -> ProjectionUnionTypeDef:
    return ...


# ProjectionUnionTypeDef definition

ProjectionUnionTypeDef = Union[
    ProjectionTypeDef,  # (1)
    ProjectionOutputTypeDef,  # (2)
]
  1. See ProjectionTypeDef
  2. See ProjectionOutputTypeDef

DeleteRequestServiceResourceUnionTypeDef#

# DeleteRequestServiceResourceUnionTypeDef Union usage example

from types_boto3_dynamodb.type_defs import DeleteRequestServiceResourceUnionTypeDef


def get_value() -> DeleteRequestServiceResourceUnionTypeDef:
    return ...


# DeleteRequestServiceResourceUnionTypeDef definition

DeleteRequestServiceResourceUnionTypeDef = Union[
    DeleteRequestServiceResourceTypeDef,  # (1)
    DeleteRequestServiceResourceOutputTypeDef,  # (2)
]
  1. See DeleteRequestServiceResourceTypeDef
  2. See DeleteRequestServiceResourceOutputTypeDef

KeysAndAttributesServiceResourceUnionTypeDef#

# KeysAndAttributesServiceResourceUnionTypeDef Union usage example

from types_boto3_dynamodb.type_defs import KeysAndAttributesServiceResourceUnionTypeDef


def get_value() -> KeysAndAttributesServiceResourceUnionTypeDef:
    return ...


# KeysAndAttributesServiceResourceUnionTypeDef definition

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

PutRequestServiceResourceUnionTypeDef#

# PutRequestServiceResourceUnionTypeDef Union usage example

from types_boto3_dynamodb.type_defs import PutRequestServiceResourceUnionTypeDef


def get_value() -> PutRequestServiceResourceUnionTypeDef:
    return ...


# PutRequestServiceResourceUnionTypeDef definition

PutRequestServiceResourceUnionTypeDef = Union[
    PutRequestServiceResourceTypeDef,  # (1)
    PutRequestServiceResourceOutputTypeDef,  # (2)
]
  1. See PutRequestServiceResourceTypeDef
  2. See PutRequestServiceResourceOutputTypeDef

InputFormatOptionsUnionTypeDef#

# InputFormatOptionsUnionTypeDef Union usage example

from types_boto3_dynamodb.type_defs import InputFormatOptionsUnionTypeDef


def get_value() -> InputFormatOptionsUnionTypeDef:
    return ...


# InputFormatOptionsUnionTypeDef definition

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

IncrementalExportSpecificationUnionTypeDef#

# IncrementalExportSpecificationUnionTypeDef Union usage example

from types_boto3_dynamodb.type_defs import IncrementalExportSpecificationUnionTypeDef


def get_value() -> IncrementalExportSpecificationUnionTypeDef:
    return ...


# IncrementalExportSpecificationUnionTypeDef definition

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

DeleteRequestUnionTypeDef#

# DeleteRequestUnionTypeDef Union usage example

from types_boto3_dynamodb.type_defs import DeleteRequestUnionTypeDef


def get_value() -> DeleteRequestUnionTypeDef:
    return ...


# DeleteRequestUnionTypeDef definition

DeleteRequestUnionTypeDef = Union[
    DeleteRequestTypeDef,  # (1)
    DeleteRequestOutputTypeDef,  # (2)
]
  1. See DeleteRequestTypeDef
  2. See DeleteRequestOutputTypeDef

KeysAndAttributesUnionTypeDef#

# KeysAndAttributesUnionTypeDef Union usage example

from types_boto3_dynamodb.type_defs import KeysAndAttributesUnionTypeDef


def get_value() -> KeysAndAttributesUnionTypeDef:
    return ...


# KeysAndAttributesUnionTypeDef definition

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

PutRequestUnionTypeDef#

# PutRequestUnionTypeDef Union usage example

from types_boto3_dynamodb.type_defs import PutRequestUnionTypeDef


def get_value() -> PutRequestUnionTypeDef:
    return ...


# PutRequestUnionTypeDef definition

PutRequestUnionTypeDef = Union[
    PutRequestTypeDef,  # (1)
    PutRequestOutputTypeDef,  # (2)
]
  1. See PutRequestTypeDef
  2. See PutRequestOutputTypeDef

GlobalSecondaryIndexUnionTypeDef#

# GlobalSecondaryIndexUnionTypeDef Union usage example

from types_boto3_dynamodb.type_defs import GlobalSecondaryIndexUnionTypeDef


def get_value() -> GlobalSecondaryIndexUnionTypeDef:
    return ...


# GlobalSecondaryIndexUnionTypeDef definition

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

WriteRequestServiceResourceUnionTypeDef#

# WriteRequestServiceResourceUnionTypeDef Union usage example

from types_boto3_dynamodb.type_defs import WriteRequestServiceResourceUnionTypeDef


def get_value() -> WriteRequestServiceResourceUnionTypeDef:
    return ...


# WriteRequestServiceResourceUnionTypeDef definition

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

TableCreationParametersUnionTypeDef#

# TableCreationParametersUnionTypeDef Union usage example

from types_boto3_dynamodb.type_defs import TableCreationParametersUnionTypeDef


def get_value() -> TableCreationParametersUnionTypeDef:
    return ...


# TableCreationParametersUnionTypeDef definition

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

WriteRequestUnionTypeDef#

# WriteRequestUnionTypeDef Union usage example

from types_boto3_dynamodb.type_defs import WriteRequestUnionTypeDef


def get_value() -> WriteRequestUnionTypeDef:
    return ...


# WriteRequestUnionTypeDef definition

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

ArchivalSummaryTypeDef#

# ArchivalSummaryTypeDef TypedDict usage example

from types_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],

AttributeDefinitionTypeDef#

# AttributeDefinitionTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import AttributeDefinitionTypeDef


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


# AttributeDefinitionTypeDef definition

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

AttributeValueTypeDef#

# AttributeValueTypeDef TypedDict usage example

from types_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],

AutoScalingTargetTrackingScalingPolicyConfigurationDescriptionTypeDef#

# AutoScalingTargetTrackingScalingPolicyConfigurationDescriptionTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import AutoScalingTargetTrackingScalingPolicyConfigurationDescriptionTypeDef


def get_value() -> AutoScalingTargetTrackingScalingPolicyConfigurationDescriptionTypeDef:
    return {
        "DisableScaleIn": ...,
    }


# AutoScalingTargetTrackingScalingPolicyConfigurationDescriptionTypeDef definition

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

AutoScalingTargetTrackingScalingPolicyConfigurationUpdateTypeDef#

# AutoScalingTargetTrackingScalingPolicyConfigurationUpdateTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import AutoScalingTargetTrackingScalingPolicyConfigurationUpdateTypeDef


def get_value() -> AutoScalingTargetTrackingScalingPolicyConfigurationUpdateTypeDef:
    return {
        "DisableScaleIn": ...,
    }


# AutoScalingTargetTrackingScalingPolicyConfigurationUpdateTypeDef definition

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

BackupDetailsTypeDef#

# BackupDetailsTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import BackupDetailsTypeDef


def get_value() -> BackupDetailsTypeDef:
    return {
        "BackupArn": ...,
    }


# BackupDetailsTypeDef definition

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

BackupSummaryTypeDef#

# BackupSummaryTypeDef TypedDict usage example

from types_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

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ResponseMetadataTypeDef


def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
    }


# ResponseMetadataTypeDef definition

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

BillingModeSummaryTypeDef#

# BillingModeSummaryTypeDef TypedDict usage example

from types_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

CapacityTypeDef#

# CapacityTypeDef TypedDict usage example

from types_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],

PointInTimeRecoveryDescriptionTypeDef#

# PointInTimeRecoveryDescriptionTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import PointInTimeRecoveryDescriptionTypeDef


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


# PointInTimeRecoveryDescriptionTypeDef definition

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

ContributorInsightsSummaryTypeDef#

# ContributorInsightsSummaryTypeDef TypedDict usage example

from types_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

CreateBackupInputTypeDef#

# CreateBackupInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import CreateBackupInputTypeDef


def get_value() -> CreateBackupInputTypeDef:
    return {
        "TableName": ...,
    }


# CreateBackupInputTypeDef definition

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

KeySchemaElementTypeDef#

# KeySchemaElementTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import KeySchemaElementTypeDef


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


# KeySchemaElementTypeDef definition

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

OnDemandThroughputTypeDef#

# OnDemandThroughputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import OnDemandThroughputTypeDef


def get_value() -> OnDemandThroughputTypeDef:
    return {
        "MaxReadRequestUnits": ...,
    }


# OnDemandThroughputTypeDef definition

class OnDemandThroughputTypeDef(TypedDict):
    MaxReadRequestUnits: NotRequired[int],
    MaxWriteRequestUnits: NotRequired[int],

ProvisionedThroughputTypeDef#

# ProvisionedThroughputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ProvisionedThroughputTypeDef


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


# ProvisionedThroughputTypeDef definition

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

WarmThroughputTypeDef#

# WarmThroughputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import WarmThroughputTypeDef


def get_value() -> WarmThroughputTypeDef:
    return {
        "ReadUnitsPerSecond": ...,
    }


# WarmThroughputTypeDef definition

class WarmThroughputTypeDef(TypedDict):
    ReadUnitsPerSecond: NotRequired[int],
    WriteUnitsPerSecond: NotRequired[int],

ReplicaTypeDef#

# ReplicaTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ReplicaTypeDef


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


# ReplicaTypeDef definition

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

CreateReplicaActionTypeDef#

# CreateReplicaActionTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import CreateReplicaActionTypeDef


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


# CreateReplicaActionTypeDef definition

class CreateReplicaActionTypeDef(TypedDict):
    RegionName: str,

OnDemandThroughputOverrideTypeDef#

# OnDemandThroughputOverrideTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import OnDemandThroughputOverrideTypeDef


def get_value() -> OnDemandThroughputOverrideTypeDef:
    return {
        "MaxReadRequestUnits": ...,
    }


# OnDemandThroughputOverrideTypeDef definition

class OnDemandThroughputOverrideTypeDef(TypedDict):
    MaxReadRequestUnits: NotRequired[int],

ProvisionedThroughputOverrideTypeDef#

# ProvisionedThroughputOverrideTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ProvisionedThroughputOverrideTypeDef


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


# ProvisionedThroughputOverrideTypeDef definition

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

SSESpecificationTypeDef#

# SSESpecificationTypeDef TypedDict usage example

from types_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 TypedDict usage example

from types_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 TypedDict usage example

from types_boto3_dynamodb.type_defs import TagTypeDef


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


# TagTypeDef definition

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

CsvOptionsOutputTypeDef#

# CsvOptionsOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import CsvOptionsOutputTypeDef


def get_value() -> CsvOptionsOutputTypeDef:
    return {
        "Delimiter": ...,
    }


# CsvOptionsOutputTypeDef definition

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

CsvOptionsTypeDef#

# CsvOptionsTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import CsvOptionsTypeDef


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


# CsvOptionsTypeDef definition

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

DeleteBackupInputTypeDef#

# DeleteBackupInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DeleteBackupInputTypeDef


def get_value() -> DeleteBackupInputTypeDef:
    return {
        "BackupArn": ...,
    }


# DeleteBackupInputTypeDef definition

class DeleteBackupInputTypeDef(TypedDict):
    BackupArn: str,

DeleteGlobalSecondaryIndexActionTypeDef#

# DeleteGlobalSecondaryIndexActionTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DeleteGlobalSecondaryIndexActionTypeDef


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


# DeleteGlobalSecondaryIndexActionTypeDef definition

class DeleteGlobalSecondaryIndexActionTypeDef(TypedDict):
    IndexName: str,

DeleteReplicaActionTypeDef#

# DeleteReplicaActionTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DeleteReplicaActionTypeDef


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


# DeleteReplicaActionTypeDef definition

class DeleteReplicaActionTypeDef(TypedDict):
    RegionName: str,

DeleteReplicationGroupMemberActionTypeDef#

# DeleteReplicationGroupMemberActionTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DeleteReplicationGroupMemberActionTypeDef


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


# DeleteReplicationGroupMemberActionTypeDef definition

class DeleteReplicationGroupMemberActionTypeDef(TypedDict):
    RegionName: str,

DeleteResourcePolicyInputTypeDef#

# DeleteResourcePolicyInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DeleteResourcePolicyInputTypeDef


def get_value() -> DeleteResourcePolicyInputTypeDef:
    return {
        "ResourceArn": ...,
    }


# DeleteResourcePolicyInputTypeDef definition

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

DeleteTableInputTypeDef#

# DeleteTableInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DeleteTableInputTypeDef


def get_value() -> DeleteTableInputTypeDef:
    return {
        "TableName": ...,
    }


# DeleteTableInputTypeDef definition

class DeleteTableInputTypeDef(TypedDict):
    TableName: str,

DescribeBackupInputTypeDef#

# DescribeBackupInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DescribeBackupInputTypeDef


def get_value() -> DescribeBackupInputTypeDef:
    return {
        "BackupArn": ...,
    }


# DescribeBackupInputTypeDef definition

class DescribeBackupInputTypeDef(TypedDict):
    BackupArn: str,

DescribeContinuousBackupsInputTypeDef#

# DescribeContinuousBackupsInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DescribeContinuousBackupsInputTypeDef


def get_value() -> DescribeContinuousBackupsInputTypeDef:
    return {
        "TableName": ...,
    }


# DescribeContinuousBackupsInputTypeDef definition

class DescribeContinuousBackupsInputTypeDef(TypedDict):
    TableName: str,

DescribeContributorInsightsInputTypeDef#

# DescribeContributorInsightsInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DescribeContributorInsightsInputTypeDef


def get_value() -> DescribeContributorInsightsInputTypeDef:
    return {
        "TableName": ...,
    }


# DescribeContributorInsightsInputTypeDef definition

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

FailureExceptionTypeDef#

# FailureExceptionTypeDef TypedDict usage example

from types_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 TypedDict usage example

from types_boto3_dynamodb.type_defs import EndpointTypeDef


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


# EndpointTypeDef definition

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

DescribeExportInputTypeDef#

# DescribeExportInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DescribeExportInputTypeDef


def get_value() -> DescribeExportInputTypeDef:
    return {
        "ExportArn": ...,
    }


# DescribeExportInputTypeDef definition

class DescribeExportInputTypeDef(TypedDict):
    ExportArn: str,

DescribeGlobalTableInputTypeDef#

# DescribeGlobalTableInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DescribeGlobalTableInputTypeDef


def get_value() -> DescribeGlobalTableInputTypeDef:
    return {
        "GlobalTableName": ...,
    }


# DescribeGlobalTableInputTypeDef definition

class DescribeGlobalTableInputTypeDef(TypedDict):
    GlobalTableName: str,

DescribeGlobalTableSettingsInputTypeDef#

# DescribeGlobalTableSettingsInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DescribeGlobalTableSettingsInputTypeDef


def get_value() -> DescribeGlobalTableSettingsInputTypeDef:
    return {
        "GlobalTableName": ...,
    }


# DescribeGlobalTableSettingsInputTypeDef definition

class DescribeGlobalTableSettingsInputTypeDef(TypedDict):
    GlobalTableName: str,

DescribeImportInputTypeDef#

# DescribeImportInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DescribeImportInputTypeDef


def get_value() -> DescribeImportInputTypeDef:
    return {
        "ImportArn": ...,
    }


# DescribeImportInputTypeDef definition

class DescribeImportInputTypeDef(TypedDict):
    ImportArn: str,

DescribeKinesisStreamingDestinationInputTypeDef#

# DescribeKinesisStreamingDestinationInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DescribeKinesisStreamingDestinationInputTypeDef


def get_value() -> DescribeKinesisStreamingDestinationInputTypeDef:
    return {
        "TableName": ...,
    }


# DescribeKinesisStreamingDestinationInputTypeDef definition

class DescribeKinesisStreamingDestinationInputTypeDef(TypedDict):
    TableName: str,

KinesisDataStreamDestinationTypeDef#

# KinesisDataStreamDestinationTypeDef TypedDict usage example

from types_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],
    ApproximateCreationDateTimePrecision: NotRequired[ApproximateCreationDateTimePrecisionType],  # (2)
  1. See DestinationStatusType
  2. See ApproximateCreationDateTimePrecisionType

DescribeTableInputTypeDef#

# DescribeTableInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DescribeTableInputTypeDef


def get_value() -> DescribeTableInputTypeDef:
    return {
        "TableName": ...,
    }


# DescribeTableInputTypeDef definition

class DescribeTableInputTypeDef(TypedDict):
    TableName: str,

WaiterConfigTypeDef#

# WaiterConfigTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import WaiterConfigTypeDef


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


# WaiterConfigTypeDef definition

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

DescribeTableReplicaAutoScalingInputTypeDef#

# DescribeTableReplicaAutoScalingInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DescribeTableReplicaAutoScalingInputTypeDef


def get_value() -> DescribeTableReplicaAutoScalingInputTypeDef:
    return {
        "TableName": ...,
    }


# DescribeTableReplicaAutoScalingInputTypeDef definition

class DescribeTableReplicaAutoScalingInputTypeDef(TypedDict):
    TableName: str,

DescribeTimeToLiveInputTypeDef#

# DescribeTimeToLiveInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DescribeTimeToLiveInputTypeDef


def get_value() -> DescribeTimeToLiveInputTypeDef:
    return {
        "TableName": ...,
    }


# DescribeTimeToLiveInputTypeDef definition

class DescribeTimeToLiveInputTypeDef(TypedDict):
    TableName: str,

TimeToLiveDescriptionTypeDef#

# TimeToLiveDescriptionTypeDef TypedDict usage example

from types_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

EnableKinesisStreamingConfigurationTypeDef#

# EnableKinesisStreamingConfigurationTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import EnableKinesisStreamingConfigurationTypeDef


def get_value() -> EnableKinesisStreamingConfigurationTypeDef:
    return {
        "ApproximateCreationDateTimePrecision": ...,
    }


# EnableKinesisStreamingConfigurationTypeDef definition

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

IncrementalExportSpecificationOutputTypeDef#

# IncrementalExportSpecificationOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import IncrementalExportSpecificationOutputTypeDef


def get_value() -> IncrementalExportSpecificationOutputTypeDef:
    return {
        "ExportFromTime": ...,
    }


# IncrementalExportSpecificationOutputTypeDef definition

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

ExportSummaryTypeDef#

# ExportSummaryTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ExportSummaryTypeDef


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


# ExportSummaryTypeDef definition

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

GetResourcePolicyInputTypeDef#

# GetResourcePolicyInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import GetResourcePolicyInputTypeDef


def get_value() -> GetResourcePolicyInputTypeDef:
    return {
        "ResourceArn": ...,
    }


# GetResourcePolicyInputTypeDef definition

class GetResourcePolicyInputTypeDef(TypedDict):
    ResourceArn: str,

GlobalSecondaryIndexWarmThroughputDescriptionTypeDef#

# GlobalSecondaryIndexWarmThroughputDescriptionTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import GlobalSecondaryIndexWarmThroughputDescriptionTypeDef


def get_value() -> GlobalSecondaryIndexWarmThroughputDescriptionTypeDef:
    return {
        "ReadUnitsPerSecond": ...,
    }


# GlobalSecondaryIndexWarmThroughputDescriptionTypeDef definition

class GlobalSecondaryIndexWarmThroughputDescriptionTypeDef(TypedDict):
    ReadUnitsPerSecond: NotRequired[int],
    WriteUnitsPerSecond: NotRequired[int],
    Status: NotRequired[IndexStatusType],  # (1)
  1. See IndexStatusType

ProjectionOutputTypeDef#

# ProjectionOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ProjectionOutputTypeDef


def get_value() -> ProjectionOutputTypeDef:
    return {
        "ProjectionType": ...,
    }


# ProjectionOutputTypeDef definition

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

ProvisionedThroughputDescriptionTypeDef#

# ProvisionedThroughputDescriptionTypeDef TypedDict usage example

from types_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],

S3BucketSourceTypeDef#

# S3BucketSourceTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import S3BucketSourceTypeDef


def get_value() -> S3BucketSourceTypeDef:
    return {
        "S3BucketOwner": ...,
    }


# S3BucketSourceTypeDef definition

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

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef TypedDict usage example

from types_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],

ListContributorInsightsInputTypeDef#

# ListContributorInsightsInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ListContributorInsightsInputTypeDef


def get_value() -> ListContributorInsightsInputTypeDef:
    return {
        "TableName": ...,
    }


# ListContributorInsightsInputTypeDef definition

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

ListExportsInputTypeDef#

# ListExportsInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ListExportsInputTypeDef


def get_value() -> ListExportsInputTypeDef:
    return {
        "TableArn": ...,
    }


# ListExportsInputTypeDef definition

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

ListGlobalTablesInputTypeDef#

# ListGlobalTablesInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ListGlobalTablesInputTypeDef


def get_value() -> ListGlobalTablesInputTypeDef:
    return {
        "ExclusiveStartGlobalTableName": ...,
    }


# ListGlobalTablesInputTypeDef definition

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

ListImportsInputTypeDef#

# ListImportsInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ListImportsInputTypeDef


def get_value() -> ListImportsInputTypeDef:
    return {
        "TableArn": ...,
    }


# ListImportsInputTypeDef definition

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

ListTablesInputTypeDef#

# ListTablesInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ListTablesInputTypeDef


def get_value() -> ListTablesInputTypeDef:
    return {
        "ExclusiveStartTableName": ...,
    }


# ListTablesInputTypeDef definition

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

ListTagsOfResourceInputTypeDef#

# ListTagsOfResourceInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ListTagsOfResourceInputTypeDef


def get_value() -> ListTagsOfResourceInputTypeDef:
    return {
        "ResourceArn": ...,
    }


# ListTagsOfResourceInputTypeDef definition

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

PointInTimeRecoverySpecificationTypeDef#

# PointInTimeRecoverySpecificationTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import PointInTimeRecoverySpecificationTypeDef


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


# PointInTimeRecoverySpecificationTypeDef definition

class PointInTimeRecoverySpecificationTypeDef(TypedDict):
    PointInTimeRecoveryEnabled: bool,
    RecoveryPeriodInDays: NotRequired[int],

ProjectionTypeDef#

# ProjectionTypeDef TypedDict usage example

from types_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

PutResourcePolicyInputTypeDef#

# PutResourcePolicyInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import PutResourcePolicyInputTypeDef


def get_value() -> PutResourcePolicyInputTypeDef:
    return {
        "ResourceArn": ...,
    }


# PutResourcePolicyInputTypeDef definition

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

TableClassSummaryTypeDef#

# TableClassSummaryTypeDef TypedDict usage example

from types_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

TableWarmThroughputDescriptionTypeDef#

# TableWarmThroughputDescriptionTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import TableWarmThroughputDescriptionTypeDef


def get_value() -> TableWarmThroughputDescriptionTypeDef:
    return {
        "ReadUnitsPerSecond": ...,
    }


# TableWarmThroughputDescriptionTypeDef definition

class TableWarmThroughputDescriptionTypeDef(TypedDict):
    ReadUnitsPerSecond: NotRequired[int],
    WriteUnitsPerSecond: NotRequired[int],
    Status: NotRequired[TableStatusType],  # (1)
  1. See TableStatusType

RestoreSummaryTypeDef#

# RestoreSummaryTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import RestoreSummaryTypeDef


def get_value() -> RestoreSummaryTypeDef:
    return {
        "SourceBackupArn": ...,
    }


# RestoreSummaryTypeDef definition

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

SSEDescriptionTypeDef#

# SSEDescriptionTypeDef TypedDict usage example

from types_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

TableBatchWriterRequestTypeDef#

# TableBatchWriterRequestTypeDef TypedDict usage example

from types_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]],

TimeToLiveSpecificationTypeDef#

# TimeToLiveSpecificationTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import TimeToLiveSpecificationTypeDef


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


# TimeToLiveSpecificationTypeDef definition

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

UntagResourceInputTypeDef#

# UntagResourceInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import UntagResourceInputTypeDef


def get_value() -> UntagResourceInputTypeDef:
    return {
        "ResourceArn": ...,
    }


# UntagResourceInputTypeDef definition

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

UpdateContributorInsightsInputTypeDef#

# UpdateContributorInsightsInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import UpdateContributorInsightsInputTypeDef


def get_value() -> UpdateContributorInsightsInputTypeDef:
    return {
        "TableName": ...,
    }


# UpdateContributorInsightsInputTypeDef definition

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

UpdateKinesisStreamingConfigurationTypeDef#

# UpdateKinesisStreamingConfigurationTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import UpdateKinesisStreamingConfigurationTypeDef


def get_value() -> UpdateKinesisStreamingConfigurationTypeDef:
    return {
        "ApproximateCreationDateTimePrecision": ...,
    }


# UpdateKinesisStreamingConfigurationTypeDef definition

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

BatchStatementErrorTypeDef#

# BatchStatementErrorTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import BatchStatementErrorTypeDef


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


# BatchStatementErrorTypeDef definition

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

DeleteRequestOutputTypeDef#

# DeleteRequestOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DeleteRequestOutputTypeDef


def get_value() -> DeleteRequestOutputTypeDef:
    return {
        "Key": ...,
    }


# DeleteRequestOutputTypeDef definition

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

ItemCollectionMetricsTypeDef#

# ItemCollectionMetricsTypeDef TypedDict usage example

from types_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 TypedDict usage example

from types_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

KeysAndAttributesOutputTypeDef#

# KeysAndAttributesOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import KeysAndAttributesOutputTypeDef


def get_value() -> KeysAndAttributesOutputTypeDef:
    return {
        "Keys": ...,
    }


# KeysAndAttributesOutputTypeDef definition

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

PutRequestOutputTypeDef#

# PutRequestOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import PutRequestOutputTypeDef


def get_value() -> PutRequestOutputTypeDef:
    return {
        "Item": ...,
    }


# PutRequestOutputTypeDef definition

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

AttributeValueUpdateTableTypeDef#

# AttributeValueUpdateTableTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import AttributeValueUpdateTableTypeDef


def get_value() -> AttributeValueUpdateTableTypeDef:
    return {
        "Value": ...,
    }


# AttributeValueUpdateTableTypeDef definition

class AttributeValueUpdateTableTypeDef(TypedDict):
    Value: NotRequired[TableAttributeValueTypeDef],
    Action: NotRequired[AttributeActionType],  # (1)
  1. See AttributeActionType

ConditionTableTypeDef#

# ConditionTableTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ConditionTableTypeDef


def get_value() -> ConditionTableTypeDef:
    return {
        "AttributeValueList": ...,
    }


# ConditionTableTypeDef definition

class ConditionTableTypeDef(TypedDict):
    ComparisonOperator: ComparisonOperatorType,  # (1)
    AttributeValueList: NotRequired[Sequence[TableAttributeValueTypeDef]],
  1. See ComparisonOperatorType

DeleteRequestServiceResourceOutputTypeDef#

# DeleteRequestServiceResourceOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DeleteRequestServiceResourceOutputTypeDef


def get_value() -> DeleteRequestServiceResourceOutputTypeDef:
    return {
        "Key": ...,
    }


# DeleteRequestServiceResourceOutputTypeDef definition

class DeleteRequestServiceResourceOutputTypeDef(TypedDict):
    Key: Dict[str, TableAttributeValueTypeDef],

DeleteRequestServiceResourceTypeDef#

# DeleteRequestServiceResourceTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DeleteRequestServiceResourceTypeDef


def get_value() -> DeleteRequestServiceResourceTypeDef:
    return {
        "Key": ...,
    }


# DeleteRequestServiceResourceTypeDef definition

class DeleteRequestServiceResourceTypeDef(TypedDict):
    Key: Mapping[str, TableAttributeValueTypeDef],

ExpectedAttributeValueTableTypeDef#

# ExpectedAttributeValueTableTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ExpectedAttributeValueTableTypeDef


def get_value() -> ExpectedAttributeValueTableTypeDef:
    return {
        "Value": ...,
    }


# ExpectedAttributeValueTableTypeDef definition

class ExpectedAttributeValueTableTypeDef(TypedDict):
    Value: NotRequired[TableAttributeValueTypeDef],
    Exists: NotRequired[bool],
    ComparisonOperator: NotRequired[ComparisonOperatorType],  # (1)
    AttributeValueList: NotRequired[Sequence[TableAttributeValueTypeDef]],
  1. See ComparisonOperatorType

GetItemInputTableGetItemTypeDef#

# GetItemInputTableGetItemTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import GetItemInputTableGetItemTypeDef


def get_value() -> GetItemInputTableGetItemTypeDef:
    return {
        "Key": ...,
    }


# GetItemInputTableGetItemTypeDef definition

class GetItemInputTableGetItemTypeDef(TypedDict):
    Key: Mapping[str, TableAttributeValueTypeDef],
    AttributesToGet: NotRequired[Sequence[str]],
    ConsistentRead: NotRequired[bool],
    ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType],  # (1)
    ProjectionExpression: NotRequired[str],
    ExpressionAttributeNames: NotRequired[Mapping[str, str]],
  1. See ReturnConsumedCapacityType

ItemCollectionMetricsServiceResourceTypeDef#

# ItemCollectionMetricsServiceResourceTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ItemCollectionMetricsServiceResourceTypeDef


def get_value() -> ItemCollectionMetricsServiceResourceTypeDef:
    return {
        "ItemCollectionKey": ...,
    }


# ItemCollectionMetricsServiceResourceTypeDef definition

class ItemCollectionMetricsServiceResourceTypeDef(TypedDict):
    ItemCollectionKey: NotRequired[Dict[str, TableAttributeValueTypeDef]],
    SizeEstimateRangeGB: NotRequired[List[float]],

ItemCollectionMetricsTableTypeDef#

# ItemCollectionMetricsTableTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ItemCollectionMetricsTableTypeDef


def get_value() -> ItemCollectionMetricsTableTypeDef:
    return {
        "ItemCollectionKey": ...,
    }


# ItemCollectionMetricsTableTypeDef definition

class ItemCollectionMetricsTableTypeDef(TypedDict):
    ItemCollectionKey: NotRequired[Dict[str, TableAttributeValueTypeDef]],
    SizeEstimateRangeGB: NotRequired[List[float]],

KeysAndAttributesServiceResourceOutputTypeDef#

# KeysAndAttributesServiceResourceOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import KeysAndAttributesServiceResourceOutputTypeDef


def get_value() -> KeysAndAttributesServiceResourceOutputTypeDef:
    return {
        "Keys": ...,
    }


# KeysAndAttributesServiceResourceOutputTypeDef definition

class KeysAndAttributesServiceResourceOutputTypeDef(TypedDict):
    Keys: List[Dict[str, TableAttributeValueTypeDef]],
    AttributesToGet: NotRequired[List[str]],
    ConsistentRead: NotRequired[bool],
    ProjectionExpression: NotRequired[str],
    ExpressionAttributeNames: NotRequired[Dict[str, str]],

KeysAndAttributesServiceResourceTypeDef#

# KeysAndAttributesServiceResourceTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import KeysAndAttributesServiceResourceTypeDef


def get_value() -> KeysAndAttributesServiceResourceTypeDef:
    return {
        "Keys": ...,
    }


# KeysAndAttributesServiceResourceTypeDef definition

class KeysAndAttributesServiceResourceTypeDef(TypedDict):
    Keys: Sequence[Mapping[str, TableAttributeValueTypeDef]],
    AttributesToGet: NotRequired[Sequence[str]],
    ConsistentRead: NotRequired[bool],
    ProjectionExpression: NotRequired[str],
    ExpressionAttributeNames: NotRequired[Mapping[str, str]],

PutRequestServiceResourceOutputTypeDef#

# PutRequestServiceResourceOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import PutRequestServiceResourceOutputTypeDef


def get_value() -> PutRequestServiceResourceOutputTypeDef:
    return {
        "Item": ...,
    }


# PutRequestServiceResourceOutputTypeDef definition

class PutRequestServiceResourceOutputTypeDef(TypedDict):
    Item: Dict[str, TableAttributeValueTypeDef],

PutRequestServiceResourceTypeDef#

# PutRequestServiceResourceTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import PutRequestServiceResourceTypeDef


def get_value() -> PutRequestServiceResourceTypeDef:
    return {
        "Item": ...,
    }


# PutRequestServiceResourceTypeDef definition

class PutRequestServiceResourceTypeDef(TypedDict):
    Item: Mapping[str, TableAttributeValueTypeDef],

AutoScalingPolicyDescriptionTypeDef#

# AutoScalingPolicyDescriptionTypeDef TypedDict usage example

from types_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 TypedDict usage example

from types_boto3_dynamodb.type_defs import AutoScalingPolicyUpdateTypeDef


def get_value() -> AutoScalingPolicyUpdateTypeDef:
    return {
        "PolicyName": ...,
    }


# AutoScalingPolicyUpdateTypeDef definition

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

CreateBackupOutputTypeDef#

# CreateBackupOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import CreateBackupOutputTypeDef


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


# CreateBackupOutputTypeDef definition

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

DeleteResourcePolicyOutputTypeDef#

# DeleteResourcePolicyOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DeleteResourcePolicyOutputTypeDef


def get_value() -> DeleteResourcePolicyOutputTypeDef:
    return {
        "RevisionId": ...,
    }


# DeleteResourcePolicyOutputTypeDef definition

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

DescribeLimitsOutputTypeDef#

# DescribeLimitsOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DescribeLimitsOutputTypeDef


def get_value() -> DescribeLimitsOutputTypeDef:
    return {
        "AccountMaxReadCapacityUnits": ...,
    }


# DescribeLimitsOutputTypeDef definition

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

EmptyResponseMetadataTypeDef#

# EmptyResponseMetadataTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import EmptyResponseMetadataTypeDef


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


# EmptyResponseMetadataTypeDef definition

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

GetResourcePolicyOutputTypeDef#

# GetResourcePolicyOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import GetResourcePolicyOutputTypeDef


def get_value() -> GetResourcePolicyOutputTypeDef:
    return {
        "Policy": ...,
    }


# GetResourcePolicyOutputTypeDef definition

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

ListBackupsOutputTypeDef#

# ListBackupsOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ListBackupsOutputTypeDef


def get_value() -> ListBackupsOutputTypeDef:
    return {
        "BackupSummaries": ...,
    }


# ListBackupsOutputTypeDef definition

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

ListTablesOutputTypeDef#

# ListTablesOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ListTablesOutputTypeDef


def get_value() -> ListTablesOutputTypeDef:
    return {
        "TableNames": ...,
    }


# ListTablesOutputTypeDef definition

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

PutResourcePolicyOutputTypeDef#

# PutResourcePolicyOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import PutResourcePolicyOutputTypeDef


def get_value() -> PutResourcePolicyOutputTypeDef:
    return {
        "RevisionId": ...,
    }


# PutResourcePolicyOutputTypeDef definition

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

UpdateContributorInsightsOutputTypeDef#

# UpdateContributorInsightsOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import UpdateContributorInsightsOutputTypeDef


def get_value() -> UpdateContributorInsightsOutputTypeDef:
    return {
        "TableName": ...,
    }


# UpdateContributorInsightsOutputTypeDef definition

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

ConsumedCapacityTypeDef#

# ConsumedCapacityTypeDef TypedDict usage example

from types_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

ContinuousBackupsDescriptionTypeDef#

# ContinuousBackupsDescriptionTypeDef TypedDict usage example

from types_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 TypedDict usage example

from types_boto3_dynamodb.type_defs import ListContributorInsightsOutputTypeDef


def get_value() -> ListContributorInsightsOutputTypeDef:
    return {
        "ContributorInsightsSummaries": ...,
    }


# ListContributorInsightsOutputTypeDef definition

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

SourceTableDetailsTypeDef#

# SourceTableDetailsTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import SourceTableDetailsTypeDef


def get_value() -> SourceTableDetailsTypeDef:
    return {
        "TableName": ...,
    }


# SourceTableDetailsTypeDef definition

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

UpdateGlobalSecondaryIndexActionTypeDef#

# UpdateGlobalSecondaryIndexActionTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import UpdateGlobalSecondaryIndexActionTypeDef


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


# UpdateGlobalSecondaryIndexActionTypeDef definition

class UpdateGlobalSecondaryIndexActionTypeDef(TypedDict):
    IndexName: str,
    ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef],  # (1)
    OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef],  # (2)
    WarmThroughput: NotRequired[WarmThroughputTypeDef],  # (3)
  1. See ProvisionedThroughputTypeDef
  2. See OnDemandThroughputTypeDef
  3. See WarmThroughputTypeDef

CreateGlobalTableInputTypeDef#

# CreateGlobalTableInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import CreateGlobalTableInputTypeDef


def get_value() -> CreateGlobalTableInputTypeDef:
    return {
        "GlobalTableName": ...,
    }


# CreateGlobalTableInputTypeDef definition

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

GlobalTableTypeDef#

# GlobalTableTypeDef TypedDict usage example

from types_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

ReplicaGlobalSecondaryIndexTypeDef#

# ReplicaGlobalSecondaryIndexTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ReplicaGlobalSecondaryIndexTypeDef


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


# ReplicaGlobalSecondaryIndexTypeDef definition

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

ListTagsOfResourceOutputTypeDef#

# ListTagsOfResourceOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ListTagsOfResourceOutputTypeDef


def get_value() -> ListTagsOfResourceOutputTypeDef:
    return {
        "Tags": ...,
    }


# ListTagsOfResourceOutputTypeDef definition

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

TagResourceInputTypeDef#

# TagResourceInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import TagResourceInputTypeDef


def get_value() -> TagResourceInputTypeDef:
    return {
        "ResourceArn": ...,
    }


# TagResourceInputTypeDef definition

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

InputFormatOptionsOutputTypeDef#

# InputFormatOptionsOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import InputFormatOptionsOutputTypeDef


def get_value() -> InputFormatOptionsOutputTypeDef:
    return {
        "Csv": ...,
    }


# InputFormatOptionsOutputTypeDef definition

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

InputFormatOptionsTypeDef#

# InputFormatOptionsTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import InputFormatOptionsTypeDef


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


# InputFormatOptionsTypeDef definition

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

ReplicaUpdateTypeDef#

# ReplicaUpdateTypeDef TypedDict usage example

from types_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 TypedDict usage example

from types_boto3_dynamodb.type_defs import DescribeContributorInsightsOutputTypeDef


def get_value() -> DescribeContributorInsightsOutputTypeDef:
    return {
        "TableName": ...,
    }


# 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 TypedDict usage example

from types_boto3_dynamodb.type_defs import DescribeEndpointsResponseTypeDef


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


# DescribeEndpointsResponseTypeDef definition

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

DescribeKinesisStreamingDestinationOutputTypeDef#

# DescribeKinesisStreamingDestinationOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DescribeKinesisStreamingDestinationOutputTypeDef


def get_value() -> DescribeKinesisStreamingDestinationOutputTypeDef:
    return {
        "TableName": ...,
    }


# DescribeKinesisStreamingDestinationOutputTypeDef definition

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

DescribeTableInputWaitExtraTypeDef#

# DescribeTableInputWaitExtraTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DescribeTableInputWaitExtraTypeDef


def get_value() -> DescribeTableInputWaitExtraTypeDef:
    return {
        "TableName": ...,
    }


# DescribeTableInputWaitExtraTypeDef definition

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

DescribeTableInputWaitTypeDef#

# DescribeTableInputWaitTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DescribeTableInputWaitTypeDef


def get_value() -> DescribeTableInputWaitTypeDef:
    return {
        "TableName": ...,
    }


# DescribeTableInputWaitTypeDef definition

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

DescribeTimeToLiveOutputTypeDef#

# DescribeTimeToLiveOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DescribeTimeToLiveOutputTypeDef


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


# DescribeTimeToLiveOutputTypeDef definition

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

KinesisStreamingDestinationInputRequestTypeDef#

# KinesisStreamingDestinationInputRequestTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import KinesisStreamingDestinationInputRequestTypeDef


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


# KinesisStreamingDestinationInputRequestTypeDef definition

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

KinesisStreamingDestinationInputTypeDef#

# KinesisStreamingDestinationInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import KinesisStreamingDestinationInputTypeDef


def get_value() -> KinesisStreamingDestinationInputTypeDef:
    return {
        "TableName": ...,
    }


# KinesisStreamingDestinationInputTypeDef definition

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

KinesisStreamingDestinationOutputTypeDef#

# KinesisStreamingDestinationOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import KinesisStreamingDestinationOutputTypeDef


def get_value() -> KinesisStreamingDestinationOutputTypeDef:
    return {
        "TableName": ...,
    }


# KinesisStreamingDestinationOutputTypeDef definition

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

ExportDescriptionTypeDef#

# ExportDescriptionTypeDef TypedDict usage example

from types_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],
    ExportType: NotRequired[ExportTypeType],  # (4)
    IncrementalExportSpecification: NotRequired[IncrementalExportSpecificationOutputTypeDef],  # (5)
  1. See ExportStatusType
  2. See S3SseAlgorithmType
  3. See ExportFormatType
  4. See ExportTypeType
  5. See IncrementalExportSpecificationOutputTypeDef

ListExportsOutputTypeDef#

# ListExportsOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ListExportsOutputTypeDef


def get_value() -> ListExportsOutputTypeDef:
    return {
        "ExportSummaries": ...,
    }


# ListExportsOutputTypeDef definition

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

IncrementalExportSpecificationTypeDef#

# IncrementalExportSpecificationTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import IncrementalExportSpecificationTypeDef


def get_value() -> IncrementalExportSpecificationTypeDef:
    return {
        "ExportFromTime": ...,
    }


# IncrementalExportSpecificationTypeDef definition

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

ListBackupsInputTypeDef#

# ListBackupsInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ListBackupsInputTypeDef


def get_value() -> ListBackupsInputTypeDef:
    return {
        "TableName": ...,
    }


# ListBackupsInputTypeDef definition

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

ReplicaGlobalSecondaryIndexDescriptionTypeDef#

# ReplicaGlobalSecondaryIndexDescriptionTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ReplicaGlobalSecondaryIndexDescriptionTypeDef


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


# ReplicaGlobalSecondaryIndexDescriptionTypeDef definition

class ReplicaGlobalSecondaryIndexDescriptionTypeDef(TypedDict):
    IndexName: NotRequired[str],
    ProvisionedThroughputOverride: NotRequired[ProvisionedThroughputOverrideTypeDef],  # (1)
    OnDemandThroughputOverride: NotRequired[OnDemandThroughputOverrideTypeDef],  # (2)
    WarmThroughput: NotRequired[GlobalSecondaryIndexWarmThroughputDescriptionTypeDef],  # (3)
  1. See ProvisionedThroughputOverrideTypeDef
  2. See OnDemandThroughputOverrideTypeDef
  3. See GlobalSecondaryIndexWarmThroughputDescriptionTypeDef

GlobalSecondaryIndexInfoTypeDef#

# GlobalSecondaryIndexInfoTypeDef TypedDict usage example

from types_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[ProjectionOutputTypeDef],  # (2)
    ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef],  # (3)
    OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef],  # (4)
  1. See KeySchemaElementTypeDef
  2. See ProjectionOutputTypeDef
  3. See ProvisionedThroughputTypeDef
  4. See OnDemandThroughputTypeDef

GlobalSecondaryIndexOutputTypeDef#

# GlobalSecondaryIndexOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import GlobalSecondaryIndexOutputTypeDef


def get_value() -> GlobalSecondaryIndexOutputTypeDef:
    return {
        "IndexName": ...,
    }


# GlobalSecondaryIndexOutputTypeDef definition

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

LocalSecondaryIndexDescriptionTypeDef#

# LocalSecondaryIndexDescriptionTypeDef TypedDict usage example

from types_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[ProjectionOutputTypeDef],  # (2)
    IndexSizeBytes: NotRequired[int],
    ItemCount: NotRequired[int],
    IndexArn: NotRequired[str],
  1. See KeySchemaElementTypeDef
  2. See ProjectionOutputTypeDef

LocalSecondaryIndexInfoTypeDef#

# LocalSecondaryIndexInfoTypeDef TypedDict usage example

from types_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[ProjectionOutputTypeDef],  # (2)
  1. See KeySchemaElementTypeDef
  2. See ProjectionOutputTypeDef

GlobalSecondaryIndexDescriptionTypeDef#

# GlobalSecondaryIndexDescriptionTypeDef TypedDict usage example

from types_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[ProjectionOutputTypeDef],  # (2)
    IndexStatus: NotRequired[IndexStatusType],  # (3)
    Backfilling: NotRequired[bool],
    ProvisionedThroughput: NotRequired[ProvisionedThroughputDescriptionTypeDef],  # (4)
    IndexSizeBytes: NotRequired[int],
    ItemCount: NotRequired[int],
    IndexArn: NotRequired[str],
    OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef],  # (5)
    WarmThroughput: NotRequired[GlobalSecondaryIndexWarmThroughputDescriptionTypeDef],  # (6)
  1. See KeySchemaElementTypeDef
  2. See ProjectionOutputTypeDef
  3. See IndexStatusType
  4. See ProvisionedThroughputDescriptionTypeDef
  5. See OnDemandThroughputTypeDef
  6. See GlobalSecondaryIndexWarmThroughputDescriptionTypeDef

ImportSummaryTypeDef#

# ImportSummaryTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ImportSummaryTypeDef


def get_value() -> ImportSummaryTypeDef:
    return {
        "ImportArn": ...,
    }


# ImportSummaryTypeDef definition

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

ListBackupsInputPaginateTypeDef#

# ListBackupsInputPaginateTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ListBackupsInputPaginateTypeDef


def get_value() -> ListBackupsInputPaginateTypeDef:
    return {
        "TableName": ...,
    }


# ListBackupsInputPaginateTypeDef definition

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

ListTablesInputPaginateTypeDef#

# ListTablesInputPaginateTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ListTablesInputPaginateTypeDef


def get_value() -> ListTablesInputPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }


# ListTablesInputPaginateTypeDef definition

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

ListTagsOfResourceInputPaginateTypeDef#

# ListTagsOfResourceInputPaginateTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ListTagsOfResourceInputPaginateTypeDef


def get_value() -> ListTagsOfResourceInputPaginateTypeDef:
    return {
        "ResourceArn": ...,
    }


# ListTagsOfResourceInputPaginateTypeDef definition

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

UpdateContinuousBackupsInputTypeDef#

# UpdateContinuousBackupsInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import UpdateContinuousBackupsInputTypeDef


def get_value() -> UpdateContinuousBackupsInputTypeDef:
    return {
        "TableName": ...,
    }


# UpdateContinuousBackupsInputTypeDef definition

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

UpdateTimeToLiveInputTypeDef#

# UpdateTimeToLiveInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import UpdateTimeToLiveInputTypeDef


def get_value() -> UpdateTimeToLiveInputTypeDef:
    return {
        "TableName": ...,
    }


# UpdateTimeToLiveInputTypeDef definition

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

UpdateTimeToLiveOutputTypeDef#

# UpdateTimeToLiveOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import UpdateTimeToLiveOutputTypeDef


def get_value() -> UpdateTimeToLiveOutputTypeDef:
    return {
        "TimeToLiveSpecification": ...,
    }


# UpdateTimeToLiveOutputTypeDef definition

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

UpdateKinesisStreamingDestinationInputTypeDef#

# UpdateKinesisStreamingDestinationInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import UpdateKinesisStreamingDestinationInputTypeDef


def get_value() -> UpdateKinesisStreamingDestinationInputTypeDef:
    return {
        "TableName": ...,
    }


# UpdateKinesisStreamingDestinationInputTypeDef definition

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

UpdateKinesisStreamingDestinationOutputTypeDef#

# UpdateKinesisStreamingDestinationOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import UpdateKinesisStreamingDestinationOutputTypeDef


def get_value() -> UpdateKinesisStreamingDestinationOutputTypeDef:
    return {
        "TableName": ...,
    }


# UpdateKinesisStreamingDestinationOutputTypeDef definition

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

BatchStatementResponseTypeDef#

# BatchStatementResponseTypeDef TypedDict usage example

from types_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

WriteRequestOutputTypeDef#

# WriteRequestOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import WriteRequestOutputTypeDef


def get_value() -> WriteRequestOutputTypeDef:
    return {
        "PutRequest": ...,
    }


# WriteRequestOutputTypeDef definition

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

AttributeValueUpdateTypeDef#

# AttributeValueUpdateTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import AttributeValueUpdateTypeDef


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


# AttributeValueUpdateTypeDef definition

class AttributeValueUpdateTypeDef(TypedDict):
    Value: NotRequired[UniversalAttributeValueTypeDef],  # (1)
    Action: NotRequired[AttributeActionType],  # (2)
  1. See AttributeValueTypeDef
  2. See AttributeActionType

BatchStatementRequestTypeDef#

# BatchStatementRequestTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import BatchStatementRequestTypeDef


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


# BatchStatementRequestTypeDef definition

class BatchStatementRequestTypeDef(TypedDict):
    Statement: str,
    Parameters: NotRequired[Sequence[UniversalAttributeValueTypeDef]],  # (1)
    ConsistentRead: NotRequired[bool],
    ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType],  # (2)
  1. See AttributeValueTypeDef
  2. See ReturnValuesOnConditionCheckFailureType

ConditionCheckTypeDef#

# ConditionCheckTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ConditionCheckTypeDef


def get_value() -> ConditionCheckTypeDef:
    return {
        "Key": ...,
    }


# ConditionCheckTypeDef definition

class ConditionCheckTypeDef(TypedDict):
    Key: Mapping[str, UniversalAttributeValueTypeDef],  # (1)
    TableName: str,
    ConditionExpression: str,
    ExpressionAttributeNames: NotRequired[Mapping[str, str]],
    ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]],  # (1)
    ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType],  # (3)
  1. See AttributeValueTypeDef
  2. See AttributeValueTypeDef
  3. See ReturnValuesOnConditionCheckFailureType

ConditionTypeDef#

# ConditionTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ConditionTypeDef


def get_value() -> ConditionTypeDef:
    return {
        "AttributeValueList": ...,
    }


# ConditionTypeDef definition

class ConditionTypeDef(TypedDict):
    ComparisonOperator: ComparisonOperatorType,  # (2)
    AttributeValueList: NotRequired[Sequence[UniversalAttributeValueTypeDef]],  # (1)
  1. See AttributeValueTypeDef
  2. See ComparisonOperatorType

DeleteRequestTypeDef#

# DeleteRequestTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DeleteRequestTypeDef


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


# DeleteRequestTypeDef definition

class DeleteRequestTypeDef(TypedDict):
    Key: Mapping[str, UniversalAttributeValueTypeDef],  # (1)
  1. See AttributeValueTypeDef

DeleteTypeDef#

# DeleteTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DeleteTypeDef


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


# DeleteTypeDef definition

class DeleteTypeDef(TypedDict):
    Key: Mapping[str, UniversalAttributeValueTypeDef],  # (1)
    TableName: str,
    ConditionExpression: NotRequired[str],
    ExpressionAttributeNames: NotRequired[Mapping[str, str]],
    ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]],  # (1)
    ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType],  # (3)
  1. See AttributeValueTypeDef
  2. See AttributeValueTypeDef
  3. See ReturnValuesOnConditionCheckFailureType

ExecuteStatementInputTypeDef#

# ExecuteStatementInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ExecuteStatementInputTypeDef


def get_value() -> ExecuteStatementInputTypeDef:
    return {
        "Statement": ...,
    }


# ExecuteStatementInputTypeDef definition

class ExecuteStatementInputTypeDef(TypedDict):
    Statement: str,
    Parameters: NotRequired[Sequence[UniversalAttributeValueTypeDef]],  # (1)
    ConsistentRead: NotRequired[bool],
    NextToken: NotRequired[str],
    ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType],  # (2)
    Limit: NotRequired[int],
    ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType],  # (3)
  1. See AttributeValueTypeDef
  2. See ReturnConsumedCapacityType
  3. See ReturnValuesOnConditionCheckFailureType

ExpectedAttributeValueTypeDef#

# ExpectedAttributeValueTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ExpectedAttributeValueTypeDef


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


# ExpectedAttributeValueTypeDef definition

class ExpectedAttributeValueTypeDef(TypedDict):
    Value: NotRequired[UniversalAttributeValueTypeDef],  # (1)
    Exists: NotRequired[bool],
    ComparisonOperator: NotRequired[ComparisonOperatorType],  # (2)
    AttributeValueList: NotRequired[Sequence[UniversalAttributeValueTypeDef]],  # (3)
  1. See AttributeValueTypeDef
  2. See ComparisonOperatorType
  3. See AttributeValueTypeDef

GetItemInputTypeDef#

# GetItemInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import GetItemInputTypeDef


def get_value() -> GetItemInputTypeDef:
    return {
        "TableName": ...,
    }


# GetItemInputTypeDef definition

class GetItemInputTypeDef(TypedDict):
    TableName: str,
    Key: Mapping[str, UniversalAttributeValueTypeDef],  # (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 TypedDict usage example

from types_boto3_dynamodb.type_defs import GetTypeDef


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


# GetTypeDef definition

class GetTypeDef(TypedDict):
    Key: Mapping[str, UniversalAttributeValueTypeDef],  # (1)
    TableName: str,
    ProjectionExpression: NotRequired[str],
    ExpressionAttributeNames: NotRequired[Mapping[str, str]],
  1. See AttributeValueTypeDef

KeysAndAttributesTypeDef#

# KeysAndAttributesTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import KeysAndAttributesTypeDef


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


# KeysAndAttributesTypeDef definition

class KeysAndAttributesTypeDef(TypedDict):
    Keys: Sequence[Mapping[str, UniversalAttributeValueTypeDef]],  # (1)
    AttributesToGet: NotRequired[Sequence[str]],
    ConsistentRead: NotRequired[bool],
    ProjectionExpression: NotRequired[str],
    ExpressionAttributeNames: NotRequired[Mapping[str, str]],
  1. See AttributeValueTypeDef

ParameterizedStatementTypeDef#

# ParameterizedStatementTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ParameterizedStatementTypeDef


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


# ParameterizedStatementTypeDef definition

class ParameterizedStatementTypeDef(TypedDict):
    Statement: str,
    Parameters: NotRequired[Sequence[UniversalAttributeValueTypeDef]],  # (1)
    ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType],  # (2)
  1. See AttributeValueTypeDef
  2. See ReturnValuesOnConditionCheckFailureType

PutRequestTypeDef#

# PutRequestTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import PutRequestTypeDef


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


# PutRequestTypeDef definition

class PutRequestTypeDef(TypedDict):
    Item: Mapping[str, UniversalAttributeValueTypeDef],  # (1)
  1. See AttributeValueTypeDef

PutTypeDef#

# PutTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import PutTypeDef


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


# PutTypeDef definition

class PutTypeDef(TypedDict):
    Item: Mapping[str, UniversalAttributeValueTypeDef],  # (1)
    TableName: str,
    ConditionExpression: NotRequired[str],
    ExpressionAttributeNames: NotRequired[Mapping[str, str]],
    ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]],  # (1)
    ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType],  # (3)
  1. See AttributeValueTypeDef
  2. See AttributeValueTypeDef
  3. See ReturnValuesOnConditionCheckFailureType

UpdateTypeDef#

# UpdateTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import UpdateTypeDef


def get_value() -> UpdateTypeDef:
    return {
        "Key": ...,
    }


# UpdateTypeDef definition

class UpdateTypeDef(TypedDict):
    Key: Mapping[str, UniversalAttributeValueTypeDef],  # (1)
    UpdateExpression: str,
    TableName: str,
    ConditionExpression: NotRequired[str],
    ExpressionAttributeNames: NotRequired[Mapping[str, str]],
    ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]],  # (1)
    ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType],  # (3)
  1. See AttributeValueTypeDef
  2. See AttributeValueTypeDef
  3. See ReturnValuesOnConditionCheckFailureType

QueryInputTableQueryTypeDef#

# QueryInputTableQueryTypeDef TypedDict usage example

from types_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, TableAttributeValueTypeDef]],
    ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType],  # (5)
    ProjectionExpression: NotRequired[str],
    FilterExpression: NotRequired[ConditionBaseImportTypeDef],
    KeyConditionExpression: NotRequired[ConditionBaseImportTypeDef],
    ExpressionAttributeNames: NotRequired[Mapping[str, str]],
    ExpressionAttributeValues: NotRequired[Mapping[str, TableAttributeValueTypeDef]],
  1. See SelectType
  2. See ConditionTableTypeDef
  3. See ConditionTableTypeDef
  4. See ConditionalOperatorType
  5. See ReturnConsumedCapacityType

ScanInputTableScanTypeDef#

# ScanInputTableScanTypeDef TypedDict usage example

from types_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, TableAttributeValueTypeDef]],
    ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType],  # (4)
    TotalSegments: NotRequired[int],
    Segment: NotRequired[int],
    ProjectionExpression: NotRequired[str],
    FilterExpression: NotRequired[ConditionBaseImportTypeDef],
    ExpressionAttributeNames: NotRequired[Mapping[str, str]],
    ExpressionAttributeValues: NotRequired[Mapping[str, TableAttributeValueTypeDef]],
    ConsistentRead: NotRequired[bool],
  1. See SelectType
  2. See ConditionTableTypeDef
  3. See ConditionalOperatorType
  4. See ReturnConsumedCapacityType

DeleteItemInputTableDeleteItemTypeDef#

# DeleteItemInputTableDeleteItemTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DeleteItemInputTableDeleteItemTypeDef


def get_value() -> DeleteItemInputTableDeleteItemTypeDef:
    return {
        "Key": ...,
    }


# DeleteItemInputTableDeleteItemTypeDef definition

class DeleteItemInputTableDeleteItemTypeDef(TypedDict):
    Key: Mapping[str, TableAttributeValueTypeDef],
    Expected: NotRequired[Mapping[str, ExpectedAttributeValueTableTypeDef]],  # (1)
    ConditionalOperator: NotRequired[ConditionalOperatorType],  # (2)
    ReturnValues: NotRequired[ReturnValueType],  # (3)
    ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType],  # (4)
    ReturnItemCollectionMetrics: NotRequired[ReturnItemCollectionMetricsType],  # (5)
    ConditionExpression: NotRequired[ConditionBaseImportTypeDef],
    ExpressionAttributeNames: NotRequired[Mapping[str, str]],
    ExpressionAttributeValues: NotRequired[Mapping[str, TableAttributeValueTypeDef]],
    ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType],  # (6)
  1. See ExpectedAttributeValueTableTypeDef
  2. See ConditionalOperatorType
  3. See ReturnValueType
  4. See ReturnConsumedCapacityType
  5. See ReturnItemCollectionMetricsType
  6. See ReturnValuesOnConditionCheckFailureType

PutItemInputTablePutItemTypeDef#

# PutItemInputTablePutItemTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import PutItemInputTablePutItemTypeDef


def get_value() -> PutItemInputTablePutItemTypeDef:
    return {
        "Item": ...,
    }


# PutItemInputTablePutItemTypeDef definition

class PutItemInputTablePutItemTypeDef(TypedDict):
    Item: Mapping[str, TableAttributeValueTypeDef],
    Expected: NotRequired[Mapping[str, ExpectedAttributeValueTableTypeDef]],  # (1)
    ReturnValues: NotRequired[ReturnValueType],  # (2)
    ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType],  # (3)
    ReturnItemCollectionMetrics: NotRequired[ReturnItemCollectionMetricsType],  # (4)
    ConditionalOperator: NotRequired[ConditionalOperatorType],  # (5)
    ConditionExpression: NotRequired[ConditionBaseImportTypeDef],
    ExpressionAttributeNames: NotRequired[Mapping[str, str]],
    ExpressionAttributeValues: NotRequired[Mapping[str, TableAttributeValueTypeDef]],
    ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType],  # (6)
  1. See ExpectedAttributeValueTableTypeDef
  2. See ReturnValueType
  3. See ReturnConsumedCapacityType
  4. See ReturnItemCollectionMetricsType
  5. See ConditionalOperatorType
  6. See ReturnValuesOnConditionCheckFailureType

UpdateItemInputTableUpdateItemTypeDef#

# UpdateItemInputTableUpdateItemTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import UpdateItemInputTableUpdateItemTypeDef


def get_value() -> UpdateItemInputTableUpdateItemTypeDef:
    return {
        "Key": ...,
    }


# UpdateItemInputTableUpdateItemTypeDef definition

class UpdateItemInputTableUpdateItemTypeDef(TypedDict):
    Key: Mapping[str, TableAttributeValueTypeDef],
    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[ConditionBaseImportTypeDef],
    ExpressionAttributeNames: NotRequired[Mapping[str, str]],
    ExpressionAttributeValues: NotRequired[Mapping[str, TableAttributeValueTypeDef]],
    ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType],  # (7)
  1. See AttributeValueUpdateTableTypeDef
  2. See ExpectedAttributeValueTableTypeDef
  3. See ConditionalOperatorType
  4. See ReturnValueType
  5. See ReturnConsumedCapacityType
  6. See ReturnItemCollectionMetricsType
  7. See ReturnValuesOnConditionCheckFailureType

WriteRequestServiceResourceOutputTypeDef#

# WriteRequestServiceResourceOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import WriteRequestServiceResourceOutputTypeDef


def get_value() -> WriteRequestServiceResourceOutputTypeDef:
    return {
        "PutRequest": ...,
    }


# WriteRequestServiceResourceOutputTypeDef definition

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

AutoScalingSettingsDescriptionTypeDef#

# AutoScalingSettingsDescriptionTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import AutoScalingSettingsDescriptionTypeDef


def get_value() -> AutoScalingSettingsDescriptionTypeDef:
    return {
        "MinimumUnits": ...,
    }


# AutoScalingSettingsDescriptionTypeDef definition

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

AutoScalingSettingsUpdateTypeDef#

# AutoScalingSettingsUpdateTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import AutoScalingSettingsUpdateTypeDef


def get_value() -> AutoScalingSettingsUpdateTypeDef:
    return {
        "MinimumUnits": ...,
    }


# AutoScalingSettingsUpdateTypeDef definition

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

BatchGetItemOutputServiceResourceTypeDef#

# BatchGetItemOutputServiceResourceTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import BatchGetItemOutputServiceResourceTypeDef


def get_value() -> BatchGetItemOutputServiceResourceTypeDef:
    return {
        "Responses": ...,
    }


# BatchGetItemOutputServiceResourceTypeDef definition

class BatchGetItemOutputServiceResourceTypeDef(TypedDict):
    Responses: Dict[str, List[Dict[str, TableAttributeValueTypeDef]]],
    UnprocessedKeys: Dict[str, KeysAndAttributesServiceResourceOutputTypeDef],  # (1)
    ConsumedCapacity: List[ConsumedCapacityTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See KeysAndAttributesServiceResourceOutputTypeDef
  2. See ConsumedCapacityTypeDef
  3. See ResponseMetadataTypeDef

BatchGetItemOutputTypeDef#

# BatchGetItemOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import BatchGetItemOutputTypeDef


def get_value() -> BatchGetItemOutputTypeDef:
    return {
        "Responses": ...,
    }


# BatchGetItemOutputTypeDef definition

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

DeleteItemOutputTableTypeDef#

# DeleteItemOutputTableTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DeleteItemOutputTableTypeDef


def get_value() -> DeleteItemOutputTableTypeDef:
    return {
        "Attributes": ...,
    }


# DeleteItemOutputTableTypeDef definition

class DeleteItemOutputTableTypeDef(TypedDict):
    Attributes: Dict[str, TableAttributeValueTypeDef],
    ConsumedCapacity: ConsumedCapacityTypeDef,  # (1)
    ItemCollectionMetrics: ItemCollectionMetricsTableTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ConsumedCapacityTypeDef
  2. See ItemCollectionMetricsTableTypeDef
  3. See ResponseMetadataTypeDef

DeleteItemOutputTypeDef#

# DeleteItemOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DeleteItemOutputTypeDef


def get_value() -> DeleteItemOutputTypeDef:
    return {
        "Attributes": ...,
    }


# DeleteItemOutputTypeDef definition

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

ExecuteStatementOutputTypeDef#

# ExecuteStatementOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ExecuteStatementOutputTypeDef


def get_value() -> ExecuteStatementOutputTypeDef:
    return {
        "Items": ...,
    }


# ExecuteStatementOutputTypeDef definition

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

ExecuteTransactionOutputTypeDef#

# ExecuteTransactionOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ExecuteTransactionOutputTypeDef


def get_value() -> ExecuteTransactionOutputTypeDef:
    return {
        "Responses": ...,
    }


# ExecuteTransactionOutputTypeDef definition

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

GetItemOutputTableTypeDef#

# GetItemOutputTableTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import GetItemOutputTableTypeDef


def get_value() -> GetItemOutputTableTypeDef:
    return {
        "Item": ...,
    }


# GetItemOutputTableTypeDef definition

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

GetItemOutputTypeDef#

# GetItemOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import GetItemOutputTypeDef


def get_value() -> GetItemOutputTypeDef:
    return {
        "Item": ...,
    }


# GetItemOutputTypeDef definition

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

PutItemOutputTableTypeDef#

# PutItemOutputTableTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import PutItemOutputTableTypeDef


def get_value() -> PutItemOutputTableTypeDef:
    return {
        "Attributes": ...,
    }


# PutItemOutputTableTypeDef definition

class PutItemOutputTableTypeDef(TypedDict):
    Attributes: Dict[str, TableAttributeValueTypeDef],
    ConsumedCapacity: ConsumedCapacityTypeDef,  # (1)
    ItemCollectionMetrics: ItemCollectionMetricsTableTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ConsumedCapacityTypeDef
  2. See ItemCollectionMetricsTableTypeDef
  3. See ResponseMetadataTypeDef

PutItemOutputTypeDef#

# PutItemOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import PutItemOutputTypeDef


def get_value() -> PutItemOutputTypeDef:
    return {
        "Attributes": ...,
    }


# PutItemOutputTypeDef definition

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

QueryOutputTableTypeDef#

# QueryOutputTableTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import QueryOutputTableTypeDef


def get_value() -> QueryOutputTableTypeDef:
    return {
        "Items": ...,
    }


# QueryOutputTableTypeDef definition

class QueryOutputTableTypeDef(TypedDict):
    Items: List[Dict[str, TableAttributeValueTypeDef]],
    Count: int,
    ScannedCount: int,
    ConsumedCapacity: ConsumedCapacityTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    LastEvaluatedKey: NotRequired[Dict[str, TableAttributeValueTypeDef]],
  1. See ConsumedCapacityTypeDef
  2. See ResponseMetadataTypeDef

QueryOutputTypeDef#

# QueryOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import QueryOutputTypeDef


def get_value() -> QueryOutputTypeDef:
    return {
        "Items": ...,
    }


# QueryOutputTypeDef definition

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

ScanOutputTableTypeDef#

# ScanOutputTableTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ScanOutputTableTypeDef


def get_value() -> ScanOutputTableTypeDef:
    return {
        "Items": ...,
    }


# ScanOutputTableTypeDef definition

class ScanOutputTableTypeDef(TypedDict):
    Items: List[Dict[str, TableAttributeValueTypeDef]],
    Count: int,
    ScannedCount: int,
    ConsumedCapacity: ConsumedCapacityTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    LastEvaluatedKey: NotRequired[Dict[str, TableAttributeValueTypeDef]],
  1. See ConsumedCapacityTypeDef
  2. See ResponseMetadataTypeDef

ScanOutputTypeDef#

# ScanOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ScanOutputTypeDef


def get_value() -> ScanOutputTypeDef:
    return {
        "Items": ...,
    }


# ScanOutputTypeDef definition

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

TransactGetItemsOutputTypeDef#

# TransactGetItemsOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import TransactGetItemsOutputTypeDef


def get_value() -> TransactGetItemsOutputTypeDef:
    return {
        "ConsumedCapacity": ...,
    }


# TransactGetItemsOutputTypeDef definition

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

TransactWriteItemsOutputTypeDef#

# TransactWriteItemsOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import TransactWriteItemsOutputTypeDef


def get_value() -> TransactWriteItemsOutputTypeDef:
    return {
        "ConsumedCapacity": ...,
    }


# TransactWriteItemsOutputTypeDef definition

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

UpdateItemOutputTableTypeDef#

# UpdateItemOutputTableTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import UpdateItemOutputTableTypeDef


def get_value() -> UpdateItemOutputTableTypeDef:
    return {
        "Attributes": ...,
    }


# UpdateItemOutputTableTypeDef definition

class UpdateItemOutputTableTypeDef(TypedDict):
    Attributes: Dict[str, TableAttributeValueTypeDef],
    ConsumedCapacity: ConsumedCapacityTypeDef,  # (1)
    ItemCollectionMetrics: ItemCollectionMetricsTableTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ConsumedCapacityTypeDef
  2. See ItemCollectionMetricsTableTypeDef
  3. See ResponseMetadataTypeDef

UpdateItemOutputTypeDef#

# UpdateItemOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import UpdateItemOutputTypeDef


def get_value() -> UpdateItemOutputTypeDef:
    return {
        "Attributes": ...,
    }


# UpdateItemOutputTypeDef definition

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

DescribeContinuousBackupsOutputTypeDef#

# DescribeContinuousBackupsOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DescribeContinuousBackupsOutputTypeDef


def get_value() -> DescribeContinuousBackupsOutputTypeDef:
    return {
        "ContinuousBackupsDescription": ...,
    }


# DescribeContinuousBackupsOutputTypeDef definition

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

UpdateContinuousBackupsOutputTypeDef#

# UpdateContinuousBackupsOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import UpdateContinuousBackupsOutputTypeDef


def get_value() -> UpdateContinuousBackupsOutputTypeDef:
    return {
        "ContinuousBackupsDescription": ...,
    }


# UpdateContinuousBackupsOutputTypeDef definition

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

ListGlobalTablesOutputTypeDef#

# ListGlobalTablesOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ListGlobalTablesOutputTypeDef


def get_value() -> ListGlobalTablesOutputTypeDef:
    return {
        "GlobalTables": ...,
    }


# ListGlobalTablesOutputTypeDef definition

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

CreateReplicationGroupMemberActionTypeDef#

# CreateReplicationGroupMemberActionTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import CreateReplicationGroupMemberActionTypeDef


def get_value() -> CreateReplicationGroupMemberActionTypeDef:
    return {
        "RegionName": ...,
    }


# CreateReplicationGroupMemberActionTypeDef definition

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

UpdateReplicationGroupMemberActionTypeDef#

# UpdateReplicationGroupMemberActionTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import UpdateReplicationGroupMemberActionTypeDef


def get_value() -> UpdateReplicationGroupMemberActionTypeDef:
    return {
        "RegionName": ...,
    }


# UpdateReplicationGroupMemberActionTypeDef definition

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

UpdateGlobalTableInputTypeDef#

# UpdateGlobalTableInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import UpdateGlobalTableInputTypeDef


def get_value() -> UpdateGlobalTableInputTypeDef:
    return {
        "GlobalTableName": ...,
    }


# UpdateGlobalTableInputTypeDef definition

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

DescribeExportOutputTypeDef#

# DescribeExportOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DescribeExportOutputTypeDef


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


# DescribeExportOutputTypeDef definition

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

ExportTableToPointInTimeOutputTypeDef#

# ExportTableToPointInTimeOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ExportTableToPointInTimeOutputTypeDef


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


# ExportTableToPointInTimeOutputTypeDef definition

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

ReplicaDescriptionTypeDef#

# ReplicaDescriptionTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ReplicaDescriptionTypeDef


def get_value() -> ReplicaDescriptionTypeDef:
    return {
        "RegionName": ...,
    }


# ReplicaDescriptionTypeDef definition

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

TableCreationParametersOutputTypeDef#

# TableCreationParametersOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import TableCreationParametersOutputTypeDef


def get_value() -> TableCreationParametersOutputTypeDef:
    return {
        "TableName": ...,
    }


# TableCreationParametersOutputTypeDef definition

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

SourceTableFeatureDetailsTypeDef#

# SourceTableFeatureDetailsTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import SourceTableFeatureDetailsTypeDef


def get_value() -> SourceTableFeatureDetailsTypeDef:
    return {
        "LocalSecondaryIndexes": ...,
    }


# SourceTableFeatureDetailsTypeDef definition

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

ListImportsOutputTypeDef#

# ListImportsOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ListImportsOutputTypeDef


def get_value() -> ListImportsOutputTypeDef:
    return {
        "ImportSummaryList": ...,
    }


# ListImportsOutputTypeDef definition

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

CreateGlobalSecondaryIndexActionTypeDef#

# CreateGlobalSecondaryIndexActionTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import CreateGlobalSecondaryIndexActionTypeDef


def get_value() -> CreateGlobalSecondaryIndexActionTypeDef:
    return {
        "IndexName": ...,
    }


# CreateGlobalSecondaryIndexActionTypeDef definition

class CreateGlobalSecondaryIndexActionTypeDef(TypedDict):
    IndexName: str,
    KeySchema: Sequence[KeySchemaElementTypeDef],  # (1)
    Projection: ProjectionUnionTypeDef,  # (2)
    ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef],  # (3)
    OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef],  # (4)
    WarmThroughput: NotRequired[WarmThroughputTypeDef],  # (5)
  1. See KeySchemaElementTypeDef
  2. See ProjectionTypeDef ProjectionOutputTypeDef
  3. See ProvisionedThroughputTypeDef
  4. See OnDemandThroughputTypeDef
  5. See WarmThroughputTypeDef

GlobalSecondaryIndexTypeDef#

# GlobalSecondaryIndexTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import GlobalSecondaryIndexTypeDef


def get_value() -> GlobalSecondaryIndexTypeDef:
    return {
        "IndexName": ...,
    }


# GlobalSecondaryIndexTypeDef definition

class GlobalSecondaryIndexTypeDef(TypedDict):
    IndexName: str,
    KeySchema: Sequence[KeySchemaElementTypeDef],  # (1)
    Projection: ProjectionUnionTypeDef,  # (2)
    ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef],  # (3)
    OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef],  # (4)
    WarmThroughput: NotRequired[WarmThroughputTypeDef],  # (5)
  1. See KeySchemaElementTypeDef
  2. See ProjectionTypeDef ProjectionOutputTypeDef
  3. See ProvisionedThroughputTypeDef
  4. See OnDemandThroughputTypeDef
  5. See WarmThroughputTypeDef

LocalSecondaryIndexTypeDef#

# LocalSecondaryIndexTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import LocalSecondaryIndexTypeDef


def get_value() -> LocalSecondaryIndexTypeDef:
    return {
        "IndexName": ...,
    }


# LocalSecondaryIndexTypeDef definition

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

BatchExecuteStatementOutputTypeDef#

# BatchExecuteStatementOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import BatchExecuteStatementOutputTypeDef


def get_value() -> BatchExecuteStatementOutputTypeDef:
    return {
        "Responses": ...,
    }


# BatchExecuteStatementOutputTypeDef definition

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

BatchWriteItemOutputTypeDef#

# BatchWriteItemOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import BatchWriteItemOutputTypeDef


def get_value() -> BatchWriteItemOutputTypeDef:
    return {
        "UnprocessedItems": ...,
    }


# BatchWriteItemOutputTypeDef definition

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

BatchExecuteStatementInputTypeDef#

# BatchExecuteStatementInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import BatchExecuteStatementInputTypeDef


def get_value() -> BatchExecuteStatementInputTypeDef:
    return {
        "Statements": ...,
    }


# BatchExecuteStatementInputTypeDef definition

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

QueryInputPaginateTypeDef#

# QueryInputPaginateTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import QueryInputPaginateTypeDef


def get_value() -> QueryInputPaginateTypeDef:
    return {
        "TableName": ...,
    }


# QueryInputPaginateTypeDef definition

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

QueryInputTypeDef#

# QueryInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import QueryInputTypeDef


def get_value() -> QueryInputTypeDef:
    return {
        "TableName": ...,
    }


# QueryInputTypeDef definition

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

ScanInputPaginateTypeDef#

# ScanInputPaginateTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ScanInputPaginateTypeDef


def get_value() -> ScanInputPaginateTypeDef:
    return {
        "TableName": ...,
    }


# ScanInputPaginateTypeDef definition

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

ScanInputTypeDef#

# ScanInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ScanInputTypeDef


def get_value() -> ScanInputTypeDef:
    return {
        "TableName": ...,
    }


# ScanInputTypeDef definition

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

DeleteItemInputTypeDef#

# DeleteItemInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DeleteItemInputTypeDef


def get_value() -> DeleteItemInputTypeDef:
    return {
        "TableName": ...,
    }


# DeleteItemInputTypeDef definition

class DeleteItemInputTypeDef(TypedDict):
    TableName: str,
    Key: Mapping[str, UniversalAttributeValueTypeDef],  # (1)
    Expected: NotRequired[Mapping[str, ExpectedAttributeValueTypeDef]],  # (2)
    ConditionalOperator: NotRequired[ConditionalOperatorType],  # (3)
    ReturnValues: NotRequired[ReturnValueType],  # (4)
    ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType],  # (5)
    ReturnItemCollectionMetrics: NotRequired[ReturnItemCollectionMetricsType],  # (6)
    ConditionExpression: NotRequired[str],
    ExpressionAttributeNames: NotRequired[Mapping[str, str]],
    ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]],  # (1)
    ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType],  # (8)
  1. See AttributeValueTypeDef
  2. See ExpectedAttributeValueTypeDef
  3. See ConditionalOperatorType
  4. See ReturnValueType
  5. See ReturnConsumedCapacityType
  6. See ReturnItemCollectionMetricsType
  7. See AttributeValueTypeDef
  8. See ReturnValuesOnConditionCheckFailureType

PutItemInputTypeDef#

# PutItemInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import PutItemInputTypeDef


def get_value() -> PutItemInputTypeDef:
    return {
        "TableName": ...,
    }


# PutItemInputTypeDef definition

class PutItemInputTypeDef(TypedDict):
    TableName: str,
    Item: Mapping[str, UniversalAttributeValueTypeDef],  # (1)
    Expected: NotRequired[Mapping[str, ExpectedAttributeValueTypeDef]],  # (2)
    ReturnValues: NotRequired[ReturnValueType],  # (3)
    ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType],  # (4)
    ReturnItemCollectionMetrics: NotRequired[ReturnItemCollectionMetricsType],  # (5)
    ConditionalOperator: NotRequired[ConditionalOperatorType],  # (6)
    ConditionExpression: NotRequired[str],
    ExpressionAttributeNames: NotRequired[Mapping[str, str]],
    ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]],  # (1)
    ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType],  # (8)
  1. See AttributeValueTypeDef
  2. See ExpectedAttributeValueTypeDef
  3. See ReturnValueType
  4. See ReturnConsumedCapacityType
  5. See ReturnItemCollectionMetricsType
  6. See ConditionalOperatorType
  7. See AttributeValueTypeDef
  8. See ReturnValuesOnConditionCheckFailureType

UpdateItemInputTypeDef#

# UpdateItemInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import UpdateItemInputTypeDef


def get_value() -> UpdateItemInputTypeDef:
    return {
        "TableName": ...,
    }


# UpdateItemInputTypeDef definition

class UpdateItemInputTypeDef(TypedDict):
    TableName: str,
    Key: Mapping[str, UniversalAttributeValueTypeDef],  # (1)
    AttributeUpdates: NotRequired[Mapping[str, AttributeValueUpdateTypeDef]],  # (2)
    Expected: NotRequired[Mapping[str, ExpectedAttributeValueTypeDef]],  # (3)
    ConditionalOperator: NotRequired[ConditionalOperatorType],  # (4)
    ReturnValues: NotRequired[ReturnValueType],  # (5)
    ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType],  # (6)
    ReturnItemCollectionMetrics: NotRequired[ReturnItemCollectionMetricsType],  # (7)
    UpdateExpression: NotRequired[str],
    ConditionExpression: NotRequired[str],
    ExpressionAttributeNames: NotRequired[Mapping[str, str]],
    ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]],  # (1)
    ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType],  # (9)
  1. See AttributeValueTypeDef
  2. See AttributeValueUpdateTypeDef
  3. See ExpectedAttributeValueTypeDef
  4. See ConditionalOperatorType
  5. See ReturnValueType
  6. See ReturnConsumedCapacityType
  7. See ReturnItemCollectionMetricsType
  8. See AttributeValueTypeDef
  9. See ReturnValuesOnConditionCheckFailureType

TransactGetItemTypeDef#

# TransactGetItemTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import TransactGetItemTypeDef


def get_value() -> TransactGetItemTypeDef:
    return {
        "Get": ...,
    }


# TransactGetItemTypeDef definition

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

ExecuteTransactionInputTypeDef#

# ExecuteTransactionInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ExecuteTransactionInputTypeDef


def get_value() -> ExecuteTransactionInputTypeDef:
    return {
        "TransactStatements": ...,
    }


# ExecuteTransactionInputTypeDef definition

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

TransactWriteItemTypeDef#

# TransactWriteItemTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import TransactWriteItemTypeDef


def get_value() -> TransactWriteItemTypeDef:
    return {
        "ConditionCheck": ...,
    }


# TransactWriteItemTypeDef definition

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

BatchGetItemInputServiceResourceBatchGetItemTypeDef#

# BatchGetItemInputServiceResourceBatchGetItemTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import BatchGetItemInputServiceResourceBatchGetItemTypeDef


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


# BatchGetItemInputServiceResourceBatchGetItemTypeDef definition

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

BatchWriteItemOutputServiceResourceTypeDef#

# BatchWriteItemOutputServiceResourceTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import BatchWriteItemOutputServiceResourceTypeDef


def get_value() -> BatchWriteItemOutputServiceResourceTypeDef:
    return {
        "UnprocessedItems": ...,
    }


# BatchWriteItemOutputServiceResourceTypeDef definition

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

WriteRequestServiceResourceTypeDef#

# WriteRequestServiceResourceTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import WriteRequestServiceResourceTypeDef


def get_value() -> WriteRequestServiceResourceTypeDef:
    return {
        "PutRequest": ...,
    }


# WriteRequestServiceResourceTypeDef definition

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

ReplicaGlobalSecondaryIndexAutoScalingDescriptionTypeDef#

# ReplicaGlobalSecondaryIndexAutoScalingDescriptionTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ReplicaGlobalSecondaryIndexAutoScalingDescriptionTypeDef


def get_value() -> ReplicaGlobalSecondaryIndexAutoScalingDescriptionTypeDef:
    return {
        "IndexName": ...,
    }


# ReplicaGlobalSecondaryIndexAutoScalingDescriptionTypeDef definition

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

ReplicaGlobalSecondaryIndexSettingsDescriptionTypeDef#

# ReplicaGlobalSecondaryIndexSettingsDescriptionTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ReplicaGlobalSecondaryIndexSettingsDescriptionTypeDef


def get_value() -> ReplicaGlobalSecondaryIndexSettingsDescriptionTypeDef:
    return {
        "IndexName": ...,
    }


# ReplicaGlobalSecondaryIndexSettingsDescriptionTypeDef definition

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

GlobalSecondaryIndexAutoScalingUpdateTypeDef#

# GlobalSecondaryIndexAutoScalingUpdateTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import GlobalSecondaryIndexAutoScalingUpdateTypeDef


def get_value() -> GlobalSecondaryIndexAutoScalingUpdateTypeDef:
    return {
        "IndexName": ...,
    }


# GlobalSecondaryIndexAutoScalingUpdateTypeDef definition

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

GlobalTableGlobalSecondaryIndexSettingsUpdateTypeDef#

# GlobalTableGlobalSecondaryIndexSettingsUpdateTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import GlobalTableGlobalSecondaryIndexSettingsUpdateTypeDef


def get_value() -> GlobalTableGlobalSecondaryIndexSettingsUpdateTypeDef:
    return {
        "IndexName": ...,
    }


# GlobalTableGlobalSecondaryIndexSettingsUpdateTypeDef definition

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

ReplicaGlobalSecondaryIndexAutoScalingUpdateTypeDef#

# ReplicaGlobalSecondaryIndexAutoScalingUpdateTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ReplicaGlobalSecondaryIndexAutoScalingUpdateTypeDef


def get_value() -> ReplicaGlobalSecondaryIndexAutoScalingUpdateTypeDef:
    return {
        "IndexName": ...,
    }


# ReplicaGlobalSecondaryIndexAutoScalingUpdateTypeDef definition

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

ReplicaGlobalSecondaryIndexSettingsUpdateTypeDef#

# ReplicaGlobalSecondaryIndexSettingsUpdateTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ReplicaGlobalSecondaryIndexSettingsUpdateTypeDef


def get_value() -> ReplicaGlobalSecondaryIndexSettingsUpdateTypeDef:
    return {
        "IndexName": ...,
    }


# ReplicaGlobalSecondaryIndexSettingsUpdateTypeDef definition

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

ReplicationGroupUpdateTypeDef#

# ReplicationGroupUpdateTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ReplicationGroupUpdateTypeDef


def get_value() -> ReplicationGroupUpdateTypeDef:
    return {
        "Create": ...,
    }


# ReplicationGroupUpdateTypeDef definition

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

ExportTableToPointInTimeInputTypeDef#

# ExportTableToPointInTimeInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ExportTableToPointInTimeInputTypeDef


def get_value() -> ExportTableToPointInTimeInputTypeDef:
    return {
        "TableArn": ...,
    }


# ExportTableToPointInTimeInputTypeDef definition

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

GlobalTableDescriptionTypeDef#

# GlobalTableDescriptionTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import GlobalTableDescriptionTypeDef


def get_value() -> GlobalTableDescriptionTypeDef:
    return {
        "ReplicationGroup": ...,
    }


# GlobalTableDescriptionTypeDef definition

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

TableDescriptionTypeDef#

# TableDescriptionTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import TableDescriptionTypeDef


def get_value() -> TableDescriptionTypeDef:
    return {
        "AttributeDefinitions": ...,
    }


# TableDescriptionTypeDef definition

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

ImportTableDescriptionTypeDef#

# ImportTableDescriptionTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ImportTableDescriptionTypeDef


def get_value() -> ImportTableDescriptionTypeDef:
    return {
        "ImportArn": ...,
    }


# ImportTableDescriptionTypeDef definition

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

BackupDescriptionTypeDef#

# BackupDescriptionTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import BackupDescriptionTypeDef


def get_value() -> BackupDescriptionTypeDef:
    return {
        "BackupDetails": ...,
    }


# BackupDescriptionTypeDef definition

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

GlobalSecondaryIndexUpdateTypeDef#

# GlobalSecondaryIndexUpdateTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import GlobalSecondaryIndexUpdateTypeDef


def get_value() -> GlobalSecondaryIndexUpdateTypeDef:
    return {
        "Update": ...,
    }


# GlobalSecondaryIndexUpdateTypeDef definition

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

TableCreationParametersTypeDef#

# TableCreationParametersTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import TableCreationParametersTypeDef


def get_value() -> TableCreationParametersTypeDef:
    return {
        "TableName": ...,
    }


# TableCreationParametersTypeDef definition

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

TransactGetItemsInputTypeDef#

# TransactGetItemsInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import TransactGetItemsInputTypeDef


def get_value() -> TransactGetItemsInputTypeDef:
    return {
        "TransactItems": ...,
    }


# TransactGetItemsInputTypeDef definition

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

BatchGetItemInputTypeDef#

# BatchGetItemInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import BatchGetItemInputTypeDef


def get_value() -> BatchGetItemInputTypeDef:
    return {
        "RequestItems": ...,
    }


# BatchGetItemInputTypeDef definition

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

WriteRequestTypeDef#

# WriteRequestTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import WriteRequestTypeDef


def get_value() -> WriteRequestTypeDef:
    return {
        "PutRequest": ...,
    }


# WriteRequestTypeDef definition

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

TransactWriteItemsInputTypeDef#

# TransactWriteItemsInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import TransactWriteItemsInputTypeDef


def get_value() -> TransactWriteItemsInputTypeDef:
    return {
        "TransactItems": ...,
    }


# TransactWriteItemsInputTypeDef definition

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

ReplicaAutoScalingDescriptionTypeDef#

# ReplicaAutoScalingDescriptionTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ReplicaAutoScalingDescriptionTypeDef


def get_value() -> ReplicaAutoScalingDescriptionTypeDef:
    return {
        "RegionName": ...,
    }


# ReplicaAutoScalingDescriptionTypeDef definition

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

ReplicaSettingsDescriptionTypeDef#

# ReplicaSettingsDescriptionTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ReplicaSettingsDescriptionTypeDef


def get_value() -> ReplicaSettingsDescriptionTypeDef:
    return {
        "RegionName": ...,
    }


# ReplicaSettingsDescriptionTypeDef definition

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

ReplicaAutoScalingUpdateTypeDef#

# ReplicaAutoScalingUpdateTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ReplicaAutoScalingUpdateTypeDef


def get_value() -> ReplicaAutoScalingUpdateTypeDef:
    return {
        "RegionName": ...,
    }


# ReplicaAutoScalingUpdateTypeDef definition

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

ReplicaSettingsUpdateTypeDef#

# ReplicaSettingsUpdateTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ReplicaSettingsUpdateTypeDef


def get_value() -> ReplicaSettingsUpdateTypeDef:
    return {
        "RegionName": ...,
    }


# ReplicaSettingsUpdateTypeDef definition

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

CreateGlobalTableOutputTypeDef#

# CreateGlobalTableOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import CreateGlobalTableOutputTypeDef


def get_value() -> CreateGlobalTableOutputTypeDef:
    return {
        "GlobalTableDescription": ...,
    }


# CreateGlobalTableOutputTypeDef definition

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

DescribeGlobalTableOutputTypeDef#

# DescribeGlobalTableOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DescribeGlobalTableOutputTypeDef


def get_value() -> DescribeGlobalTableOutputTypeDef:
    return {
        "GlobalTableDescription": ...,
    }


# DescribeGlobalTableOutputTypeDef definition

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

UpdateGlobalTableOutputTypeDef#

# UpdateGlobalTableOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import UpdateGlobalTableOutputTypeDef


def get_value() -> UpdateGlobalTableOutputTypeDef:
    return {
        "GlobalTableDescription": ...,
    }


# UpdateGlobalTableOutputTypeDef definition

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

CreateTableOutputTypeDef#

# CreateTableOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import CreateTableOutputTypeDef


def get_value() -> CreateTableOutputTypeDef:
    return {
        "TableDescription": ...,
    }


# CreateTableOutputTypeDef definition

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

DeleteTableOutputTypeDef#

# DeleteTableOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DeleteTableOutputTypeDef


def get_value() -> DeleteTableOutputTypeDef:
    return {
        "TableDescription": ...,
    }


# DeleteTableOutputTypeDef definition

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

DescribeTableOutputTypeDef#

# DescribeTableOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DescribeTableOutputTypeDef


def get_value() -> DescribeTableOutputTypeDef:
    return {
        "Table": ...,
    }


# DescribeTableOutputTypeDef definition

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

RestoreTableFromBackupOutputTypeDef#

# RestoreTableFromBackupOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import RestoreTableFromBackupOutputTypeDef


def get_value() -> RestoreTableFromBackupOutputTypeDef:
    return {
        "TableDescription": ...,
    }


# RestoreTableFromBackupOutputTypeDef definition

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

RestoreTableToPointInTimeOutputTypeDef#

# RestoreTableToPointInTimeOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import RestoreTableToPointInTimeOutputTypeDef


def get_value() -> RestoreTableToPointInTimeOutputTypeDef:
    return {
        "TableDescription": ...,
    }


# RestoreTableToPointInTimeOutputTypeDef definition

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

UpdateTableOutputTypeDef#

# UpdateTableOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import UpdateTableOutputTypeDef


def get_value() -> UpdateTableOutputTypeDef:
    return {
        "TableDescription": ...,
    }


# UpdateTableOutputTypeDef definition

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

DescribeImportOutputTypeDef#

# DescribeImportOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DescribeImportOutputTypeDef


def get_value() -> DescribeImportOutputTypeDef:
    return {
        "ImportTableDescription": ...,
    }


# DescribeImportOutputTypeDef definition

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

ImportTableOutputTypeDef#

# ImportTableOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ImportTableOutputTypeDef


def get_value() -> ImportTableOutputTypeDef:
    return {
        "ImportTableDescription": ...,
    }


# ImportTableOutputTypeDef definition

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

DeleteBackupOutputTypeDef#

# DeleteBackupOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DeleteBackupOutputTypeDef


def get_value() -> DeleteBackupOutputTypeDef:
    return {
        "BackupDescription": ...,
    }


# DeleteBackupOutputTypeDef definition

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

DescribeBackupOutputTypeDef#

# DescribeBackupOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DescribeBackupOutputTypeDef


def get_value() -> DescribeBackupOutputTypeDef:
    return {
        "BackupDescription": ...,
    }


# DescribeBackupOutputTypeDef definition

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

UpdateTableInputTableUpdateTypeDef#

# UpdateTableInputTableUpdateTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import UpdateTableInputTableUpdateTypeDef


def get_value() -> UpdateTableInputTableUpdateTypeDef:
    return {
        "AttributeDefinitions": ...,
    }


# UpdateTableInputTableUpdateTypeDef definition

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

UpdateTableInputTypeDef#

# UpdateTableInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import UpdateTableInputTypeDef


def get_value() -> UpdateTableInputTypeDef:
    return {
        "TableName": ...,
    }


# UpdateTableInputTypeDef definition

class UpdateTableInputTypeDef(TypedDict):
    TableName: str,
    AttributeDefinitions: NotRequired[Sequence[AttributeDefinitionTypeDef]],  # (1)
    BillingMode: NotRequired[BillingModeType],  # (2)
    ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef],  # (3)
    GlobalSecondaryIndexUpdates: NotRequired[Sequence[GlobalSecondaryIndexUpdateTypeDef]],  # (4)
    StreamSpecification: NotRequired[StreamSpecificationTypeDef],  # (5)
    SSESpecification: NotRequired[SSESpecificationTypeDef],  # (6)
    ReplicaUpdates: NotRequired[Sequence[ReplicationGroupUpdateTypeDef]],  # (7)
    TableClass: NotRequired[TableClassType],  # (8)
    DeletionProtectionEnabled: NotRequired[bool],
    MultiRegionConsistency: NotRequired[MultiRegionConsistencyType],  # (9)
    OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef],  # (10)
    WarmThroughput: NotRequired[WarmThroughputTypeDef],  # (11)
  1. See AttributeDefinitionTypeDef
  2. See BillingModeType
  3. See ProvisionedThroughputTypeDef
  4. See GlobalSecondaryIndexUpdateTypeDef
  5. See StreamSpecificationTypeDef
  6. See SSESpecificationTypeDef
  7. See ReplicationGroupUpdateTypeDef
  8. See TableClassType
  9. See MultiRegionConsistencyType
  10. See OnDemandThroughputTypeDef
  11. See WarmThroughputTypeDef

CreateTableInputServiceResourceCreateTableTypeDef#

# CreateTableInputServiceResourceCreateTableTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import CreateTableInputServiceResourceCreateTableTypeDef


def get_value() -> CreateTableInputServiceResourceCreateTableTypeDef:
    return {
        "AttributeDefinitions": ...,
    }


# CreateTableInputServiceResourceCreateTableTypeDef definition

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

CreateTableInputTypeDef#

# CreateTableInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import CreateTableInputTypeDef


def get_value() -> CreateTableInputTypeDef:
    return {
        "AttributeDefinitions": ...,
    }


# CreateTableInputTypeDef definition

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

RestoreTableFromBackupInputTypeDef#

# RestoreTableFromBackupInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import RestoreTableFromBackupInputTypeDef


def get_value() -> RestoreTableFromBackupInputTypeDef:
    return {
        "TargetTableName": ...,
    }


# RestoreTableFromBackupInputTypeDef definition

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

RestoreTableToPointInTimeInputTypeDef#

# RestoreTableToPointInTimeInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import RestoreTableToPointInTimeInputTypeDef


def get_value() -> RestoreTableToPointInTimeInputTypeDef:
    return {
        "TargetTableName": ...,
    }


# RestoreTableToPointInTimeInputTypeDef definition

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

BatchWriteItemInputServiceResourceBatchWriteItemTypeDef#

# BatchWriteItemInputServiceResourceBatchWriteItemTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import BatchWriteItemInputServiceResourceBatchWriteItemTypeDef


def get_value() -> BatchWriteItemInputServiceResourceBatchWriteItemTypeDef:
    return {
        "RequestItems": ...,
    }


# BatchWriteItemInputServiceResourceBatchWriteItemTypeDef definition

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

TableAutoScalingDescriptionTypeDef#

# TableAutoScalingDescriptionTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import TableAutoScalingDescriptionTypeDef


def get_value() -> TableAutoScalingDescriptionTypeDef:
    return {
        "TableName": ...,
    }


# TableAutoScalingDescriptionTypeDef definition

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

DescribeGlobalTableSettingsOutputTypeDef#

# DescribeGlobalTableSettingsOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DescribeGlobalTableSettingsOutputTypeDef


def get_value() -> DescribeGlobalTableSettingsOutputTypeDef:
    return {
        "GlobalTableName": ...,
    }


# DescribeGlobalTableSettingsOutputTypeDef definition

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

UpdateGlobalTableSettingsOutputTypeDef#

# UpdateGlobalTableSettingsOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import UpdateGlobalTableSettingsOutputTypeDef


def get_value() -> UpdateGlobalTableSettingsOutputTypeDef:
    return {
        "GlobalTableName": ...,
    }


# UpdateGlobalTableSettingsOutputTypeDef definition

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

UpdateTableReplicaAutoScalingInputTypeDef#

# UpdateTableReplicaAutoScalingInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import UpdateTableReplicaAutoScalingInputTypeDef


def get_value() -> UpdateTableReplicaAutoScalingInputTypeDef:
    return {
        "TableName": ...,
    }


# UpdateTableReplicaAutoScalingInputTypeDef definition

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

UpdateGlobalTableSettingsInputTypeDef#

# UpdateGlobalTableSettingsInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import UpdateGlobalTableSettingsInputTypeDef


def get_value() -> UpdateGlobalTableSettingsInputTypeDef:
    return {
        "GlobalTableName": ...,
    }


# UpdateGlobalTableSettingsInputTypeDef definition

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

ImportTableInputTypeDef#

# ImportTableInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import ImportTableInputTypeDef


def get_value() -> ImportTableInputTypeDef:
    return {
        "S3BucketSource": ...,
    }


# ImportTableInputTypeDef definition

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

BatchWriteItemInputTypeDef#

# BatchWriteItemInputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import BatchWriteItemInputTypeDef


def get_value() -> BatchWriteItemInputTypeDef:
    return {
        "RequestItems": ...,
    }


# BatchWriteItemInputTypeDef definition

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

DescribeTableReplicaAutoScalingOutputTypeDef#

# DescribeTableReplicaAutoScalingOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import DescribeTableReplicaAutoScalingOutputTypeDef


def get_value() -> DescribeTableReplicaAutoScalingOutputTypeDef:
    return {
        "TableAutoScalingDescription": ...,
    }


# DescribeTableReplicaAutoScalingOutputTypeDef definition

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

UpdateTableReplicaAutoScalingOutputTypeDef#

# UpdateTableReplicaAutoScalingOutputTypeDef TypedDict usage example

from types_boto3_dynamodb.type_defs import UpdateTableReplicaAutoScalingOutputTypeDef


def get_value() -> UpdateTableReplicaAutoScalingOutputTypeDef:
    return {
        "TableAutoScalingDescription": ...,
    }


# UpdateTableReplicaAutoScalingOutputTypeDef definition

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