Skip to content

Literals

Index > DynamoDB > Literals

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

AttributeActionType

Usage Example
from mypy_boto3_dynamodb.literals import AttributeActionType

def get_value() -> AttributeActionType:
    return "ADD"
Definition
AttributeActionType = Literal[
    "ADD",
    "DELETE",
    "PUT",
]

BackupStatusType

Usage Example
from mypy_boto3_dynamodb.literals import BackupStatusType

def get_value() -> BackupStatusType:
    return "AVAILABLE"
Definition
BackupStatusType = Literal[
    "AVAILABLE",
    "CREATING",
    "DELETED",
]

BackupTypeFilterType

Usage Example
from mypy_boto3_dynamodb.literals import BackupTypeFilterType

def get_value() -> BackupTypeFilterType:
    return "ALL"
Definition
BackupTypeFilterType = Literal[
    "ALL",
    "AWS_BACKUP",
    "SYSTEM",
    "USER",
]

BackupTypeType

Usage Example
from mypy_boto3_dynamodb.literals import BackupTypeType

def get_value() -> BackupTypeType:
    return "AWS_BACKUP"
Definition
BackupTypeType = Literal[
    "AWS_BACKUP",
    "SYSTEM",
    "USER",
]

BatchStatementErrorCodeEnumType

Usage Example
from mypy_boto3_dynamodb.literals import BatchStatementErrorCodeEnumType

def get_value() -> BatchStatementErrorCodeEnumType:
    return "AccessDenied"
Definition
BatchStatementErrorCodeEnumType = Literal[
    "AccessDenied",
    "ConditionalCheckFailed",
    "DuplicateItem",
    "InternalServerError",
    "ItemCollectionSizeLimitExceeded",
    "ProvisionedThroughputExceeded",
    "RequestLimitExceeded",
    "ResourceNotFound",
    "ThrottlingError",
    "TransactionConflict",
    "ValidationError",
]

BillingModeType

Usage Example
from mypy_boto3_dynamodb.literals import BillingModeType

def get_value() -> BillingModeType:
    return "PAY_PER_REQUEST"
Definition
BillingModeType = Literal[
    "PAY_PER_REQUEST",
    "PROVISIONED",
]

ComparisonOperatorType

Usage Example
from mypy_boto3_dynamodb.literals import ComparisonOperatorType

def get_value() -> ComparisonOperatorType:
    return "BEGINS_WITH"
Definition
ComparisonOperatorType = Literal[
    "BEGINS_WITH",
    "BETWEEN",
    "CONTAINS",
    "EQ",
    "GE",
    "GT",
    "IN",
    "LE",
    "LT",
    "NE",
    "NOT_CONTAINS",
    "NOT_NULL",
    "NULL",
]

ConditionalOperatorType

Usage Example
from mypy_boto3_dynamodb.literals import ConditionalOperatorType

def get_value() -> ConditionalOperatorType:
    return "AND"
Definition
ConditionalOperatorType = Literal[
    "AND",
    "OR",
]

ContinuousBackupsStatusType

Usage Example
from mypy_boto3_dynamodb.literals import ContinuousBackupsStatusType

def get_value() -> ContinuousBackupsStatusType:
    return "DISABLED"
Definition
ContinuousBackupsStatusType = Literal[
    "DISABLED",
    "ENABLED",
]

ContributorInsightsActionType

Usage Example
from mypy_boto3_dynamodb.literals import ContributorInsightsActionType

def get_value() -> ContributorInsightsActionType:
    return "DISABLE"
Definition
ContributorInsightsActionType = Literal[
    "DISABLE",
    "ENABLE",
]

ContributorInsightsStatusType

Usage Example
from mypy_boto3_dynamodb.literals import ContributorInsightsStatusType

def get_value() -> ContributorInsightsStatusType:
    return "DISABLED"
Definition
ContributorInsightsStatusType = Literal[
    "DISABLED",
    "DISABLING",
    "ENABLED",
    "ENABLING",
    "FAILED",
]

DestinationStatusType

Usage Example
from mypy_boto3_dynamodb.literals import DestinationStatusType

def get_value() -> DestinationStatusType:
    return "ACTIVE"
Definition
DestinationStatusType = Literal[
    "ACTIVE",
    "DISABLED",
    "DISABLING",
    "ENABLE_FAILED",
    "ENABLING",
]

ExportFormatType

Usage Example
from mypy_boto3_dynamodb.literals import ExportFormatType

def get_value() -> ExportFormatType:
    return "DYNAMODB_JSON"
Definition
ExportFormatType = Literal[
    "DYNAMODB_JSON",
    "ION",
]

ExportStatusType

Usage Example
from mypy_boto3_dynamodb.literals import ExportStatusType

def get_value() -> ExportStatusType:
    return "COMPLETED"
Definition
ExportStatusType = Literal[
    "COMPLETED",
    "FAILED",
    "IN_PROGRESS",
]

GlobalTableStatusType

Usage Example
from mypy_boto3_dynamodb.literals import GlobalTableStatusType

def get_value() -> GlobalTableStatusType:
    return "ACTIVE"
Definition
GlobalTableStatusType = Literal[
    "ACTIVE",
    "CREATING",
    "DELETING",
    "UPDATING",
]

ImportStatusType

Usage Example
from mypy_boto3_dynamodb.literals import ImportStatusType

def get_value() -> ImportStatusType:
    return "CANCELLED"
Definition
ImportStatusType = Literal[
    "CANCELLED",
    "CANCELLING",
    "COMPLETED",
    "FAILED",
    "IN_PROGRESS",
]

IndexStatusType

Usage Example
from mypy_boto3_dynamodb.literals import IndexStatusType

def get_value() -> IndexStatusType:
    return "ACTIVE"
Definition
IndexStatusType = Literal[
    "ACTIVE",
    "CREATING",
    "DELETING",
    "UPDATING",
]

InputCompressionTypeType

Usage Example
from mypy_boto3_dynamodb.literals import InputCompressionTypeType

def get_value() -> InputCompressionTypeType:
    return "GZIP"
Definition
InputCompressionTypeType = Literal[
    "GZIP",
    "NONE",
    "ZSTD",
]

InputFormatType

Usage Example
from mypy_boto3_dynamodb.literals import InputFormatType

def get_value() -> InputFormatType:
    return "CSV"
Definition
InputFormatType = Literal[
    "CSV",
    "DYNAMODB_JSON",
    "ION",
]

KeyTypeType

Usage Example
from mypy_boto3_dynamodb.literals import KeyTypeType

def get_value() -> KeyTypeType:
    return "HASH"
Definition
KeyTypeType = Literal[
    "HASH",
    "RANGE",
]

ListBackupsPaginatorName

Usage Example
from mypy_boto3_dynamodb.literals import ListBackupsPaginatorName

def get_value() -> ListBackupsPaginatorName:
    return "list_backups"
Definition
ListBackupsPaginatorName = Literal[
    "list_backups",
]

ListTablesPaginatorName

Usage Example
from mypy_boto3_dynamodb.literals import ListTablesPaginatorName

def get_value() -> ListTablesPaginatorName:
    return "list_tables"
Definition
ListTablesPaginatorName = Literal[
    "list_tables",
]

ListTagsOfResourcePaginatorName

Usage Example
from mypy_boto3_dynamodb.literals import ListTagsOfResourcePaginatorName

def get_value() -> ListTagsOfResourcePaginatorName:
    return "list_tags_of_resource"
Definition
ListTagsOfResourcePaginatorName = Literal[
    "list_tags_of_resource",
]

PointInTimeRecoveryStatusType

Usage Example
from mypy_boto3_dynamodb.literals import PointInTimeRecoveryStatusType

def get_value() -> PointInTimeRecoveryStatusType:
    return "DISABLED"
Definition
PointInTimeRecoveryStatusType = Literal[
    "DISABLED",
    "ENABLED",
]

ProjectionTypeType

Usage Example
from mypy_boto3_dynamodb.literals import ProjectionTypeType

def get_value() -> ProjectionTypeType:
    return "ALL"
Definition
ProjectionTypeType = Literal[
    "ALL",
    "INCLUDE",
    "KEYS_ONLY",
]

QueryPaginatorName

Usage Example
from mypy_boto3_dynamodb.literals import QueryPaginatorName

def get_value() -> QueryPaginatorName:
    return "query"
Definition
QueryPaginatorName = Literal[
    "query",
]

ReplicaStatusType

Usage Example
from mypy_boto3_dynamodb.literals import ReplicaStatusType

def get_value() -> ReplicaStatusType:
    return "ACTIVE"
Definition
ReplicaStatusType = Literal[
    "ACTIVE",
    "CREATING",
    "CREATION_FAILED",
    "DELETING",
    "INACCESSIBLE_ENCRYPTION_CREDENTIALS",
    "REGION_DISABLED",
    "UPDATING",
]

ReturnConsumedCapacityType

Usage Example
from mypy_boto3_dynamodb.literals import ReturnConsumedCapacityType

def get_value() -> ReturnConsumedCapacityType:
    return "INDEXES"
Definition
ReturnConsumedCapacityType = Literal[
    "INDEXES",
    "NONE",
    "TOTAL",
]

ReturnItemCollectionMetricsType

Usage Example
from mypy_boto3_dynamodb.literals import ReturnItemCollectionMetricsType

def get_value() -> ReturnItemCollectionMetricsType:
    return "NONE"
Definition
ReturnItemCollectionMetricsType = Literal[
    "NONE",
    "SIZE",
]

ReturnValueType

Usage Example
from mypy_boto3_dynamodb.literals import ReturnValueType

def get_value() -> ReturnValueType:
    return "ALL_NEW"
Definition
ReturnValueType = Literal[
    "ALL_NEW",
    "ALL_OLD",
    "NONE",
    "UPDATED_NEW",
    "UPDATED_OLD",
]

ReturnValuesOnConditionCheckFailureType

Usage Example
from mypy_boto3_dynamodb.literals import ReturnValuesOnConditionCheckFailureType

def get_value() -> ReturnValuesOnConditionCheckFailureType:
    return "ALL_OLD"
Definition
ReturnValuesOnConditionCheckFailureType = Literal[
    "ALL_OLD",
    "NONE",
]

S3SseAlgorithmType

Usage Example
from mypy_boto3_dynamodb.literals import S3SseAlgorithmType

def get_value() -> S3SseAlgorithmType:
    return "AES256"
Definition
S3SseAlgorithmType = Literal[
    "AES256",
    "KMS",
]

SSEStatusType

Usage Example
from mypy_boto3_dynamodb.literals import SSEStatusType

def get_value() -> SSEStatusType:
    return "DISABLED"
Definition
SSEStatusType = Literal[
    "DISABLED",
    "DISABLING",
    "ENABLED",
    "ENABLING",
    "UPDATING",
]

SSETypeType

Usage Example
from mypy_boto3_dynamodb.literals import SSETypeType

def get_value() -> SSETypeType:
    return "AES256"
Definition
SSETypeType = Literal[
    "AES256",
    "KMS",
]

ScalarAttributeTypeType

Usage Example
from mypy_boto3_dynamodb.literals import ScalarAttributeTypeType

def get_value() -> ScalarAttributeTypeType:
    return "B"
Definition
ScalarAttributeTypeType = Literal[
    "B",
    "N",
    "S",
]

ScanPaginatorName

Usage Example
from mypy_boto3_dynamodb.literals import ScanPaginatorName

def get_value() -> ScanPaginatorName:
    return "scan"
Definition
ScanPaginatorName = Literal[
    "scan",
]

SelectType

Usage Example
from mypy_boto3_dynamodb.literals import SelectType

def get_value() -> SelectType:
    return "ALL_ATTRIBUTES"
Definition
SelectType = Literal[
    "ALL_ATTRIBUTES",
    "ALL_PROJECTED_ATTRIBUTES",
    "COUNT",
    "SPECIFIC_ATTRIBUTES",
]

StreamViewTypeType

Usage Example
from mypy_boto3_dynamodb.literals import StreamViewTypeType

def get_value() -> StreamViewTypeType:
    return "KEYS_ONLY"
Definition
StreamViewTypeType = Literal[
    "KEYS_ONLY",
    "NEW_AND_OLD_IMAGES",
    "NEW_IMAGE",
    "OLD_IMAGE",
]

TableClassType

Usage Example
from mypy_boto3_dynamodb.literals import TableClassType

def get_value() -> TableClassType:
    return "STANDARD"
Definition
TableClassType = Literal[
    "STANDARD",
    "STANDARD_INFREQUENT_ACCESS",
]

TableExistsWaiterName

Usage Example
from mypy_boto3_dynamodb.literals import TableExistsWaiterName

def get_value() -> TableExistsWaiterName:
    return "table_exists"
Definition
TableExistsWaiterName = Literal[
    "table_exists",
]

TableNotExistsWaiterName

Usage Example
from mypy_boto3_dynamodb.literals import TableNotExistsWaiterName

def get_value() -> TableNotExistsWaiterName:
    return "table_not_exists"
Definition
TableNotExistsWaiterName = Literal[
    "table_not_exists",
]

TableStatusType

Usage Example
from mypy_boto3_dynamodb.literals import TableStatusType

def get_value() -> TableStatusType:
    return "ACTIVE"
Definition
TableStatusType = Literal[
    "ACTIVE",
    "ARCHIVED",
    "ARCHIVING",
    "CREATING",
    "DELETING",
    "INACCESSIBLE_ENCRYPTION_CREDENTIALS",
    "UPDATING",
]

TimeToLiveStatusType

Usage Example
from mypy_boto3_dynamodb.literals import TimeToLiveStatusType

def get_value() -> TimeToLiveStatusType:
    return "DISABLED"
Definition
TimeToLiveStatusType = Literal[
    "DISABLED",
    "DISABLING",
    "ENABLED",
    "ENABLING",
]

DynamoDBServiceName

Usage Example
from mypy_boto3_dynamodb.literals import DynamoDBServiceName

def get_value() -> DynamoDBServiceName:
    return "dynamodb"
Definition
DynamoDBServiceName = Literal[
    "dynamodb",
]

ServiceName

Usage Example
from mypy_boto3_dynamodb.literals import ServiceName

def get_value() -> ServiceName:
    return "accessanalyzer"
Definition
ServiceName = Literal[
    "accessanalyzer",
    "account",
    "acm",
    "acm-pca",
    "alexaforbusiness",
    "amp",
    "amplify",
    "amplifybackend",
    "amplifyuibuilder",
    "apigateway",
    "apigatewaymanagementapi",
    "apigatewayv2",
    "appconfig",
    "appconfigdata",
    "appflow",
    "appintegrations",
    "application-autoscaling",
    "application-insights",
    "applicationcostprofiler",
    "appmesh",
    "apprunner",
    "appstream",
    "appsync",
    "athena",
    "auditmanager",
    "autoscaling",
    "autoscaling-plans",
    "backup",
    "backup-gateway",
    "backupstorage",
    "batch",
    "billingconductor",
    "braket",
    "budgets",
    "ce",
    "chime",
    "chime-sdk-identity",
    "chime-sdk-media-pipelines",
    "chime-sdk-meetings",
    "chime-sdk-messaging",
    "cloud9",
    "cloudcontrol",
    "clouddirectory",
    "cloudformation",
    "cloudfront",
    "cloudhsm",
    "cloudhsmv2",
    "cloudsearch",
    "cloudsearchdomain",
    "cloudtrail",
    "cloudwatch",
    "codeartifact",
    "codebuild",
    "codecommit",
    "codedeploy",
    "codeguru-reviewer",
    "codeguruprofiler",
    "codepipeline",
    "codestar",
    "codestar-connections",
    "codestar-notifications",
    "cognito-identity",
    "cognito-idp",
    "cognito-sync",
    "comprehend",
    "comprehendmedical",
    "compute-optimizer",
    "config",
    "connect",
    "connect-contact-lens",
    "connectcampaigns",
    "connectparticipant",
    "controltower",
    "cur",
    "customer-profiles",
    "databrew",
    "dataexchange",
    "datapipeline",
    "datasync",
    "dax",
    "detective",
    "devicefarm",
    "devops-guru",
    "directconnect",
    "discovery",
    "dlm",
    "dms",
    "docdb",
    "drs",
    "ds",
    "dynamodb",
    "dynamodbstreams",
    "ebs",
    "ec2",
    "ec2-instance-connect",
    "ecr",
    "ecr-public",
    "ecs",
    "efs",
    "eks",
    "elastic-inference",
    "elasticache",
    "elasticbeanstalk",
    "elastictranscoder",
    "elb",
    "elbv2",
    "emr",
    "emr-containers",
    "emr-serverless",
    "es",
    "events",
    "evidently",
    "finspace",
    "finspace-data",
    "firehose",
    "fis",
    "fms",
    "forecast",
    "forecastquery",
    "frauddetector",
    "fsx",
    "gamelift",
    "gamesparks",
    "glacier",
    "globalaccelerator",
    "glue",
    "grafana",
    "greengrass",
    "greengrassv2",
    "groundstation",
    "guardduty",
    "health",
    "healthlake",
    "honeycode",
    "iam",
    "identitystore",
    "imagebuilder",
    "importexport",
    "inspector",
    "inspector2",
    "iot",
    "iot-data",
    "iot-jobs-data",
    "iot1click-devices",
    "iot1click-projects",
    "iotanalytics",
    "iotdeviceadvisor",
    "iotevents",
    "iotevents-data",
    "iotfleethub",
    "iotfleetwise",
    "iotsecuretunneling",
    "iotsitewise",
    "iotthingsgraph",
    "iottwinmaker",
    "iotwireless",
    "ivs",
    "ivschat",
    "kafka",
    "kafkaconnect",
    "kendra",
    "keyspaces",
    "kinesis",
    "kinesis-video-archived-media",
    "kinesis-video-media",
    "kinesis-video-signaling",
    "kinesisanalytics",
    "kinesisanalyticsv2",
    "kinesisvideo",
    "kms",
    "lakeformation",
    "lambda",
    "lex-models",
    "lex-runtime",
    "lexv2-models",
    "lexv2-runtime",
    "license-manager",
    "license-manager-user-subscriptions",
    "lightsail",
    "location",
    "logs",
    "lookoutequipment",
    "lookoutmetrics",
    "lookoutvision",
    "m2",
    "machinelearning",
    "macie",
    "macie2",
    "managedblockchain",
    "marketplace-catalog",
    "marketplace-entitlement",
    "marketplacecommerceanalytics",
    "mediaconnect",
    "mediaconvert",
    "medialive",
    "mediapackage",
    "mediapackage-vod",
    "mediastore",
    "mediastore-data",
    "mediatailor",
    "memorydb",
    "meteringmarketplace",
    "mgh",
    "mgn",
    "migration-hub-refactor-spaces",
    "migrationhub-config",
    "migrationhubstrategy",
    "mobile",
    "mq",
    "mturk",
    "mwaa",
    "neptune",
    "network-firewall",
    "networkmanager",
    "nimble",
    "opensearch",
    "opsworks",
    "opsworkscm",
    "organizations",
    "outposts",
    "panorama",
    "personalize",
    "personalize-events",
    "personalize-runtime",
    "pi",
    "pinpoint",
    "pinpoint-email",
    "pinpoint-sms-voice",
    "pinpoint-sms-voice-v2",
    "polly",
    "pricing",
    "privatenetworks",
    "proton",
    "qldb",
    "qldb-session",
    "quicksight",
    "ram",
    "rbin",
    "rds",
    "rds-data",
    "redshift",
    "redshift-data",
    "redshift-serverless",
    "rekognition",
    "resiliencehub",
    "resource-groups",
    "resourcegroupstaggingapi",
    "robomaker",
    "rolesanywhere",
    "route53",
    "route53-recovery-cluster",
    "route53-recovery-control-config",
    "route53-recovery-readiness",
    "route53domains",
    "route53resolver",
    "rum",
    "s3",
    "s3control",
    "s3outposts",
    "sagemaker",
    "sagemaker-a2i-runtime",
    "sagemaker-edge",
    "sagemaker-featurestore-runtime",
    "sagemaker-runtime",
    "savingsplans",
    "schemas",
    "sdb",
    "secretsmanager",
    "securityhub",
    "serverlessrepo",
    "service-quotas",
    "servicecatalog",
    "servicecatalog-appregistry",
    "servicediscovery",
    "ses",
    "sesv2",
    "shield",
    "signer",
    "sms",
    "sms-voice",
    "snow-device-management",
    "snowball",
    "sns",
    "sqs",
    "ssm",
    "ssm-contacts",
    "ssm-incidents",
    "sso",
    "sso-admin",
    "sso-oidc",
    "stepfunctions",
    "storagegateway",
    "sts",
    "support",
    "support-app",
    "swf",
    "synthetics",
    "textract",
    "timestream-query",
    "timestream-write",
    "transcribe",
    "transfer",
    "translate",
    "voice-id",
    "waf",
    "waf-regional",
    "wafv2",
    "wellarchitected",
    "wisdom",
    "workdocs",
    "worklink",
    "workmail",
    "workmailmessageflow",
    "workspaces",
    "workspaces-web",
    "xray",
]

ResourceServiceName

Usage Example
from mypy_boto3_dynamodb.literals import ResourceServiceName

def get_value() -> ResourceServiceName:
    return "cloudformation"
Definition
ResourceServiceName = Literal[
    "cloudformation",
    "cloudwatch",
    "dynamodb",
    "ec2",
    "glacier",
    "iam",
    "opsworks",
    "s3",
    "sns",
    "sqs",
]

PaginatorName

Usage Example
from mypy_boto3_dynamodb.literals import PaginatorName

def get_value() -> PaginatorName:
    return "list_backups"
Definition
PaginatorName = Literal[
    "list_backups",
    "list_tables",
    "list_tags_of_resource",
    "query",
    "scan",
]

WaiterName

Usage Example
from mypy_boto3_dynamodb.literals import WaiterName

def get_value() -> WaiterName:
    return "table_exists"
Definition
WaiterName = Literal[
    "table_exists",
    "table_not_exists",
]

RegionName

Usage Example
from mypy_boto3_dynamodb.literals import RegionName

def get_value() -> RegionName:
    return "af-south-1"
Definition
RegionName = Literal[
    "af-south-1",
    "ap-east-1",
    "ap-northeast-1",
    "ap-northeast-2",
    "ap-northeast-3",
    "ap-south-1",
    "ap-southeast-1",
    "ap-southeast-2",
    "ap-southeast-3",
    "ca-central-1",
    "eu-central-1",
    "eu-north-1",
    "eu-south-1",
    "eu-west-1",
    "eu-west-2",
    "eu-west-3",
    "me-central-1",
    "me-south-1",
    "sa-east-1",
    "us-east-1",
    "us-east-2",
    "us-west-1",
    "us-west-2",
]