Skip to content

Typed dictionaries

Index > LexModelBuildingService > Typed dictionaries

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

BotChannelAssociationTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import BotChannelAssociationTypeDef

def get_value() -> BotChannelAssociationTypeDef:
    return {
        "name": ...,
    }
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

Usage Example
from mypy_boto3_lex_models.type_defs import BotMetadataTypeDef

def get_value() -> BotMetadataTypeDef:
    return {
        "name": ...,
    }
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

Usage Example
from mypy_boto3_lex_models.type_defs import BuiltinIntentMetadataTypeDef

def get_value() -> BuiltinIntentMetadataTypeDef:
    return {
        "signature": ...,
    }
Definition
class BuiltinIntentMetadataTypeDef(TypedDict):
    signature: NotRequired[str],
    supportedLocales: NotRequired[List[LocaleType]],  # (1)
  1. See LocaleType

BuiltinIntentSlotTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import BuiltinIntentSlotTypeDef

def get_value() -> BuiltinIntentSlotTypeDef:
    return {
        "name": ...,
    }
Definition
class BuiltinIntentSlotTypeDef(TypedDict):
    name: NotRequired[str],

BuiltinSlotTypeMetadataTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import BuiltinSlotTypeMetadataTypeDef

def get_value() -> BuiltinSlotTypeMetadataTypeDef:
    return {
        "signature": ...,
    }
Definition
class BuiltinSlotTypeMetadataTypeDef(TypedDict):
    signature: NotRequired[str],
    supportedLocales: NotRequired[List[LocaleType]],  # (1)
  1. See LocaleType

CodeHookTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import CodeHookTypeDef

def get_value() -> CodeHookTypeDef:
    return {
        "uri": ...,
        "messageVersion": ...,
    }
Definition
class CodeHookTypeDef(TypedDict):
    uri: str,
    messageVersion: str,

LogSettingsRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import LogSettingsRequestTypeDef

def get_value() -> LogSettingsRequestTypeDef:
    return {
        "logType": ...,
        "destination": ...,
        "resourceArn": ...,
    }
Definition
class LogSettingsRequestTypeDef(TypedDict):
    logType: LogTypeType,  # (1)
    destination: DestinationType,  # (2)
    resourceArn: str,
    kmsKeyArn: NotRequired[str],
  1. See LogTypeType
  2. See DestinationType

LogSettingsResponseTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import LogSettingsResponseTypeDef

def get_value() -> LogSettingsResponseTypeDef:
    return {
        "logType": ...,
    }
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

Usage Example
from mypy_boto3_lex_models.type_defs import CreateBotVersionRequestRequestTypeDef

def get_value() -> CreateBotVersionRequestRequestTypeDef:
    return {
        "name": ...,
    }
Definition
class CreateBotVersionRequestRequestTypeDef(TypedDict):
    name: str,
    checksum: NotRequired[str],

IntentTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import IntentTypeDef

def get_value() -> IntentTypeDef:
    return {
        "intentName": ...,
        "intentVersion": ...,
    }
Definition
class IntentTypeDef(TypedDict):
    intentName: str,
    intentVersion: str,

ResponseMetadataTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
Definition
class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HostId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,

CreateIntentVersionRequestRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import CreateIntentVersionRequestRequestTypeDef

def get_value() -> CreateIntentVersionRequestRequestTypeDef:
    return {
        "name": ...,
    }
Definition
class CreateIntentVersionRequestRequestTypeDef(TypedDict):
    name: str,
    checksum: NotRequired[str],

InputContextTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import InputContextTypeDef

def get_value() -> InputContextTypeDef:
    return {
        "name": ...,
    }
Definition
class InputContextTypeDef(TypedDict):
    name: str,

KendraConfigurationTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import KendraConfigurationTypeDef

def get_value() -> KendraConfigurationTypeDef:
    return {
        "kendraIndex": ...,
        "role": ...,
    }
Definition
class KendraConfigurationTypeDef(TypedDict):
    kendraIndex: str,
    role: str,
    queryFilterString: NotRequired[str],

OutputContextTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import OutputContextTypeDef

def get_value() -> OutputContextTypeDef:
    return {
        "name": ...,
        "timeToLiveInSeconds": ...,
        "turnsToLive": ...,
    }
Definition
class OutputContextTypeDef(TypedDict):
    name: str,
    timeToLiveInSeconds: int,
    turnsToLive: int,

CreateSlotTypeVersionRequestRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import CreateSlotTypeVersionRequestRequestTypeDef

def get_value() -> CreateSlotTypeVersionRequestRequestTypeDef:
    return {
        "name": ...,
    }
Definition
class CreateSlotTypeVersionRequestRequestTypeDef(TypedDict):
    name: str,
    checksum: NotRequired[str],

EnumerationValueTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import EnumerationValueTypeDef

def get_value() -> EnumerationValueTypeDef:
    return {
        "value": ...,
    }
Definition
class EnumerationValueTypeDef(TypedDict):
    value: str,
    synonyms: NotRequired[List[str]],

DeleteBotAliasRequestRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import DeleteBotAliasRequestRequestTypeDef

def get_value() -> DeleteBotAliasRequestRequestTypeDef:
    return {
        "name": ...,
        "botName": ...,
    }
Definition
class DeleteBotAliasRequestRequestTypeDef(TypedDict):
    name: str,
    botName: str,

DeleteBotChannelAssociationRequestRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import DeleteBotChannelAssociationRequestRequestTypeDef

def get_value() -> DeleteBotChannelAssociationRequestRequestTypeDef:
    return {
        "name": ...,
        "botName": ...,
        "botAlias": ...,
    }
Definition
class DeleteBotChannelAssociationRequestRequestTypeDef(TypedDict):
    name: str,
    botName: str,
    botAlias: str,

DeleteBotRequestRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import DeleteBotRequestRequestTypeDef

def get_value() -> DeleteBotRequestRequestTypeDef:
    return {
        "name": ...,
    }
Definition
class DeleteBotRequestRequestTypeDef(TypedDict):
    name: str,

DeleteBotVersionRequestRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import DeleteBotVersionRequestRequestTypeDef

def get_value() -> DeleteBotVersionRequestRequestTypeDef:
    return {
        "name": ...,
        "version": ...,
    }
Definition
class DeleteBotVersionRequestRequestTypeDef(TypedDict):
    name: str,
    version: str,

DeleteIntentRequestRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import DeleteIntentRequestRequestTypeDef

def get_value() -> DeleteIntentRequestRequestTypeDef:
    return {
        "name": ...,
    }
Definition
class DeleteIntentRequestRequestTypeDef(TypedDict):
    name: str,

DeleteIntentVersionRequestRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import DeleteIntentVersionRequestRequestTypeDef

def get_value() -> DeleteIntentVersionRequestRequestTypeDef:
    return {
        "name": ...,
        "version": ...,
    }
Definition
class DeleteIntentVersionRequestRequestTypeDef(TypedDict):
    name: str,
    version: str,

DeleteSlotTypeRequestRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import DeleteSlotTypeRequestRequestTypeDef

def get_value() -> DeleteSlotTypeRequestRequestTypeDef:
    return {
        "name": ...,
    }
Definition
class DeleteSlotTypeRequestRequestTypeDef(TypedDict):
    name: str,

DeleteSlotTypeVersionRequestRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import DeleteSlotTypeVersionRequestRequestTypeDef

def get_value() -> DeleteSlotTypeVersionRequestRequestTypeDef:
    return {
        "name": ...,
        "version": ...,
    }
Definition
class DeleteSlotTypeVersionRequestRequestTypeDef(TypedDict):
    name: str,
    version: str,

DeleteUtterancesRequestRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import DeleteUtterancesRequestRequestTypeDef

def get_value() -> DeleteUtterancesRequestRequestTypeDef:
    return {
        "botName": ...,
        "userId": ...,
    }
Definition
class DeleteUtterancesRequestRequestTypeDef(TypedDict):
    botName: str,
    userId: str,

GetBotAliasRequestRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetBotAliasRequestRequestTypeDef

def get_value() -> GetBotAliasRequestRequestTypeDef:
    return {
        "name": ...,
        "botName": ...,
    }
Definition
class GetBotAliasRequestRequestTypeDef(TypedDict):
    name: str,
    botName: str,

PaginatorConfigTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import PaginatorConfigTypeDef

def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }
Definition
class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

GetBotAliasesRequestRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetBotAliasesRequestRequestTypeDef

def get_value() -> GetBotAliasesRequestRequestTypeDef:
    return {
        "botName": ...,
    }
Definition
class GetBotAliasesRequestRequestTypeDef(TypedDict):
    botName: str,
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
    nameContains: NotRequired[str],

GetBotChannelAssociationRequestRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetBotChannelAssociationRequestRequestTypeDef

def get_value() -> GetBotChannelAssociationRequestRequestTypeDef:
    return {
        "name": ...,
        "botName": ...,
        "botAlias": ...,
    }
Definition
class GetBotChannelAssociationRequestRequestTypeDef(TypedDict):
    name: str,
    botName: str,
    botAlias: str,

GetBotChannelAssociationsRequestRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetBotChannelAssociationsRequestRequestTypeDef

def get_value() -> GetBotChannelAssociationsRequestRequestTypeDef:
    return {
        "botName": ...,
        "botAlias": ...,
    }
Definition
class GetBotChannelAssociationsRequestRequestTypeDef(TypedDict):
    botName: str,
    botAlias: str,
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
    nameContains: NotRequired[str],

GetBotRequestRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetBotRequestRequestTypeDef

def get_value() -> GetBotRequestRequestTypeDef:
    return {
        "name": ...,
        "versionOrAlias": ...,
    }
Definition
class GetBotRequestRequestTypeDef(TypedDict):
    name: str,
    versionOrAlias: str,

GetBotVersionsRequestRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetBotVersionsRequestRequestTypeDef

def get_value() -> GetBotVersionsRequestRequestTypeDef:
    return {
        "name": ...,
    }
Definition
class GetBotVersionsRequestRequestTypeDef(TypedDict):
    name: str,
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],

GetBotsRequestRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetBotsRequestRequestTypeDef

def get_value() -> GetBotsRequestRequestTypeDef:
    return {
        "nextToken": ...,
    }
Definition
class GetBotsRequestRequestTypeDef(TypedDict):
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
    nameContains: NotRequired[str],

GetBuiltinIntentRequestRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetBuiltinIntentRequestRequestTypeDef

def get_value() -> GetBuiltinIntentRequestRequestTypeDef:
    return {
        "signature": ...,
    }
Definition
class GetBuiltinIntentRequestRequestTypeDef(TypedDict):
    signature: str,

GetBuiltinIntentsRequestRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetBuiltinIntentsRequestRequestTypeDef

def get_value() -> GetBuiltinIntentsRequestRequestTypeDef:
    return {
        "locale": ...,
    }
Definition
class GetBuiltinIntentsRequestRequestTypeDef(TypedDict):
    locale: NotRequired[LocaleType],  # (1)
    signatureContains: NotRequired[str],
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
  1. See LocaleType

GetBuiltinSlotTypesRequestRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetBuiltinSlotTypesRequestRequestTypeDef

def get_value() -> GetBuiltinSlotTypesRequestRequestTypeDef:
    return {
        "locale": ...,
    }
Definition
class GetBuiltinSlotTypesRequestRequestTypeDef(TypedDict):
    locale: NotRequired[LocaleType],  # (1)
    signatureContains: NotRequired[str],
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
  1. See LocaleType

GetExportRequestRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetExportRequestRequestTypeDef

def get_value() -> GetExportRequestRequestTypeDef:
    return {
        "name": ...,
        "version": ...,
        "resourceType": ...,
        "exportType": ...,
    }
Definition
class GetExportRequestRequestTypeDef(TypedDict):
    name: str,
    version: str,
    resourceType: ResourceTypeType,  # (1)
    exportType: ExportTypeType,  # (2)
  1. See ResourceTypeType
  2. See ExportTypeType

GetImportRequestRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetImportRequestRequestTypeDef

def get_value() -> GetImportRequestRequestTypeDef:
    return {
        "importId": ...,
    }
Definition
class GetImportRequestRequestTypeDef(TypedDict):
    importId: str,

GetIntentRequestRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetIntentRequestRequestTypeDef

def get_value() -> GetIntentRequestRequestTypeDef:
    return {
        "name": ...,
        "version": ...,
    }
Definition
class GetIntentRequestRequestTypeDef(TypedDict):
    name: str,
    version: str,

GetIntentVersionsRequestRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetIntentVersionsRequestRequestTypeDef

def get_value() -> GetIntentVersionsRequestRequestTypeDef:
    return {
        "name": ...,
    }
Definition
class GetIntentVersionsRequestRequestTypeDef(TypedDict):
    name: str,
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],

IntentMetadataTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import IntentMetadataTypeDef

def get_value() -> IntentMetadataTypeDef:
    return {
        "name": ...,
    }
Definition
class IntentMetadataTypeDef(TypedDict):
    name: NotRequired[str],
    description: NotRequired[str],
    lastUpdatedDate: NotRequired[datetime],
    createdDate: NotRequired[datetime],
    version: NotRequired[str],

GetIntentsRequestRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetIntentsRequestRequestTypeDef

def get_value() -> GetIntentsRequestRequestTypeDef:
    return {
        "nextToken": ...,
    }
Definition
class GetIntentsRequestRequestTypeDef(TypedDict):
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
    nameContains: NotRequired[str],

GetMigrationRequestRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetMigrationRequestRequestTypeDef

def get_value() -> GetMigrationRequestRequestTypeDef:
    return {
        "migrationId": ...,
    }
Definition
class GetMigrationRequestRequestTypeDef(TypedDict):
    migrationId: str,

MigrationAlertTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import MigrationAlertTypeDef

def get_value() -> MigrationAlertTypeDef:
    return {
        "type": ...,
    }
Definition
class MigrationAlertTypeDef(TypedDict):
    type: NotRequired[MigrationAlertTypeType],  # (1)
    message: NotRequired[str],
    details: NotRequired[List[str]],
    referenceURLs: NotRequired[List[str]],
  1. See MigrationAlertTypeType

GetMigrationsRequestRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetMigrationsRequestRequestTypeDef

def get_value() -> GetMigrationsRequestRequestTypeDef:
    return {
        "sortByAttribute": ...,
    }
Definition
class GetMigrationsRequestRequestTypeDef(TypedDict):
    sortByAttribute: NotRequired[MigrationSortAttributeType],  # (1)
    sortByOrder: NotRequired[SortOrderType],  # (2)
    v1BotNameContains: NotRequired[str],
    migrationStatusEquals: NotRequired[MigrationStatusType],  # (3)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
  1. See MigrationSortAttributeType
  2. See SortOrderType
  3. See MigrationStatusType

MigrationSummaryTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import MigrationSummaryTypeDef

def get_value() -> MigrationSummaryTypeDef:
    return {
        "migrationId": ...,
    }
Definition
class MigrationSummaryTypeDef(TypedDict):
    migrationId: NotRequired[str],
    v1BotName: NotRequired[str],
    v1BotVersion: NotRequired[str],
    v1BotLocale: NotRequired[LocaleType],  # (1)
    v2BotId: NotRequired[str],
    v2BotRole: NotRequired[str],
    migrationStatus: NotRequired[MigrationStatusType],  # (2)
    migrationStrategy: NotRequired[MigrationStrategyType],  # (3)
    migrationTimestamp: NotRequired[datetime],
  1. See LocaleType
  2. See MigrationStatusType
  3. See MigrationStrategyType

GetSlotTypeRequestRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetSlotTypeRequestRequestTypeDef

def get_value() -> GetSlotTypeRequestRequestTypeDef:
    return {
        "name": ...,
        "version": ...,
    }
Definition
class GetSlotTypeRequestRequestTypeDef(TypedDict):
    name: str,
    version: str,

GetSlotTypeVersionsRequestRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetSlotTypeVersionsRequestRequestTypeDef

def get_value() -> GetSlotTypeVersionsRequestRequestTypeDef:
    return {
        "name": ...,
    }
Definition
class GetSlotTypeVersionsRequestRequestTypeDef(TypedDict):
    name: str,
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],

SlotTypeMetadataTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import SlotTypeMetadataTypeDef

def get_value() -> SlotTypeMetadataTypeDef:
    return {
        "name": ...,
    }
Definition
class SlotTypeMetadataTypeDef(TypedDict):
    name: NotRequired[str],
    description: NotRequired[str],
    lastUpdatedDate: NotRequired[datetime],
    createdDate: NotRequired[datetime],
    version: NotRequired[str],

GetSlotTypesRequestRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetSlotTypesRequestRequestTypeDef

def get_value() -> GetSlotTypesRequestRequestTypeDef:
    return {
        "nextToken": ...,
    }
Definition
class GetSlotTypesRequestRequestTypeDef(TypedDict):
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
    nameContains: NotRequired[str],

GetUtterancesViewRequestRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetUtterancesViewRequestRequestTypeDef

def get_value() -> GetUtterancesViewRequestRequestTypeDef:
    return {
        "botName": ...,
        "botVersions": ...,
        "statusType": ...,
    }
Definition
class GetUtterancesViewRequestRequestTypeDef(TypedDict):
    botName: str,
    botVersions: Sequence[str],
    statusType: StatusTypeType,  # (1)
  1. See StatusTypeType

ListTagsForResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import ListTagsForResourceRequestRequestTypeDef

def get_value() -> ListTagsForResourceRequestRequestTypeDef:
    return {
        "resourceArn": ...,
    }
Definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,

TagTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import TagTypeDef

def get_value() -> TagTypeDef:
    return {
        "key": ...,
        "value": ...,
    }
Definition
class TagTypeDef(TypedDict):
    key: str,
    value: str,

MessageTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import MessageTypeDef

def get_value() -> MessageTypeDef:
    return {
        "contentType": ...,
        "content": ...,
    }
Definition
class MessageTypeDef(TypedDict):
    contentType: ContentTypeType,  # (1)
    content: str,
    groupNumber: NotRequired[int],
  1. See ContentTypeType

SlotDefaultValueTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import SlotDefaultValueTypeDef

def get_value() -> SlotDefaultValueTypeDef:
    return {
        "defaultValue": ...,
    }
Definition
class SlotDefaultValueTypeDef(TypedDict):
    defaultValue: str,

SlotTypeRegexConfigurationTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import SlotTypeRegexConfigurationTypeDef

def get_value() -> SlotTypeRegexConfigurationTypeDef:
    return {
        "pattern": ...,
    }
Definition
class SlotTypeRegexConfigurationTypeDef(TypedDict):
    pattern: str,

StartMigrationRequestRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import StartMigrationRequestRequestTypeDef

def get_value() -> StartMigrationRequestRequestTypeDef:
    return {
        "v1BotName": ...,
        "v1BotVersion": ...,
        "v2BotName": ...,
        "v2BotRole": ...,
        "migrationStrategy": ...,
    }
Definition
class StartMigrationRequestRequestTypeDef(TypedDict):
    v1BotName: str,
    v1BotVersion: str,
    v2BotName: str,
    v2BotRole: str,
    migrationStrategy: MigrationStrategyType,  # (1)
  1. See MigrationStrategyType

UntagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import UntagResourceRequestRequestTypeDef

def get_value() -> UntagResourceRequestRequestTypeDef:
    return {
        "resourceArn": ...,
        "tagKeys": ...,
    }
Definition
class UntagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tagKeys: Sequence[str],

UtteranceDataTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import UtteranceDataTypeDef

def get_value() -> UtteranceDataTypeDef:
    return {
        "utteranceString": ...,
    }
Definition
class UtteranceDataTypeDef(TypedDict):
    utteranceString: NotRequired[str],
    count: NotRequired[int],
    distinctUsers: NotRequired[int],
    firstUtteredDate: NotRequired[datetime],
    lastUtteredDate: NotRequired[datetime],

FulfillmentActivityTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import FulfillmentActivityTypeDef

def get_value() -> FulfillmentActivityTypeDef:
    return {
        "type": ...,
    }
Definition
class FulfillmentActivityTypeDef(TypedDict):
    type: FulfillmentActivityTypeType,  # (1)
    codeHook: NotRequired[CodeHookTypeDef],  # (2)
  1. See FulfillmentActivityTypeType
  2. See CodeHookTypeDef

ConversationLogsRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import ConversationLogsRequestTypeDef

def get_value() -> ConversationLogsRequestTypeDef:
    return {
        "logSettings": ...,
        "iamRoleArn": ...,
    }
Definition
class ConversationLogsRequestTypeDef(TypedDict):
    logSettings: Sequence[LogSettingsRequestTypeDef],  # (1)
    iamRoleArn: str,
  1. See LogSettingsRequestTypeDef

ConversationLogsResponseTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import ConversationLogsResponseTypeDef

def get_value() -> ConversationLogsResponseTypeDef:
    return {
        "logSettings": ...,
    }
Definition
class ConversationLogsResponseTypeDef(TypedDict):
    logSettings: NotRequired[List[LogSettingsResponseTypeDef]],  # (1)
    iamRoleArn: NotRequired[str],
  1. See LogSettingsResponseTypeDef

EmptyResponseMetadataTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import EmptyResponseMetadataTypeDef

def get_value() -> EmptyResponseMetadataTypeDef:
    return {
        "ResponseMetadata": ...,
    }
Definition
class EmptyResponseMetadataTypeDef(TypedDict):
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetBotChannelAssociationResponseTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetBotChannelAssociationResponseTypeDef

def get_value() -> GetBotChannelAssociationResponseTypeDef:
    return {
        "name": ...,
        "description": ...,
        "botAlias": ...,
        "botName": ...,
        "createdDate": ...,
        "type": ...,
        "botConfiguration": ...,
        "status": ...,
        "failureReason": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetBotChannelAssociationResponseTypeDef(TypedDict):
    name: str,
    description: str,
    botAlias: str,
    botName: str,
    createdDate: datetime,
    type: ChannelTypeType,  # (1)
    botConfiguration: Dict[str, str],
    status: ChannelStatusType,  # (2)
    failureReason: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ChannelTypeType
  2. See ChannelStatusType
  3. See ResponseMetadataTypeDef

GetBotChannelAssociationsResponseTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetBotChannelAssociationsResponseTypeDef

def get_value() -> GetBotChannelAssociationsResponseTypeDef:
    return {
        "botChannelAssociations": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetBotChannelAssociationsResponseTypeDef(TypedDict):
    botChannelAssociations: List[BotChannelAssociationTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BotChannelAssociationTypeDef
  2. See ResponseMetadataTypeDef

GetBotVersionsResponseTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetBotVersionsResponseTypeDef

def get_value() -> GetBotVersionsResponseTypeDef:
    return {
        "bots": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetBotVersionsResponseTypeDef(TypedDict):
    bots: List[BotMetadataTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BotMetadataTypeDef
  2. See ResponseMetadataTypeDef

GetBotsResponseTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetBotsResponseTypeDef

def get_value() -> GetBotsResponseTypeDef:
    return {
        "bots": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetBotsResponseTypeDef(TypedDict):
    bots: List[BotMetadataTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BotMetadataTypeDef
  2. See ResponseMetadataTypeDef

GetBuiltinIntentResponseTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetBuiltinIntentResponseTypeDef

def get_value() -> GetBuiltinIntentResponseTypeDef:
    return {
        "signature": ...,
        "supportedLocales": ...,
        "slots": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetBuiltinIntentResponseTypeDef(TypedDict):
    signature: str,
    supportedLocales: List[LocaleType],  # (1)
    slots: List[BuiltinIntentSlotTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See LocaleType
  2. See BuiltinIntentSlotTypeDef
  3. See ResponseMetadataTypeDef

GetBuiltinIntentsResponseTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetBuiltinIntentsResponseTypeDef

def get_value() -> GetBuiltinIntentsResponseTypeDef:
    return {
        "intents": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetBuiltinIntentsResponseTypeDef(TypedDict):
    intents: List[BuiltinIntentMetadataTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BuiltinIntentMetadataTypeDef
  2. See ResponseMetadataTypeDef

GetBuiltinSlotTypesResponseTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetBuiltinSlotTypesResponseTypeDef

def get_value() -> GetBuiltinSlotTypesResponseTypeDef:
    return {
        "slotTypes": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetBuiltinSlotTypesResponseTypeDef(TypedDict):
    slotTypes: List[BuiltinSlotTypeMetadataTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BuiltinSlotTypeMetadataTypeDef
  2. See ResponseMetadataTypeDef

GetExportResponseTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetExportResponseTypeDef

def get_value() -> GetExportResponseTypeDef:
    return {
        "name": ...,
        "version": ...,
        "resourceType": ...,
        "exportType": ...,
        "exportStatus": ...,
        "failureReason": ...,
        "url": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetExportResponseTypeDef(TypedDict):
    name: str,
    version: str,
    resourceType: ResourceTypeType,  # (1)
    exportType: ExportTypeType,  # (2)
    exportStatus: ExportStatusType,  # (3)
    failureReason: str,
    url: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See ResourceTypeType
  2. See ExportTypeType
  3. See ExportStatusType
  4. See ResponseMetadataTypeDef

GetImportResponseTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetImportResponseTypeDef

def get_value() -> GetImportResponseTypeDef:
    return {
        "name": ...,
        "resourceType": ...,
        "mergeStrategy": ...,
        "importId": ...,
        "importStatus": ...,
        "failureReason": ...,
        "createdDate": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetImportResponseTypeDef(TypedDict):
    name: str,
    resourceType: ResourceTypeType,  # (1)
    mergeStrategy: MergeStrategyType,  # (2)
    importId: str,
    importStatus: ImportStatusType,  # (3)
    failureReason: List[str],
    createdDate: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See ResourceTypeType
  2. See MergeStrategyType
  3. See ImportStatusType
  4. See ResponseMetadataTypeDef

StartMigrationResponseTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import StartMigrationResponseTypeDef

def get_value() -> StartMigrationResponseTypeDef:
    return {
        "v1BotName": ...,
        "v1BotVersion": ...,
        "v1BotLocale": ...,
        "v2BotId": ...,
        "v2BotRole": ...,
        "migrationId": ...,
        "migrationStrategy": ...,
        "migrationTimestamp": ...,
        "ResponseMetadata": ...,
    }
Definition
class StartMigrationResponseTypeDef(TypedDict):
    v1BotName: str,
    v1BotVersion: str,
    v1BotLocale: LocaleType,  # (1)
    v2BotId: str,
    v2BotRole: str,
    migrationId: str,
    migrationStrategy: MigrationStrategyType,  # (2)
    migrationTimestamp: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See LocaleType
  2. See MigrationStrategyType
  3. See ResponseMetadataTypeDef

GetBotAliasesRequestGetBotAliasesPaginateTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetBotAliasesRequestGetBotAliasesPaginateTypeDef

def get_value() -> GetBotAliasesRequestGetBotAliasesPaginateTypeDef:
    return {
        "botName": ...,
    }
Definition
class GetBotAliasesRequestGetBotAliasesPaginateTypeDef(TypedDict):
    botName: str,
    nameContains: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

GetBotChannelAssociationsRequestGetBotChannelAssociationsPaginateTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetBotChannelAssociationsRequestGetBotChannelAssociationsPaginateTypeDef

def get_value() -> GetBotChannelAssociationsRequestGetBotChannelAssociationsPaginateTypeDef:
    return {
        "botName": ...,
        "botAlias": ...,
    }
Definition
class GetBotChannelAssociationsRequestGetBotChannelAssociationsPaginateTypeDef(TypedDict):
    botName: str,
    botAlias: str,
    nameContains: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

GetBotVersionsRequestGetBotVersionsPaginateTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetBotVersionsRequestGetBotVersionsPaginateTypeDef

def get_value() -> GetBotVersionsRequestGetBotVersionsPaginateTypeDef:
    return {
        "name": ...,
    }
Definition
class GetBotVersionsRequestGetBotVersionsPaginateTypeDef(TypedDict):
    name: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

GetBotsRequestGetBotsPaginateTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetBotsRequestGetBotsPaginateTypeDef

def get_value() -> GetBotsRequestGetBotsPaginateTypeDef:
    return {
        "nameContains": ...,
    }
Definition
class GetBotsRequestGetBotsPaginateTypeDef(TypedDict):
    nameContains: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

GetBuiltinIntentsRequestGetBuiltinIntentsPaginateTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetBuiltinIntentsRequestGetBuiltinIntentsPaginateTypeDef

def get_value() -> GetBuiltinIntentsRequestGetBuiltinIntentsPaginateTypeDef:
    return {
        "locale": ...,
    }
Definition
class GetBuiltinIntentsRequestGetBuiltinIntentsPaginateTypeDef(TypedDict):
    locale: NotRequired[LocaleType],  # (1)
    signatureContains: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See LocaleType
  2. See PaginatorConfigTypeDef

GetBuiltinSlotTypesRequestGetBuiltinSlotTypesPaginateTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetBuiltinSlotTypesRequestGetBuiltinSlotTypesPaginateTypeDef

def get_value() -> GetBuiltinSlotTypesRequestGetBuiltinSlotTypesPaginateTypeDef:
    return {
        "locale": ...,
    }
Definition
class GetBuiltinSlotTypesRequestGetBuiltinSlotTypesPaginateTypeDef(TypedDict):
    locale: NotRequired[LocaleType],  # (1)
    signatureContains: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See LocaleType
  2. See PaginatorConfigTypeDef

GetIntentVersionsRequestGetIntentVersionsPaginateTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetIntentVersionsRequestGetIntentVersionsPaginateTypeDef

def get_value() -> GetIntentVersionsRequestGetIntentVersionsPaginateTypeDef:
    return {
        "name": ...,
    }
Definition
class GetIntentVersionsRequestGetIntentVersionsPaginateTypeDef(TypedDict):
    name: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

GetIntentsRequestGetIntentsPaginateTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetIntentsRequestGetIntentsPaginateTypeDef

def get_value() -> GetIntentsRequestGetIntentsPaginateTypeDef:
    return {
        "nameContains": ...,
    }
Definition
class GetIntentsRequestGetIntentsPaginateTypeDef(TypedDict):
    nameContains: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

GetSlotTypeVersionsRequestGetSlotTypeVersionsPaginateTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetSlotTypeVersionsRequestGetSlotTypeVersionsPaginateTypeDef

def get_value() -> GetSlotTypeVersionsRequestGetSlotTypeVersionsPaginateTypeDef:
    return {
        "name": ...,
    }
Definition
class GetSlotTypeVersionsRequestGetSlotTypeVersionsPaginateTypeDef(TypedDict):
    name: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

GetSlotTypesRequestGetSlotTypesPaginateTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetSlotTypesRequestGetSlotTypesPaginateTypeDef

def get_value() -> GetSlotTypesRequestGetSlotTypesPaginateTypeDef:
    return {
        "nameContains": ...,
    }
Definition
class GetSlotTypesRequestGetSlotTypesPaginateTypeDef(TypedDict):
    nameContains: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

GetIntentVersionsResponseTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetIntentVersionsResponseTypeDef

def get_value() -> GetIntentVersionsResponseTypeDef:
    return {
        "intents": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetIntentVersionsResponseTypeDef(TypedDict):
    intents: List[IntentMetadataTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IntentMetadataTypeDef
  2. See ResponseMetadataTypeDef

GetIntentsResponseTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetIntentsResponseTypeDef

def get_value() -> GetIntentsResponseTypeDef:
    return {
        "intents": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetIntentsResponseTypeDef(TypedDict):
    intents: List[IntentMetadataTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IntentMetadataTypeDef
  2. See ResponseMetadataTypeDef

GetMigrationResponseTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetMigrationResponseTypeDef

def get_value() -> GetMigrationResponseTypeDef:
    return {
        "migrationId": ...,
        "v1BotName": ...,
        "v1BotVersion": ...,
        "v1BotLocale": ...,
        "v2BotId": ...,
        "v2BotRole": ...,
        "migrationStatus": ...,
        "migrationStrategy": ...,
        "migrationTimestamp": ...,
        "alerts": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetMigrationResponseTypeDef(TypedDict):
    migrationId: str,
    v1BotName: str,
    v1BotVersion: str,
    v1BotLocale: LocaleType,  # (1)
    v2BotId: str,
    v2BotRole: str,
    migrationStatus: MigrationStatusType,  # (2)
    migrationStrategy: MigrationStrategyType,  # (3)
    migrationTimestamp: datetime,
    alerts: List[MigrationAlertTypeDef],  # (4)
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See LocaleType
  2. See MigrationStatusType
  3. See MigrationStrategyType
  4. See MigrationAlertTypeDef
  5. See ResponseMetadataTypeDef

GetMigrationsResponseTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetMigrationsResponseTypeDef

def get_value() -> GetMigrationsResponseTypeDef:
    return {
        "migrationSummaries": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetMigrationsResponseTypeDef(TypedDict):
    migrationSummaries: List[MigrationSummaryTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See MigrationSummaryTypeDef
  2. See ResponseMetadataTypeDef

GetSlotTypeVersionsResponseTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetSlotTypeVersionsResponseTypeDef

def get_value() -> GetSlotTypeVersionsResponseTypeDef:
    return {
        "slotTypes": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetSlotTypeVersionsResponseTypeDef(TypedDict):
    slotTypes: List[SlotTypeMetadataTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SlotTypeMetadataTypeDef
  2. See ResponseMetadataTypeDef

GetSlotTypesResponseTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetSlotTypesResponseTypeDef

def get_value() -> GetSlotTypesResponseTypeDef:
    return {
        "slotTypes": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetSlotTypesResponseTypeDef(TypedDict):
    slotTypes: List[SlotTypeMetadataTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SlotTypeMetadataTypeDef
  2. See ResponseMetadataTypeDef

ListTagsForResourceResponseTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import ListTagsForResourceResponseTypeDef

def get_value() -> ListTagsForResourceResponseTypeDef:
    return {
        "tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListTagsForResourceResponseTypeDef(TypedDict):
    tags: List[TagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TagTypeDef
  2. See ResponseMetadataTypeDef

StartImportRequestRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import StartImportRequestRequestTypeDef

def get_value() -> StartImportRequestRequestTypeDef:
    return {
        "payload": ...,
        "resourceType": ...,
        "mergeStrategy": ...,
    }
Definition
class StartImportRequestRequestTypeDef(TypedDict):
    payload: Union[str, bytes, IO[Any], StreamingBody],
    resourceType: ResourceTypeType,  # (1)
    mergeStrategy: MergeStrategyType,  # (2)
    tags: NotRequired[Sequence[TagTypeDef]],  # (3)
  1. See ResourceTypeType
  2. See MergeStrategyType
  3. See TagTypeDef

StartImportResponseTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import StartImportResponseTypeDef

def get_value() -> StartImportResponseTypeDef:
    return {
        "name": ...,
        "resourceType": ...,
        "mergeStrategy": ...,
        "importId": ...,
        "importStatus": ...,
        "tags": ...,
        "createdDate": ...,
        "ResponseMetadata": ...,
    }
Definition
class StartImportResponseTypeDef(TypedDict):
    name: str,
    resourceType: ResourceTypeType,  # (1)
    mergeStrategy: MergeStrategyType,  # (2)
    importId: str,
    importStatus: ImportStatusType,  # (3)
    tags: List[TagTypeDef],  # (4)
    createdDate: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See ResourceTypeType
  2. See MergeStrategyType
  3. See ImportStatusType
  4. See TagTypeDef
  5. See ResponseMetadataTypeDef

TagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import TagResourceRequestRequestTypeDef

def get_value() -> TagResourceRequestRequestTypeDef:
    return {
        "resourceArn": ...,
        "tags": ...,
    }
Definition
class TagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tags: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

PromptTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import PromptTypeDef

def get_value() -> PromptTypeDef:
    return {
        "messages": ...,
        "maxAttempts": ...,
    }
Definition
class PromptTypeDef(TypedDict):
    messages: List[MessageTypeDef],  # (1)
    maxAttempts: int,
    responseCard: NotRequired[str],
  1. See MessageTypeDef

StatementTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import StatementTypeDef

def get_value() -> StatementTypeDef:
    return {
        "messages": ...,
    }
Definition
class StatementTypeDef(TypedDict):
    messages: List[MessageTypeDef],  # (1)
    responseCard: NotRequired[str],
  1. See MessageTypeDef

SlotDefaultValueSpecTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import SlotDefaultValueSpecTypeDef

def get_value() -> SlotDefaultValueSpecTypeDef:
    return {
        "defaultValueList": ...,
    }
Definition
class SlotDefaultValueSpecTypeDef(TypedDict):
    defaultValueList: List[SlotDefaultValueTypeDef],  # (1)
  1. See SlotDefaultValueTypeDef

SlotTypeConfigurationTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import SlotTypeConfigurationTypeDef

def get_value() -> SlotTypeConfigurationTypeDef:
    return {
        "regexConfiguration": ...,
    }
Definition
class SlotTypeConfigurationTypeDef(TypedDict):
    regexConfiguration: NotRequired[SlotTypeRegexConfigurationTypeDef],  # (1)
  1. See SlotTypeRegexConfigurationTypeDef

UtteranceListTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import UtteranceListTypeDef

def get_value() -> UtteranceListTypeDef:
    return {
        "botVersion": ...,
    }
Definition
class UtteranceListTypeDef(TypedDict):
    botVersion: NotRequired[str],
    utterances: NotRequired[List[UtteranceDataTypeDef]],  # (1)
  1. See UtteranceDataTypeDef

PutBotAliasRequestRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import PutBotAliasRequestRequestTypeDef

def get_value() -> PutBotAliasRequestRequestTypeDef:
    return {
        "name": ...,
        "botVersion": ...,
        "botName": ...,
    }
Definition
class PutBotAliasRequestRequestTypeDef(TypedDict):
    name: str,
    botVersion: str,
    botName: str,
    description: NotRequired[str],
    checksum: NotRequired[str],
    conversationLogs: NotRequired[ConversationLogsRequestTypeDef],  # (1)
    tags: NotRequired[Sequence[TagTypeDef]],  # (2)
  1. See ConversationLogsRequestTypeDef
  2. See TagTypeDef

BotAliasMetadataTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import BotAliasMetadataTypeDef

def get_value() -> BotAliasMetadataTypeDef:
    return {
        "name": ...,
    }
Definition
class BotAliasMetadataTypeDef(TypedDict):
    name: NotRequired[str],
    description: NotRequired[str],
    botVersion: NotRequired[str],
    botName: NotRequired[str],
    lastUpdatedDate: NotRequired[datetime],
    createdDate: NotRequired[datetime],
    checksum: NotRequired[str],
    conversationLogs: NotRequired[ConversationLogsResponseTypeDef],  # (1)
  1. See ConversationLogsResponseTypeDef

GetBotAliasResponseTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetBotAliasResponseTypeDef

def get_value() -> GetBotAliasResponseTypeDef:
    return {
        "name": ...,
        "description": ...,
        "botVersion": ...,
        "botName": ...,
        "lastUpdatedDate": ...,
        "createdDate": ...,
        "checksum": ...,
        "conversationLogs": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetBotAliasResponseTypeDef(TypedDict):
    name: str,
    description: str,
    botVersion: str,
    botName: str,
    lastUpdatedDate: datetime,
    createdDate: datetime,
    checksum: str,
    conversationLogs: ConversationLogsResponseTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ConversationLogsResponseTypeDef
  2. See ResponseMetadataTypeDef

PutBotAliasResponseTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import PutBotAliasResponseTypeDef

def get_value() -> PutBotAliasResponseTypeDef:
    return {
        "name": ...,
        "description": ...,
        "botVersion": ...,
        "botName": ...,
        "lastUpdatedDate": ...,
        "createdDate": ...,
        "checksum": ...,
        "conversationLogs": ...,
        "tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class PutBotAliasResponseTypeDef(TypedDict):
    name: str,
    description: str,
    botVersion: str,
    botName: str,
    lastUpdatedDate: datetime,
    createdDate: datetime,
    checksum: str,
    conversationLogs: ConversationLogsResponseTypeDef,  # (1)
    tags: List[TagTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ConversationLogsResponseTypeDef
  2. See TagTypeDef
  3. See ResponseMetadataTypeDef

CreateBotVersionResponseTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import CreateBotVersionResponseTypeDef

def get_value() -> CreateBotVersionResponseTypeDef:
    return {
        "name": ...,
        "description": ...,
        "intents": ...,
        "clarificationPrompt": ...,
        "abortStatement": ...,
        "status": ...,
        "failureReason": ...,
        "lastUpdatedDate": ...,
        "createdDate": ...,
        "idleSessionTTLInSeconds": ...,
        "voiceId": ...,
        "checksum": ...,
        "version": ...,
        "locale": ...,
        "childDirected": ...,
        "enableModelImprovements": ...,
        "detectSentiment": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateBotVersionResponseTypeDef(TypedDict):
    name: str,
    description: str,
    intents: List[IntentTypeDef],  # (1)
    clarificationPrompt: PromptTypeDef,  # (2)
    abortStatement: StatementTypeDef,  # (3)
    status: StatusType,  # (4)
    failureReason: str,
    lastUpdatedDate: datetime,
    createdDate: datetime,
    idleSessionTTLInSeconds: int,
    voiceId: str,
    checksum: str,
    version: str,
    locale: LocaleType,  # (5)
    childDirected: bool,
    enableModelImprovements: bool,
    detectSentiment: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (6)
  1. See IntentTypeDef
  2. See PromptTypeDef
  3. See StatementTypeDef
  4. See StatusType
  5. See LocaleType
  6. See ResponseMetadataTypeDef

FollowUpPromptTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import FollowUpPromptTypeDef

def get_value() -> FollowUpPromptTypeDef:
    return {
        "prompt": ...,
        "rejectionStatement": ...,
    }
Definition
class FollowUpPromptTypeDef(TypedDict):
    prompt: PromptTypeDef,  # (1)
    rejectionStatement: StatementTypeDef,  # (2)
  1. See PromptTypeDef
  2. See StatementTypeDef

GetBotResponseTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import GetBotResponseTypeDef

def get_value() -> GetBotResponseTypeDef:
    return {
        "name": ...,
        "description": ...,
        "intents": ...,
        "enableModelImprovements": ...,
        "nluIntentConfidenceThreshold": ...,
        "clarificationPrompt": ...,
        "abortStatement": ...,
        "status": ...,
        "failureReason": ...,
        "lastUpdatedDate": ...,
        "createdDate": ...,
        "idleSessionTTLInSeconds": ...,
        "voiceId": ...,
        "checksum": ...,
        "version": ...,
        "locale": ...,
        "childDirected": ...,
        "detectSentiment": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetBotResponseTypeDef(TypedDict):
    name: str,
    description: str,
    intents: List[IntentTypeDef],  # (1)
    enableModelImprovements: bool,
    nluIntentConfidenceThreshold: float,
    clarificationPrompt: PromptTypeDef,  # (2)
    abortStatement: StatementTypeDef,  # (3)
    status: StatusType,  # (4)
    failureReason: str,
    lastUpdatedDate: datetime,
    createdDate: datetime,
    idleSessionTTLInSeconds: int,
    voiceId: str,
    checksum: str,
    version: str,
    locale: LocaleType,  # (5)
    childDirected: bool,
    detectSentiment: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (6)
  1. See IntentTypeDef
  2. See PromptTypeDef
  3. See StatementTypeDef
  4. See StatusType
  5. See LocaleType
  6. See ResponseMetadataTypeDef

PutBotRequestRequestTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import PutBotRequestRequestTypeDef

def get_value() -> PutBotRequestRequestTypeDef:
    return {
        "name": ...,
        "locale": ...,
        "childDirected": ...,
    }
Definition
class PutBotRequestRequestTypeDef(TypedDict):
    name: str,
    locale: LocaleType,  # (1)
    childDirected: bool,
    description: NotRequired[str],
    intents: NotRequired[Sequence[IntentTypeDef]],  # (2)
    enableModelImprovements: NotRequired[bool],
    nluIntentConfidenceThreshold: NotRequired[float],
    clarificationPrompt: NotRequired[PromptTypeDef],  # (3)
    abortStatement: NotRequired[StatementTypeDef],  # (4)
    idleSessionTTLInSeconds: NotRequired[int],
    voiceId: NotRequired[str],
    checksum: NotRequired[str],
    processBehavior: NotRequired[ProcessBehaviorType],  # (5)
    detectSentiment: NotRequired[bool],
    createVersion: NotRequired[bool],
    tags: NotRequired[Sequence[TagTypeDef]],  # (6)
  1. See LocaleType
  2. See IntentTypeDef
  3. See PromptTypeDef
  4. See StatementTypeDef
  5. See ProcessBehaviorType
  6. See TagTypeDef

PutBotResponseTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import PutBotResponseTypeDef

def get_value() -> PutBotResponseTypeDef:
    return {
        "name": ...,
        "description": ...,
        "intents": ...,
        "enableModelImprovements": ...,
        "nluIntentConfidenceThreshold": ...,
        "clarificationPrompt": ...,
        "abortStatement": ...,
        "status": ...,
        "failureReason": ...,
        "lastUpdatedDate": ...,
        "createdDate": ...,
        "idleSessionTTLInSeconds": ...,
        "voiceId": ...,
        "checksum": ...,
        "version": ...,
        "locale": ...,
        "childDirected": ...,
        "createVersion": ...,
        "detectSentiment": ...,
        "tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class PutBotResponseTypeDef(TypedDict):
    name: str,
    description: str,
    intents: List[IntentTypeDef],  # (1)
    enableModelImprovements: bool,
    nluIntentConfidenceThreshold: float,
    clarificationPrompt: PromptTypeDef,  # (2)
    abortStatement: StatementTypeDef,  # (3)
    status: StatusType,  # (4)
    failureReason: str,
    lastUpdatedDate: datetime,
    createdDate: datetime,
    idleSessionTTLInSeconds: int,
    voiceId: str,
    checksum: str,
    version: str,
    locale: LocaleType,  # (5)
    childDirected: bool,
    createVersion: bool,
    detectSentiment: bool,
    tags: List[TagTypeDef],  # (6)
    ResponseMetadata: ResponseMetadataTypeDef,  # (7)
  1. See IntentTypeDef
  2. See PromptTypeDef
  3. See StatementTypeDef
  4. See StatusType
  5. See LocaleType
  6. See TagTypeDef
  7. See ResponseMetadataTypeDef

SlotTypeDef

Usage Example
from mypy_boto3_lex_models.type_defs import SlotTypeDef

def get_value() -> SlotTypeDef:
    return {
        "name": ...,
        "slotConstraint": ...,
    }
Definition
class SlotTypeDef(TypedDict):
    name: str,
    slotConstraint