Skip to content

Typed dictionaries#

Index > LexModelsV2 > Typed dictionaries

Auto-generated documentation for LexModelsV2 type annotations stubs module mypy-boto3-lexv2-models.

AdvancedRecognitionSettingTypeDef#

# AdvancedRecognitionSettingTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import AdvancedRecognitionSettingTypeDef

def get_value() -> AdvancedRecognitionSettingTypeDef:
    return {
        "audioRecognitionStrategy": ...,
    }
# AdvancedRecognitionSettingTypeDef definition

class AdvancedRecognitionSettingTypeDef(TypedDict):
    audioRecognitionStrategy: NotRequired[AudioRecognitionStrategyType],  # (1)
  1. See AudioRecognitionStrategyType

AggregatedUtterancesFilterTypeDef#

# AggregatedUtterancesFilterTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import AggregatedUtterancesFilterTypeDef

def get_value() -> AggregatedUtterancesFilterTypeDef:
    return {
        "name": ...,
        "values": ...,
        "operator": ...,
    }
# AggregatedUtterancesFilterTypeDef definition

class AggregatedUtterancesFilterTypeDef(TypedDict):
    name: AggregatedUtterancesFilterNameType,  # (1)
    values: Sequence[str],
    operator: AggregatedUtterancesFilterOperatorType,  # (2)
  1. See AggregatedUtterancesFilterNameType
  2. See AggregatedUtterancesFilterOperatorType

AggregatedUtterancesSortByTypeDef#

# AggregatedUtterancesSortByTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import AggregatedUtterancesSortByTypeDef

def get_value() -> AggregatedUtterancesSortByTypeDef:
    return {
        "attribute": ...,
        "order": ...,
    }
# AggregatedUtterancesSortByTypeDef definition

class AggregatedUtterancesSortByTypeDef(TypedDict):
    attribute: AggregatedUtterancesSortAttributeType,  # (1)
    order: SortOrderType,  # (2)
  1. See AggregatedUtterancesSortAttributeType
  2. See SortOrderType

AggregatedUtterancesSummaryTypeDef#

# AggregatedUtterancesSummaryTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import AggregatedUtterancesSummaryTypeDef

def get_value() -> AggregatedUtterancesSummaryTypeDef:
    return {
        "utterance": ...,
    }
# AggregatedUtterancesSummaryTypeDef definition

class AggregatedUtterancesSummaryTypeDef(TypedDict):
    utterance: NotRequired[str],
    hitCount: NotRequired[int],
    missedCount: NotRequired[int],
    utteranceFirstRecordedInAggregationDuration: NotRequired[datetime],
    utteranceLastRecordedInAggregationDuration: NotRequired[datetime],
    containsDataFromDeletedResources: NotRequired[bool],

AllowedInputTypesTypeDef#

# AllowedInputTypesTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import AllowedInputTypesTypeDef

def get_value() -> AllowedInputTypesTypeDef:
    return {
        "allowAudioInput": ...,
        "allowDTMFInput": ...,
    }
# AllowedInputTypesTypeDef definition

class AllowedInputTypesTypeDef(TypedDict):
    allowAudioInput: bool,
    allowDTMFInput: bool,

AssociatedTranscriptFilterTypeDef#

# AssociatedTranscriptFilterTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import AssociatedTranscriptFilterTypeDef

def get_value() -> AssociatedTranscriptFilterTypeDef:
    return {
        "name": ...,
        "values": ...,
    }
# AssociatedTranscriptFilterTypeDef definition

class AssociatedTranscriptFilterTypeDef(TypedDict):
    name: AssociatedTranscriptFilterNameType,  # (1)
    values: Sequence[str],
  1. See AssociatedTranscriptFilterNameType

AssociatedTranscriptTypeDef#

# AssociatedTranscriptTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import AssociatedTranscriptTypeDef

def get_value() -> AssociatedTranscriptTypeDef:
    return {
        "transcript": ...,
    }
# AssociatedTranscriptTypeDef definition

class AssociatedTranscriptTypeDef(TypedDict):
    transcript: NotRequired[str],

AudioSpecificationTypeDef#

# AudioSpecificationTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import AudioSpecificationTypeDef

def get_value() -> AudioSpecificationTypeDef:
    return {
        "maxLengthMs": ...,
        "endTimeoutMs": ...,
    }
# AudioSpecificationTypeDef definition

class AudioSpecificationTypeDef(TypedDict):
    maxLengthMs: int,
    endTimeoutMs: int,

DTMFSpecificationTypeDef#

# DTMFSpecificationTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DTMFSpecificationTypeDef

def get_value() -> DTMFSpecificationTypeDef:
    return {
        "maxLength": ...,
        "endTimeoutMs": ...,
        "deletionCharacter": ...,
        "endCharacter": ...,
    }
# DTMFSpecificationTypeDef definition

class DTMFSpecificationTypeDef(TypedDict):
    maxLength: int,
    endTimeoutMs: int,
    deletionCharacter: str,
    endCharacter: str,

S3BucketLogDestinationTypeDef#

# S3BucketLogDestinationTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import S3BucketLogDestinationTypeDef

def get_value() -> S3BucketLogDestinationTypeDef:
    return {
        "s3BucketArn": ...,
        "logPrefix": ...,
    }
# S3BucketLogDestinationTypeDef definition

class S3BucketLogDestinationTypeDef(TypedDict):
    s3BucketArn: str,
    logPrefix: str,
    kmsKeyArn: NotRequired[str],

NewCustomVocabularyItemTypeDef#

# NewCustomVocabularyItemTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import NewCustomVocabularyItemTypeDef

def get_value() -> NewCustomVocabularyItemTypeDef:
    return {
        "phrase": ...,
    }
# NewCustomVocabularyItemTypeDef definition

class NewCustomVocabularyItemTypeDef(TypedDict):
    phrase: str,
    weight: NotRequired[int],
    displayAs: NotRequired[str],

CustomVocabularyItemTypeDef#

# CustomVocabularyItemTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import CustomVocabularyItemTypeDef

def get_value() -> CustomVocabularyItemTypeDef:
    return {
        "itemId": ...,
        "phrase": ...,
    }
# CustomVocabularyItemTypeDef definition

class CustomVocabularyItemTypeDef(TypedDict):
    itemId: str,
    phrase: str,
    weight: NotRequired[int],
    displayAs: NotRequired[str],

FailedCustomVocabularyItemTypeDef#

# FailedCustomVocabularyItemTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import FailedCustomVocabularyItemTypeDef

def get_value() -> FailedCustomVocabularyItemTypeDef:
    return {
        "itemId": ...,
    }
# FailedCustomVocabularyItemTypeDef definition

class FailedCustomVocabularyItemTypeDef(TypedDict):
    itemId: NotRequired[str],
    errorMessage: NotRequired[str],
    errorCode: NotRequired[ErrorCodeType],  # (1)
  1. See ErrorCodeType

CustomVocabularyEntryIdTypeDef#

# CustomVocabularyEntryIdTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import CustomVocabularyEntryIdTypeDef

def get_value() -> CustomVocabularyEntryIdTypeDef:
    return {
        "itemId": ...,
    }
# CustomVocabularyEntryIdTypeDef definition

class CustomVocabularyEntryIdTypeDef(TypedDict):
    itemId: str,

BotAliasHistoryEventTypeDef#

# BotAliasHistoryEventTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import BotAliasHistoryEventTypeDef

def get_value() -> BotAliasHistoryEventTypeDef:
    return {
        "botVersion": ...,
    }
# BotAliasHistoryEventTypeDef definition

class BotAliasHistoryEventTypeDef(TypedDict):
    botVersion: NotRequired[str],
    startDate: NotRequired[datetime],
    endDate: NotRequired[datetime],

BotAliasSummaryTypeDef#

# BotAliasSummaryTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import BotAliasSummaryTypeDef

def get_value() -> BotAliasSummaryTypeDef:
    return {
        "botAliasId": ...,
    }
# BotAliasSummaryTypeDef definition

class BotAliasSummaryTypeDef(TypedDict):
    botAliasId: NotRequired[str],
    botAliasName: NotRequired[str],
    description: NotRequired[str],
    botVersion: NotRequired[str],
    botAliasStatus: NotRequired[BotAliasStatusType],  # (1)
    creationDateTime: NotRequired[datetime],
    lastUpdatedDateTime: NotRequired[datetime],
  1. See BotAliasStatusType

BotExportSpecificationTypeDef#

# BotExportSpecificationTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import BotExportSpecificationTypeDef

def get_value() -> BotExportSpecificationTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
    }
# BotExportSpecificationTypeDef definition

class BotExportSpecificationTypeDef(TypedDict):
    botId: str,
    botVersion: str,

BotFilterTypeDef#

# BotFilterTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import BotFilterTypeDef

def get_value() -> BotFilterTypeDef:
    return {
        "name": ...,
        "values": ...,
        "operator": ...,
    }
# BotFilterTypeDef definition

class BotFilterTypeDef(TypedDict):
    name: BotFilterNameType,  # (1)
    values: Sequence[str],
    operator: BotFilterOperatorType,  # (2)
  1. See BotFilterNameType
  2. See BotFilterOperatorType

DataPrivacyTypeDef#

# DataPrivacyTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DataPrivacyTypeDef

def get_value() -> DataPrivacyTypeDef:
    return {
        "childDirected": ...,
    }
# DataPrivacyTypeDef definition

class DataPrivacyTypeDef(TypedDict):
    childDirected: bool,

BotLocaleExportSpecificationTypeDef#

# BotLocaleExportSpecificationTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import BotLocaleExportSpecificationTypeDef

def get_value() -> BotLocaleExportSpecificationTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
    }
# BotLocaleExportSpecificationTypeDef definition

class BotLocaleExportSpecificationTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,

BotLocaleFilterTypeDef#

# BotLocaleFilterTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import BotLocaleFilterTypeDef

def get_value() -> BotLocaleFilterTypeDef:
    return {
        "name": ...,
        "values": ...,
        "operator": ...,
    }
# BotLocaleFilterTypeDef definition

class BotLocaleFilterTypeDef(TypedDict):
    name: BotLocaleFilterNameType,  # (1)
    values: Sequence[str],
    operator: BotLocaleFilterOperatorType,  # (2)
  1. See BotLocaleFilterNameType
  2. See BotLocaleFilterOperatorType

BotLocaleHistoryEventTypeDef#

# BotLocaleHistoryEventTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import BotLocaleHistoryEventTypeDef

def get_value() -> BotLocaleHistoryEventTypeDef:
    return {
        "event": ...,
        "eventDate": ...,
    }
# BotLocaleHistoryEventTypeDef definition

class BotLocaleHistoryEventTypeDef(TypedDict):
    event: str,
    eventDate: datetime,

VoiceSettingsTypeDef#

# VoiceSettingsTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import VoiceSettingsTypeDef

def get_value() -> VoiceSettingsTypeDef:
    return {
        "voiceId": ...,
    }
# VoiceSettingsTypeDef definition

class VoiceSettingsTypeDef(TypedDict):
    voiceId: str,
    engine: NotRequired[VoiceEngineType],  # (1)
  1. See VoiceEngineType

BotLocaleSortByTypeDef#

# BotLocaleSortByTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import BotLocaleSortByTypeDef

def get_value() -> BotLocaleSortByTypeDef:
    return {
        "attribute": ...,
        "order": ...,
    }
# BotLocaleSortByTypeDef definition

class BotLocaleSortByTypeDef(TypedDict):
    attribute: BotLocaleSortAttributeType,  # (1)
    order: SortOrderType,  # (2)
  1. See BotLocaleSortAttributeType
  2. See SortOrderType

BotLocaleSummaryTypeDef#

# BotLocaleSummaryTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import BotLocaleSummaryTypeDef

def get_value() -> BotLocaleSummaryTypeDef:
    return {
        "localeId": ...,
    }
# BotLocaleSummaryTypeDef definition

class BotLocaleSummaryTypeDef(TypedDict):
    localeId: NotRequired[str],
    localeName: NotRequired[str],
    description: NotRequired[str],
    botLocaleStatus: NotRequired[BotLocaleStatusType],  # (1)
    lastUpdatedDateTime: NotRequired[datetime],
    lastBuildSubmittedDateTime: NotRequired[datetime],
  1. See BotLocaleStatusType

BotMemberTypeDef#

# BotMemberTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import BotMemberTypeDef

def get_value() -> BotMemberTypeDef:
    return {
        "botMemberId": ...,
        "botMemberName": ...,
        "botMemberAliasId": ...,
        "botMemberAliasName": ...,
        "botMemberVersion": ...,
    }
# BotMemberTypeDef definition

class BotMemberTypeDef(TypedDict):
    botMemberId: str,
    botMemberName: str,
    botMemberAliasId: str,
    botMemberAliasName: str,
    botMemberVersion: str,

IntentStatisticsTypeDef#

# IntentStatisticsTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import IntentStatisticsTypeDef

def get_value() -> IntentStatisticsTypeDef:
    return {
        "discoveredIntentCount": ...,
    }
# IntentStatisticsTypeDef definition

class IntentStatisticsTypeDef(TypedDict):
    discoveredIntentCount: NotRequired[int],

SlotTypeStatisticsTypeDef#

# SlotTypeStatisticsTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import SlotTypeStatisticsTypeDef

def get_value() -> SlotTypeStatisticsTypeDef:
    return {
        "discoveredSlotTypeCount": ...,
    }
# SlotTypeStatisticsTypeDef definition

class SlotTypeStatisticsTypeDef(TypedDict):
    discoveredSlotTypeCount: NotRequired[int],

BotRecommendationSummaryTypeDef#

# BotRecommendationSummaryTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import BotRecommendationSummaryTypeDef

def get_value() -> BotRecommendationSummaryTypeDef:
    return {
        "botRecommendationStatus": ...,
        "botRecommendationId": ...,
    }
# BotRecommendationSummaryTypeDef definition

class BotRecommendationSummaryTypeDef(TypedDict):
    botRecommendationStatus: BotRecommendationStatusType,  # (1)
    botRecommendationId: str,
    creationDateTime: NotRequired[datetime],
    lastUpdatedDateTime: NotRequired[datetime],
  1. See BotRecommendationStatusType

BotSortByTypeDef#

# BotSortByTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import BotSortByTypeDef

def get_value() -> BotSortByTypeDef:
    return {
        "attribute": ...,
        "order": ...,
    }
# BotSortByTypeDef definition

class BotSortByTypeDef(TypedDict):
    attribute: BotSortAttributeType,  # (1)
    order: SortOrderType,  # (2)
  1. See BotSortAttributeType
  2. See SortOrderType

BotSummaryTypeDef#

# BotSummaryTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import BotSummaryTypeDef

def get_value() -> BotSummaryTypeDef:
    return {
        "botId": ...,
    }
# BotSummaryTypeDef definition

class BotSummaryTypeDef(TypedDict):
    botId: NotRequired[str],
    botName: NotRequired[str],
    description: NotRequired[str],
    botStatus: NotRequired[BotStatusType],  # (1)
    latestBotVersion: NotRequired[str],
    lastUpdatedDateTime: NotRequired[datetime],
    botType: NotRequired[BotTypeType],  # (2)
  1. See BotStatusType
  2. See BotTypeType

BotVersionLocaleDetailsTypeDef#

# BotVersionLocaleDetailsTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import BotVersionLocaleDetailsTypeDef

def get_value() -> BotVersionLocaleDetailsTypeDef:
    return {
        "sourceBotVersion": ...,
    }
# BotVersionLocaleDetailsTypeDef definition

class BotVersionLocaleDetailsTypeDef(TypedDict):
    sourceBotVersion: str,

BotVersionSortByTypeDef#

# BotVersionSortByTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import BotVersionSortByTypeDef

def get_value() -> BotVersionSortByTypeDef:
    return {
        "attribute": ...,
        "order": ...,
    }
# BotVersionSortByTypeDef definition

class BotVersionSortByTypeDef(TypedDict):
    attribute: BotVersionSortAttributeType,  # (1)
    order: SortOrderType,  # (2)
  1. See BotVersionSortAttributeType
  2. See SortOrderType

BotVersionSummaryTypeDef#

# BotVersionSummaryTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import BotVersionSummaryTypeDef

def get_value() -> BotVersionSummaryTypeDef:
    return {
        "botName": ...,
    }
# BotVersionSummaryTypeDef definition

class BotVersionSummaryTypeDef(TypedDict):
    botName: NotRequired[str],
    botVersion: NotRequired[str],
    description: NotRequired[str],
    botStatus: NotRequired[BotStatusType],  # (1)
    creationDateTime: NotRequired[datetime],
  1. See BotStatusType

BuildBotLocaleRequestRequestTypeDef#

# BuildBotLocaleRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import BuildBotLocaleRequestRequestTypeDef

def get_value() -> BuildBotLocaleRequestRequestTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
    }
# BuildBotLocaleRequestRequestTypeDef definition

class BuildBotLocaleRequestRequestTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,

BuildBotLocaleResponseTypeDef#

# BuildBotLocaleResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import BuildBotLocaleResponseTypeDef

def get_value() -> BuildBotLocaleResponseTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
        "botLocaleStatus": ...,
        "lastBuildSubmittedDateTime": ...,
        "ResponseMetadata": ...,
    }
# BuildBotLocaleResponseTypeDef definition

class BuildBotLocaleResponseTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    botLocaleStatus: BotLocaleStatusType,  # (1)
    lastBuildSubmittedDateTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BotLocaleStatusType
  2. See ResponseMetadataTypeDef

BuiltInIntentSortByTypeDef#

# BuiltInIntentSortByTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import BuiltInIntentSortByTypeDef

def get_value() -> BuiltInIntentSortByTypeDef:
    return {
        "attribute": ...,
        "order": ...,
    }
# BuiltInIntentSortByTypeDef definition

class BuiltInIntentSortByTypeDef(TypedDict):
    attribute: BuiltInIntentSortAttributeType,  # (1)
    order: SortOrderType,  # (2)
  1. See BuiltInIntentSortAttributeType
  2. See SortOrderType

BuiltInIntentSummaryTypeDef#

# BuiltInIntentSummaryTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import BuiltInIntentSummaryTypeDef

def get_value() -> BuiltInIntentSummaryTypeDef:
    return {
        "intentSignature": ...,
    }
# BuiltInIntentSummaryTypeDef definition

class BuiltInIntentSummaryTypeDef(TypedDict):
    intentSignature: NotRequired[str],
    description: NotRequired[str],

BuiltInSlotTypeSortByTypeDef#

# BuiltInSlotTypeSortByTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import BuiltInSlotTypeSortByTypeDef

def get_value() -> BuiltInSlotTypeSortByTypeDef:
    return {
        "attribute": ...,
        "order": ...,
    }
# BuiltInSlotTypeSortByTypeDef definition

class BuiltInSlotTypeSortByTypeDef(TypedDict):
    attribute: BuiltInSlotTypeSortAttributeType,  # (1)
    order: SortOrderType,  # (2)
  1. See BuiltInSlotTypeSortAttributeType
  2. See SortOrderType

BuiltInSlotTypeSummaryTypeDef#

# BuiltInSlotTypeSummaryTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import BuiltInSlotTypeSummaryTypeDef

def get_value() -> BuiltInSlotTypeSummaryTypeDef:
    return {
        "slotTypeSignature": ...,
    }
# BuiltInSlotTypeSummaryTypeDef definition

class BuiltInSlotTypeSummaryTypeDef(TypedDict):
    slotTypeSignature: NotRequired[str],
    description: NotRequired[str],

ButtonTypeDef#

# ButtonTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import ButtonTypeDef

def get_value() -> ButtonTypeDef:
    return {
        "text": ...,
        "value": ...,
    }
# ButtonTypeDef definition

class ButtonTypeDef(TypedDict):
    text: str,
    value: str,

CloudWatchLogGroupLogDestinationTypeDef#

# CloudWatchLogGroupLogDestinationTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import CloudWatchLogGroupLogDestinationTypeDef

def get_value() -> CloudWatchLogGroupLogDestinationTypeDef:
    return {
        "cloudWatchLogGroupArn": ...,
        "logPrefix": ...,
    }
# CloudWatchLogGroupLogDestinationTypeDef definition

class CloudWatchLogGroupLogDestinationTypeDef(TypedDict):
    cloudWatchLogGroupArn: str,
    logPrefix: str,

LambdaCodeHookTypeDef#

# LambdaCodeHookTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import LambdaCodeHookTypeDef

def get_value() -> LambdaCodeHookTypeDef:
    return {
        "lambdaARN": ...,
        "codeHookInterfaceVersion": ...,
    }
# LambdaCodeHookTypeDef definition

class LambdaCodeHookTypeDef(TypedDict):
    lambdaARN: str,
    codeHookInterfaceVersion: str,

SubSlotTypeCompositionTypeDef#

# SubSlotTypeCompositionTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import SubSlotTypeCompositionTypeDef

def get_value() -> SubSlotTypeCompositionTypeDef:
    return {
        "name": ...,
        "slotTypeId": ...,
    }
# SubSlotTypeCompositionTypeDef definition

class SubSlotTypeCompositionTypeDef(TypedDict):
    name: str,
    slotTypeId: str,

ConditionTypeDef#

# ConditionTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import ConditionTypeDef

def get_value() -> ConditionTypeDef:
    return {
        "expressionString": ...,
    }
# ConditionTypeDef definition

class ConditionTypeDef(TypedDict):
    expressionString: str,

SentimentAnalysisSettingsTypeDef#

# SentimentAnalysisSettingsTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import SentimentAnalysisSettingsTypeDef

def get_value() -> SentimentAnalysisSettingsTypeDef:
    return {
        "detectSentiment": ...,
    }
# SentimentAnalysisSettingsTypeDef definition

class SentimentAnalysisSettingsTypeDef(TypedDict):
    detectSentiment: bool,

DialogCodeHookSettingsTypeDef#

# DialogCodeHookSettingsTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DialogCodeHookSettingsTypeDef

def get_value() -> DialogCodeHookSettingsTypeDef:
    return {
        "enabled": ...,
    }
# DialogCodeHookSettingsTypeDef definition

class DialogCodeHookSettingsTypeDef(TypedDict):
    enabled: bool,

InputContextTypeDef#

# InputContextTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import InputContextTypeDef

def get_value() -> InputContextTypeDef:
    return {
        "name": ...,
    }
# InputContextTypeDef definition

class InputContextTypeDef(TypedDict):
    name: str,

KendraConfigurationTypeDef#

# KendraConfigurationTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import KendraConfigurationTypeDef

def get_value() -> KendraConfigurationTypeDef:
    return {
        "kendraIndex": ...,
    }
# KendraConfigurationTypeDef definition

class KendraConfigurationTypeDef(TypedDict):
    kendraIndex: str,
    queryFilterStringEnabled: NotRequired[bool],
    queryFilterString: NotRequired[str],

OutputContextTypeDef#

# OutputContextTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import OutputContextTypeDef

def get_value() -> OutputContextTypeDef:
    return {
        "name": ...,
        "timeToLiveInSeconds": ...,
        "turnsToLive": ...,
    }
# OutputContextTypeDef definition

class OutputContextTypeDef(TypedDict):
    name: str,
    timeToLiveInSeconds: int,
    turnsToLive: int,

SampleUtteranceTypeDef#

# SampleUtteranceTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import SampleUtteranceTypeDef

def get_value() -> SampleUtteranceTypeDef:
    return {
        "utterance": ...,
    }
# SampleUtteranceTypeDef definition

class SampleUtteranceTypeDef(TypedDict):
    utterance: str,

CreateResourcePolicyRequestRequestTypeDef#

# CreateResourcePolicyRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import CreateResourcePolicyRequestRequestTypeDef

def get_value() -> CreateResourcePolicyRequestRequestTypeDef:
    return {
        "resourceArn": ...,
        "policy": ...,
    }
# CreateResourcePolicyRequestRequestTypeDef definition

class CreateResourcePolicyRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    policy: str,

CreateResourcePolicyResponseTypeDef#

# CreateResourcePolicyResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import CreateResourcePolicyResponseTypeDef

def get_value() -> CreateResourcePolicyResponseTypeDef:
    return {
        "resourceArn": ...,
        "revisionId": ...,
        "ResponseMetadata": ...,
    }
# CreateResourcePolicyResponseTypeDef definition

class CreateResourcePolicyResponseTypeDef(TypedDict):
    resourceArn: str,
    revisionId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

PrincipalTypeDef#

# PrincipalTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import PrincipalTypeDef

def get_value() -> PrincipalTypeDef:
    return {
        "service": ...,
    }
# PrincipalTypeDef definition

class PrincipalTypeDef(TypedDict):
    service: NotRequired[str],
    arn: NotRequired[str],

CreateResourcePolicyStatementResponseTypeDef#

# CreateResourcePolicyStatementResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import CreateResourcePolicyStatementResponseTypeDef

def get_value() -> CreateResourcePolicyStatementResponseTypeDef:
    return {
        "resourceArn": ...,
        "revisionId": ...,
        "ResponseMetadata": ...,
    }
# CreateResourcePolicyStatementResponseTypeDef definition

class CreateResourcePolicyStatementResponseTypeDef(TypedDict):
    resourceArn: str,
    revisionId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

MultipleValuesSettingTypeDef#

# MultipleValuesSettingTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import MultipleValuesSettingTypeDef

def get_value() -> MultipleValuesSettingTypeDef:
    return {
        "allowMultipleValues": ...,
    }
# MultipleValuesSettingTypeDef definition

class MultipleValuesSettingTypeDef(TypedDict):
    allowMultipleValues: NotRequired[bool],

ObfuscationSettingTypeDef#

# ObfuscationSettingTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import ObfuscationSettingTypeDef

def get_value() -> ObfuscationSettingTypeDef:
    return {
        "obfuscationSettingType": ...,
    }
# ObfuscationSettingTypeDef definition

class ObfuscationSettingTypeDef(TypedDict):
    obfuscationSettingType: ObfuscationSettingTypeType,  # (1)
  1. See ObfuscationSettingTypeType

CreateUploadUrlResponseTypeDef#

# CreateUploadUrlResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import CreateUploadUrlResponseTypeDef

def get_value() -> CreateUploadUrlResponseTypeDef:
    return {
        "importId": ...,
        "uploadUrl": ...,
        "ResponseMetadata": ...,
    }
# CreateUploadUrlResponseTypeDef definition

class CreateUploadUrlResponseTypeDef(TypedDict):
    importId: str,
    uploadUrl: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CustomPayloadTypeDef#

# CustomPayloadTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import CustomPayloadTypeDef

def get_value() -> CustomPayloadTypeDef:
    return {
        "value": ...,
    }
# CustomPayloadTypeDef definition

class CustomPayloadTypeDef(TypedDict):
    value: str,

CustomVocabularyExportSpecificationTypeDef#

# CustomVocabularyExportSpecificationTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import CustomVocabularyExportSpecificationTypeDef

def get_value() -> CustomVocabularyExportSpecificationTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
    }
# CustomVocabularyExportSpecificationTypeDef definition

class CustomVocabularyExportSpecificationTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,

CustomVocabularyImportSpecificationTypeDef#

# CustomVocabularyImportSpecificationTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import CustomVocabularyImportSpecificationTypeDef

def get_value() -> CustomVocabularyImportSpecificationTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
    }
# CustomVocabularyImportSpecificationTypeDef definition

class CustomVocabularyImportSpecificationTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,

DateRangeFilterTypeDef#

# DateRangeFilterTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DateRangeFilterTypeDef

def get_value() -> DateRangeFilterTypeDef:
    return {
        "startDateTime": ...,
        "endDateTime": ...,
    }
# DateRangeFilterTypeDef definition

class DateRangeFilterTypeDef(TypedDict):
    startDateTime: datetime,
    endDateTime: datetime,

DeleteBotAliasRequestRequestTypeDef#

# DeleteBotAliasRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DeleteBotAliasRequestRequestTypeDef

def get_value() -> DeleteBotAliasRequestRequestTypeDef:
    return {
        "botAliasId": ...,
        "botId": ...,
    }
# DeleteBotAliasRequestRequestTypeDef definition

class DeleteBotAliasRequestRequestTypeDef(TypedDict):
    botAliasId: str,
    botId: str,
    skipResourceInUseCheck: NotRequired[bool],

DeleteBotAliasResponseTypeDef#

# DeleteBotAliasResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DeleteBotAliasResponseTypeDef

def get_value() -> DeleteBotAliasResponseTypeDef:
    return {
        "botAliasId": ...,
        "botId": ...,
        "botAliasStatus": ...,
        "ResponseMetadata": ...,
    }
# DeleteBotAliasResponseTypeDef definition

class DeleteBotAliasResponseTypeDef(TypedDict):
    botAliasId: str,
    botId: str,
    botAliasStatus: BotAliasStatusType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BotAliasStatusType
  2. See ResponseMetadataTypeDef

DeleteBotLocaleRequestRequestTypeDef#

# DeleteBotLocaleRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DeleteBotLocaleRequestRequestTypeDef

def get_value() -> DeleteBotLocaleRequestRequestTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
    }
# DeleteBotLocaleRequestRequestTypeDef definition

class DeleteBotLocaleRequestRequestTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,

DeleteBotLocaleResponseTypeDef#

# DeleteBotLocaleResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DeleteBotLocaleResponseTypeDef

def get_value() -> DeleteBotLocaleResponseTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
        "botLocaleStatus": ...,
        "ResponseMetadata": ...,
    }
# DeleteBotLocaleResponseTypeDef definition

class DeleteBotLocaleResponseTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    botLocaleStatus: BotLocaleStatusType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BotLocaleStatusType
  2. See ResponseMetadataTypeDef

DeleteBotRequestRequestTypeDef#

# DeleteBotRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DeleteBotRequestRequestTypeDef

def get_value() -> DeleteBotRequestRequestTypeDef:
    return {
        "botId": ...,
    }
# DeleteBotRequestRequestTypeDef definition

class DeleteBotRequestRequestTypeDef(TypedDict):
    botId: str,
    skipResourceInUseCheck: NotRequired[bool],

DeleteBotResponseTypeDef#

# DeleteBotResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DeleteBotResponseTypeDef

def get_value() -> DeleteBotResponseTypeDef:
    return {
        "botId": ...,
        "botStatus": ...,
        "ResponseMetadata": ...,
    }
# DeleteBotResponseTypeDef definition

class DeleteBotResponseTypeDef(TypedDict):
    botId: str,
    botStatus: BotStatusType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BotStatusType
  2. See ResponseMetadataTypeDef

DeleteBotVersionRequestRequestTypeDef#

# DeleteBotVersionRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DeleteBotVersionRequestRequestTypeDef

def get_value() -> DeleteBotVersionRequestRequestTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
    }
# DeleteBotVersionRequestRequestTypeDef definition

class DeleteBotVersionRequestRequestTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    skipResourceInUseCheck: NotRequired[bool],

DeleteBotVersionResponseTypeDef#

# DeleteBotVersionResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DeleteBotVersionResponseTypeDef

def get_value() -> DeleteBotVersionResponseTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "botStatus": ...,
        "ResponseMetadata": ...,
    }
# DeleteBotVersionResponseTypeDef definition

class DeleteBotVersionResponseTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    botStatus: BotStatusType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BotStatusType
  2. See ResponseMetadataTypeDef

DeleteCustomVocabularyRequestRequestTypeDef#

# DeleteCustomVocabularyRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DeleteCustomVocabularyRequestRequestTypeDef

def get_value() -> DeleteCustomVocabularyRequestRequestTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
    }
# DeleteCustomVocabularyRequestRequestTypeDef definition

class DeleteCustomVocabularyRequestRequestTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,

DeleteCustomVocabularyResponseTypeDef#

# DeleteCustomVocabularyResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DeleteCustomVocabularyResponseTypeDef

def get_value() -> DeleteCustomVocabularyResponseTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
        "customVocabularyStatus": ...,
        "ResponseMetadata": ...,
    }
# DeleteCustomVocabularyResponseTypeDef definition

class DeleteCustomVocabularyResponseTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    customVocabularyStatus: CustomVocabularyStatusType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CustomVocabularyStatusType
  2. See ResponseMetadataTypeDef

DeleteExportRequestRequestTypeDef#

# DeleteExportRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DeleteExportRequestRequestTypeDef

def get_value() -> DeleteExportRequestRequestTypeDef:
    return {
        "exportId": ...,
    }
# DeleteExportRequestRequestTypeDef definition

class DeleteExportRequestRequestTypeDef(TypedDict):
    exportId: str,

DeleteExportResponseTypeDef#

# DeleteExportResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DeleteExportResponseTypeDef

def get_value() -> DeleteExportResponseTypeDef:
    return {
        "exportId": ...,
        "exportStatus": ...,
        "ResponseMetadata": ...,
    }
# DeleteExportResponseTypeDef definition

class DeleteExportResponseTypeDef(TypedDict):
    exportId: str,
    exportStatus: ExportStatusType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ExportStatusType
  2. See ResponseMetadataTypeDef

DeleteImportRequestRequestTypeDef#

# DeleteImportRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DeleteImportRequestRequestTypeDef

def get_value() -> DeleteImportRequestRequestTypeDef:
    return {
        "importId": ...,
    }
# DeleteImportRequestRequestTypeDef definition

class DeleteImportRequestRequestTypeDef(TypedDict):
    importId: str,

DeleteImportResponseTypeDef#

# DeleteImportResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DeleteImportResponseTypeDef

def get_value() -> DeleteImportResponseTypeDef:
    return {
        "importId": ...,
        "importStatus": ...,
        "ResponseMetadata": ...,
    }
# DeleteImportResponseTypeDef definition

class DeleteImportResponseTypeDef(TypedDict):
    importId: str,
    importStatus: ImportStatusType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ImportStatusType
  2. See ResponseMetadataTypeDef

DeleteIntentRequestRequestTypeDef#

# DeleteIntentRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DeleteIntentRequestRequestTypeDef

def get_value() -> DeleteIntentRequestRequestTypeDef:
    return {
        "intentId": ...,
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
    }
# DeleteIntentRequestRequestTypeDef definition

class DeleteIntentRequestRequestTypeDef(TypedDict):
    intentId: str,
    botId: str,
    botVersion: str,
    localeId: str,

DeleteResourcePolicyRequestRequestTypeDef#

# DeleteResourcePolicyRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DeleteResourcePolicyRequestRequestTypeDef

def get_value() -> DeleteResourcePolicyRequestRequestTypeDef:
    return {
        "resourceArn": ...,
    }
# DeleteResourcePolicyRequestRequestTypeDef definition

class DeleteResourcePolicyRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    expectedRevisionId: NotRequired[str],

DeleteResourcePolicyResponseTypeDef#

# DeleteResourcePolicyResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DeleteResourcePolicyResponseTypeDef

def get_value() -> DeleteResourcePolicyResponseTypeDef:
    return {
        "resourceArn": ...,
        "revisionId": ...,
        "ResponseMetadata": ...,
    }
# DeleteResourcePolicyResponseTypeDef definition

class DeleteResourcePolicyResponseTypeDef(TypedDict):
    resourceArn: str,
    revisionId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteResourcePolicyStatementRequestRequestTypeDef#

# DeleteResourcePolicyStatementRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DeleteResourcePolicyStatementRequestRequestTypeDef

def get_value() -> DeleteResourcePolicyStatementRequestRequestTypeDef:
    return {
        "resourceArn": ...,
        "statementId": ...,
    }
# DeleteResourcePolicyStatementRequestRequestTypeDef definition

class DeleteResourcePolicyStatementRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    statementId: str,
    expectedRevisionId: NotRequired[str],

DeleteResourcePolicyStatementResponseTypeDef#

# DeleteResourcePolicyStatementResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DeleteResourcePolicyStatementResponseTypeDef

def get_value() -> DeleteResourcePolicyStatementResponseTypeDef:
    return {
        "resourceArn": ...,
        "revisionId": ...,
        "ResponseMetadata": ...,
    }
# DeleteResourcePolicyStatementResponseTypeDef definition

class DeleteResourcePolicyStatementResponseTypeDef(TypedDict):
    resourceArn: str,
    revisionId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteSlotRequestRequestTypeDef#

# DeleteSlotRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DeleteSlotRequestRequestTypeDef

def get_value() -> DeleteSlotRequestRequestTypeDef:
    return {
        "slotId": ...,
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
        "intentId": ...,
    }
# DeleteSlotRequestRequestTypeDef definition

class DeleteSlotRequestRequestTypeDef(TypedDict):
    slotId: str,
    botId: str,
    botVersion: str,
    localeId: str,
    intentId: str,

DeleteSlotTypeRequestRequestTypeDef#

# DeleteSlotTypeRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DeleteSlotTypeRequestRequestTypeDef

def get_value() -> DeleteSlotTypeRequestRequestTypeDef:
    return {
        "slotTypeId": ...,
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
    }
# DeleteSlotTypeRequestRequestTypeDef definition

class DeleteSlotTypeRequestRequestTypeDef(TypedDict):
    slotTypeId: str,
    botId: str,
    botVersion: str,
    localeId: str,
    skipResourceInUseCheck: NotRequired[bool],

DeleteUtterancesRequestRequestTypeDef#

# DeleteUtterancesRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DeleteUtterancesRequestRequestTypeDef

def get_value() -> DeleteUtterancesRequestRequestTypeDef:
    return {
        "botId": ...,
    }
# DeleteUtterancesRequestRequestTypeDef definition

class DeleteUtterancesRequestRequestTypeDef(TypedDict):
    botId: str,
    localeId: NotRequired[str],
    sessionId: NotRequired[str],

WaiterConfigTypeDef#

# WaiterConfigTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import WaiterConfigTypeDef

def get_value() -> WaiterConfigTypeDef:
    return {
        "Delay": ...,
    }
# WaiterConfigTypeDef definition

class WaiterConfigTypeDef(TypedDict):
    Delay: NotRequired[int],
    MaxAttempts: NotRequired[int],

DescribeBotAliasRequestRequestTypeDef#

# DescribeBotAliasRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DescribeBotAliasRequestRequestTypeDef

def get_value() -> DescribeBotAliasRequestRequestTypeDef:
    return {
        "botAliasId": ...,
        "botId": ...,
    }
# DescribeBotAliasRequestRequestTypeDef definition

class DescribeBotAliasRequestRequestTypeDef(TypedDict):
    botAliasId: str,
    botId: str,

ParentBotNetworkTypeDef#

# ParentBotNetworkTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import ParentBotNetworkTypeDef

def get_value() -> ParentBotNetworkTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
    }
# ParentBotNetworkTypeDef definition

class ParentBotNetworkTypeDef(TypedDict):
    botId: str,
    botVersion: str,

DescribeBotLocaleRequestRequestTypeDef#

# DescribeBotLocaleRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DescribeBotLocaleRequestRequestTypeDef

def get_value() -> DescribeBotLocaleRequestRequestTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
    }
# DescribeBotLocaleRequestRequestTypeDef definition

class DescribeBotLocaleRequestRequestTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,

DescribeBotRecommendationRequestRequestTypeDef#

# DescribeBotRecommendationRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DescribeBotRecommendationRequestRequestTypeDef

def get_value() -> DescribeBotRecommendationRequestRequestTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
        "botRecommendationId": ...,
    }
# DescribeBotRecommendationRequestRequestTypeDef definition

class DescribeBotRecommendationRequestRequestTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    botRecommendationId: str,

EncryptionSettingTypeDef#

# EncryptionSettingTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import EncryptionSettingTypeDef

def get_value() -> EncryptionSettingTypeDef:
    return {
        "kmsKeyArn": ...,
    }
# EncryptionSettingTypeDef definition

class EncryptionSettingTypeDef(TypedDict):
    kmsKeyArn: NotRequired[str],
    botLocaleExportPassword: NotRequired[str],
    associatedTranscriptsPassword: NotRequired[str],

DescribeBotRequestRequestTypeDef#

# DescribeBotRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DescribeBotRequestRequestTypeDef

def get_value() -> DescribeBotRequestRequestTypeDef:
    return {
        "botId": ...,
    }
# DescribeBotRequestRequestTypeDef definition

class DescribeBotRequestRequestTypeDef(TypedDict):
    botId: str,

DescribeBotVersionRequestRequestTypeDef#

# DescribeBotVersionRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DescribeBotVersionRequestRequestTypeDef

def get_value() -> DescribeBotVersionRequestRequestTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
    }
# DescribeBotVersionRequestRequestTypeDef definition

class DescribeBotVersionRequestRequestTypeDef(TypedDict):
    botId: str,
    botVersion: str,

DescribeCustomVocabularyMetadataRequestRequestTypeDef#

# DescribeCustomVocabularyMetadataRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DescribeCustomVocabularyMetadataRequestRequestTypeDef

def get_value() -> DescribeCustomVocabularyMetadataRequestRequestTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
    }
# DescribeCustomVocabularyMetadataRequestRequestTypeDef definition

class DescribeCustomVocabularyMetadataRequestRequestTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,

DescribeCustomVocabularyMetadataResponseTypeDef#

# DescribeCustomVocabularyMetadataResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DescribeCustomVocabularyMetadataResponseTypeDef

def get_value() -> DescribeCustomVocabularyMetadataResponseTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
        "customVocabularyStatus": ...,
        "creationDateTime": ...,
        "lastUpdatedDateTime": ...,
        "ResponseMetadata": ...,
    }
# DescribeCustomVocabularyMetadataResponseTypeDef definition

class DescribeCustomVocabularyMetadataResponseTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    customVocabularyStatus: CustomVocabularyStatusType,  # (1)
    creationDateTime: datetime,
    lastUpdatedDateTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CustomVocabularyStatusType
  2. See ResponseMetadataTypeDef

DescribeExportRequestRequestTypeDef#

# DescribeExportRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DescribeExportRequestRequestTypeDef

def get_value() -> DescribeExportRequestRequestTypeDef:
    return {
        "exportId": ...,
    }
# DescribeExportRequestRequestTypeDef definition

class DescribeExportRequestRequestTypeDef(TypedDict):
    exportId: str,

DescribeImportRequestRequestTypeDef#

# DescribeImportRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DescribeImportRequestRequestTypeDef

def get_value() -> DescribeImportRequestRequestTypeDef:
    return {
        "importId": ...,
    }
# DescribeImportRequestRequestTypeDef definition

class DescribeImportRequestRequestTypeDef(TypedDict):
    importId: str,

DescribeIntentRequestRequestTypeDef#

# DescribeIntentRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DescribeIntentRequestRequestTypeDef

def get_value() -> DescribeIntentRequestRequestTypeDef:
    return {
        "intentId": ...,
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
    }
# DescribeIntentRequestRequestTypeDef definition

class DescribeIntentRequestRequestTypeDef(TypedDict):
    intentId: str,
    botId: str,
    botVersion: str,
    localeId: str,

SlotPriorityTypeDef#

# SlotPriorityTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import SlotPriorityTypeDef

def get_value() -> SlotPriorityTypeDef:
    return {
        "priority": ...,
        "slotId": ...,
    }
# SlotPriorityTypeDef definition

class SlotPriorityTypeDef(TypedDict):
    priority: int,
    slotId: str,

DescribeResourcePolicyRequestRequestTypeDef#

# DescribeResourcePolicyRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DescribeResourcePolicyRequestRequestTypeDef

def get_value() -> DescribeResourcePolicyRequestRequestTypeDef:
    return {
        "resourceArn": ...,
    }
# DescribeResourcePolicyRequestRequestTypeDef definition

class DescribeResourcePolicyRequestRequestTypeDef(TypedDict):
    resourceArn: str,

DescribeResourcePolicyResponseTypeDef#

# DescribeResourcePolicyResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DescribeResourcePolicyResponseTypeDef

def get_value() -> DescribeResourcePolicyResponseTypeDef:
    return {
        "resourceArn": ...,
        "policy": ...,
        "revisionId": ...,
        "ResponseMetadata": ...,
    }
# DescribeResourcePolicyResponseTypeDef definition

class DescribeResourcePolicyResponseTypeDef(TypedDict):
    resourceArn: str,
    policy: str,
    revisionId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeSlotRequestRequestTypeDef#

# DescribeSlotRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DescribeSlotRequestRequestTypeDef

def get_value() -> DescribeSlotRequestRequestTypeDef:
    return {
        "slotId": ...,
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
        "intentId": ...,
    }
# DescribeSlotRequestRequestTypeDef definition

class DescribeSlotRequestRequestTypeDef(TypedDict):
    slotId: str,
    botId: str,
    botVersion: str,
    localeId: str,
    intentId: str,

DescribeSlotTypeRequestRequestTypeDef#

# DescribeSlotTypeRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DescribeSlotTypeRequestRequestTypeDef

def get_value() -> DescribeSlotTypeRequestRequestTypeDef:
    return {
        "slotTypeId": ...,
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
    }
# DescribeSlotTypeRequestRequestTypeDef definition

class DescribeSlotTypeRequestRequestTypeDef(TypedDict):
    slotTypeId: str,
    botId: str,
    botVersion: str,
    localeId: str,

DialogActionTypeDef#

# DialogActionTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DialogActionTypeDef

def get_value() -> DialogActionTypeDef:
    return {
        "type": ...,
    }
# DialogActionTypeDef definition

class DialogActionTypeDef(TypedDict):
    type: DialogActionTypeType,  # (1)
    slotToElicit: NotRequired[str],
    suppressNextMessage: NotRequired[bool],
  1. See DialogActionTypeType

IntentOverrideTypeDef#

# IntentOverrideTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import IntentOverrideTypeDef

def get_value() -> IntentOverrideTypeDef:
    return {
        "name": ...,
    }
# IntentOverrideTypeDef definition

class IntentOverrideTypeDef(TypedDict):
    name: NotRequired[str],
    slots: NotRequired[Mapping[str, SlotValueOverrideTypeDef]],  # (1)
  1. See SlotValueOverrideTypeDef

ElicitationCodeHookInvocationSettingTypeDef#

# ElicitationCodeHookInvocationSettingTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import ElicitationCodeHookInvocationSettingTypeDef

def get_value() -> ElicitationCodeHookInvocationSettingTypeDef:
    return {
        "enableCodeHookInvocation": ...,
    }
# ElicitationCodeHookInvocationSettingTypeDef definition

class ElicitationCodeHookInvocationSettingTypeDef(TypedDict):
    enableCodeHookInvocation: bool,
    invocationLabel: NotRequired[str],

EmptyResponseMetadataTypeDef#

# EmptyResponseMetadataTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import EmptyResponseMetadataTypeDef

def get_value() -> EmptyResponseMetadataTypeDef:
    return {
        "ResponseMetadata": ...,
    }
# EmptyResponseMetadataTypeDef definition

class EmptyResponseMetadataTypeDef(TypedDict):
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ExportFilterTypeDef#

# ExportFilterTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import ExportFilterTypeDef

def get_value() -> ExportFilterTypeDef:
    return {
        "name": ...,
        "values": ...,
        "operator": ...,
    }
# ExportFilterTypeDef definition

class ExportFilterTypeDef(TypedDict):
    name: ExportFilterNameType,  # (1)
    values: Sequence[str],
    operator: ExportFilterOperatorType,  # (2)
  1. See ExportFilterNameType
  2. See ExportFilterOperatorType

ExportSortByTypeDef#

# ExportSortByTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import ExportSortByTypeDef

def get_value() -> ExportSortByTypeDef:
    return {
        "attribute": ...,
        "order": ...,
    }
# ExportSortByTypeDef definition

class ExportSortByTypeDef(TypedDict):
    attribute: ExportSortAttributeType,  # (1)
    order: SortOrderType,  # (2)
  1. See ExportSortAttributeType
  2. See SortOrderType

GrammarSlotTypeSourceTypeDef#

# GrammarSlotTypeSourceTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import GrammarSlotTypeSourceTypeDef

def get_value() -> GrammarSlotTypeSourceTypeDef:
    return {
        "s3BucketName": ...,
        "s3ObjectKey": ...,
    }
# GrammarSlotTypeSourceTypeDef definition

class GrammarSlotTypeSourceTypeDef(TypedDict):
    s3BucketName: str,
    s3ObjectKey: str,
    kmsKeyArn: NotRequired[str],

ImportFilterTypeDef#

# ImportFilterTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import ImportFilterTypeDef

def get_value() -> ImportFilterTypeDef:
    return {
        "name": ...,
        "values": ...,
        "operator": ...,
    }
# ImportFilterTypeDef definition

class ImportFilterTypeDef(TypedDict):
    name: ImportFilterNameType,  # (1)
    values: Sequence[str],
    operator: ImportFilterOperatorType,  # (2)
  1. See ImportFilterNameType
  2. See ImportFilterOperatorType

ImportSortByTypeDef#

# ImportSortByTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import ImportSortByTypeDef

def get_value() -> ImportSortByTypeDef:
    return {
        "attribute": ...,
        "order": ...,
    }
# ImportSortByTypeDef definition

class ImportSortByTypeDef(TypedDict):
    attribute: ImportSortAttributeType,  # (1)
    order: SortOrderType,  # (2)
  1. See ImportSortAttributeType
  2. See SortOrderType

ImportSummaryTypeDef#

# ImportSummaryTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import ImportSummaryTypeDef

def get_value() -> ImportSummaryTypeDef:
    return {
        "importId": ...,
    }
# ImportSummaryTypeDef definition

class ImportSummaryTypeDef(TypedDict):
    importId: NotRequired[str],
    importedResourceId: NotRequired[str],
    importedResourceName: NotRequired[str],
    importStatus: NotRequired[ImportStatusType],  # (1)
    mergeStrategy: NotRequired[MergeStrategyType],  # (2)
    creationDateTime: NotRequired[datetime],
    lastUpdatedDateTime: NotRequired[datetime],
    importedResourceType: NotRequired[ImportResourceTypeType],  # (3)
  1. See ImportStatusType
  2. See MergeStrategyType
  3. See ImportResourceTypeType

IntentFilterTypeDef#

# IntentFilterTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import IntentFilterTypeDef

def get_value() -> IntentFilterTypeDef:
    return {
        "name": ...,
        "values": ...,
        "operator": ...,
    }
# IntentFilterTypeDef definition

class IntentFilterTypeDef(TypedDict):
    name: IntentFilterNameType,  # (1)
    values: Sequence[str],
    operator: IntentFilterOperatorType,  # (2)
  1. See IntentFilterNameType
  2. See IntentFilterOperatorType

IntentSortByTypeDef#

# IntentSortByTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import IntentSortByTypeDef

def get_value() -> IntentSortByTypeDef:
    return {
        "attribute": ...,
        "order": ...,
    }
# IntentSortByTypeDef definition

class IntentSortByTypeDef(TypedDict):
    attribute: IntentSortAttributeType,  # (1)
    order: SortOrderType,  # (2)
  1. See IntentSortAttributeType
  2. See SortOrderType

ListBotAliasesRequestRequestTypeDef#

# ListBotAliasesRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import ListBotAliasesRequestRequestTypeDef

def get_value() -> ListBotAliasesRequestRequestTypeDef:
    return {
        "botId": ...,
    }
# ListBotAliasesRequestRequestTypeDef definition

class ListBotAliasesRequestRequestTypeDef(TypedDict):
    botId: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ListBotRecommendationsRequestRequestTypeDef#

# ListBotRecommendationsRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import ListBotRecommendationsRequestRequestTypeDef

def get_value() -> ListBotRecommendationsRequestRequestTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
    }
# ListBotRecommendationsRequestRequestTypeDef definition

class ListBotRecommendationsRequestRequestTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ListCustomVocabularyItemsRequestRequestTypeDef#

# ListCustomVocabularyItemsRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import ListCustomVocabularyItemsRequestRequestTypeDef

def get_value() -> ListCustomVocabularyItemsRequestRequestTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
    }
# ListCustomVocabularyItemsRequestRequestTypeDef definition

class ListCustomVocabularyItemsRequestRequestTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ListRecommendedIntentsRequestRequestTypeDef#

# ListRecommendedIntentsRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import ListRecommendedIntentsRequestRequestTypeDef

def get_value() -> ListRecommendedIntentsRequestRequestTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
        "botRecommendationId": ...,
    }
# ListRecommendedIntentsRequestRequestTypeDef definition

class ListRecommendedIntentsRequestRequestTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    botRecommendationId: str,
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],

RecommendedIntentSummaryTypeDef#

# RecommendedIntentSummaryTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import RecommendedIntentSummaryTypeDef

def get_value() -> RecommendedIntentSummaryTypeDef:
    return {
        "intentId": ...,
    }
# RecommendedIntentSummaryTypeDef definition

class RecommendedIntentSummaryTypeDef(TypedDict):
    intentId: NotRequired[str],
    intentName: NotRequired[str],
    sampleUtterancesCount: NotRequired[int],

SlotTypeFilterTypeDef#

# SlotTypeFilterTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import SlotTypeFilterTypeDef

def get_value() -> SlotTypeFilterTypeDef:
    return {
        "name": ...,
        "values": ...,
        "operator": ...,
    }
# SlotTypeFilterTypeDef definition

class SlotTypeFilterTypeDef(TypedDict):
    name: SlotTypeFilterNameType,  # (1)
    values: Sequence[str],
    operator: SlotTypeFilterOperatorType,  # (2)
  1. See SlotTypeFilterNameType
  2. See SlotTypeFilterOperatorType

SlotTypeSortByTypeDef#

# SlotTypeSortByTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import SlotTypeSortByTypeDef

def get_value() -> SlotTypeSortByTypeDef:
    return {
        "attribute": ...,
        "order": ...,
    }
# SlotTypeSortByTypeDef definition

class SlotTypeSortByTypeDef(TypedDict):
    attribute: SlotTypeSortAttributeType,  # (1)
    order: SortOrderType,  # (2)
  1. See SlotTypeSortAttributeType
  2. See SortOrderType

SlotTypeSummaryTypeDef#

# SlotTypeSummaryTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import SlotTypeSummaryTypeDef

def get_value() -> SlotTypeSummaryTypeDef:
    return {
        "slotTypeId": ...,
    }
# SlotTypeSummaryTypeDef definition

class SlotTypeSummaryTypeDef(TypedDict):
    slotTypeId: NotRequired[str],
    slotTypeName: NotRequired[str],
    description: NotRequired[str],
    parentSlotTypeSignature: NotRequired[str],
    lastUpdatedDateTime: NotRequired[datetime],
    slotTypeCategory: NotRequired[SlotTypeCategoryType],  # (1)
  1. See SlotTypeCategoryType

SlotFilterTypeDef#

# SlotFilterTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import SlotFilterTypeDef

def get_value() -> SlotFilterTypeDef:
    return {
        "name": ...,
        "values": ...,
        "operator": ...,
    }
# SlotFilterTypeDef definition

class SlotFilterTypeDef(TypedDict):
    name: SlotFilterNameType,  # (1)
    values: Sequence[str],
    operator: SlotFilterOperatorType,  # (2)
  1. See SlotFilterNameType
  2. See SlotFilterOperatorType

SlotSortByTypeDef#

# SlotSortByTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import SlotSortByTypeDef

def get_value() -> SlotSortByTypeDef:
    return {
        "attribute": ...,
        "order": ...,
    }
# SlotSortByTypeDef definition

class SlotSortByTypeDef(TypedDict):
    attribute: SlotSortAttributeType,  # (1)
    order: SortOrderType,  # (2)
  1. See SlotSortAttributeType
  2. See SortOrderType

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import ListTagsForResourceRequestRequestTypeDef

def get_value() -> ListTagsForResourceRequestRequestTypeDef:
    return {
        "resourceARN": ...,
    }
# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    resourceARN: str,

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import ListTagsForResourceResponseTypeDef

def get_value() -> ListTagsForResourceResponseTypeDef:
    return {
        "tags": ...,
        "ResponseMetadata": ...,
    }
# ListTagsForResourceResponseTypeDef definition

class ListTagsForResourceResponseTypeDef(TypedDict):
    tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

PlainTextMessageTypeDef#

# PlainTextMessageTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import PlainTextMessageTypeDef

def get_value() -> PlainTextMessageTypeDef:
    return {
        "value": ...,
    }
# PlainTextMessageTypeDef definition

class PlainTextMessageTypeDef(TypedDict):
    value: str,

SSMLMessageTypeDef#

# SSMLMessageTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import SSMLMessageTypeDef

def get_value() -> SSMLMessageTypeDef:
    return {
        "value": ...,
    }
# SSMLMessageTypeDef definition

class SSMLMessageTypeDef(TypedDict):
    value: str,

PathFormatTypeDef#

# PathFormatTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import PathFormatTypeDef

def get_value() -> PathFormatTypeDef:
    return {
        "objectPrefixes": ...,
    }
# PathFormatTypeDef definition

class PathFormatTypeDef(TypedDict):
    objectPrefixes: NotRequired[List[str]],

TextInputSpecificationTypeDef#

# TextInputSpecificationTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import TextInputSpecificationTypeDef

def get_value() -> TextInputSpecificationTypeDef:
    return {
        "startTimeoutMs": ...,
    }
# TextInputSpecificationTypeDef definition

class TextInputSpecificationTypeDef(TypedDict):
    startTimeoutMs: int,

RelativeAggregationDurationTypeDef#

# RelativeAggregationDurationTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import RelativeAggregationDurationTypeDef

def get_value() -> RelativeAggregationDurationTypeDef:
    return {
        "timeDimension": ...,
        "timeValue": ...,
    }
# RelativeAggregationDurationTypeDef definition

class RelativeAggregationDurationTypeDef(TypedDict):
    timeDimension: TimeDimensionType,  # (1)
    timeValue: int,
  1. See TimeDimensionType

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
# ResponseMetadataTypeDef definition

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

SampleValueTypeDef#

# SampleValueTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import SampleValueTypeDef

def get_value() -> SampleValueTypeDef:
    return {
        "value": ...,
    }
# SampleValueTypeDef definition

class SampleValueTypeDef(TypedDict):
    value: str,

SlotDefaultValueTypeDef#

# SlotDefaultValueTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import SlotDefaultValueTypeDef

def get_value() -> SlotDefaultValueTypeDef:
    return {
        "defaultValue": ...,
    }
# SlotDefaultValueTypeDef definition

class SlotDefaultValueTypeDef(TypedDict):
    defaultValue: str,

SlotValueTypeDef#

# SlotValueTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import SlotValueTypeDef

def get_value() -> SlotValueTypeDef:
    return {
        "interpretedValue": ...,
    }
# SlotValueTypeDef definition

class SlotValueTypeDef(TypedDict):
    interpretedValue: NotRequired[str],

SlotValueRegexFilterTypeDef#

# SlotValueRegexFilterTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import SlotValueRegexFilterTypeDef

def get_value() -> SlotValueRegexFilterTypeDef:
    return {
        "pattern": ...,
    }
# SlotValueRegexFilterTypeDef definition

class SlotValueRegexFilterTypeDef(TypedDict):
    pattern: str,

StopBotRecommendationRequestRequestTypeDef#

# StopBotRecommendationRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import StopBotRecommendationRequestRequestTypeDef

def get_value() -> StopBotRecommendationRequestRequestTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
        "botRecommendationId": ...,
    }
# StopBotRecommendationRequestRequestTypeDef definition

class StopBotRecommendationRequestRequestTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    botRecommendationId: str,

StopBotRecommendationResponseTypeDef#

# StopBotRecommendationResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import StopBotRecommendationResponseTypeDef

def get_value() -> StopBotRecommendationResponseTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
        "botRecommendationStatus": ...,
        "botRecommendationId": ...,
        "ResponseMetadata": ...,
    }
# StopBotRecommendationResponseTypeDef definition

class StopBotRecommendationResponseTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    botRecommendationStatus: BotRecommendationStatusType,  # (1)
    botRecommendationId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BotRecommendationStatusType
  2. See ResponseMetadataTypeDef

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import TagResourceRequestRequestTypeDef

def get_value() -> TagResourceRequestRequestTypeDef:
    return {
        "resourceARN": ...,
        "tags": ...,
    }
# TagResourceRequestRequestTypeDef definition

class TagResourceRequestRequestTypeDef(TypedDict):
    resourceARN: str,
    tags: Mapping[str, str],

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import UntagResourceRequestRequestTypeDef

def get_value() -> UntagResourceRequestRequestTypeDef:
    return {
        "resourceARN": ...,
        "tagKeys": ...,
    }
# UntagResourceRequestRequestTypeDef definition

class UntagResourceRequestRequestTypeDef(TypedDict):
    resourceARN: str,
    tagKeys: Sequence[str],

UpdateExportRequestRequestTypeDef#

# UpdateExportRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import UpdateExportRequestRequestTypeDef

def get_value() -> UpdateExportRequestRequestTypeDef:
    return {
        "exportId": ...,
    }
# UpdateExportRequestRequestTypeDef definition

class UpdateExportRequestRequestTypeDef(TypedDict):
    exportId: str,
    filePassword: NotRequired[str],

UpdateResourcePolicyRequestRequestTypeDef#

# UpdateResourcePolicyRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import UpdateResourcePolicyRequestRequestTypeDef

def get_value() -> UpdateResourcePolicyRequestRequestTypeDef:
    return {
        "resourceArn": ...,
        "policy": ...,
    }
# UpdateResourcePolicyRequestRequestTypeDef definition

class UpdateResourcePolicyRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    policy: str,
    expectedRevisionId: NotRequired[str],

UpdateResourcePolicyResponseTypeDef#

# UpdateResourcePolicyResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import UpdateResourcePolicyResponseTypeDef

def get_value() -> UpdateResourcePolicyResponseTypeDef:
    return {
        "resourceArn": ...,
        "revisionId": ...,
        "ResponseMetadata": ...,
    }
# UpdateResourcePolicyResponseTypeDef definition

class UpdateResourcePolicyResponseTypeDef(TypedDict):
    resourceArn: str,
    revisionId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

SearchAssociatedTranscriptsRequestRequestTypeDef#

# SearchAssociatedTranscriptsRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import SearchAssociatedTranscriptsRequestRequestTypeDef

def get_value() -> SearchAssociatedTranscriptsRequestRequestTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
        "botRecommendationId": ...,
        "filters": ...,
    }
# SearchAssociatedTranscriptsRequestRequestTypeDef definition

class SearchAssociatedTranscriptsRequestRequestTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    botRecommendationId: str,
    filters: Sequence[AssociatedTranscriptFilterTypeDef],  # (1)
    searchOrder: NotRequired[SearchOrderType],  # (2)
    maxResults: NotRequired[int],
    nextIndex: NotRequired[int],
  1. See AssociatedTranscriptFilterTypeDef
  2. See SearchOrderType

SearchAssociatedTranscriptsResponseTypeDef#

# SearchAssociatedTranscriptsResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import SearchAssociatedTranscriptsResponseTypeDef

def get_value() -> SearchAssociatedTranscriptsResponseTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
        "botRecommendationId": ...,
        "nextIndex": ...,
        "associatedTranscripts": ...,
        "totalResults": ...,
        "ResponseMetadata": ...,
    }
# SearchAssociatedTranscriptsResponseTypeDef definition

class SearchAssociatedTranscriptsResponseTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    botRecommendationId: str,
    nextIndex: int,
    associatedTranscripts: List[AssociatedTranscriptTypeDef],  # (1)
    totalResults: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AssociatedTranscriptTypeDef
  2. See ResponseMetadataTypeDef

AudioAndDTMFInputSpecificationTypeDef#

# AudioAndDTMFInputSpecificationTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import AudioAndDTMFInputSpecificationTypeDef

def get_value() -> AudioAndDTMFInputSpecificationTypeDef:
    return {
        "startTimeoutMs": ...,
    }
# AudioAndDTMFInputSpecificationTypeDef definition

class AudioAndDTMFInputSpecificationTypeDef(TypedDict):
    startTimeoutMs: int,
    audioSpecification: NotRequired[AudioSpecificationTypeDef],  # (1)
    dtmfSpecification: NotRequired[DTMFSpecificationTypeDef],  # (2)
  1. See AudioSpecificationTypeDef
  2. See DTMFSpecificationTypeDef

AudioLogDestinationTypeDef#

# AudioLogDestinationTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import AudioLogDestinationTypeDef

def get_value() -> AudioLogDestinationTypeDef:
    return {
        "s3Bucket": ...,
    }
# AudioLogDestinationTypeDef definition

class AudioLogDestinationTypeDef(TypedDict):
    s3Bucket: S3BucketLogDestinationTypeDef,  # (1)
  1. See S3BucketLogDestinationTypeDef

BatchCreateCustomVocabularyItemRequestRequestTypeDef#

# BatchCreateCustomVocabularyItemRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import BatchCreateCustomVocabularyItemRequestRequestTypeDef

def get_value() -> BatchCreateCustomVocabularyItemRequestRequestTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
        "customVocabularyItemList": ...,
    }
# BatchCreateCustomVocabularyItemRequestRequestTypeDef definition

class BatchCreateCustomVocabularyItemRequestRequestTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    customVocabularyItemList: Sequence[NewCustomVocabularyItemTypeDef],  # (1)
  1. See NewCustomVocabularyItemTypeDef

BatchUpdateCustomVocabularyItemRequestRequestTypeDef#

# BatchUpdateCustomVocabularyItemRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import BatchUpdateCustomVocabularyItemRequestRequestTypeDef

def get_value() -> BatchUpdateCustomVocabularyItemRequestRequestTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
        "customVocabularyItemList": ...,
    }
# BatchUpdateCustomVocabularyItemRequestRequestTypeDef definition

class BatchUpdateCustomVocabularyItemRequestRequestTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    customVocabularyItemList: Sequence[CustomVocabularyItemTypeDef],  # (1)
  1. See CustomVocabularyItemTypeDef

ListCustomVocabularyItemsResponseTypeDef#

# ListCustomVocabularyItemsResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import ListCustomVocabularyItemsResponseTypeDef

def get_value() -> ListCustomVocabularyItemsResponseTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
        "customVocabularyItems": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
# ListCustomVocabularyItemsResponseTypeDef definition

class ListCustomVocabularyItemsResponseTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    customVocabularyItems: List[CustomVocabularyItemTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CustomVocabularyItemTypeDef
  2. See ResponseMetadataTypeDef

BatchCreateCustomVocabularyItemResponseTypeDef#

# BatchCreateCustomVocabularyItemResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import BatchCreateCustomVocabularyItemResponseTypeDef

def get_value() -> BatchCreateCustomVocabularyItemResponseTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
        "errors": ...,
        "resources": ...,
        "ResponseMetadata": ...,
    }
# BatchCreateCustomVocabularyItemResponseTypeDef definition

class BatchCreateCustomVocabularyItemResponseTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    errors: List[FailedCustomVocabularyItemTypeDef],  # (1)
    resources: List[CustomVocabularyItemTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See FailedCustomVocabularyItemTypeDef
  2. See CustomVocabularyItemTypeDef
  3. See ResponseMetadataTypeDef

BatchDeleteCustomVocabularyItemResponseTypeDef#

# BatchDeleteCustomVocabularyItemResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import BatchDeleteCustomVocabularyItemResponseTypeDef

def get_value() -> BatchDeleteCustomVocabularyItemResponseTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
        "errors": ...,
        "resources": ...,
        "ResponseMetadata": ...,
    }
# BatchDeleteCustomVocabularyItemResponseTypeDef definition

class BatchDeleteCustomVocabularyItemResponseTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    errors: List[FailedCustomVocabularyItemTypeDef],  # (1)
    resources: List[CustomVocabularyItemTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See FailedCustomVocabularyItemTypeDef
  2. See CustomVocabularyItemTypeDef
  3. See ResponseMetadataTypeDef

BatchUpdateCustomVocabularyItemResponseTypeDef#

# BatchUpdateCustomVocabularyItemResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import BatchUpdateCustomVocabularyItemResponseTypeDef

def get_value() -> BatchUpdateCustomVocabularyItemResponseTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
        "errors": ...,
        "resources": ...,
        "ResponseMetadata": ...,
    }
# BatchUpdateCustomVocabularyItemResponseTypeDef definition

class BatchUpdateCustomVocabularyItemResponseTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    errors: List[FailedCustomVocabularyItemTypeDef],  # (1)
    resources: List[CustomVocabularyItemTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See FailedCustomVocabularyItemTypeDef
  2. See CustomVocabularyItemTypeDef
  3. See ResponseMetadataTypeDef

BatchDeleteCustomVocabularyItemRequestRequestTypeDef#

# BatchDeleteCustomVocabularyItemRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import BatchDeleteCustomVocabularyItemRequestRequestTypeDef

def get_value() -> BatchDeleteCustomVocabularyItemRequestRequestTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
        "customVocabularyItemList": ...,
    }
# BatchDeleteCustomVocabularyItemRequestRequestTypeDef definition

class BatchDeleteCustomVocabularyItemRequestRequestTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    customVocabularyItemList: Sequence[CustomVocabularyEntryIdTypeDef],  # (1)
  1. See CustomVocabularyEntryIdTypeDef

ListBotAliasesResponseTypeDef#

# ListBotAliasesResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import ListBotAliasesResponseTypeDef

def get_value() -> ListBotAliasesResponseTypeDef:
    return {
        "botAliasSummaries": ...,
        "nextToken": ...,
        "botId": ...,
        "ResponseMetadata": ...,
    }
# ListBotAliasesResponseTypeDef definition

class ListBotAliasesResponseTypeDef(TypedDict):
    botAliasSummaries: List[BotAliasSummaryTypeDef],  # (1)
    nextToken: str,
    botId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BotAliasSummaryTypeDef
  2. See ResponseMetadataTypeDef

BotImportSpecificationTypeDef#

# BotImportSpecificationTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import BotImportSpecificationTypeDef

def get_value() -> BotImportSpecificationTypeDef:
    return {
        "botName": ...,
        "roleArn": ...,
        "dataPrivacy": ...,
    }
# BotImportSpecificationTypeDef definition

class BotImportSpecificationTypeDef(TypedDict):
    botName: str,
    roleArn: str,
    dataPrivacy: DataPrivacyTypeDef,  # (1)
    idleSessionTTLInSeconds: NotRequired[int],
    botTags: NotRequired[Dict[str, str]],
    testBotAliasTags: NotRequired[Dict[str, str]],
  1. See DataPrivacyTypeDef

BotLocaleImportSpecificationTypeDef#

# BotLocaleImportSpecificationTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import BotLocaleImportSpecificationTypeDef

def get_value() -> BotLocaleImportSpecificationTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
    }
# BotLocaleImportSpecificationTypeDef definition

class BotLocaleImportSpecificationTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    nluIntentConfidenceThreshold: NotRequired[float],
    voiceSettings: NotRequired[VoiceSettingsTypeDef],  # (1)
  1. See VoiceSettingsTypeDef

CreateBotLocaleRequestRequestTypeDef#

# CreateBotLocaleRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import CreateBotLocaleRequestRequestTypeDef

def get_value() -> CreateBotLocaleRequestRequestTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
        "nluIntentConfidenceThreshold": ...,
    }
# CreateBotLocaleRequestRequestTypeDef definition

class CreateBotLocaleRequestRequestTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    nluIntentConfidenceThreshold: float,
    description: NotRequired[str],
    voiceSettings: NotRequired[VoiceSettingsTypeDef],  # (1)
  1. See VoiceSettingsTypeDef

CreateBotLocaleResponseTypeDef#

# CreateBotLocaleResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import CreateBotLocaleResponseTypeDef

def get_value() -> CreateBotLocaleResponseTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeName": ...,
        "localeId": ...,
        "description": ...,
        "nluIntentConfidenceThreshold": ...,
        "voiceSettings": ...,
        "botLocaleStatus": ...,
        "creationDateTime": ...,
        "ResponseMetadata": ...,
    }
# CreateBotLocaleResponseTypeDef definition

class CreateBotLocaleResponseTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeName: str,
    localeId: str,
    description: str,
    nluIntentConfidenceThreshold: float,
    voiceSettings: VoiceSettingsTypeDef,  # (1)
    botLocaleStatus: BotLocaleStatusType,  # (2)
    creationDateTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See VoiceSettingsTypeDef
  2. See BotLocaleStatusType
  3. See ResponseMetadataTypeDef

DescribeBotLocaleResponseTypeDef#

# DescribeBotLocaleResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DescribeBotLocaleResponseTypeDef

def get_value() -> DescribeBotLocaleResponseTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
        "localeName": ...,
        "description": ...,
        "nluIntentConfidenceThreshold": ...,
        "voiceSettings": ...,
        "intentsCount": ...,
        "slotTypesCount": ...,
        "botLocaleStatus": ...,
        "failureReasons": ...,
        "creationDateTime": ...,
        "lastUpdatedDateTime": ...,
        "lastBuildSubmittedDateTime": ...,
        "botLocaleHistoryEvents": ...,
        "recommendedActions": ...,
        "ResponseMetadata": ...,
    }
# DescribeBotLocaleResponseTypeDef definition

class DescribeBotLocaleResponseTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    localeName: str,
    description: str,
    nluIntentConfidenceThreshold: float,
    voiceSettings: VoiceSettingsTypeDef,  # (1)
    intentsCount: int,
    slotTypesCount: int,
    botLocaleStatus: BotLocaleStatusType,  # (2)
    failureReasons: List[str],
    creationDateTime: datetime,
    lastUpdatedDateTime: datetime,
    lastBuildSubmittedDateTime: datetime,
    botLocaleHistoryEvents: List[BotLocaleHistoryEventTypeDef],  # (3)
    recommendedActions: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See VoiceSettingsTypeDef
  2. See BotLocaleStatusType
  3. See BotLocaleHistoryEventTypeDef
  4. See ResponseMetadataTypeDef

UpdateBotLocaleRequestRequestTypeDef#

# UpdateBotLocaleRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import UpdateBotLocaleRequestRequestTypeDef

def get_value() -> UpdateBotLocaleRequestRequestTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
        "nluIntentConfidenceThreshold": ...,
    }
# UpdateBotLocaleRequestRequestTypeDef definition

class UpdateBotLocaleRequestRequestTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    nluIntentConfidenceThreshold: float,
    description: NotRequired[str],
    voiceSettings: NotRequired[VoiceSettingsTypeDef],  # (1)
  1. See VoiceSettingsTypeDef

UpdateBotLocaleResponseTypeDef#

# UpdateBotLocaleResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import UpdateBotLocaleResponseTypeDef

def get_value() -> UpdateBotLocaleResponseTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
        "localeName": ...,
        "description": ...,
        "nluIntentConfidenceThreshold": ...,
        "voiceSettings": ...,
        "botLocaleStatus": ...,
        "failureReasons": ...,
        "creationDateTime": ...,
        "lastUpdatedDateTime": ...,
        "recommendedActions": ...,
        "ResponseMetadata": ...,
    }
# UpdateBotLocaleResponseTypeDef definition

class UpdateBotLocaleResponseTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    localeName: str,
    description: str,
    nluIntentConfidenceThreshold: float,
    voiceSettings: VoiceSettingsTypeDef,  # (1)
    botLocaleStatus: BotLocaleStatusType,  # (2)
    failureReasons: List[str],
    creationDateTime: datetime,
    lastUpdatedDateTime: datetime,
    recommendedActions: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See VoiceSettingsTypeDef
  2. See BotLocaleStatusType
  3. See ResponseMetadataTypeDef

ListBotLocalesRequestRequestTypeDef#

# ListBotLocalesRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import ListBotLocalesRequestRequestTypeDef

def get_value() -> ListBotLocalesRequestRequestTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
    }
# ListBotLocalesRequestRequestTypeDef definition

class ListBotLocalesRequestRequestTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    sortBy: NotRequired[BotLocaleSortByTypeDef],  # (1)
    filters: NotRequired[Sequence[BotLocaleFilterTypeDef]],  # (2)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
  1. See BotLocaleSortByTypeDef
  2. See BotLocaleFilterTypeDef

ListBotLocalesResponseTypeDef#

# ListBotLocalesResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import ListBotLocalesResponseTypeDef

def get_value() -> ListBotLocalesResponseTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "nextToken": ...,
        "botLocaleSummaries": ...,
        "ResponseMetadata": ...,
    }
# ListBotLocalesResponseTypeDef definition

class ListBotLocalesResponseTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    nextToken: str,
    botLocaleSummaries: List[BotLocaleSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BotLocaleSummaryTypeDef
  2. See ResponseMetadataTypeDef

CreateBotRequestRequestTypeDef#

# CreateBotRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import CreateBotRequestRequestTypeDef

def get_value() -> CreateBotRequestRequestTypeDef:
    return {
        "botName": ...,
        "roleArn": ...,
        "dataPrivacy": ...,
        "idleSessionTTLInSeconds": ...,
    }
# CreateBotRequestRequestTypeDef definition

class CreateBotRequestRequestTypeDef(TypedDict):
    botName: str,
    roleArn: str,
    dataPrivacy: DataPrivacyTypeDef,  # (1)
    idleSessionTTLInSeconds: int,
    description: NotRequired[str],
    botTags: NotRequired[Mapping[str, str]],
    testBotAliasTags: NotRequired[Mapping[str, str]],
    botType: NotRequired[BotTypeType],  # (2)
    botMembers: NotRequired[Sequence[BotMemberTypeDef]],  # (3)
  1. See DataPrivacyTypeDef
  2. See BotTypeType
  3. See BotMemberTypeDef

CreateBotResponseTypeDef#

# CreateBotResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import CreateBotResponseTypeDef

def get_value() -> CreateBotResponseTypeDef:
    return {
        "botId": ...,
        "botName": ...,
        "description": ...,
        "roleArn": ...,
        "dataPrivacy": ...,
        "idleSessionTTLInSeconds": ...,
        "botStatus": ...,
        "creationDateTime": ...,
        "botTags": ...,
        "testBotAliasTags": ...,
        "botType": ...,
        "botMembers": ...,
        "ResponseMetadata": ...,
    }
# CreateBotResponseTypeDef definition

class CreateBotResponseTypeDef(TypedDict):
    botId: str,
    botName: str,
    description: str,
    roleArn: str,
    dataPrivacy: DataPrivacyTypeDef,  # (1)
    idleSessionTTLInSeconds: int,
    botStatus: BotStatusType,  # (2)
    creationDateTime: datetime,
    botTags: Dict[str, str],
    testBotAliasTags: Dict[str, str],
    botType: BotTypeType,  # (3)
    botMembers: List[BotMemberTypeDef],  # (4)
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See DataPrivacyTypeDef
  2. See BotStatusType
  3. See BotTypeType
  4. See BotMemberTypeDef
  5. See ResponseMetadataTypeDef

DescribeBotResponseTypeDef#

# DescribeBotResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DescribeBotResponseTypeDef

def get_value() -> DescribeBotResponseTypeDef:
    return {
        "botId": ...,
        "botName": ...,
        "description": ...,
        "roleArn": ...,
        "dataPrivacy": ...,
        "idleSessionTTLInSeconds": ...,
        "botStatus": ...,
        "creationDateTime": ...,
        "lastUpdatedDateTime": ...,
        "botType": ...,
        "botMembers": ...,
        "failureReasons": ...,
        "ResponseMetadata": ...,
    }
# DescribeBotResponseTypeDef definition

class DescribeBotResponseTypeDef(TypedDict):
    botId: str,
    botName: str,
    description: str,
    roleArn: str,
    dataPrivacy: DataPrivacyTypeDef,  # (1)
    idleSessionTTLInSeconds: int,
    botStatus: BotStatusType,  # (2)
    creationDateTime: datetime,
    lastUpdatedDateTime: datetime,
    botType: BotTypeType,  # (3)
    botMembers: List[BotMemberTypeDef],  # (4)
    failureReasons: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See DataPrivacyTypeDef
  2. See BotStatusType
  3. See BotTypeType
  4. See BotMemberTypeDef
  5. See ResponseMetadataTypeDef

UpdateBotRequestRequestTypeDef#

# UpdateBotRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import UpdateBotRequestRequestTypeDef

def get_value() -> UpdateBotRequestRequestTypeDef:
    return {
        "botId": ...,
        "botName": ...,
        "roleArn": ...,
        "dataPrivacy": ...,
        "idleSessionTTLInSeconds": ...,
    }
# UpdateBotRequestRequestTypeDef definition

class UpdateBotRequestRequestTypeDef(TypedDict):
    botId: str,
    botName: str,
    roleArn: str,
    dataPrivacy: DataPrivacyTypeDef,  # (1)
    idleSessionTTLInSeconds: int,
    description: NotRequired[str],
    botType: NotRequired[BotTypeType],  # (2)
    botMembers: NotRequired[Sequence[BotMemberTypeDef]],  # (3)
  1. See DataPrivacyTypeDef
  2. See BotTypeType
  3. See BotMemberTypeDef

UpdateBotResponseTypeDef#

# UpdateBotResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import UpdateBotResponseTypeDef

def get_value() -> UpdateBotResponseTypeDef:
    return {
        "botId": ...,
        "botName": ...,
        "description": ...,
        "roleArn": ...,
        "dataPrivacy": ...,
        "idleSessionTTLInSeconds": ...,
        "botStatus": ...,
        "creationDateTime": ...,
        "lastUpdatedDateTime": ...,
        "botType": ...,
        "botMembers": ...,
        "ResponseMetadata": ...,
    }
# UpdateBotResponseTypeDef definition

class UpdateBotResponseTypeDef(TypedDict):
    botId: str,
    botName: str,
    description: str,
    roleArn: str,
    dataPrivacy: DataPrivacyTypeDef,  # (1)
    idleSessionTTLInSeconds: int,
    botStatus: BotStatusType,  # (2)
    creationDateTime: datetime,
    lastUpdatedDateTime: datetime,
    botType: BotTypeType,  # (3)
    botMembers: List[BotMemberTypeDef],  # (4)
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See DataPrivacyTypeDef
  2. See BotStatusType
  3. See BotTypeType
  4. See BotMemberTypeDef
  5. See ResponseMetadataTypeDef

BotRecommendationResultStatisticsTypeDef#

# BotRecommendationResultStatisticsTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import BotRecommendationResultStatisticsTypeDef

def get_value() -> BotRecommendationResultStatisticsTypeDef:
    return {
        "intents": ...,
    }
# BotRecommendationResultStatisticsTypeDef definition

class BotRecommendationResultStatisticsTypeDef(TypedDict):
    intents: NotRequired[IntentStatisticsTypeDef],  # (1)
    slotTypes: NotRequired[SlotTypeStatisticsTypeDef],  # (2)
  1. See IntentStatisticsTypeDef
  2. See SlotTypeStatisticsTypeDef

ListBotRecommendationsResponseTypeDef#

# ListBotRecommendationsResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import ListBotRecommendationsResponseTypeDef

def get_value() -> ListBotRecommendationsResponseTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
        "botRecommendationSummaries": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
# ListBotRecommendationsResponseTypeDef definition

class ListBotRecommendationsResponseTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    botRecommendationSummaries: List[BotRecommendationSummaryTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BotRecommendationSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListBotsRequestRequestTypeDef#

# ListBotsRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import ListBotsRequestRequestTypeDef

def get_value() -> ListBotsRequestRequestTypeDef:
    return {
        "sortBy": ...,
    }
# ListBotsRequestRequestTypeDef definition

class ListBotsRequestRequestTypeDef(TypedDict):
    sortBy: NotRequired[BotSortByTypeDef],  # (1)
    filters: NotRequired[Sequence[BotFilterTypeDef]],  # (2)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
  1. See BotSortByTypeDef
  2. See BotFilterTypeDef

ListBotsResponseTypeDef#

# ListBotsResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import ListBotsResponseTypeDef

def get_value() -> ListBotsResponseTypeDef:
    return {
        "botSummaries": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
# ListBotsResponseTypeDef definition

class ListBotsResponseTypeDef(TypedDict):
    botSummaries: List[BotSummaryTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BotSummaryTypeDef
  2. See ResponseMetadataTypeDef

CreateBotVersionRequestRequestTypeDef#

# CreateBotVersionRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import CreateBotVersionRequestRequestTypeDef

def get_value() -> CreateBotVersionRequestRequestTypeDef:
    return {
        "botId": ...,
        "botVersionLocaleSpecification": ...,
    }
# CreateBotVersionRequestRequestTypeDef definition

class CreateBotVersionRequestRequestTypeDef(TypedDict):
    botId: str,
    botVersionLocaleSpecification: Mapping[str, BotVersionLocaleDetailsTypeDef],  # (1)
    description: NotRequired[str],
  1. See BotVersionLocaleDetailsTypeDef

CreateBotVersionResponseTypeDef#

# CreateBotVersionResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import CreateBotVersionResponseTypeDef

def get_value() -> CreateBotVersionResponseTypeDef:
    return {
        "botId": ...,
        "description": ...,
        "botVersion": ...,
        "botVersionLocaleSpecification": ...,
        "botStatus": ...,
        "creationDateTime": ...,
        "ResponseMetadata": ...,
    }
# CreateBotVersionResponseTypeDef definition

class CreateBotVersionResponseTypeDef(TypedDict):
    botId: str,
    description: str,
    botVersion: str,
    botVersionLocaleSpecification: Dict[str, BotVersionLocaleDetailsTypeDef],  # (1)
    botStatus: BotStatusType,  # (2)
    creationDateTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See BotVersionLocaleDetailsTypeDef
  2. See BotStatusType
  3. See ResponseMetadataTypeDef

ListBotVersionsRequestRequestTypeDef#

# ListBotVersionsRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import ListBotVersionsRequestRequestTypeDef

def get_value() -> ListBotVersionsRequestRequestTypeDef:
    return {
        "botId": ...,
    }
# ListBotVersionsRequestRequestTypeDef definition

class ListBotVersionsRequestRequestTypeDef(TypedDict):
    botId: str,
    sortBy: NotRequired[BotVersionSortByTypeDef],  # (1)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
  1. See BotVersionSortByTypeDef

ListBotVersionsResponseTypeDef#

# ListBotVersionsResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import ListBotVersionsResponseTypeDef

def get_value() -> ListBotVersionsResponseTypeDef:
    return {
        "botId": ...,
        "botVersionSummaries": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
# ListBotVersionsResponseTypeDef definition

class ListBotVersionsResponseTypeDef(TypedDict):
    botId: str,
    botVersionSummaries: List[BotVersionSummaryTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BotVersionSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListBuiltInIntentsRequestRequestTypeDef#

# ListBuiltInIntentsRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import ListBuiltInIntentsRequestRequestTypeDef

def get_value() -> ListBuiltInIntentsRequestRequestTypeDef:
    return {
        "localeId": ...,
    }
# ListBuiltInIntentsRequestRequestTypeDef definition

class ListBuiltInIntentsRequestRequestTypeDef(TypedDict):
    localeId: str,
    sortBy: NotRequired[BuiltInIntentSortByTypeDef],  # (1)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
  1. See BuiltInIntentSortByTypeDef

ListBuiltInIntentsResponseTypeDef#

# ListBuiltInIntentsResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import ListBuiltInIntentsResponseTypeDef

def get_value() -> ListBuiltInIntentsResponseTypeDef:
    return {
        "builtInIntentSummaries": ...,
        "nextToken": ...,
        "localeId": ...,
        "ResponseMetadata": ...,
    }
# ListBuiltInIntentsResponseTypeDef definition

class ListBuiltInIntentsResponseTypeDef(TypedDict):
    builtInIntentSummaries: List[BuiltInIntentSummaryTypeDef],  # (1)
    nextToken: str,
    localeId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BuiltInIntentSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListBuiltInSlotTypesRequestRequestTypeDef#

# ListBuiltInSlotTypesRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import ListBuiltInSlotTypesRequestRequestTypeDef

def get_value() -> ListBuiltInSlotTypesRequestRequestTypeDef:
    return {
        "localeId": ...,
    }
# ListBuiltInSlotTypesRequestRequestTypeDef definition

class ListBuiltInSlotTypesRequestRequestTypeDef(TypedDict):
    localeId: str,
    sortBy: NotRequired[BuiltInSlotTypeSortByTypeDef],  # (1)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
  1. See BuiltInSlotTypeSortByTypeDef

ListBuiltInSlotTypesResponseTypeDef#

# ListBuiltInSlotTypesResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import ListBuiltInSlotTypesResponseTypeDef

def get_value() -> ListBuiltInSlotTypesResponseTypeDef:
    return {
        "builtInSlotTypeSummaries": ...,
        "nextToken": ...,
        "localeId": ...,
        "ResponseMetadata": ...,
    }
# ListBuiltInSlotTypesResponseTypeDef definition

class ListBuiltInSlotTypesResponseTypeDef(TypedDict):
    builtInSlotTypeSummaries: List[BuiltInSlotTypeSummaryTypeDef],  # (1)
    nextToken: str,
    localeId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BuiltInSlotTypeSummaryTypeDef
  2. See ResponseMetadataTypeDef

ImageResponseCardTypeDef#

# ImageResponseCardTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import ImageResponseCardTypeDef

def get_value() -> ImageResponseCardTypeDef:
    return {
        "title": ...,
    }
# ImageResponseCardTypeDef definition

class ImageResponseCardTypeDef(TypedDict):
    title: str,
    subtitle: NotRequired[str],
    imageUrl: NotRequired[str],
    buttons: NotRequired[Sequence[ButtonTypeDef]],  # (1)
  1. See ButtonTypeDef

TextLogDestinationTypeDef#

# TextLogDestinationTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import TextLogDestinationTypeDef

def get_value() -> TextLogDestinationTypeDef:
    return {
        "cloudWatch": ...,
    }
# TextLogDestinationTypeDef definition

class TextLogDestinationTypeDef(TypedDict):
    cloudWatch: CloudWatchLogGroupLogDestinationTypeDef,  # (1)
  1. See CloudWatchLogGroupLogDestinationTypeDef

CodeHookSpecificationTypeDef#

# CodeHookSpecificationTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import CodeHookSpecificationTypeDef

def get_value() -> CodeHookSpecificationTypeDef:
    return {
        "lambdaCodeHook": ...,
    }
# CodeHookSpecificationTypeDef definition

class CodeHookSpecificationTypeDef(TypedDict):
    lambdaCodeHook: LambdaCodeHookTypeDef,  # (1)
  1. See LambdaCodeHookTypeDef

CompositeSlotTypeSettingTypeDef#

# CompositeSlotTypeSettingTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import CompositeSlotTypeSettingTypeDef

def get_value() -> CompositeSlotTypeSettingTypeDef:
    return {
        "subSlots": ...,
    }
# CompositeSlotTypeSettingTypeDef definition

class CompositeSlotTypeSettingTypeDef(TypedDict):
    subSlots: NotRequired[Sequence[SubSlotTypeCompositionTypeDef]],  # (1)
  1. See SubSlotTypeCompositionTypeDef

IntentSummaryTypeDef#

# IntentSummaryTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import IntentSummaryTypeDef

def get_value() -> IntentSummaryTypeDef:
    return {
        "intentId": ...,
    }
# IntentSummaryTypeDef definition

class IntentSummaryTypeDef(TypedDict):
    intentId: NotRequired[str],
    intentName: NotRequired[str],
    description: NotRequired[str],
    parentIntentSignature: NotRequired[str],
    inputContexts: NotRequired[List[InputContextTypeDef]],  # (1)
    outputContexts: NotRequired[List[OutputContextTypeDef]],  # (2)
    lastUpdatedDateTime: NotRequired[datetime],
  1. See InputContextTypeDef
  2. See OutputContextTypeDef

CreateResourcePolicyStatementRequestRequestTypeDef#

# CreateResourcePolicyStatementRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import CreateResourcePolicyStatementRequestRequestTypeDef

def get_value() -> CreateResourcePolicyStatementRequestRequestTypeDef:
    return {
        "resourceArn": ...,
        "statementId": ...,
        "effect": ...,
        "principal": ...,
        "action": ...,
    }
# CreateResourcePolicyStatementRequestRequestTypeDef definition

class CreateResourcePolicyStatementRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    statementId: str,
    effect: EffectType,  # (1)
    principal: Sequence[PrincipalTypeDef],  # (2)
    action: Sequence[str],
    condition: NotRequired[Mapping[str, Mapping[str, str]]],
    expectedRevisionId: NotRequired[str],
  1. See EffectType
  2. See PrincipalTypeDef

ExportResourceSpecificationTypeDef#

# ExportResourceSpecificationTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import ExportResourceSpecificationTypeDef

def get_value() -> ExportResourceSpecificationTypeDef:
    return {
        "botExportSpecification": ...,
    }
# ExportResourceSpecificationTypeDef definition

class ExportResourceSpecificationTypeDef(TypedDict):
    botExportSpecification: NotRequired[BotExportSpecificationTypeDef],  # (1)
    botLocaleExportSpecification: NotRequired[BotLocaleExportSpecificationTypeDef],  # (2)
    customVocabularyExportSpecification: NotRequired[CustomVocabularyExportSpecificationTypeDef],  # (3)
  1. See BotExportSpecificationTypeDef
  2. See BotLocaleExportSpecificationTypeDef
  3. See CustomVocabularyExportSpecificationTypeDef

LexTranscriptFilterTypeDef#

# LexTranscriptFilterTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import LexTranscriptFilterTypeDef

def get_value() -> LexTranscriptFilterTypeDef:
    return {
        "dateRangeFilter": ...,
    }
# LexTranscriptFilterTypeDef definition

class LexTranscriptFilterTypeDef(TypedDict):
    dateRangeFilter: NotRequired[DateRangeFilterTypeDef],  # (1)
  1. See DateRangeFilterTypeDef

DescribeBotAliasRequestBotAliasAvailableWaitTypeDef#

# DescribeBotAliasRequestBotAliasAvailableWaitTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DescribeBotAliasRequestBotAliasAvailableWaitTypeDef

def get_value() -> DescribeBotAliasRequestBotAliasAvailableWaitTypeDef:
    return {
        "botAliasId": ...,
        "botId": ...,
    }
# DescribeBotAliasRequestBotAliasAvailableWaitTypeDef definition

class DescribeBotAliasRequestBotAliasAvailableWaitTypeDef(TypedDict):
    botAliasId: str,
    botId: str,
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

DescribeBotLocaleRequestBotLocaleBuiltWaitTypeDef#

# DescribeBotLocaleRequestBotLocaleBuiltWaitTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DescribeBotLocaleRequestBotLocaleBuiltWaitTypeDef

def get_value() -> DescribeBotLocaleRequestBotLocaleBuiltWaitTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
    }
# DescribeBotLocaleRequestBotLocaleBuiltWaitTypeDef definition

class DescribeBotLocaleRequestBotLocaleBuiltWaitTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

DescribeBotLocaleRequestBotLocaleCreatedWaitTypeDef#

# DescribeBotLocaleRequestBotLocaleCreatedWaitTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DescribeBotLocaleRequestBotLocaleCreatedWaitTypeDef

def get_value() -> DescribeBotLocaleRequestBotLocaleCreatedWaitTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
    }
# DescribeBotLocaleRequestBotLocaleCreatedWaitTypeDef definition

class DescribeBotLocaleRequestBotLocaleCreatedWaitTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

DescribeBotLocaleRequestBotLocaleExpressTestingAvailableWaitTypeDef#

# DescribeBotLocaleRequestBotLocaleExpressTestingAvailableWaitTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DescribeBotLocaleRequestBotLocaleExpressTestingAvailableWaitTypeDef

def get_value() -> DescribeBotLocaleRequestBotLocaleExpressTestingAvailableWaitTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
    }
# DescribeBotLocaleRequestBotLocaleExpressTestingAvailableWaitTypeDef definition

class DescribeBotLocaleRequestBotLocaleExpressTestingAvailableWaitTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

DescribeBotRequestBotAvailableWaitTypeDef#

# DescribeBotRequestBotAvailableWaitTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DescribeBotRequestBotAvailableWaitTypeDef

def get_value() -> DescribeBotRequestBotAvailableWaitTypeDef:
    return {
        "botId": ...,
    }
# DescribeBotRequestBotAvailableWaitTypeDef definition

class DescribeBotRequestBotAvailableWaitTypeDef(TypedDict):
    botId: str,
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

DescribeBotVersionRequestBotVersionAvailableWaitTypeDef#

# DescribeBotVersionRequestBotVersionAvailableWaitTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DescribeBotVersionRequestBotVersionAvailableWaitTypeDef

def get_value() -> DescribeBotVersionRequestBotVersionAvailableWaitTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
    }
# DescribeBotVersionRequestBotVersionAvailableWaitTypeDef definition

class DescribeBotVersionRequestBotVersionAvailableWaitTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

DescribeExportRequestBotExportCompletedWaitTypeDef#

# DescribeExportRequestBotExportCompletedWaitTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DescribeExportRequestBotExportCompletedWaitTypeDef

def get_value() -> DescribeExportRequestBotExportCompletedWaitTypeDef:
    return {
        "exportId": ...,
    }
# DescribeExportRequestBotExportCompletedWaitTypeDef definition

class DescribeExportRequestBotExportCompletedWaitTypeDef(TypedDict):
    exportId: str,
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

DescribeImportRequestBotImportCompletedWaitTypeDef#

# DescribeImportRequestBotImportCompletedWaitTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DescribeImportRequestBotImportCompletedWaitTypeDef

def get_value() -> DescribeImportRequestBotImportCompletedWaitTypeDef:
    return {
        "importId": ...,
    }
# DescribeImportRequestBotImportCompletedWaitTypeDef definition

class DescribeImportRequestBotImportCompletedWaitTypeDef(TypedDict):
    importId: str,
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

DescribeBotVersionResponseTypeDef#

# DescribeBotVersionResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DescribeBotVersionResponseTypeDef

def get_value() -> DescribeBotVersionResponseTypeDef:
    return {
        "botId": ...,
        "botName": ...,
        "botVersion": ...,
        "description": ...,
        "roleArn": ...,
        "dataPrivacy": ...,
        "idleSessionTTLInSeconds": ...,
        "botStatus": ...,
        "failureReasons": ...,
        "creationDateTime": ...,
        "parentBotNetworks": ...,
        "botType": ...,
        "botMembers": ...,
        "ResponseMetadata": ...,
    }
# DescribeBotVersionResponseTypeDef definition

class DescribeBotVersionResponseTypeDef(TypedDict):
    botId: str,
    botName: str,
    botVersion: str,
    description: str,
    roleArn: str,
    dataPrivacy: DataPrivacyTypeDef,  # (1)
    idleSessionTTLInSeconds: int,
    botStatus: BotStatusType,  # (2)
    failureReasons: List[str],
    creationDateTime: datetime,
    parentBotNetworks: List[ParentBotNetworkTypeDef],  # (3)
    botType: BotTypeType,  # (4)
    botMembers: List[BotMemberTypeDef],  # (5)
    ResponseMetadata: ResponseMetadataTypeDef,  # (6)
  1. See DataPrivacyTypeDef
  2. See BotStatusType
  3. See ParentBotNetworkTypeDef
  4. See BotTypeType
  5. See BotMemberTypeDef
  6. See ResponseMetadataTypeDef

UpdateBotRecommendationRequestRequestTypeDef#

# UpdateBotRecommendationRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import UpdateBotRecommendationRequestRequestTypeDef

def get_value() -> UpdateBotRecommendationRequestRequestTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
        "botRecommendationId": ...,
        "encryptionSetting": ...,
    }
# UpdateBotRecommendationRequestRequestTypeDef definition

class UpdateBotRecommendationRequestRequestTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    botRecommendationId: str,
    encryptionSetting: EncryptionSettingTypeDef,  # (1)
  1. See EncryptionSettingTypeDef

DialogStateTypeDef#

# DialogStateTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import DialogStateTypeDef

def get_value() -> DialogStateTypeDef:
    return {
        "dialogAction": ...,
    }
# DialogStateTypeDef definition

class DialogStateTypeDef(TypedDict):
    dialogAction: NotRequired[DialogActionTypeDef],  # (1)
    intent: NotRequired[IntentOverrideTypeDef],  # (2)
    sessionAttributes: NotRequired[Mapping[str, str]],
  1. See DialogActionTypeDef
  2. See IntentOverrideTypeDef

ListExportsRequestRequestTypeDef#

# ListExportsRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import ListExportsRequestRequestTypeDef

def get_value() -> ListExportsRequestRequestTypeDef:
    return {
        "botId": ...,
    }
# ListExportsRequestRequestTypeDef definition

class ListExportsRequestRequestTypeDef(TypedDict):
    botId: NotRequired[str],
    botVersion: NotRequired[str],
    sortBy: NotRequired[ExportSortByTypeDef],  # (1)
    filters: NotRequired[Sequence[ExportFilterTypeDef]],  # (2)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    localeId: NotRequired[str],
  1. See ExportSortByTypeDef
  2. See ExportFilterTypeDef

GrammarSlotTypeSettingTypeDef#

# GrammarSlotTypeSettingTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import GrammarSlotTypeSettingTypeDef

def get_value() -> GrammarSlotTypeSettingTypeDef:
    return {
        "source": ...,
    }
# GrammarSlotTypeSettingTypeDef definition

class GrammarSlotTypeSettingTypeDef(TypedDict):
    source: NotRequired[GrammarSlotTypeSourceTypeDef],  # (1)
  1. See GrammarSlotTypeSourceTypeDef

ListImportsRequestRequestTypeDef#

# ListImportsRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import ListImportsRequestRequestTypeDef

def get_value() -> ListImportsRequestRequestTypeDef:
    return {
        "botId": ...,
    }
# ListImportsRequestRequestTypeDef definition

class ListImportsRequestRequestTypeDef(TypedDict):
    botId: NotRequired[str],
    botVersion: NotRequired[str],
    sortBy: NotRequired[ImportSortByTypeDef],  # (1)
    filters: NotRequired[Sequence[ImportFilterTypeDef]],  # (2)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    localeId: NotRequired[str],
  1. See ImportSortByTypeDef
  2. See ImportFilterTypeDef

ListImportsResponseTypeDef#

# ListImportsResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import ListImportsResponseTypeDef

def get_value() -> ListImportsResponseTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "importSummaries": ...,
        "nextToken": ...,
        "localeId": ...,
        "ResponseMetadata": ...,
    }
# ListImportsResponseTypeDef definition

class ListImportsResponseTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    importSummaries: List[ImportSummaryTypeDef],  # (1)
    nextToken: str,
    localeId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ImportSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListIntentsRequestRequestTypeDef#

# ListIntentsRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import ListIntentsRequestRequestTypeDef

def get_value() -> ListIntentsRequestRequestTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
    }
# ListIntentsRequestRequestTypeDef definition

class ListIntentsRequestRequestTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    sortBy: NotRequired[IntentSortByTypeDef],  # (1)
    filters: NotRequired[Sequence[IntentFilterTypeDef]],  # (2)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
  1. See IntentSortByTypeDef
  2. See IntentFilterTypeDef

ListRecommendedIntentsResponseTypeDef#

# ListRecommendedIntentsResponseTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import ListRecommendedIntentsResponseTypeDef

def get_value() -> ListRecommendedIntentsResponseTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
        "botRecommendationId": ...,
        "summaryList": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
# ListRecommendedIntentsResponseTypeDef definition

class ListRecommendedIntentsResponseTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    botRecommendationId: str,
    summaryList: List[RecommendedIntentSummaryTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RecommendedIntentSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListSlotTypesRequestRequestTypeDef#

# ListSlotTypesRequestRequestTypeDef usage example

from mypy_boto3_lexv2_models.type_defs import ListSlotTypesRequestRequestTypeDef

def get_value() -> ListSlotTypesRequestRequestTypeDef:
    return {
        "botId": ...,
        "botVersion": ...,
        "localeId": ...,
    }
<