Skip to content

Literals#

Index > Lambda > Literals

Auto-generated documentation for Lambda type annotations stubs module mypy-boto3-lambda.

ApplicationLogLevelType#

# ApplicationLogLevelType usage example

from mypy_boto3_lambda.literals import ApplicationLogLevelType

def get_value() -> ApplicationLogLevelType:
    return "DEBUG"
# ApplicationLogLevelType definition

ApplicationLogLevelType = Literal[
    "DEBUG",
    "ERROR",
    "FATAL",
    "INFO",
    "TRACE",
    "WARN",
]

ArchitectureType#

# ArchitectureType usage example

from mypy_boto3_lambda.literals import ArchitectureType

def get_value() -> ArchitectureType:
    return "arm64"
# ArchitectureType definition

ArchitectureType = Literal[
    "arm64",
    "x86_64",
]

CodeSigningPolicyType#

# CodeSigningPolicyType usage example

from mypy_boto3_lambda.literals import CodeSigningPolicyType

def get_value() -> CodeSigningPolicyType:
    return "Enforce"
# CodeSigningPolicyType definition

CodeSigningPolicyType = Literal[
    "Enforce",
    "Warn",
]

EndPointTypeType#

# EndPointTypeType usage example

from mypy_boto3_lambda.literals import EndPointTypeType

def get_value() -> EndPointTypeType:
    return "KAFKA_BOOTSTRAP_SERVERS"
# EndPointTypeType definition

EndPointTypeType = Literal[
    "KAFKA_BOOTSTRAP_SERVERS",
]

EventSourcePositionType#

# EventSourcePositionType usage example

from mypy_boto3_lambda.literals import EventSourcePositionType

def get_value() -> EventSourcePositionType:
    return "AT_TIMESTAMP"
# EventSourcePositionType definition

EventSourcePositionType = Literal[
    "AT_TIMESTAMP",
    "LATEST",
    "TRIM_HORIZON",
]

FullDocumentType#

# FullDocumentType usage example

from mypy_boto3_lambda.literals import FullDocumentType

def get_value() -> FullDocumentType:
    return "Default"
# FullDocumentType definition

FullDocumentType = Literal[
    "Default",
    "UpdateLookup",
]

FunctionActiveV2WaiterName#

# FunctionActiveV2WaiterName usage example

from mypy_boto3_lambda.literals import FunctionActiveV2WaiterName

def get_value() -> FunctionActiveV2WaiterName:
    return "function_active_v2"
# FunctionActiveV2WaiterName definition

FunctionActiveV2WaiterName = Literal[
    "function_active_v2",
]

FunctionActiveWaiterName#

# FunctionActiveWaiterName usage example

from mypy_boto3_lambda.literals import FunctionActiveWaiterName

def get_value() -> FunctionActiveWaiterName:
    return "function_active"
# FunctionActiveWaiterName definition

FunctionActiveWaiterName = Literal[
    "function_active",
]

FunctionExistsWaiterName#

# FunctionExistsWaiterName usage example

from mypy_boto3_lambda.literals import FunctionExistsWaiterName

def get_value() -> FunctionExistsWaiterName:
    return "function_exists"
# FunctionExistsWaiterName definition

FunctionExistsWaiterName = Literal[
    "function_exists",
]

FunctionResponseTypeType#

# FunctionResponseTypeType usage example

from mypy_boto3_lambda.literals import FunctionResponseTypeType

def get_value() -> FunctionResponseTypeType:
    return "ReportBatchItemFailures"
# FunctionResponseTypeType definition

FunctionResponseTypeType = Literal[
    "ReportBatchItemFailures",
]

FunctionUpdatedV2WaiterName#

# FunctionUpdatedV2WaiterName usage example

from mypy_boto3_lambda.literals import FunctionUpdatedV2WaiterName

def get_value() -> FunctionUpdatedV2WaiterName:
    return "function_updated_v2"
# FunctionUpdatedV2WaiterName definition

FunctionUpdatedV2WaiterName = Literal[
    "function_updated_v2",
]

FunctionUpdatedWaiterName#

# FunctionUpdatedWaiterName usage example

from mypy_boto3_lambda.literals import FunctionUpdatedWaiterName

def get_value() -> FunctionUpdatedWaiterName:
    return "function_updated"
# FunctionUpdatedWaiterName definition

FunctionUpdatedWaiterName = Literal[
    "function_updated",
]

FunctionUrlAuthTypeType#

# FunctionUrlAuthTypeType usage example

from mypy_boto3_lambda.literals import FunctionUrlAuthTypeType

def get_value() -> FunctionUrlAuthTypeType:
    return "AWS_IAM"
# FunctionUrlAuthTypeType definition

FunctionUrlAuthTypeType = Literal[
    "AWS_IAM",
    "NONE",
]

FunctionVersionType#

# FunctionVersionType usage example

from mypy_boto3_lambda.literals import FunctionVersionType

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

FunctionVersionType = Literal[
    "ALL",
]

InvocationTypeType#

# InvocationTypeType usage example

from mypy_boto3_lambda.literals import InvocationTypeType

def get_value() -> InvocationTypeType:
    return "DryRun"
# InvocationTypeType definition

InvocationTypeType = Literal[
    "DryRun",
    "Event",
    "RequestResponse",
]

InvokeModeType#

# InvokeModeType usage example

from mypy_boto3_lambda.literals import InvokeModeType

def get_value() -> InvokeModeType:
    return "BUFFERED"
# InvokeModeType definition

InvokeModeType = Literal[
    "BUFFERED",
    "RESPONSE_STREAM",
]

LastUpdateStatusReasonCodeType#

# LastUpdateStatusReasonCodeType usage example

from mypy_boto3_lambda.literals import LastUpdateStatusReasonCodeType

def get_value() -> LastUpdateStatusReasonCodeType:
    return "DisabledKMSKey"
# LastUpdateStatusReasonCodeType definition

LastUpdateStatusReasonCodeType = Literal[
    "DisabledKMSKey",
    "EFSIOError",
    "EFSMountConnectivityError",
    "EFSMountFailure",
    "EFSMountTimeout",
    "EniLimitExceeded",
    "FunctionError",
    "ImageAccessDenied",
    "ImageDeleted",
    "InsufficientRolePermissions",
    "InternalError",
    "InvalidConfiguration",
    "InvalidImage",
    "InvalidRuntime",
    "InvalidSecurityGroup",
    "InvalidStateKMSKey",
    "InvalidSubnet",
    "InvalidZipFileException",
    "KMSKeyAccessDenied",
    "KMSKeyNotFound",
    "SubnetOutOfIPAddresses",
]

LastUpdateStatusType#

# LastUpdateStatusType usage example

from mypy_boto3_lambda.literals import LastUpdateStatusType

def get_value() -> LastUpdateStatusType:
    return "Failed"
# LastUpdateStatusType definition

LastUpdateStatusType = Literal[
    "Failed",
    "InProgress",
    "Successful",
]

ListAliasesPaginatorName#

# ListAliasesPaginatorName usage example

from mypy_boto3_lambda.literals import ListAliasesPaginatorName

def get_value() -> ListAliasesPaginatorName:
    return "list_aliases"
# ListAliasesPaginatorName definition

ListAliasesPaginatorName = Literal[
    "list_aliases",
]

ListCodeSigningConfigsPaginatorName#

# ListCodeSigningConfigsPaginatorName usage example

from mypy_boto3_lambda.literals import ListCodeSigningConfigsPaginatorName

def get_value() -> ListCodeSigningConfigsPaginatorName:
    return "list_code_signing_configs"
# ListCodeSigningConfigsPaginatorName definition

ListCodeSigningConfigsPaginatorName = Literal[
    "list_code_signing_configs",
]

ListEventSourceMappingsPaginatorName#

# ListEventSourceMappingsPaginatorName usage example

from mypy_boto3_lambda.literals import ListEventSourceMappingsPaginatorName

def get_value() -> ListEventSourceMappingsPaginatorName:
    return "list_event_source_mappings"
# ListEventSourceMappingsPaginatorName definition

ListEventSourceMappingsPaginatorName = Literal[
    "list_event_source_mappings",
]

ListFunctionEventInvokeConfigsPaginatorName#

# ListFunctionEventInvokeConfigsPaginatorName usage example

from mypy_boto3_lambda.literals import ListFunctionEventInvokeConfigsPaginatorName

def get_value() -> ListFunctionEventInvokeConfigsPaginatorName:
    return "list_function_event_invoke_configs"
# ListFunctionEventInvokeConfigsPaginatorName definition

ListFunctionEventInvokeConfigsPaginatorName = Literal[
    "list_function_event_invoke_configs",
]

ListFunctionUrlConfigsPaginatorName#

# ListFunctionUrlConfigsPaginatorName usage example

from mypy_boto3_lambda.literals import ListFunctionUrlConfigsPaginatorName

def get_value() -> ListFunctionUrlConfigsPaginatorName:
    return "list_function_url_configs"
# ListFunctionUrlConfigsPaginatorName definition

ListFunctionUrlConfigsPaginatorName = Literal[
    "list_function_url_configs",
]

ListFunctionsByCodeSigningConfigPaginatorName#

# ListFunctionsByCodeSigningConfigPaginatorName usage example

from mypy_boto3_lambda.literals import ListFunctionsByCodeSigningConfigPaginatorName

def get_value() -> ListFunctionsByCodeSigningConfigPaginatorName:
    return "list_functions_by_code_signing_config"
# ListFunctionsByCodeSigningConfigPaginatorName definition

ListFunctionsByCodeSigningConfigPaginatorName = Literal[
    "list_functions_by_code_signing_config",
]

ListFunctionsPaginatorName#

# ListFunctionsPaginatorName usage example

from mypy_boto3_lambda.literals import ListFunctionsPaginatorName

def get_value() -> ListFunctionsPaginatorName:
    return "list_functions"
# ListFunctionsPaginatorName definition

ListFunctionsPaginatorName = Literal[
    "list_functions",
]

ListLayerVersionsPaginatorName#

# ListLayerVersionsPaginatorName usage example

from mypy_boto3_lambda.literals import ListLayerVersionsPaginatorName

def get_value() -> ListLayerVersionsPaginatorName:
    return "list_layer_versions"
# ListLayerVersionsPaginatorName definition

ListLayerVersionsPaginatorName = Literal[
    "list_layer_versions",
]

ListLayersPaginatorName#

# ListLayersPaginatorName usage example

from mypy_boto3_lambda.literals import ListLayersPaginatorName

def get_value() -> ListLayersPaginatorName:
    return "list_layers"
# ListLayersPaginatorName definition

ListLayersPaginatorName = Literal[
    "list_layers",
]

ListProvisionedConcurrencyConfigsPaginatorName#

# ListProvisionedConcurrencyConfigsPaginatorName usage example

from mypy_boto3_lambda.literals import ListProvisionedConcurrencyConfigsPaginatorName

def get_value() -> ListProvisionedConcurrencyConfigsPaginatorName:
    return "list_provisioned_concurrency_configs"
# ListProvisionedConcurrencyConfigsPaginatorName definition

ListProvisionedConcurrencyConfigsPaginatorName = Literal[
    "list_provisioned_concurrency_configs",
]

ListVersionsByFunctionPaginatorName#

# ListVersionsByFunctionPaginatorName usage example

from mypy_boto3_lambda.literals import ListVersionsByFunctionPaginatorName

def get_value() -> ListVersionsByFunctionPaginatorName:
    return "list_versions_by_function"
# ListVersionsByFunctionPaginatorName definition

ListVersionsByFunctionPaginatorName = Literal[
    "list_versions_by_function",
]

LogFormatType#

# LogFormatType usage example

from mypy_boto3_lambda.literals import LogFormatType

def get_value() -> LogFormatType:
    return "JSON"
# LogFormatType definition

LogFormatType = Literal[
    "JSON",
    "Text",
]

LogTypeType#

# LogTypeType usage example

from mypy_boto3_lambda.literals import LogTypeType

def get_value() -> LogTypeType:
    return "None"
# LogTypeType definition

LogTypeType = Literal[
    "None",
    "Tail",
]

PackageTypeType#

# PackageTypeType usage example

from mypy_boto3_lambda.literals import PackageTypeType

def get_value() -> PackageTypeType:
    return "Image"
# PackageTypeType definition

PackageTypeType = Literal[
    "Image",
    "Zip",
]

ProvisionedConcurrencyStatusEnumType#

# ProvisionedConcurrencyStatusEnumType usage example

from mypy_boto3_lambda.literals import ProvisionedConcurrencyStatusEnumType

def get_value() -> ProvisionedConcurrencyStatusEnumType:
    return "FAILED"
# ProvisionedConcurrencyStatusEnumType definition

ProvisionedConcurrencyStatusEnumType = Literal[
    "FAILED",
    "IN_PROGRESS",
    "READY",
]

PublishedVersionActiveWaiterName#

# PublishedVersionActiveWaiterName usage example

from mypy_boto3_lambda.literals import PublishedVersionActiveWaiterName

def get_value() -> PublishedVersionActiveWaiterName:
    return "published_version_active"
# PublishedVersionActiveWaiterName definition

PublishedVersionActiveWaiterName = Literal[
    "published_version_active",
]

RecursiveLoopType#

# RecursiveLoopType usage example

from mypy_boto3_lambda.literals import RecursiveLoopType

def get_value() -> RecursiveLoopType:
    return "Allow"
# RecursiveLoopType definition

RecursiveLoopType = Literal[
    "Allow",
    "Terminate",
]

ResponseStreamingInvocationTypeType#

# ResponseStreamingInvocationTypeType usage example

from mypy_boto3_lambda.literals import ResponseStreamingInvocationTypeType

def get_value() -> ResponseStreamingInvocationTypeType:
    return "DryRun"
# ResponseStreamingInvocationTypeType definition

ResponseStreamingInvocationTypeType = Literal[
    "DryRun",
    "RequestResponse",
]

RuntimeType#

# RuntimeType usage example

from mypy_boto3_lambda.literals import RuntimeType

def get_value() -> RuntimeType:
    return "dotnet6"
# RuntimeType definition

RuntimeType = Literal[
    "dotnet6",
    "dotnet8",
    "dotnetcore1.0",
    "dotnetcore2.0",
    "dotnetcore2.1",
    "dotnetcore3.1",
    "go1.x",
    "java11",
    "java17",
    "java21",
    "java8",
    "java8.al2",
    "nodejs",
    "nodejs10.x",
    "nodejs12.x",
    "nodejs14.x",
    "nodejs16.x",
    "nodejs18.x",
    "nodejs20.x",
    "nodejs4.3",
    "nodejs4.3-edge",
    "nodejs6.10",
    "nodejs8.10",
    "provided",
    "provided.al2",
    "provided.al2023",
    "python2.7",
    "python3.10",
    "python3.11",
    "python3.12",
    "python3.6",
    "python3.7",
    "python3.8",
    "python3.9",
    "ruby2.5",
    "ruby2.7",
    "ruby3.2",
    "ruby3.3",
]

SnapStartApplyOnType#

# SnapStartApplyOnType usage example

from mypy_boto3_lambda.literals import SnapStartApplyOnType

def get_value() -> SnapStartApplyOnType:
    return "None"
# SnapStartApplyOnType definition

SnapStartApplyOnType = Literal[
    "None",
    "PublishedVersions",
]

SnapStartOptimizationStatusType#

# SnapStartOptimizationStatusType usage example

from mypy_boto3_lambda.literals import SnapStartOptimizationStatusType

def get_value() -> SnapStartOptimizationStatusType:
    return "Off"
# SnapStartOptimizationStatusType definition

SnapStartOptimizationStatusType = Literal[
    "Off",
    "On",
]

SourceAccessTypeType#

# SourceAccessTypeType usage example

from mypy_boto3_lambda.literals import SourceAccessTypeType

def get_value() -> SourceAccessTypeType:
    return "BASIC_AUTH"
# SourceAccessTypeType definition

SourceAccessTypeType = Literal[
    "BASIC_AUTH",
    "CLIENT_CERTIFICATE_TLS_AUTH",
    "SASL_SCRAM_256_AUTH",
    "SASL_SCRAM_512_AUTH",
    "SERVER_ROOT_CA_CERTIFICATE",
    "VIRTUAL_HOST",
    "VPC_SECURITY_GROUP",
    "VPC_SUBNET",
]

StateReasonCodeType#

# StateReasonCodeType usage example

from mypy_boto3_lambda.literals import StateReasonCodeType

def get_value() -> StateReasonCodeType:
    return "Creating"
# StateReasonCodeType definition

StateReasonCodeType = Literal[
    "Creating",
    "DisabledKMSKey",
    "EFSIOError",
    "EFSMountConnectivityError",
    "EFSMountFailure",
    "EFSMountTimeout",
    "EniLimitExceeded",
    "FunctionError",
    "Idle",
    "ImageAccessDenied",
    "ImageDeleted",
    "InsufficientRolePermissions",
    "InternalError",
    "InvalidConfiguration",
    "InvalidImage",
    "InvalidRuntime",
    "InvalidSecurityGroup",
    "InvalidStateKMSKey",
    "InvalidSubnet",
    "InvalidZipFileException",
    "KMSKeyAccessDenied",
    "KMSKeyNotFound",
    "Restoring",
    "SubnetOutOfIPAddresses",
]

StateType#

# StateType usage example

from mypy_boto3_lambda.literals import StateType

def get_value() -> StateType:
    return "Active"
# StateType definition

StateType = Literal[
    "Active",
    "Failed",
    "Inactive",
    "Pending",
]

SystemLogLevelType#

# SystemLogLevelType usage example

from mypy_boto3_lambda.literals import SystemLogLevelType

def get_value() -> SystemLogLevelType:
    return "DEBUG"
# SystemLogLevelType definition

SystemLogLevelType = Literal[
    "DEBUG",
    "INFO",
    "WARN",
]

TracingModeType#

# TracingModeType usage example

from mypy_boto3_lambda.literals import TracingModeType

def get_value() -> TracingModeType:
    return "Active"
# TracingModeType definition

TracingModeType = Literal[
    "Active",
    "PassThrough",
]

UpdateRuntimeOnType#

# UpdateRuntimeOnType usage example

from mypy_boto3_lambda.literals import UpdateRuntimeOnType

def get_value() -> UpdateRuntimeOnType:
    return "Auto"
# UpdateRuntimeOnType definition

UpdateRuntimeOnType = Literal[
    "Auto",
    "FunctionUpdate",
    "Manual",
]

LambdaServiceName#

# LambdaServiceName usage example

from mypy_boto3_lambda.literals import LambdaServiceName

def get_value() -> LambdaServiceName:
    return "lambda"
# LambdaServiceName definition

LambdaServiceName = Literal[
    "lambda",
]

ServiceName#

# ServiceName usage example

from mypy_boto3_lambda.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",
    "appsync",
    "apptest",
    "arc-zonal-shift",
    "artifact",
    "athena",
    "auditmanager",
    "autoscaling",
    "autoscaling-plans",
    "b2bi",
    "backup",
    "backup-gateway",
    "batch",
    "bcm-data-exports",
    "bedrock",
    "bedrock-agent",
    "bedrock-agent-runtime",
    "bedrock-runtime",
    "billingconductor",
    "braket",
    "budgets",
    "ce",
    "chatbot",
    "chime",
    "chime-sdk-identity",
    "chime-sdk-media-pipelines",
    "chime-sdk-meetings",
    "chime-sdk-messaging",
    "chime-sdk-voice",
    "cleanrooms",
    "cleanroomsml",
    "cloud9",
    "cloudcontrol",
    "clouddirectory",
    "cloudformation",
    "cloudfront",
    "cloudfront-keyvaluestore",
    "cloudhsm",
    "cloudhsmv2",
    "cloudsearch",
    "cloudsearchdomain",
    "cloudtrail",
    "cloudtrail-data",
    "cloudwatch",
    "codeartifact",
    "codebuild",
    "codecatalyst",
    "codecommit",
    "codeconnections",
    "codedeploy",
    "codeguru-reviewer",
    "codeguru-security",
    "codeguruprofiler",
    "codepipeline",
    "codestar-connections",
    "codestar-notifications",
    "cognito-identity",
    "cognito-idp",
    "cognito-sync",
    "comprehend",
    "comprehendmedical",
    "compute-optimizer",
    "config",
    "connect",
    "connect-contact-lens",
    "connect