Skip to content

Literals#

Index > DynamoDB > Literals

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

ApproximateCreationDateTimePrecisionType#

# ApproximateCreationDateTimePrecisionType usage example

from mypy_boto3_dynamodb.literals import ApproximateCreationDateTimePrecisionType

def get_value() -> ApproximateCreationDateTimePrecisionType:
    return "MICROSECOND"
# ApproximateCreationDateTimePrecisionType definition

ApproximateCreationDateTimePrecisionType = Literal[
    "MICROSECOND",
    "MILLISECOND",
]

AttributeActionType#

# AttributeActionType usage example

from mypy_boto3_dynamodb.literals import AttributeActionType

def get_value() -> AttributeActionType:
    return "ADD"
# AttributeActionType definition

AttributeActionType = Literal[
    "ADD",
    "DELETE",
    "PUT",
]

BackupStatusType#

# BackupStatusType usage example

from mypy_boto3_dynamodb.literals import BackupStatusType

def get_value() -> BackupStatusType:
    return "AVAILABLE"
# BackupStatusType definition

BackupStatusType = Literal[
    "AVAILABLE",
    "CREATING",
    "DELETED",
]

BackupTypeFilterType#

# BackupTypeFilterType usage example

from mypy_boto3_dynamodb.literals import BackupTypeFilterType

def get_value() -> BackupTypeFilterType:
    return "ALL"
# BackupTypeFilterType definition

BackupTypeFilterType = Literal[
    "ALL",
    "AWS_BACKUP",
    "SYSTEM",
    "USER",
]

BackupTypeType#

# BackupTypeType usage example

from mypy_boto3_dynamodb.literals import BackupTypeType

def get_value() -> BackupTypeType:
    return "AWS_BACKUP"
# BackupTypeType definition

BackupTypeType = Literal[
    "AWS_BACKUP",
    "SYSTEM",
    "USER",
]

BatchStatementErrorCodeEnumType#

# BatchStatementErrorCodeEnumType usage example

from mypy_boto3_dynamodb.literals import BatchStatementErrorCodeEnumType

def get_value() -> BatchStatementErrorCodeEnumType:
    return "AccessDenied"
# BatchStatementErrorCodeEnumType definition

BatchStatementErrorCodeEnumType = Literal[
    "AccessDenied",
    "ConditionalCheckFailed",
    "DuplicateItem",
    "InternalServerError",
    "ItemCollectionSizeLimitExceeded",
    "ProvisionedThroughputExceeded",
    "RequestLimitExceeded",
    "ResourceNotFound",
    "ThrottlingError",
    "TransactionConflict",
    "ValidationError",
]

BillingModeType#

# BillingModeType usage example

from mypy_boto3_dynamodb.literals import BillingModeType

def get_value() -> BillingModeType:
    return "PAY_PER_REQUEST"
# BillingModeType definition

BillingModeType = Literal[
    "PAY_PER_REQUEST",
    "PROVISIONED",
]

ComparisonOperatorType#

# ComparisonOperatorType usage example

from mypy_boto3_dynamodb.literals import ComparisonOperatorType

def get_value() -> ComparisonOperatorType:
    return "BEGINS_WITH"
# ComparisonOperatorType definition

ComparisonOperatorType = Literal[
    "BEGINS_WITH",
    "BETWEEN",
    "CONTAINS",
    "EQ",
    "GE",
    "GT",
    "IN",
    "LE",
    "LT",
    "NE",
    "NOT_CONTAINS",
    "NOT_NULL",
    "NULL",
]

ConditionalOperatorType#

# ConditionalOperatorType usage example

from mypy_boto3_dynamodb.literals import ConditionalOperatorType

def get_value() -> ConditionalOperatorType:
    return "AND"
# ConditionalOperatorType definition

ConditionalOperatorType = Literal[
    "AND",
    "OR",
]

ContinuousBackupsStatusType#

# ContinuousBackupsStatusType usage example

from mypy_boto3_dynamodb.literals import ContinuousBackupsStatusType

def get_value() -> ContinuousBackupsStatusType:
    return "DISABLED"
# ContinuousBackupsStatusType definition

ContinuousBackupsStatusType = Literal[
    "DISABLED",
    "ENABLED",
]

ContributorInsightsActionType#

# ContributorInsightsActionType usage example

from mypy_boto3_dynamodb.literals import ContributorInsightsActionType

def get_value() -> ContributorInsightsActionType:
    return "DISABLE"
# ContributorInsightsActionType definition

ContributorInsightsActionType = Literal[
    "DISABLE",
    "ENABLE",
]

ContributorInsightsStatusType#

# ContributorInsightsStatusType usage example

from mypy_boto3_dynamodb.literals import ContributorInsightsStatusType

def get_value() -> ContributorInsightsStatusType:
    return "DISABLED"
# ContributorInsightsStatusType definition

ContributorInsightsStatusType = Literal[
    "DISABLED",
    "DISABLING",
    "ENABLED",
    "ENABLING",
    "FAILED",
]

DestinationStatusType#

# DestinationStatusType usage example

from mypy_boto3_dynamodb.literals import DestinationStatusType

def get_value() -> DestinationStatusType:
    return "ACTIVE"
# DestinationStatusType definition

DestinationStatusType = Literal[
    "ACTIVE",
    "DISABLED",
    "DISABLING",
    "ENABLE_FAILED",
    "ENABLING",
    "UPDATING",
]

ExportFormatType#

# ExportFormatType usage example

from mypy_boto3_dynamodb.literals import ExportFormatType

def get_value() -> ExportFormatType:
    return "DYNAMODB_JSON"
# ExportFormatType definition

ExportFormatType = Literal[
    "DYNAMODB_JSON",
    "ION",
]

ExportStatusType#

# ExportStatusType usage example

from mypy_boto3_dynamodb.literals import ExportStatusType

def get_value() -> ExportStatusType:
    return "COMPLETED"
# ExportStatusType definition

ExportStatusType = Literal[
    "COMPLETED",
    "FAILED",
    "IN_PROGRESS",
]

ExportTypeType#

# ExportTypeType usage example

from mypy_boto3_dynamodb.literals import ExportTypeType

def get_value() -> ExportTypeType:
    return "FULL_EXPORT"
# ExportTypeType definition

ExportTypeType = Literal[
    "FULL_EXPORT",
    "INCREMENTAL_EXPORT",
]

ExportViewTypeType#

# ExportViewTypeType usage example

from mypy_boto3_dynamodb.literals import ExportViewTypeType

def get_value() -> ExportViewTypeType:
    return "NEW_AND_OLD_IMAGES"
# ExportViewTypeType definition

ExportViewTypeType = Literal[
    "NEW_AND_OLD_IMAGES",
    "NEW_IMAGE",
]

GlobalTableStatusType#

# GlobalTableStatusType usage example

from mypy_boto3_dynamodb.literals import GlobalTableStatusType

def get_value() -> GlobalTableStatusType:
    return "ACTIVE"
# GlobalTableStatusType definition

GlobalTableStatusType = Literal[
    "ACTIVE",
    "CREATING",
    "DELETING",
    "UPDATING",
]

ImportStatusType#

# ImportStatusType usage example

from mypy_boto3_dynamodb.literals import ImportStatusType

def get_value() -> ImportStatusType:
    return "CANCELLED"
# ImportStatusType definition

ImportStatusType = Literal[
    "CANCELLED",
    "CANCELLING",
    "COMPLETED",
    "FAILED",
    "IN_PROGRESS",
]

IndexStatusType#

# IndexStatusType usage example

from mypy_boto3_dynamodb.literals import IndexStatusType

def get_value() -> IndexStatusType:
    return "ACTIVE"
# IndexStatusType definition

IndexStatusType = Literal[
    "ACTIVE",
    "CREATING",
    "DELETING",
    "UPDATING",
]

InputCompressionTypeType#

# InputCompressionTypeType usage example

from mypy_boto3_dynamodb.literals import InputCompressionTypeType

def get_value() -> InputCompressionTypeType:
    return "GZIP"
# InputCompressionTypeType definition

InputCompressionTypeType = Literal[
    "GZIP",
    "NONE",
    "ZSTD",
]

InputFormatType#

# InputFormatType usage example

from mypy_boto3_dynamodb.literals import InputFormatType

def get_value() -> InputFormatType:
    return "CSV"
# InputFormatType definition

InputFormatType = Literal[
    "CSV",
    "DYNAMODB_JSON",
    "ION",
]

KeyTypeType#

# KeyTypeType usage example

from mypy_boto3_dynamodb.literals import KeyTypeType

def get_value() -> KeyTypeType:
    return "HASH"
# KeyTypeType definition

KeyTypeType = Literal[
    "HASH",
    "RANGE",
]

ListBackupsPaginatorName#

# ListBackupsPaginatorName usage example

from mypy_boto3_dynamodb.literals import ListBackupsPaginatorName

def get_value() -> ListBackupsPaginatorName:
    return "list_backups"
# ListBackupsPaginatorName definition

ListBackupsPaginatorName = Literal[
    "list_backups",
]

ListTablesPaginatorName#

# ListTablesPaginatorName usage example

from mypy_boto3_dynamodb.literals import ListTablesPaginatorName

def get_value() -> ListTablesPaginatorName:
    return "list_tables"
# ListTablesPaginatorName definition

ListTablesPaginatorName = Literal[
    "list_tables",
]

ListTagsOfResourcePaginatorName#

# ListTagsOfResourcePaginatorName usage example

from mypy_boto3_dynamodb.literals import ListTagsOfResourcePaginatorName

def get_value() -> ListTagsOfResourcePaginatorName:
    return "list_tags_of_resource"
# ListTagsOfResourcePaginatorName definition

ListTagsOfResourcePaginatorName = Literal[
    "list_tags_of_resource",
]

PointInTimeRecoveryStatusType#

# PointInTimeRecoveryStatusType usage example

from mypy_boto3_dynamodb.literals import PointInTimeRecoveryStatusType

def get_value() -> PointInTimeRecoveryStatusType:
    return "DISABLED"
# PointInTimeRecoveryStatusType definition

PointInTimeRecoveryStatusType = Literal[
    "DISABLED",
    "ENABLED",
]

ProjectionTypeType#

# ProjectionTypeType usage example

from mypy_boto3_dynamodb.literals import ProjectionTypeType

def get_value() -> ProjectionTypeType:
    return "ALL"
# ProjectionTypeType definition

ProjectionTypeType = Literal[
    "ALL",
    "INCLUDE",
    "KEYS_ONLY",
]

QueryPaginatorName#

# QueryPaginatorName usage example

from mypy_boto3_dynamodb.literals import QueryPaginatorName

def get_value() -> QueryPaginatorName:
    return "query"
# QueryPaginatorName definition

QueryPaginatorName = Literal[
    "query",
]

ReplicaStatusType#

# ReplicaStatusType usage example

from mypy_boto3_dynamodb.literals import ReplicaStatusType

def get_value() -> ReplicaStatusType:
    return "ACTIVE"
# ReplicaStatusType definition

ReplicaStatusType = Literal[
    "ACTIVE",
    "CREATING",
    "CREATION_FAILED",
    "DELETING",
    "INACCESSIBLE_ENCRYPTION_CREDENTIALS",
    "REGION_DISABLED",
    "UPDATING",
]

ReturnConsumedCapacityType#

# ReturnConsumedCapacityType usage example

from mypy_boto3_dynamodb.literals import ReturnConsumedCapacityType

def get_value() -> ReturnConsumedCapacityType:
    return "INDEXES"
# ReturnConsumedCapacityType definition

ReturnConsumedCapacityType = Literal[
    "INDEXES",
    "NONE",
    "TOTAL",
]

ReturnItemCollectionMetricsType#

# ReturnItemCollectionMetricsType usage example

from mypy_boto3_dynamodb.literals import ReturnItemCollectionMetricsType

def get_value() -> ReturnItemCollectionMetricsType:
    return "NONE"
# ReturnItemCollectionMetricsType definition

ReturnItemCollectionMetricsType = Literal[
    "NONE",
    "SIZE",
]

ReturnValueType#

# ReturnValueType usage example

from mypy_boto3_dynamodb.literals import ReturnValueType

def get_value() -> ReturnValueType:
    return "ALL_NEW"
# ReturnValueType definition

ReturnValueType = Literal[
    "ALL_NEW",
    "ALL_OLD",
    "NONE",
    "UPDATED_NEW",
    "UPDATED_OLD",
]

ReturnValuesOnConditionCheckFailureType#

# ReturnValuesOnConditionCheckFailureType usage example

from mypy_boto3_dynamodb.literals import ReturnValuesOnConditionCheckFailureType

def get_value() -> ReturnValuesOnConditionCheckFailureType:
    return "ALL_OLD"
# ReturnValuesOnConditionCheckFailureType definition

ReturnValuesOnConditionCheckFailureType = Literal[
    "ALL_OLD",
    "NONE",
]

S3SseAlgorithmType#

# S3SseAlgorithmType usage example

from mypy_boto3_dynamodb.literals import S3SseAlgorithmType

def get_value() -> S3SseAlgorithmType:
    return "AES256"
# S3SseAlgorithmType definition

S3SseAlgorithmType = Literal[
    "AES256",
    "KMS",
]

SSEStatusType#

# SSEStatusType usage example

from mypy_boto3_dynamodb.literals import SSEStatusType

def get_value() -> SSEStatusType:
    return "DISABLED"
# SSEStatusType definition

SSEStatusType = Literal[
    "DISABLED",
    "DISABLING",
    "ENABLED",
    "ENABLING",
    "UPDATING",
]

SSETypeType#

# SSETypeType usage example

from mypy_boto3_dynamodb.literals import SSETypeType

def get_value() -> SSETypeType:
    return "AES256"
# SSETypeType definition

SSETypeType = Literal[
    "AES256",
    "KMS",
]

ScalarAttributeTypeType#

# ScalarAttributeTypeType usage example

from mypy_boto3_dynamodb.literals import ScalarAttributeTypeType

def get_value() -> ScalarAttributeTypeType:
    return "B"
# ScalarAttributeTypeType definition

ScalarAttributeTypeType = Literal[
    "B",
    "N",
    "S",
]

ScanPaginatorName#

# ScanPaginatorName usage example

from mypy_boto3_dynamodb.literals import ScanPaginatorName

def get_value() -> ScanPaginatorName:
    return "scan"
# ScanPaginatorName definition

ScanPaginatorName = Literal[
    "scan",
]

SelectType#

# SelectType usage example

from mypy_boto3_dynamodb.literals import SelectType

def get_value() -> SelectType:
    return "ALL_ATTRIBUTES"
# SelectType definition

SelectType = Literal[
    "ALL_ATTRIBUTES",
    "ALL_PROJECTED_ATTRIBUTES",
    "COUNT",
    "SPECIFIC_ATTRIBUTES",
]

StreamViewTypeType#

# StreamViewTypeType usage example

from mypy_boto3_dynamodb.literals import StreamViewTypeType

def get_value() -> StreamViewTypeType:
    return "KEYS_ONLY"
# StreamViewTypeType definition

StreamViewTypeType = Literal[
    "KEYS_ONLY",
    "NEW_AND_OLD_IMAGES",
    "NEW_IMAGE",
    "OLD_IMAGE",
]

TableClassType#

# TableClassType usage example

from mypy_boto3_dynamodb.literals import TableClassType

def get_value() -> TableClassType:
    return "STANDARD"
# TableClassType definition

TableClassType = Literal[
    "STANDARD",
    "STANDARD_INFREQUENT_ACCESS",
]

TableExistsWaiterName#

# TableExistsWaiterName usage example

from mypy_boto3_dynamodb.literals import TableExistsWaiterName

def get_value() -> TableExistsWaiterName:
    return "table_exists"
# TableExistsWaiterName definition

TableExistsWaiterName = Literal[
    "table_exists",
]

TableNotExistsWaiterName#

# TableNotExistsWaiterName usage example

from mypy_boto3_dynamodb.literals import TableNotExistsWaiterName

def get_value() -> TableNotExistsWaiterName:
    return "table_not_exists"
# TableNotExistsWaiterName definition

TableNotExistsWaiterName = Literal[
    "table_not_exists",
]

TableStatusType#

# TableStatusType usage example

from mypy_boto3_dynamodb.literals import TableStatusType

def get_value() -> TableStatusType:
    return "ACTIVE"
# TableStatusType definition

TableStatusType = Literal[
    "ACTIVE",
    "ARCHIVED",
    "ARCHIVING",
    "CREATING",
    "DELETING",
    "INACCESSIBLE_ENCRYPTION_CREDENTIALS",
    "UPDATING",
]

TimeToLiveStatusType#

# TimeToLiveStatusType usage example

from mypy_boto3_dynamodb.literals import TimeToLiveStatusType

def get_value() -> TimeToLiveStatusType:
    return "DISABLED"
# TimeToLiveStatusType definition

TimeToLiveStatusType = Literal[
    "DISABLED",
    "DISABLING",
    "ENABLED",
    "ENABLING",
]

DynamoDBServiceName#

# DynamoDBServiceName usage example

from mypy_boto3_dynamodb.literals import DynamoDBServiceName

def get_value() -> DynamoDBServiceName:
    return "dynamodb"
# DynamoDBServiceName definition

DynamoDBServiceName = Literal[
    "dynamodb",
]

ServiceName#

# ServiceName usage example

from mypy_boto3_dynamodb.literals import ServiceName

def get_value() -> ServiceName:
    return "accessanalyzer"
# ServiceName definition

ServiceName = Literal[
    "accessanalyzer",
    "account",
    "acm",
    "acm-pca",
    "amp",
    "amplify",
    "amplifybackend",
    "amplifyuibuilder",
    "apigateway",
    "apigatewaymanagementapi",
    "apigatewayv2",
    "appconfig",
    "appconfigdata",
    "appfabric",
    "appflow",
    "appintegrations",
    "application-autoscaling",
    "application-insights",
    "application-signals",
    "applicationcostprofiler",
    "appmesh",
    "apprunner",
    "appstream