Literals#
Index > LexRuntimeV2 > Literals
Auto-generated documentation for LexRuntimeV2 type annotations stubs module mypy-boto3-lexv2-runtime.
ConfirmationStateType#
# ConfirmationStateType usage example
from mypy_boto3_lexv2_runtime.literals import ConfirmationStateType
def get_value() -> ConfirmationStateType:
return "Confirmed"
# ConfirmationStateType definition
ConfirmationStateType = Literal[
"Confirmed",
"Denied",
"None",
]
ConversationModeType#
# ConversationModeType usage example
from mypy_boto3_lexv2_runtime.literals import ConversationModeType
def get_value() -> ConversationModeType:
return "AUDIO"
# ConversationModeType definition
ConversationModeType = Literal[
"AUDIO",
"TEXT",
]
DialogActionTypeType#
# DialogActionTypeType usage example
from mypy_boto3_lexv2_runtime.literals import DialogActionTypeType
def get_value() -> DialogActionTypeType:
return "Close"
# DialogActionTypeType definition
DialogActionTypeType = Literal[
"Close",
"ConfirmIntent",
"Delegate",
"ElicitIntent",
"ElicitSlot",
"None",
]
InputModeType#
# InputModeType usage example
from mypy_boto3_lexv2_runtime.literals import InputModeType
def get_value() -> InputModeType:
return "DTMF"
# InputModeType definition
InputModeType = Literal[
"DTMF",
"Speech",
"Text",
]
IntentStateType#
# IntentStateType usage example
from mypy_boto3_lexv2_runtime.literals import IntentStateType
def get_value() -> IntentStateType:
return "Failed"
# IntentStateType definition
IntentStateType = Literal[
"Failed",
"Fulfilled",
"FulfillmentInProgress",
"InProgress",
"ReadyForFulfillment",
"Waiting",
]
InterpretationSourceType#
# InterpretationSourceType usage example
from mypy_boto3_lexv2_runtime.literals import InterpretationSourceType
def get_value() -> InterpretationSourceType:
return "Bedrock"
# InterpretationSourceType definition
InterpretationSourceType = Literal[
"Bedrock",
"Lex",
]
MessageContentTypeType#
# MessageContentTypeType usage example
from mypy_boto3_lexv2_runtime.literals import MessageContentTypeType
def get_value() -> MessageContentTypeType:
return "CustomPayload"
# MessageContentTypeType definition
MessageContentTypeType = Literal[
"CustomPayload",
"ImageResponseCard",
"PlainText",
"SSML",
]
PlaybackInterruptionReasonType#
# PlaybackInterruptionReasonType usage example
from mypy_boto3_lexv2_runtime.literals import PlaybackInterruptionReasonType
def get_value() -> PlaybackInterruptionReasonType:
return "DTMF_START_DETECTED"
# PlaybackInterruptionReasonType definition
PlaybackInterruptionReasonType = Literal[
"DTMF_START_DETECTED",
"TEXT_DETECTED",
"VOICE_START_DETECTED",
]
SentimentTypeType#
# SentimentTypeType usage example
from mypy_boto3_lexv2_runtime.literals import SentimentTypeType
def get_value() -> SentimentTypeType:
return "MIXED"
# SentimentTypeType definition
SentimentTypeType = Literal[
"MIXED",
"NEGATIVE",
"NEUTRAL",
"POSITIVE",
]
ShapeType#
# ShapeType usage example
from mypy_boto3_lexv2_runtime.literals import ShapeType
def get_value() -> ShapeType:
return "Composite"
# ShapeType definition
ShapeType = Literal[
"Composite",
"List",
"Scalar",
]
StyleTypeType#
# StyleTypeType usage example
from mypy_boto3_lexv2_runtime.literals import StyleTypeType
def get_value() -> StyleTypeType:
return "Default"
# StyleTypeType definition
StyleTypeType = Literal[
"Default",
"SpellByLetter",
"SpellByWord",
]
LexRuntimeV2ServiceName#
# LexRuntimeV2ServiceName usage example
from mypy_boto3_lexv2_runtime.literals import LexRuntimeV2ServiceName
def get_value() -> LexRuntimeV2ServiceName:
return "lexv2-runtime"
# LexRuntimeV2ServiceName definition
LexRuntimeV2ServiceName = Literal[
"lexv2-runtime",
]
ServiceName#
# ServiceName usage example
from mypy_boto3_lexv2_runtime.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",
"ap