Skip to content

Type definitions#

Index > LexModelBuildingService > Type definitions

Auto-generated documentation for LexModelBuildingService type annotations stubs module mypy-boto3-lex-models.

BlobTypeDef#

# BlobTypeDef definition

BlobTypeDef = Union[
    str,
    bytes,
    IO[Any],
    StreamingBody,
]

EnumerationValueUnionTypeDef#

# EnumerationValueUnionTypeDef definition

EnumerationValueUnionTypeDef = Union[
    EnumerationValueTypeDef,  # (1)
    EnumerationValueOutputTypeDef,  # (2)
]
  1. See EnumerationValueTypeDef
  2. See EnumerationValueOutputTypeDef

PromptUnionTypeDef#

# PromptUnionTypeDef definition

PromptUnionTypeDef = Union[
    PromptTypeDef,  # (1)
    PromptOutputTypeDef,  # (2)
]
  1. See PromptTypeDef
  2. See PromptOutputTypeDef

StatementUnionTypeDef#

# StatementUnionTypeDef definition

StatementUnionTypeDef = Union[
    StatementTypeDef,  # (1)
    StatementOutputTypeDef,  # (2)
]
  1. See StatementTypeDef
  2. See StatementOutputTypeDef

FollowUpPromptUnionTypeDef#

# FollowUpPromptUnionTypeDef definition

FollowUpPromptUnionTypeDef = Union[
    FollowUpPromptTypeDef,  # (1)
    FollowUpPromptOutputTypeDef,  # (2)
]
  1. See FollowUpPromptTypeDef
  2. See FollowUpPromptOutputTypeDef

SlotUnionTypeDef#

# SlotUnionTypeDef definition

SlotUnionTypeDef = Union[
    SlotTypeDef,  # (1)
    SlotOutputTypeDef,  # (2)
]
  1. See SlotTypeDef
  2. See SlotOutputTypeDef

BotChannelAssociationTypeDef#

# BotChannelAssociationTypeDef definition

class BotChannelAssociationTypeDef(TypedDict):
    name: NotRequired[str],
    description: NotRequired[str],
    botAlias: NotRequired[str],
    botName: NotRequired[str],
    createdDate: NotRequired[datetime],
    type: NotRequired[ChannelTypeType],  # (1)
    botConfiguration: NotRequired[Dict[str, str]],
    status: NotRequired[ChannelStatusType],  # (2)
    failureReason: NotRequired[str],
  1. See ChannelTypeType
  2. See ChannelStatusType

BotMetadataTypeDef#

# BotMetadataTypeDef definition

class BotMetadataTypeDef(TypedDict):
    name: NotRequired[str],
    description: NotRequired[str],
    status: NotRequired[StatusType],  # (1)
    lastUpdatedDate: NotRequired[datetime],
    createdDate: NotRequired[datetime],
    version: NotRequired[str],
  1. See StatusType

BuiltinIntentMetadataTypeDef#

# BuiltinIntentMetadataTypeDef definition

class BuiltinIntentMetadataTypeDef(TypedDict):
    signature: NotRequired[str],
    supportedLocales: NotRequired[List[LocaleType]],  # (1)
  1. See LocaleType

BuiltinIntentSlotTypeDef#

# BuiltinIntentSlotTypeDef definition

class BuiltinIntentSlotTypeDef(TypedDict):
    name: NotRequired[str],

BuiltinSlotTypeMetadataTypeDef#

# BuiltinSlotTypeMetadataTypeDef definition

class BuiltinSlotTypeMetadataTypeDef(TypedDict):
    signature: NotRequired[str],
    supportedLocales: NotRequired[List[LocaleType]],  # (1)
  1. See LocaleType

CodeHookTypeDef#

# CodeHookTypeDef definition

class CodeHookTypeDef(TypedDict):
    uri: str,
    messageVersion: str,

LogSettingsRequestTypeDef#

# LogSettingsRequestTypeDef definition

class LogSettingsRequestTypeDef(TypedDict):
    logType: LogTypeType,  # (1)
    destination: DestinationType,  # (2)
    resourceArn: str,
    kmsKeyArn: NotRequired[str],
  1. See LogTypeType
  2. See DestinationType

LogSettingsResponseTypeDef#

# LogSettingsResponseTypeDef definition

class LogSettingsResponseTypeDef(TypedDict):
    logType: NotRequired[LogTypeType],  # (1)
    destination: NotRequired[DestinationType],  # (2)
    kmsKeyArn: NotRequired[str],
    resourceArn: NotRequired[str],
    resourcePrefix: NotRequired[str],
  1. See LogTypeType
  2. See DestinationType

CreateBotVersionRequestRequestTypeDef#

# CreateBotVersionRequestRequestTypeDef definition

class CreateBotVersionRequestRequestTypeDef(TypedDict):
    name: str,
    checksum: NotRequired[str],

IntentTypeDef#

# IntentTypeDef definition

class IntentTypeDef(TypedDict):
    intentName: str,
    intentVersion: str,

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

CreateIntentVersionRequestRequestTypeDef#

# CreateIntentVersionRequestRequestTypeDef definition

class CreateIntentVersionRequestRequestTypeDef(TypedDict):
    name: str,
    checksum: NotRequired[str],