Skip to content

Type definitions#

Index > LexModelsV2 > Type definitions

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

TimestampTypeDef#

# TimestampTypeDef Union usage example

from mypy_boto3_lexv2_models.type_defs import TimestampTypeDef


def get_value() -> TimestampTypeDef:
    return ...


# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime.datetime,
    str,
]

CompositeSlotTypeSettingUnionTypeDef#

# CompositeSlotTypeSettingUnionTypeDef Union usage example

from mypy_boto3_lexv2_models.type_defs import CompositeSlotTypeSettingUnionTypeDef


def get_value() -> CompositeSlotTypeSettingUnionTypeDef:
    return ...


# CompositeSlotTypeSettingUnionTypeDef definition

CompositeSlotTypeSettingUnionTypeDef = Union[
    CompositeSlotTypeSettingTypeDef,  # (1)
    CompositeSlotTypeSettingOutputTypeDef,  # (2)
]
  1. See CompositeSlotTypeSettingTypeDef
  2. See CompositeSlotTypeSettingOutputTypeDef

SlotTypeValueUnionTypeDef#

# SlotTypeValueUnionTypeDef Union usage example

from mypy_boto3_lexv2_models.type_defs import SlotTypeValueUnionTypeDef


def get_value() -> SlotTypeValueUnionTypeDef:
    return ...


# SlotTypeValueUnionTypeDef definition

SlotTypeValueUnionTypeDef = Union[
    SlotTypeValueTypeDef,  # (1)
    SlotTypeValueOutputTypeDef,  # (2)
]
  1. See SlotTypeValueTypeDef
  2. See SlotTypeValueOutputTypeDef

ImportResourceSpecificationUnionTypeDef#

# ImportResourceSpecificationUnionTypeDef Union usage example

from mypy_boto3_lexv2_models.type_defs import ImportResourceSpecificationUnionTypeDef


def get_value() -> ImportResourceSpecificationUnionTypeDef:
    return ...


# ImportResourceSpecificationUnionTypeDef definition

ImportResourceSpecificationUnionTypeDef = Union[
    ImportResourceSpecificationTypeDef,  # (1)
    ImportResourceSpecificationOutputTypeDef,  # (2)
]
  1. See ImportResourceSpecificationTypeDef
  2. See ImportResourceSpecificationOutputTypeDef

ConversationLogSettingsUnionTypeDef#

# ConversationLogSettingsUnionTypeDef Union usage example

from mypy_boto3_lexv2_models.type_defs import ConversationLogSettingsUnionTypeDef


def get_value() -> ConversationLogSettingsUnionTypeDef:
    return ...


# ConversationLogSettingsUnionTypeDef definition

ConversationLogSettingsUnionTypeDef = Union[
    ConversationLogSettingsTypeDef,  # (1)
    ConversationLogSettingsOutputTypeDef,  # (2)
]
  1. See ConversationLogSettingsTypeDef
  2. See ConversationLogSettingsOutputTypeDef

TestSetGenerationDataSourceUnionTypeDef#

# TestSetGenerationDataSourceUnionTypeDef Union usage example

from mypy_boto3_lexv2_models.type_defs import TestSetGenerationDataSourceUnionTypeDef


def get_value() -> TestSetGenerationDataSourceUnionTypeDef:
    return ...


# TestSetGenerationDataSourceUnionTypeDef definition

TestSetGenerationDataSourceUnionTypeDef = Union[
    TestSetGenerationDataSourceTypeDef,  # (1)
    TestSetGenerationDataSourceOutputTypeDef,  # (2)
]
  1. See TestSetGenerationDataSourceTypeDef
  2. See TestSetGenerationDataSourceOutputTypeDef

QnAIntentConfigurationUnionTypeDef#

# QnAIntentConfigurationUnionTypeDef Union usage example

from mypy_boto3_lexv2_models.type_defs import QnAIntentConfigurationUnionTypeDef


def get_value() -> QnAIntentConfigurationUnionTypeDef:
    return ...


# QnAIntentConfigurationUnionTypeDef definition

QnAIntentConfigurationUnionTypeDef = Union[
    QnAIntentConfigurationTypeDef,  # (1)
    QnAIntentConfigurationOutputTypeDef,  # (2)
]
  1. See QnAIntentConfigurationTypeDef
  2. See QnAIntentConfigurationOutputTypeDef

TranscriptSourceSettingUnionTypeDef#

# TranscriptSourceSettingUnionTypeDef Union usage example

from mypy_boto3_lexv2_models.type_defs import TranscriptSourceSettingUnionTypeDef


def get_value() -> TranscriptSourceSettingUnionTypeDef:
    return ...


# TranscriptSourceSettingUnionTypeDef definition

TranscriptSourceSettingUnionTypeDef = Union[
    TranscriptSourceSettingTypeDef,  # (1)
    TranscriptSourceSettingOutputTypeDef,  # (2)
]
  1. See TranscriptSourceSettingTypeDef
  2. See TranscriptSourceSettingOutputTypeDef

IntentClosingSettingUnionTypeDef#

# IntentClosingSettingUnionTypeDef Union usage example

from mypy_boto3_lexv2_models.type_defs import IntentClosingSettingUnionTypeDef


def get_value() -> IntentClosingSettingUnionTypeDef:
    return ...


# IntentClosingSettingUnionTypeDef definition

IntentClosingSettingUnionTypeDef = Union[
    IntentClosingSettingTypeDef,  # (1)
    IntentClosingSettingOutputTypeDef,  # (2)
]
  1. See IntentClosingSettingTypeDef
  2. See IntentClosingSettingOutputTypeDef

FulfillmentCodeHookSettingsUnionTypeDef#

# FulfillmentCodeHookSettingsUnionTypeDef Union usage example

from mypy_boto3_lexv2_models.type_defs import FulfillmentCodeHookSettingsUnionTypeDef


def get_value() -> FulfillmentCodeHookSettingsUnionTypeDef:
    return ...


# FulfillmentCodeHookSettingsUnionTypeDef definition

FulfillmentCodeHookSettingsUnionTypeDef = Union[
    FulfillmentCodeHookSettingsTypeDef,  # (1)
    FulfillmentCodeHookSettingsOutputTypeDef,  # (2)
]
  1. See FulfillmentCodeHookSettingsTypeDef
  2. See FulfillmentCodeHookSettingsOutputTypeDef

SubSlotSettingUnionTypeDef#

# SubSlotSettingUnionTypeDef Union usage example

from mypy_boto3_lexv2_models.type_defs import SubSlotSettingUnionTypeDef


def get_value() -> SubSlotSettingUnionTypeDef:
    return ...


# SubSlotSettingUnionTypeDef definition

SubSlotSettingUnionTypeDef = Union[
    SubSlotSettingTypeDef,  # (1)
    SubSlotSettingOutputTypeDef,  # (2)
]
  1. See SubSlotSettingTypeDef
  2. See SubSlotSettingOutputTypeDef

InitialResponseSettingUnionTypeDef#

# InitialResponseSettingUnionTypeDef Union usage example

from mypy_boto3_lexv2_models.type_defs import InitialResponseSettingUnionTypeDef


def get_value() -> InitialResponseSettingUnionTypeDef:
    return ...


# InitialResponseSettingUnionTypeDef definition

InitialResponseSettingUnionTypeDef = Union[
    InitialResponseSettingTypeDef,  # (1)
    InitialResponseSettingOutputTypeDef,  # (2)
]
  1. See InitialResponseSettingTypeDef
  2. See InitialResponseSettingOutputTypeDef

IntentConfirmationSettingUnionTypeDef#

# IntentConfirmationSettingUnionTypeDef Union usage example

from mypy_boto3_lexv2_models.type_defs import IntentConfirmationSettingUnionTypeDef


def get_value() -> IntentConfirmationSettingUnionTypeDef:
    return ...


# IntentConfirmationSettingUnionTypeDef definition

IntentConfirmationSettingUnionTypeDef = Union[
    IntentConfirmationSettingTypeDef,  # (1)
    IntentConfirmationSettingOutputTypeDef,  # (2)
]
  1. See IntentConfirmationSettingTypeDef
  2. See IntentConfirmationSettingOutputTypeDef

SlotValueElicitationSettingUnionTypeDef#

# SlotValueElicitationSettingUnionTypeDef Union usage example

from mypy_boto3_lexv2_models.type_defs import SlotValueElicitationSettingUnionTypeDef


def get_value() -> SlotValueElicitationSettingUnionTypeDef:
    return ...


# SlotValueElicitationSettingUnionTypeDef definition

SlotValueElicitationSettingUnionTypeDef = Union[
    SlotValueElicitationSettingTypeDef,  # (1)
    SlotValueElicitationSettingOutputTypeDef,  # (2)
]
  1. See SlotValueElicitationSettingTypeDef
  2. See SlotValueElicitationSettingOutputTypeDef

ActiveContextTypeDef#

# ActiveContextTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ActiveContextTypeDef


def get_value() -> ActiveContextTypeDef:
    return {
        "name": ...,
    }


# ActiveContextTypeDef definition

class ActiveContextTypeDef(TypedDict):
    name: str,

AdvancedRecognitionSettingTypeDef#

# AdvancedRecognitionSettingTypeDef TypedDict 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

ExecutionErrorDetailsTypeDef#

# ExecutionErrorDetailsTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ExecutionErrorDetailsTypeDef


def get_value() -> ExecutionErrorDetailsTypeDef:
    return {
        "errorCode": ...,
    }


# ExecutionErrorDetailsTypeDef definition

class ExecutionErrorDetailsTypeDef(TypedDict):
    errorCode: str,
    errorMessage: str,

AgentTurnSpecificationTypeDef#

# AgentTurnSpecificationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import AgentTurnSpecificationTypeDef


def get_value() -> AgentTurnSpecificationTypeDef:
    return {
        "agentPrompt": ...,
    }


# AgentTurnSpecificationTypeDef definition

class AgentTurnSpecificationTypeDef(TypedDict):
    agentPrompt: str,

AggregatedUtterancesFilterTypeDef#

# AggregatedUtterancesFilterTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import AggregatedUtterancesFilterTypeDef


def get_value() -> AggregatedUtterancesFilterTypeDef:
    return {
        "name": ...,
    }


# AggregatedUtterancesFilterTypeDef definition

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

AggregatedUtterancesSortByTypeDef#

# AggregatedUtterancesSortByTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import AggregatedUtterancesSortByTypeDef


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


# AggregatedUtterancesSortByTypeDef definition

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

AggregatedUtterancesSummaryTypeDef#

# AggregatedUtterancesSummaryTypeDef TypedDict 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.datetime],
    utteranceLastRecordedInAggregationDuration: NotRequired[datetime.datetime],
    containsDataFromDeletedResources: NotRequired[bool],

AllowedInputTypesTypeDef#

# AllowedInputTypesTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import AllowedInputTypesTypeDef


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


# AllowedInputTypesTypeDef definition

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

AnalyticsBinBySpecificationTypeDef#

# AnalyticsBinBySpecificationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import AnalyticsBinBySpecificationTypeDef


def get_value() -> AnalyticsBinBySpecificationTypeDef:
    return {
        "name": ...,
    }


# AnalyticsBinBySpecificationTypeDef definition

class AnalyticsBinBySpecificationTypeDef(TypedDict):
    name: AnalyticsBinByNameType,  # (1)
    interval: AnalyticsIntervalType,  # (2)
    order: NotRequired[AnalyticsSortOrderType],  # (3)
  1. See AnalyticsBinByNameType
  2. See AnalyticsIntervalType
  3. See AnalyticsSortOrderType

AnalyticsBinKeyTypeDef#

# AnalyticsBinKeyTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import AnalyticsBinKeyTypeDef


def get_value() -> AnalyticsBinKeyTypeDef:
    return {
        "name": ...,
    }


# AnalyticsBinKeyTypeDef definition

class AnalyticsBinKeyTypeDef(TypedDict):
    name: NotRequired[AnalyticsBinByNameType],  # (1)
    value: NotRequired[int],
  1. See AnalyticsBinByNameType

AnalyticsIntentFilterTypeDef#

# AnalyticsIntentFilterTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import AnalyticsIntentFilterTypeDef


def get_value() -> AnalyticsIntentFilterTypeDef:
    return {
        "name": ...,
    }


# AnalyticsIntentFilterTypeDef definition

class AnalyticsIntentFilterTypeDef(TypedDict):
    name: AnalyticsIntentFilterNameType,  # (1)
    operator: AnalyticsFilterOperatorType,  # (2)
    values: Sequence[str],
  1. See AnalyticsIntentFilterNameType
  2. See AnalyticsFilterOperatorType

AnalyticsIntentGroupByKeyTypeDef#

# AnalyticsIntentGroupByKeyTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import AnalyticsIntentGroupByKeyTypeDef


def get_value() -> AnalyticsIntentGroupByKeyTypeDef:
    return {
        "name": ...,
    }


# AnalyticsIntentGroupByKeyTypeDef definition

class AnalyticsIntentGroupByKeyTypeDef(TypedDict):
    name: NotRequired[AnalyticsIntentFieldType],  # (1)
    value: NotRequired[str],
  1. See AnalyticsIntentFieldType

AnalyticsIntentGroupBySpecificationTypeDef#

# AnalyticsIntentGroupBySpecificationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import AnalyticsIntentGroupBySpecificationTypeDef


def get_value() -> AnalyticsIntentGroupBySpecificationTypeDef:
    return {
        "name": ...,
    }


# AnalyticsIntentGroupBySpecificationTypeDef definition

class AnalyticsIntentGroupBySpecificationTypeDef(TypedDict):
    name: AnalyticsIntentFieldType,  # (1)
  1. See AnalyticsIntentFieldType

AnalyticsIntentMetricResultTypeDef#

# AnalyticsIntentMetricResultTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import AnalyticsIntentMetricResultTypeDef


def get_value() -> AnalyticsIntentMetricResultTypeDef:
    return {
        "name": ...,
    }


# AnalyticsIntentMetricResultTypeDef definition

class AnalyticsIntentMetricResultTypeDef(TypedDict):
    name: NotRequired[AnalyticsIntentMetricNameType],  # (1)
    statistic: NotRequired[AnalyticsMetricStatisticType],  # (2)
    value: NotRequired[float],
  1. See AnalyticsIntentMetricNameType
  2. See AnalyticsMetricStatisticType

AnalyticsIntentMetricTypeDef#

# AnalyticsIntentMetricTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import AnalyticsIntentMetricTypeDef


def get_value() -> AnalyticsIntentMetricTypeDef:
    return {
        "name": ...,
    }


# AnalyticsIntentMetricTypeDef definition

class AnalyticsIntentMetricTypeDef(TypedDict):
    name: AnalyticsIntentMetricNameType,  # (1)
    statistic: AnalyticsMetricStatisticType,  # (2)
    order: NotRequired[AnalyticsSortOrderType],  # (3)
  1. See AnalyticsIntentMetricNameType
  2. See AnalyticsMetricStatisticType
  3. See AnalyticsSortOrderType

AnalyticsIntentNodeSummaryTypeDef#

# AnalyticsIntentNodeSummaryTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import AnalyticsIntentNodeSummaryTypeDef


def get_value() -> AnalyticsIntentNodeSummaryTypeDef:
    return {
        "intentName": ...,
    }


# AnalyticsIntentNodeSummaryTypeDef definition

class AnalyticsIntentNodeSummaryTypeDef(TypedDict):
    intentName: NotRequired[str],
    intentPath: NotRequired[str],
    intentCount: NotRequired[int],
    intentLevel: NotRequired[int],
    nodeType: NotRequired[AnalyticsNodeTypeType],  # (1)
  1. See AnalyticsNodeTypeType

AnalyticsIntentStageFilterTypeDef#

# AnalyticsIntentStageFilterTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import AnalyticsIntentStageFilterTypeDef


def get_value() -> AnalyticsIntentStageFilterTypeDef:
    return {
        "name": ...,
    }


# AnalyticsIntentStageFilterTypeDef definition

class AnalyticsIntentStageFilterTypeDef(TypedDict):
    name: AnalyticsIntentStageFilterNameType,  # (1)
    operator: AnalyticsFilterOperatorType,  # (2)
    values: Sequence[str],
  1. See AnalyticsIntentStageFilterNameType
  2. See AnalyticsFilterOperatorType

AnalyticsIntentStageGroupByKeyTypeDef#

# AnalyticsIntentStageGroupByKeyTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import AnalyticsIntentStageGroupByKeyTypeDef


def get_value() -> AnalyticsIntentStageGroupByKeyTypeDef:
    return {
        "name": ...,
    }


# AnalyticsIntentStageGroupByKeyTypeDef definition

class AnalyticsIntentStageGroupByKeyTypeDef(TypedDict):
    name: NotRequired[AnalyticsIntentStageFieldType],  # (1)
    value: NotRequired[str],
  1. See AnalyticsIntentStageFieldType

AnalyticsIntentStageGroupBySpecificationTypeDef#

# AnalyticsIntentStageGroupBySpecificationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import AnalyticsIntentStageGroupBySpecificationTypeDef


def get_value() -> AnalyticsIntentStageGroupBySpecificationTypeDef:
    return {
        "name": ...,
    }


# AnalyticsIntentStageGroupBySpecificationTypeDef definition

class AnalyticsIntentStageGroupBySpecificationTypeDef(TypedDict):
    name: AnalyticsIntentStageFieldType,  # (1)
  1. See AnalyticsIntentStageFieldType

AnalyticsIntentStageMetricResultTypeDef#

# AnalyticsIntentStageMetricResultTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import AnalyticsIntentStageMetricResultTypeDef


def get_value() -> AnalyticsIntentStageMetricResultTypeDef:
    return {
        "name": ...,
    }


# AnalyticsIntentStageMetricResultTypeDef definition

class AnalyticsIntentStageMetricResultTypeDef(TypedDict):
    name: NotRequired[AnalyticsIntentStageMetricNameType],  # (1)
    statistic: NotRequired[AnalyticsMetricStatisticType],  # (2)
    value: NotRequired[float],
  1. See AnalyticsIntentStageMetricNameType
  2. See AnalyticsMetricStatisticType

AnalyticsIntentStageMetricTypeDef#

# AnalyticsIntentStageMetricTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import AnalyticsIntentStageMetricTypeDef


def get_value() -> AnalyticsIntentStageMetricTypeDef:
    return {
        "name": ...,
    }


# AnalyticsIntentStageMetricTypeDef definition

class AnalyticsIntentStageMetricTypeDef(TypedDict):
    name: AnalyticsIntentStageMetricNameType,  # (1)
    statistic: AnalyticsMetricStatisticType,  # (2)
    order: NotRequired[AnalyticsSortOrderType],  # (3)
  1. See AnalyticsIntentStageMetricNameType
  2. See AnalyticsMetricStatisticType
  3. See AnalyticsSortOrderType

AnalyticsPathFilterTypeDef#

# AnalyticsPathFilterTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import AnalyticsPathFilterTypeDef


def get_value() -> AnalyticsPathFilterTypeDef:
    return {
        "name": ...,
    }


# AnalyticsPathFilterTypeDef definition

class AnalyticsPathFilterTypeDef(TypedDict):
    name: AnalyticsCommonFilterNameType,  # (1)
    operator: AnalyticsFilterOperatorType,  # (2)
    values: Sequence[str],
  1. See AnalyticsCommonFilterNameType
  2. See AnalyticsFilterOperatorType

AnalyticsSessionFilterTypeDef#

# AnalyticsSessionFilterTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import AnalyticsSessionFilterTypeDef


def get_value() -> AnalyticsSessionFilterTypeDef:
    return {
        "name": ...,
    }


# AnalyticsSessionFilterTypeDef definition

class AnalyticsSessionFilterTypeDef(TypedDict):
    name: AnalyticsSessionFilterNameType,  # (1)
    operator: AnalyticsFilterOperatorType,  # (2)
    values: Sequence[str],
  1. See AnalyticsSessionFilterNameType
  2. See AnalyticsFilterOperatorType

AnalyticsSessionGroupByKeyTypeDef#

# AnalyticsSessionGroupByKeyTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import AnalyticsSessionGroupByKeyTypeDef


def get_value() -> AnalyticsSessionGroupByKeyTypeDef:
    return {
        "name": ...,
    }


# AnalyticsSessionGroupByKeyTypeDef definition

class AnalyticsSessionGroupByKeyTypeDef(TypedDict):
    name: NotRequired[AnalyticsSessionFieldType],  # (1)
    value: NotRequired[str],
  1. See AnalyticsSessionFieldType

AnalyticsSessionGroupBySpecificationTypeDef#

# AnalyticsSessionGroupBySpecificationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import AnalyticsSessionGroupBySpecificationTypeDef


def get_value() -> AnalyticsSessionGroupBySpecificationTypeDef:
    return {
        "name": ...,
    }


# AnalyticsSessionGroupBySpecificationTypeDef definition

class AnalyticsSessionGroupBySpecificationTypeDef(TypedDict):
    name: AnalyticsSessionFieldType,  # (1)
  1. See AnalyticsSessionFieldType

AnalyticsSessionMetricResultTypeDef#

# AnalyticsSessionMetricResultTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import AnalyticsSessionMetricResultTypeDef


def get_value() -> AnalyticsSessionMetricResultTypeDef:
    return {
        "name": ...,
    }


# AnalyticsSessionMetricResultTypeDef definition

class AnalyticsSessionMetricResultTypeDef(TypedDict):
    name: NotRequired[AnalyticsSessionMetricNameType],  # (1)
    statistic: NotRequired[AnalyticsMetricStatisticType],  # (2)
    value: NotRequired[float],
  1. See AnalyticsSessionMetricNameType
  2. See AnalyticsMetricStatisticType

AnalyticsSessionMetricTypeDef#

# AnalyticsSessionMetricTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import AnalyticsSessionMetricTypeDef


def get_value() -> AnalyticsSessionMetricTypeDef:
    return {
        "name": ...,
    }


# AnalyticsSessionMetricTypeDef definition

class AnalyticsSessionMetricTypeDef(TypedDict):
    name: AnalyticsSessionMetricNameType,  # (1)
    statistic: AnalyticsMetricStatisticType,  # (2)
    order: NotRequired[AnalyticsSortOrderType],  # (3)
  1. See AnalyticsSessionMetricNameType
  2. See AnalyticsMetricStatisticType
  3. See AnalyticsSortOrderType

AnalyticsUtteranceAttributeResultTypeDef#

# AnalyticsUtteranceAttributeResultTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import AnalyticsUtteranceAttributeResultTypeDef


def get_value() -> AnalyticsUtteranceAttributeResultTypeDef:
    return {
        "lastUsedIntent": ...,
    }


# AnalyticsUtteranceAttributeResultTypeDef definition

class AnalyticsUtteranceAttributeResultTypeDef(TypedDict):
    lastUsedIntent: NotRequired[str],

AnalyticsUtteranceAttributeTypeDef#

# AnalyticsUtteranceAttributeTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import AnalyticsUtteranceAttributeTypeDef


def get_value() -> AnalyticsUtteranceAttributeTypeDef:
    return {
        "name": ...,
    }


# AnalyticsUtteranceAttributeTypeDef definition

class AnalyticsUtteranceAttributeTypeDef(TypedDict):
    name: AnalyticsUtteranceAttributeNameType,  # (1)
  1. See AnalyticsUtteranceAttributeNameType

AnalyticsUtteranceFilterTypeDef#

# AnalyticsUtteranceFilterTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import AnalyticsUtteranceFilterTypeDef


def get_value() -> AnalyticsUtteranceFilterTypeDef:
    return {
        "name": ...,
    }


# AnalyticsUtteranceFilterTypeDef definition

class AnalyticsUtteranceFilterTypeDef(TypedDict):
    name: AnalyticsUtteranceFilterNameType,  # (1)
    operator: AnalyticsFilterOperatorType,  # (2)
    values: Sequence[str],
  1. See AnalyticsUtteranceFilterNameType
  2. See AnalyticsFilterOperatorType

AnalyticsUtteranceGroupByKeyTypeDef#

# AnalyticsUtteranceGroupByKeyTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import AnalyticsUtteranceGroupByKeyTypeDef


def get_value() -> AnalyticsUtteranceGroupByKeyTypeDef:
    return {
        "name": ...,
    }


# AnalyticsUtteranceGroupByKeyTypeDef definition

class AnalyticsUtteranceGroupByKeyTypeDef(TypedDict):
    name: NotRequired[AnalyticsUtteranceFieldType],  # (1)
    value: NotRequired[str],
  1. See AnalyticsUtteranceFieldType

AnalyticsUtteranceGroupBySpecificationTypeDef#

# AnalyticsUtteranceGroupBySpecificationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import AnalyticsUtteranceGroupBySpecificationTypeDef


def get_value() -> AnalyticsUtteranceGroupBySpecificationTypeDef:
    return {
        "name": ...,
    }


# AnalyticsUtteranceGroupBySpecificationTypeDef definition

class AnalyticsUtteranceGroupBySpecificationTypeDef(TypedDict):
    name: AnalyticsUtteranceFieldType,  # (1)
  1. See AnalyticsUtteranceFieldType

AnalyticsUtteranceMetricResultTypeDef#

# AnalyticsUtteranceMetricResultTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import AnalyticsUtteranceMetricResultTypeDef


def get_value() -> AnalyticsUtteranceMetricResultTypeDef:
    return {
        "name": ...,
    }


# AnalyticsUtteranceMetricResultTypeDef definition

class AnalyticsUtteranceMetricResultTypeDef(TypedDict):
    name: NotRequired[AnalyticsUtteranceMetricNameType],  # (1)
    statistic: NotRequired[AnalyticsMetricStatisticType],  # (2)
    value: NotRequired[float],
  1. See AnalyticsUtteranceMetricNameType
  2. See AnalyticsMetricStatisticType

AnalyticsUtteranceMetricTypeDef#

# AnalyticsUtteranceMetricTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import AnalyticsUtteranceMetricTypeDef


def get_value() -> AnalyticsUtteranceMetricTypeDef:
    return {
        "name": ...,
    }


# AnalyticsUtteranceMetricTypeDef definition

class AnalyticsUtteranceMetricTypeDef(TypedDict):
    name: AnalyticsUtteranceMetricNameType,  # (1)
    statistic: AnalyticsMetricStatisticType,  # (2)
    order: NotRequired[AnalyticsSortOrderType],  # (3)
  1. See AnalyticsUtteranceMetricNameType
  2. See AnalyticsMetricStatisticType
  3. See AnalyticsSortOrderType

AssociatedTranscriptFilterTypeDef#

# AssociatedTranscriptFilterTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import AssociatedTranscriptFilterTypeDef


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


# AssociatedTranscriptFilterTypeDef definition

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

AssociatedTranscriptTypeDef#

# AssociatedTranscriptTypeDef TypedDict 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 TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import AudioSpecificationTypeDef


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


# AudioSpecificationTypeDef definition

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

DTMFSpecificationTypeDef#

# DTMFSpecificationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DTMFSpecificationTypeDef


def get_value() -> DTMFSpecificationTypeDef:
    return {
        "maxLength": ...,
    }


# DTMFSpecificationTypeDef definition

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

S3BucketLogDestinationTypeDef#

# S3BucketLogDestinationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import S3BucketLogDestinationTypeDef


def get_value() -> S3BucketLogDestinationTypeDef:
    return {
        "kmsKeyArn": ...,
    }


# S3BucketLogDestinationTypeDef definition

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

NewCustomVocabularyItemTypeDef#

# NewCustomVocabularyItemTypeDef TypedDict 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 TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import CustomVocabularyItemTypeDef


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


# CustomVocabularyItemTypeDef definition

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

FailedCustomVocabularyItemTypeDef#

# FailedCustomVocabularyItemTypeDef TypedDict 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

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ResponseMetadataTypeDef


def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
    }


# ResponseMetadataTypeDef definition

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

CustomVocabularyEntryIdTypeDef#

# CustomVocabularyEntryIdTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import CustomVocabularyEntryIdTypeDef


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


# CustomVocabularyEntryIdTypeDef definition

class CustomVocabularyEntryIdTypeDef(TypedDict):
    itemId: str,

BedrockGuardrailConfigurationTypeDef#

# BedrockGuardrailConfigurationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import BedrockGuardrailConfigurationTypeDef


def get_value() -> BedrockGuardrailConfigurationTypeDef:
    return {
        "identifier": ...,
    }


# BedrockGuardrailConfigurationTypeDef definition

class BedrockGuardrailConfigurationTypeDef(TypedDict):
    identifier: str,
    version: str,

BedrockKnowledgeStoreExactResponseFieldsTypeDef#

# BedrockKnowledgeStoreExactResponseFieldsTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import BedrockKnowledgeStoreExactResponseFieldsTypeDef


def get_value() -> BedrockKnowledgeStoreExactResponseFieldsTypeDef:
    return {
        "answerField": ...,
    }


# BedrockKnowledgeStoreExactResponseFieldsTypeDef definition

class BedrockKnowledgeStoreExactResponseFieldsTypeDef(TypedDict):
    answerField: NotRequired[str],

BotAliasHistoryEventTypeDef#

# BotAliasHistoryEventTypeDef TypedDict 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.datetime],
    endDate: NotRequired[datetime.datetime],

BotAliasReplicaSummaryTypeDef#

# BotAliasReplicaSummaryTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import BotAliasReplicaSummaryTypeDef


def get_value() -> BotAliasReplicaSummaryTypeDef:
    return {
        "botAliasId": ...,
    }


# BotAliasReplicaSummaryTypeDef definition

class BotAliasReplicaSummaryTypeDef(TypedDict):
    botAliasId: NotRequired[str],
    botAliasReplicationStatus: NotRequired[BotAliasReplicationStatusType],  # (1)
    botVersion: NotRequired[str],
    creationDateTime: NotRequired[datetime.datetime],
    lastUpdatedDateTime: NotRequired[datetime.datetime],
    failureReasons: NotRequired[List[str]],
  1. See BotAliasReplicationStatusType

BotAliasSummaryTypeDef#

# BotAliasSummaryTypeDef TypedDict 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.datetime],
    lastUpdatedDateTime: NotRequired[datetime.datetime],
  1. See BotAliasStatusType

BotAliasTestExecutionTargetTypeDef#

# BotAliasTestExecutionTargetTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import BotAliasTestExecutionTargetTypeDef


def get_value() -> BotAliasTestExecutionTargetTypeDef:
    return {
        "botId": ...,
    }


# BotAliasTestExecutionTargetTypeDef definition

class BotAliasTestExecutionTargetTypeDef(TypedDict):
    botId: str,
    botAliasId: str,
    localeId: str,

BotExportSpecificationTypeDef#

# BotExportSpecificationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import BotExportSpecificationTypeDef


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


# BotExportSpecificationTypeDef definition

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

BotFilterTypeDef#

# BotFilterTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import BotFilterTypeDef


def get_value() -> BotFilterTypeDef:
    return {
        "name": ...,
    }


# BotFilterTypeDef definition

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

DataPrivacyTypeDef#

# DataPrivacyTypeDef TypedDict 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 TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import BotLocaleExportSpecificationTypeDef


def get_value() -> BotLocaleExportSpecificationTypeDef:
    return {
        "botId": ...,
    }


# BotLocaleExportSpecificationTypeDef definition

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

BotLocaleFilterTypeDef#

# BotLocaleFilterTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import BotLocaleFilterTypeDef


def get_value() -> BotLocaleFilterTypeDef:
    return {
        "name": ...,
    }


# BotLocaleFilterTypeDef definition

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

BotLocaleHistoryEventTypeDef#

# BotLocaleHistoryEventTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import BotLocaleHistoryEventTypeDef


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


# BotLocaleHistoryEventTypeDef definition

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

VoiceSettingsTypeDef#

# VoiceSettingsTypeDef TypedDict 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 TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import BotLocaleSortByTypeDef


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


# BotLocaleSortByTypeDef definition

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

BotLocaleSummaryTypeDef#

# BotLocaleSummaryTypeDef TypedDict 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.datetime],
    lastBuildSubmittedDateTime: NotRequired[datetime.datetime],
  1. See BotLocaleStatusType

BotMemberTypeDef#

# BotMemberTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import BotMemberTypeDef


def get_value() -> BotMemberTypeDef:
    return {
        "botMemberId": ...,
    }


# BotMemberTypeDef definition

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

IntentStatisticsTypeDef#

# IntentStatisticsTypeDef TypedDict 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 TypedDict 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 TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import BotRecommendationSummaryTypeDef


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


# BotRecommendationSummaryTypeDef definition

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

BotReplicaSummaryTypeDef#

# BotReplicaSummaryTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import BotReplicaSummaryTypeDef


def get_value() -> BotReplicaSummaryTypeDef:
    return {
        "replicaRegion": ...,
    }


# BotReplicaSummaryTypeDef definition

class BotReplicaSummaryTypeDef(TypedDict):
    replicaRegion: NotRequired[str],
    creationDateTime: NotRequired[datetime.datetime],
    botReplicaStatus: NotRequired[BotReplicaStatusType],  # (1)
    failureReasons: NotRequired[List[str]],
  1. See BotReplicaStatusType

BotSortByTypeDef#

# BotSortByTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import BotSortByTypeDef


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


# BotSortByTypeDef definition

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

BotSummaryTypeDef#

# BotSummaryTypeDef TypedDict 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.datetime],
    botType: NotRequired[BotTypeType],  # (2)
  1. See BotStatusType
  2. See BotTypeType

BotVersionLocaleDetailsTypeDef#

# BotVersionLocaleDetailsTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import BotVersionLocaleDetailsTypeDef


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


# BotVersionLocaleDetailsTypeDef definition

class BotVersionLocaleDetailsTypeDef(TypedDict):
    sourceBotVersion: str,

BotVersionReplicaSortByTypeDef#

# BotVersionReplicaSortByTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import BotVersionReplicaSortByTypeDef


def get_value() -> BotVersionReplicaSortByTypeDef:
    return {
        "attribute": ...,
    }


# BotVersionReplicaSortByTypeDef definition

class BotVersionReplicaSortByTypeDef(TypedDict):
    attribute: BotVersionReplicaSortAttributeType,  # (1)
    order: SortOrderType,  # (2)
  1. See BotVersionReplicaSortAttributeType
  2. See SortOrderType

BotVersionReplicaSummaryTypeDef#

# BotVersionReplicaSummaryTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import BotVersionReplicaSummaryTypeDef


def get_value() -> BotVersionReplicaSummaryTypeDef:
    return {
        "botVersion": ...,
    }


# BotVersionReplicaSummaryTypeDef definition

class BotVersionReplicaSummaryTypeDef(TypedDict):
    botVersion: NotRequired[str],
    botVersionReplicationStatus: NotRequired[BotVersionReplicationStatusType],  # (1)
    creationDateTime: NotRequired[datetime.datetime],
    failureReasons: NotRequired[List[str]],
  1. See BotVersionReplicationStatusType

BotVersionSortByTypeDef#

# BotVersionSortByTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import BotVersionSortByTypeDef


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


# BotVersionSortByTypeDef definition

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

BotVersionSummaryTypeDef#

# BotVersionSummaryTypeDef TypedDict 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.datetime],
  1. See BotStatusType

BuildBotLocaleRequestTypeDef#

# BuildBotLocaleRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import BuildBotLocaleRequestTypeDef


def get_value() -> BuildBotLocaleRequestTypeDef:
    return {
        "botId": ...,
    }


# BuildBotLocaleRequestTypeDef definition

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

BuiltInIntentSortByTypeDef#

# BuiltInIntentSortByTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import BuiltInIntentSortByTypeDef


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


# BuiltInIntentSortByTypeDef definition

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

BuiltInIntentSummaryTypeDef#

# BuiltInIntentSummaryTypeDef TypedDict 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 TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import BuiltInSlotTypeSortByTypeDef


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


# BuiltInSlotTypeSortByTypeDef definition

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

BuiltInSlotTypeSummaryTypeDef#

# BuiltInSlotTypeSummaryTypeDef TypedDict 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 TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ButtonTypeDef


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


# ButtonTypeDef definition

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

CloudWatchLogGroupLogDestinationTypeDef#

# CloudWatchLogGroupLogDestinationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import CloudWatchLogGroupLogDestinationTypeDef


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


# CloudWatchLogGroupLogDestinationTypeDef definition

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

LambdaCodeHookTypeDef#

# LambdaCodeHookTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import LambdaCodeHookTypeDef


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


# LambdaCodeHookTypeDef definition

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

SubSlotTypeCompositionTypeDef#

# SubSlotTypeCompositionTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import SubSlotTypeCompositionTypeDef


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


# SubSlotTypeCompositionTypeDef definition

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

ConditionTypeDef#

# ConditionTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ConditionTypeDef


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


# ConditionTypeDef definition

class ConditionTypeDef(TypedDict):
    expressionString: str,

ConversationLevelIntentClassificationResultItemTypeDef#

# ConversationLevelIntentClassificationResultItemTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ConversationLevelIntentClassificationResultItemTypeDef


def get_value() -> ConversationLevelIntentClassificationResultItemTypeDef:
    return {
        "intentName": ...,
    }


# ConversationLevelIntentClassificationResultItemTypeDef definition

class ConversationLevelIntentClassificationResultItemTypeDef(TypedDict):
    intentName: str,
    matchResult: TestResultMatchStatusType,  # (1)
  1. See TestResultMatchStatusType

ConversationLevelResultDetailTypeDef#

# ConversationLevelResultDetailTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ConversationLevelResultDetailTypeDef


def get_value() -> ConversationLevelResultDetailTypeDef:
    return {
        "endToEndResult": ...,
    }


# ConversationLevelResultDetailTypeDef definition

class ConversationLevelResultDetailTypeDef(TypedDict):
    endToEndResult: TestResultMatchStatusType,  # (1)
    speechTranscriptionResult: NotRequired[TestResultMatchStatusType],  # (1)
  1. See TestResultMatchStatusType
  2. See TestResultMatchStatusType

ConversationLevelSlotResolutionResultItemTypeDef#

# ConversationLevelSlotResolutionResultItemTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ConversationLevelSlotResolutionResultItemTypeDef


def get_value() -> ConversationLevelSlotResolutionResultItemTypeDef:
    return {
        "intentName": ...,
    }


# ConversationLevelSlotResolutionResultItemTypeDef definition

class ConversationLevelSlotResolutionResultItemTypeDef(TypedDict):
    intentName: str,
    slotName: str,
    matchResult: TestResultMatchStatusType,  # (1)
  1. See TestResultMatchStatusType

ConversationLevelTestResultsFilterByTypeDef#

# ConversationLevelTestResultsFilterByTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ConversationLevelTestResultsFilterByTypeDef


def get_value() -> ConversationLevelTestResultsFilterByTypeDef:
    return {
        "endToEndResult": ...,
    }


# ConversationLevelTestResultsFilterByTypeDef definition

class ConversationLevelTestResultsFilterByTypeDef(TypedDict):
    endToEndResult: NotRequired[TestResultMatchStatusType],  # (1)
  1. See TestResultMatchStatusType

ConversationLogsDataSourceFilterByOutputTypeDef#

# ConversationLogsDataSourceFilterByOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ConversationLogsDataSourceFilterByOutputTypeDef


def get_value() -> ConversationLogsDataSourceFilterByOutputTypeDef:
    return {
        "startTime": ...,
    }


# ConversationLogsDataSourceFilterByOutputTypeDef definition

class ConversationLogsDataSourceFilterByOutputTypeDef(TypedDict):
    startTime: datetime.datetime,
    endTime: datetime.datetime,
    inputMode: ConversationLogsInputModeFilterType,  # (1)
  1. See ConversationLogsInputModeFilterType

SentimentAnalysisSettingsTypeDef#

# SentimentAnalysisSettingsTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import SentimentAnalysisSettingsTypeDef


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


# SentimentAnalysisSettingsTypeDef definition

class SentimentAnalysisSettingsTypeDef(TypedDict):
    detectSentiment: bool,

CreateBotReplicaRequestTypeDef#

# CreateBotReplicaRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import CreateBotReplicaRequestTypeDef


def get_value() -> CreateBotReplicaRequestTypeDef:
    return {
        "botId": ...,
    }


# CreateBotReplicaRequestTypeDef definition

class CreateBotReplicaRequestTypeDef(TypedDict):
    botId: str,
    replicaRegion: str,

DialogCodeHookSettingsTypeDef#

# DialogCodeHookSettingsTypeDef TypedDict 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 TypedDict 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 TypedDict 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 TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import OutputContextTypeDef


def get_value() -> OutputContextTypeDef:
    return {
        "name": ...,
    }


# OutputContextTypeDef definition

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

SampleUtteranceTypeDef#

# SampleUtteranceTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import SampleUtteranceTypeDef


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


# SampleUtteranceTypeDef definition

class SampleUtteranceTypeDef(TypedDict):
    utterance: str,

CreateResourcePolicyRequestTypeDef#

# CreateResourcePolicyRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import CreateResourcePolicyRequestTypeDef


def get_value() -> CreateResourcePolicyRequestTypeDef:
    return {
        "resourceArn": ...,
    }


# CreateResourcePolicyRequestTypeDef definition

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

PrincipalTypeDef#

# PrincipalTypeDef TypedDict 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],

MultipleValuesSettingTypeDef#

# MultipleValuesSettingTypeDef TypedDict 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 TypedDict 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

CustomPayloadTypeDef#

# CustomPayloadTypeDef TypedDict 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 TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import CustomVocabularyExportSpecificationTypeDef


def get_value() -> CustomVocabularyExportSpecificationTypeDef:
    return {
        "botId": ...,
    }


# CustomVocabularyExportSpecificationTypeDef definition

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

CustomVocabularyImportSpecificationTypeDef#

# CustomVocabularyImportSpecificationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import CustomVocabularyImportSpecificationTypeDef


def get_value() -> CustomVocabularyImportSpecificationTypeDef:
    return {
        "botId": ...,
    }


# CustomVocabularyImportSpecificationTypeDef definition

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

QnAKendraConfigurationTypeDef#

# QnAKendraConfigurationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import QnAKendraConfigurationTypeDef


def get_value() -> QnAKendraConfigurationTypeDef:
    return {
        "kendraIndex": ...,
    }


# QnAKendraConfigurationTypeDef definition

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

DateRangeFilterOutputTypeDef#

# DateRangeFilterOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DateRangeFilterOutputTypeDef


def get_value() -> DateRangeFilterOutputTypeDef:
    return {
        "startDateTime": ...,
    }


# DateRangeFilterOutputTypeDef definition

class DateRangeFilterOutputTypeDef(TypedDict):
    startDateTime: datetime.datetime,
    endDateTime: datetime.datetime,

DeleteBotAliasRequestTypeDef#

# DeleteBotAliasRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DeleteBotAliasRequestTypeDef


def get_value() -> DeleteBotAliasRequestTypeDef:
    return {
        "botAliasId": ...,
    }


# DeleteBotAliasRequestTypeDef definition

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

DeleteBotLocaleRequestTypeDef#

# DeleteBotLocaleRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DeleteBotLocaleRequestTypeDef


def get_value() -> DeleteBotLocaleRequestTypeDef:
    return {
        "botId": ...,
    }


# DeleteBotLocaleRequestTypeDef definition

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

DeleteBotReplicaRequestTypeDef#

# DeleteBotReplicaRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DeleteBotReplicaRequestTypeDef


def get_value() -> DeleteBotReplicaRequestTypeDef:
    return {
        "botId": ...,
    }


# DeleteBotReplicaRequestTypeDef definition

class DeleteBotReplicaRequestTypeDef(TypedDict):
    botId: str,
    replicaRegion: str,

DeleteBotRequestTypeDef#

# DeleteBotRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DeleteBotRequestTypeDef


def get_value() -> DeleteBotRequestTypeDef:
    return {
        "botId": ...,
    }


# DeleteBotRequestTypeDef definition

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

DeleteBotVersionRequestTypeDef#

# DeleteBotVersionRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DeleteBotVersionRequestTypeDef


def get_value() -> DeleteBotVersionRequestTypeDef:
    return {
        "botId": ...,
    }


# DeleteBotVersionRequestTypeDef definition

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

DeleteCustomVocabularyRequestTypeDef#

# DeleteCustomVocabularyRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DeleteCustomVocabularyRequestTypeDef


def get_value() -> DeleteCustomVocabularyRequestTypeDef:
    return {
        "botId": ...,
    }


# DeleteCustomVocabularyRequestTypeDef definition

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

DeleteExportRequestTypeDef#

# DeleteExportRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DeleteExportRequestTypeDef


def get_value() -> DeleteExportRequestTypeDef:
    return {
        "exportId": ...,
    }


# DeleteExportRequestTypeDef definition

class DeleteExportRequestTypeDef(TypedDict):
    exportId: str,

DeleteImportRequestTypeDef#

# DeleteImportRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DeleteImportRequestTypeDef


def get_value() -> DeleteImportRequestTypeDef:
    return {
        "importId": ...,
    }


# DeleteImportRequestTypeDef definition

class DeleteImportRequestTypeDef(TypedDict):
    importId: str,

DeleteIntentRequestTypeDef#

# DeleteIntentRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DeleteIntentRequestTypeDef


def get_value() -> DeleteIntentRequestTypeDef:
    return {
        "intentId": ...,
    }


# DeleteIntentRequestTypeDef definition

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

DeleteResourcePolicyRequestTypeDef#

# DeleteResourcePolicyRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DeleteResourcePolicyRequestTypeDef


def get_value() -> DeleteResourcePolicyRequestTypeDef:
    return {
        "resourceArn": ...,
    }


# DeleteResourcePolicyRequestTypeDef definition

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

DeleteResourcePolicyStatementRequestTypeDef#

# DeleteResourcePolicyStatementRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DeleteResourcePolicyStatementRequestTypeDef


def get_value() -> DeleteResourcePolicyStatementRequestTypeDef:
    return {
        "resourceArn": ...,
    }


# DeleteResourcePolicyStatementRequestTypeDef definition

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

DeleteSlotRequestTypeDef#

# DeleteSlotRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DeleteSlotRequestTypeDef


def get_value() -> DeleteSlotRequestTypeDef:
    return {
        "slotId": ...,
    }


# DeleteSlotRequestTypeDef definition

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

DeleteSlotTypeRequestTypeDef#

# DeleteSlotTypeRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DeleteSlotTypeRequestTypeDef


def get_value() -> DeleteSlotTypeRequestTypeDef:
    return {
        "slotTypeId": ...,
    }


# DeleteSlotTypeRequestTypeDef definition

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

DeleteTestSetRequestTypeDef#

# DeleteTestSetRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DeleteTestSetRequestTypeDef


def get_value() -> DeleteTestSetRequestTypeDef:
    return {
        "testSetId": ...,
    }


# DeleteTestSetRequestTypeDef definition

class DeleteTestSetRequestTypeDef(TypedDict):
    testSetId: str,

DeleteUtterancesRequestTypeDef#

# DeleteUtterancesRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DeleteUtterancesRequestTypeDef


def get_value() -> DeleteUtterancesRequestTypeDef:
    return {
        "botId": ...,
    }


# DeleteUtterancesRequestTypeDef definition

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

DescribeBotAliasRequestTypeDef#

# DescribeBotAliasRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeBotAliasRequestTypeDef


def get_value() -> DescribeBotAliasRequestTypeDef:
    return {
        "botAliasId": ...,
    }


# DescribeBotAliasRequestTypeDef definition

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

WaiterConfigTypeDef#

# WaiterConfigTypeDef TypedDict 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],

ParentBotNetworkTypeDef#

# ParentBotNetworkTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ParentBotNetworkTypeDef


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


# ParentBotNetworkTypeDef definition

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

DescribeBotLocaleRequestTypeDef#

# DescribeBotLocaleRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeBotLocaleRequestTypeDef


def get_value() -> DescribeBotLocaleRequestTypeDef:
    return {
        "botId": ...,
    }


# DescribeBotLocaleRequestTypeDef definition

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

DescribeBotRecommendationRequestTypeDef#

# DescribeBotRecommendationRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeBotRecommendationRequestTypeDef


def get_value() -> DescribeBotRecommendationRequestTypeDef:
    return {
        "botId": ...,
    }


# DescribeBotRecommendationRequestTypeDef definition

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

EncryptionSettingTypeDef#

# EncryptionSettingTypeDef TypedDict 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],

DescribeBotReplicaRequestTypeDef#

# DescribeBotReplicaRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeBotReplicaRequestTypeDef


def get_value() -> DescribeBotReplicaRequestTypeDef:
    return {
        "botId": ...,
    }


# DescribeBotReplicaRequestTypeDef definition

class DescribeBotReplicaRequestTypeDef(TypedDict):
    botId: str,
    replicaRegion: str,

DescribeBotRequestTypeDef#

# DescribeBotRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeBotRequestTypeDef


def get_value() -> DescribeBotRequestTypeDef:
    return {
        "botId": ...,
    }


# DescribeBotRequestTypeDef definition

class DescribeBotRequestTypeDef(TypedDict):
    botId: str,

DescribeBotResourceGenerationRequestTypeDef#

# DescribeBotResourceGenerationRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeBotResourceGenerationRequestTypeDef


def get_value() -> DescribeBotResourceGenerationRequestTypeDef:
    return {
        "botId": ...,
    }


# DescribeBotResourceGenerationRequestTypeDef definition

class DescribeBotResourceGenerationRequestTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    generationId: str,

DescribeBotVersionRequestTypeDef#

# DescribeBotVersionRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeBotVersionRequestTypeDef


def get_value() -> DescribeBotVersionRequestTypeDef:
    return {
        "botId": ...,
    }


# DescribeBotVersionRequestTypeDef definition

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

DescribeCustomVocabularyMetadataRequestTypeDef#

# DescribeCustomVocabularyMetadataRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeCustomVocabularyMetadataRequestTypeDef


def get_value() -> DescribeCustomVocabularyMetadataRequestTypeDef:
    return {
        "botId": ...,
    }


# DescribeCustomVocabularyMetadataRequestTypeDef definition

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

DescribeExportRequestTypeDef#

# DescribeExportRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeExportRequestTypeDef


def get_value() -> DescribeExportRequestTypeDef:
    return {
        "exportId": ...,
    }


# DescribeExportRequestTypeDef definition

class DescribeExportRequestTypeDef(TypedDict):
    exportId: str,

DescribeImportRequestTypeDef#

# DescribeImportRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeImportRequestTypeDef


def get_value() -> DescribeImportRequestTypeDef:
    return {
        "importId": ...,
    }


# DescribeImportRequestTypeDef definition

class DescribeImportRequestTypeDef(TypedDict):
    importId: str,

DescribeIntentRequestTypeDef#

# DescribeIntentRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeIntentRequestTypeDef


def get_value() -> DescribeIntentRequestTypeDef:
    return {
        "intentId": ...,
    }


# DescribeIntentRequestTypeDef definition

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

SlotPriorityTypeDef#

# SlotPriorityTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import SlotPriorityTypeDef


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


# SlotPriorityTypeDef definition

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

DescribeResourcePolicyRequestTypeDef#

# DescribeResourcePolicyRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeResourcePolicyRequestTypeDef


def get_value() -> DescribeResourcePolicyRequestTypeDef:
    return {
        "resourceArn": ...,
    }


# DescribeResourcePolicyRequestTypeDef definition

class DescribeResourcePolicyRequestTypeDef(TypedDict):
    resourceArn: str,

DescribeSlotRequestTypeDef#

# DescribeSlotRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeSlotRequestTypeDef


def get_value() -> DescribeSlotRequestTypeDef:
    return {
        "slotId": ...,
    }


# DescribeSlotRequestTypeDef definition

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

DescribeSlotTypeRequestTypeDef#

# DescribeSlotTypeRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeSlotTypeRequestTypeDef


def get_value() -> DescribeSlotTypeRequestTypeDef:
    return {
        "slotTypeId": ...,
    }


# DescribeSlotTypeRequestTypeDef definition

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

DescribeTestExecutionRequestTypeDef#

# DescribeTestExecutionRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeTestExecutionRequestTypeDef


def get_value() -> DescribeTestExecutionRequestTypeDef:
    return {
        "testExecutionId": ...,
    }


# DescribeTestExecutionRequestTypeDef definition

class DescribeTestExecutionRequestTypeDef(TypedDict):
    testExecutionId: str,

DescribeTestSetDiscrepancyReportRequestTypeDef#

# DescribeTestSetDiscrepancyReportRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeTestSetDiscrepancyReportRequestTypeDef


def get_value() -> DescribeTestSetDiscrepancyReportRequestTypeDef:
    return {
        "testSetDiscrepancyReportId": ...,
    }


# DescribeTestSetDiscrepancyReportRequestTypeDef definition

class DescribeTestSetDiscrepancyReportRequestTypeDef(TypedDict):
    testSetDiscrepancyReportId: str,

DescribeTestSetGenerationRequestTypeDef#

# DescribeTestSetGenerationRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeTestSetGenerationRequestTypeDef


def get_value() -> DescribeTestSetGenerationRequestTypeDef:
    return {
        "testSetGenerationId": ...,
    }


# DescribeTestSetGenerationRequestTypeDef definition

class DescribeTestSetGenerationRequestTypeDef(TypedDict):
    testSetGenerationId: str,

TestSetStorageLocationTypeDef#

# TestSetStorageLocationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import TestSetStorageLocationTypeDef


def get_value() -> TestSetStorageLocationTypeDef:
    return {
        "s3BucketName": ...,
    }


# TestSetStorageLocationTypeDef definition

class TestSetStorageLocationTypeDef(TypedDict):
    s3BucketName: str,
    s3Path: str,
    kmsKeyArn: NotRequired[str],

DescribeTestSetRequestTypeDef#

# DescribeTestSetRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeTestSetRequestTypeDef


def get_value() -> DescribeTestSetRequestTypeDef:
    return {
        "testSetId": ...,
    }


# DescribeTestSetRequestTypeDef definition

class DescribeTestSetRequestTypeDef(TypedDict):
    testSetId: str,

DialogActionTypeDef#

# DialogActionTypeDef TypedDict 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

ElicitationCodeHookInvocationSettingTypeDef#

# ElicitationCodeHookInvocationSettingTypeDef TypedDict 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],

ExactResponseFieldsTypeDef#

# ExactResponseFieldsTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ExactResponseFieldsTypeDef


def get_value() -> ExactResponseFieldsTypeDef:
    return {
        "questionField": ...,
    }


# ExactResponseFieldsTypeDef definition

class ExactResponseFieldsTypeDef(TypedDict):
    questionField: str,
    answerField: str,

ExportFilterTypeDef#

# ExportFilterTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ExportFilterTypeDef


def get_value() -> ExportFilterTypeDef:
    return {
        "name": ...,
    }


# ExportFilterTypeDef definition

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

TestSetExportSpecificationTypeDef#

# TestSetExportSpecificationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import TestSetExportSpecificationTypeDef


def get_value() -> TestSetExportSpecificationTypeDef:
    return {
        "testSetId": ...,
    }


# TestSetExportSpecificationTypeDef definition

class TestSetExportSpecificationTypeDef(TypedDict):
    testSetId: str,

ExportSortByTypeDef#

# ExportSortByTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ExportSortByTypeDef


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


# ExportSortByTypeDef definition

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

GenerateBotElementRequestTypeDef#

# GenerateBotElementRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import GenerateBotElementRequestTypeDef


def get_value() -> GenerateBotElementRequestTypeDef:
    return {
        "intentId": ...,
    }


# GenerateBotElementRequestTypeDef definition

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

GenerationSortByTypeDef#

# GenerationSortByTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import GenerationSortByTypeDef


def get_value() -> GenerationSortByTypeDef:
    return {
        "attribute": ...,
    }


# GenerationSortByTypeDef definition

class GenerationSortByTypeDef(TypedDict):
    attribute: GenerationSortByAttributeType,  # (1)
    order: SortOrderType,  # (2)
  1. See GenerationSortByAttributeType
  2. See SortOrderType

GenerationSummaryTypeDef#

# GenerationSummaryTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import GenerationSummaryTypeDef


def get_value() -> GenerationSummaryTypeDef:
    return {
        "generationId": ...,
    }


# GenerationSummaryTypeDef definition

class GenerationSummaryTypeDef(TypedDict):
    generationId: NotRequired[str],
    generationStatus: NotRequired[GenerationStatusType],  # (1)
    creationDateTime: NotRequired[datetime.datetime],
    lastUpdatedDateTime: NotRequired[datetime.datetime],
  1. See GenerationStatusType

GetTestExecutionArtifactsUrlRequestTypeDef#

# GetTestExecutionArtifactsUrlRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import GetTestExecutionArtifactsUrlRequestTypeDef


def get_value() -> GetTestExecutionArtifactsUrlRequestTypeDef:
    return {
        "testExecutionId": ...,
    }


# GetTestExecutionArtifactsUrlRequestTypeDef definition

class GetTestExecutionArtifactsUrlRequestTypeDef(TypedDict):
    testExecutionId: str,

GrammarSlotTypeSourceTypeDef#

# GrammarSlotTypeSourceTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import GrammarSlotTypeSourceTypeDef


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


# GrammarSlotTypeSourceTypeDef definition

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

ImportFilterTypeDef#

# ImportFilterTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ImportFilterTypeDef


def get_value() -> ImportFilterTypeDef:
    return {
        "name": ...,
    }


# ImportFilterTypeDef definition

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

ImportSortByTypeDef#

# ImportSortByTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ImportSortByTypeDef


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


# ImportSortByTypeDef definition

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

ImportSummaryTypeDef#

# ImportSummaryTypeDef TypedDict 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.datetime],
    lastUpdatedDateTime: NotRequired[datetime.datetime],
    importedResourceType: NotRequired[ImportResourceTypeType],  # (3)
  1. See ImportStatusType
  2. See MergeStrategyType
  3. See ImportResourceTypeType

IntentClassificationTestResultItemCountsTypeDef#

# IntentClassificationTestResultItemCountsTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import IntentClassificationTestResultItemCountsTypeDef


def get_value() -> IntentClassificationTestResultItemCountsTypeDef:
    return {
        "totalResultCount": ...,
    }


# IntentClassificationTestResultItemCountsTypeDef definition

class IntentClassificationTestResultItemCountsTypeDef(TypedDict):
    totalResultCount: int,
    intentMatchResultCounts: Dict[TestResultMatchStatusType, int],  # (1)
    speechTranscriptionResultCounts: NotRequired[Dict[TestResultMatchStatusType, int]],  # (1)
  1. See Dict[TestResultMatchStatusType, int]
  2. See Dict[TestResultMatchStatusType, int]

IntentFilterTypeDef#

# IntentFilterTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import IntentFilterTypeDef


def get_value() -> IntentFilterTypeDef:
    return {
        "name": ...,
    }


# IntentFilterTypeDef definition

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

IntentSortByTypeDef#

# IntentSortByTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import IntentSortByTypeDef


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


# IntentSortByTypeDef definition

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

InvokedIntentSampleTypeDef#

# InvokedIntentSampleTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import InvokedIntentSampleTypeDef


def get_value() -> InvokedIntentSampleTypeDef:
    return {
        "intentName": ...,
    }


# InvokedIntentSampleTypeDef definition

class InvokedIntentSampleTypeDef(TypedDict):
    intentName: NotRequired[str],

ListBotAliasReplicasRequestTypeDef#

# ListBotAliasReplicasRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListBotAliasReplicasRequestTypeDef


def get_value() -> ListBotAliasReplicasRequestTypeDef:
    return {
        "botId": ...,
    }


# ListBotAliasReplicasRequestTypeDef definition

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

ListBotAliasesRequestTypeDef#

# ListBotAliasesRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListBotAliasesRequestTypeDef


def get_value() -> ListBotAliasesRequestTypeDef:
    return {
        "botId": ...,
    }


# ListBotAliasesRequestTypeDef definition

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

ListBotRecommendationsRequestTypeDef#

# ListBotRecommendationsRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListBotRecommendationsRequestTypeDef


def get_value() -> ListBotRecommendationsRequestTypeDef:
    return {
        "botId": ...,
    }


# ListBotRecommendationsRequestTypeDef definition

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

ListBotReplicasRequestTypeDef#

# ListBotReplicasRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListBotReplicasRequestTypeDef


def get_value() -> ListBotReplicasRequestTypeDef:
    return {
        "botId": ...,
    }


# ListBotReplicasRequestTypeDef definition

class ListBotReplicasRequestTypeDef(TypedDict):
    botId: str,

ListCustomVocabularyItemsRequestTypeDef#

# ListCustomVocabularyItemsRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListCustomVocabularyItemsRequestTypeDef


def get_value() -> ListCustomVocabularyItemsRequestTypeDef:
    return {
        "botId": ...,
    }


# ListCustomVocabularyItemsRequestTypeDef definition

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

ListRecommendedIntentsRequestTypeDef#

# ListRecommendedIntentsRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListRecommendedIntentsRequestTypeDef


def get_value() -> ListRecommendedIntentsRequestTypeDef:
    return {
        "botId": ...,
    }


# ListRecommendedIntentsRequestTypeDef definition

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

RecommendedIntentSummaryTypeDef#

# RecommendedIntentSummaryTypeDef TypedDict 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],

SessionDataSortByTypeDef#

# SessionDataSortByTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import SessionDataSortByTypeDef


def get_value() -> SessionDataSortByTypeDef:
    return {
        "name": ...,
    }


# SessionDataSortByTypeDef definition

class SessionDataSortByTypeDef(TypedDict):
    name: AnalyticsSessionSortByNameType,  # (1)
    order: AnalyticsSortOrderType,  # (2)
  1. See AnalyticsSessionSortByNameType
  2. See AnalyticsSortOrderType

SlotTypeFilterTypeDef#

# SlotTypeFilterTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import SlotTypeFilterTypeDef


def get_value() -> SlotTypeFilterTypeDef:
    return {
        "name": ...,
    }


# SlotTypeFilterTypeDef definition

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

SlotTypeSortByTypeDef#

# SlotTypeSortByTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import SlotTypeSortByTypeDef


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


# SlotTypeSortByTypeDef definition

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

SlotTypeSummaryTypeDef#

# SlotTypeSummaryTypeDef TypedDict 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.datetime],
    slotTypeCategory: NotRequired[SlotTypeCategoryType],  # (1)
  1. See SlotTypeCategoryType

SlotFilterTypeDef#

# SlotFilterTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import SlotFilterTypeDef


def get_value() -> SlotFilterTypeDef:
    return {
        "name": ...,
    }


# SlotFilterTypeDef definition

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

SlotSortByTypeDef#

# SlotSortByTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import SlotSortByTypeDef


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


# SlotSortByTypeDef definition

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

ListTagsForResourceRequestTypeDef#

# ListTagsForResourceRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListTagsForResourceRequestTypeDef


def get_value() -> ListTagsForResourceRequestTypeDef:
    return {
        "resourceARN": ...,
    }


# ListTagsForResourceRequestTypeDef definition

class ListTagsForResourceRequestTypeDef(TypedDict):
    resourceARN: str,

TestExecutionSortByTypeDef#

# TestExecutionSortByTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import TestExecutionSortByTypeDef


def get_value() -> TestExecutionSortByTypeDef:
    return {
        "attribute": ...,
    }


# TestExecutionSortByTypeDef definition

class TestExecutionSortByTypeDef(TypedDict):
    attribute: TestExecutionSortAttributeType,  # (1)
    order: SortOrderType,  # (2)
  1. See TestExecutionSortAttributeType
  2. See SortOrderType

ListTestSetRecordsRequestTypeDef#

# ListTestSetRecordsRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListTestSetRecordsRequestTypeDef


def get_value() -> ListTestSetRecordsRequestTypeDef:
    return {
        "testSetId": ...,
    }


# ListTestSetRecordsRequestTypeDef definition

class ListTestSetRecordsRequestTypeDef(TypedDict):
    testSetId: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

TestSetSortByTypeDef#

# TestSetSortByTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import TestSetSortByTypeDef


def get_value() -> TestSetSortByTypeDef:
    return {
        "attribute": ...,
    }


# TestSetSortByTypeDef definition

class TestSetSortByTypeDef(TypedDict):
    attribute: TestSetSortAttributeType,  # (1)
    order: SortOrderType,  # (2)
  1. See TestSetSortAttributeType
  2. See SortOrderType

UtteranceDataSortByTypeDef#

# UtteranceDataSortByTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import UtteranceDataSortByTypeDef


def get_value() -> UtteranceDataSortByTypeDef:
    return {
        "name": ...,
    }


# UtteranceDataSortByTypeDef definition

class UtteranceDataSortByTypeDef(TypedDict):
    name: AnalyticsUtteranceSortByNameType,  # (1)
    order: AnalyticsSortOrderType,  # (2)
  1. See AnalyticsUtteranceSortByNameType
  2. See AnalyticsSortOrderType

PlainTextMessageTypeDef#

# PlainTextMessageTypeDef TypedDict 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 TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import SSMLMessageTypeDef


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


# SSMLMessageTypeDef definition

class SSMLMessageTypeDef(TypedDict):
    value: str,

OverallTestResultItemTypeDef#

# OverallTestResultItemTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import OverallTestResultItemTypeDef


def get_value() -> OverallTestResultItemTypeDef:
    return {
        "multiTurnConversation": ...,
    }


# OverallTestResultItemTypeDef definition

class OverallTestResultItemTypeDef(TypedDict):
    multiTurnConversation: bool,
    totalResultCount: int,
    endToEndResultCounts: Dict[TestResultMatchStatusType, int],  # (1)
    speechTranscriptionResultCounts: NotRequired[Dict[TestResultMatchStatusType, int]],  # (1)
  1. See Dict[TestResultMatchStatusType, int]
  2. See Dict[TestResultMatchStatusType, int]

PathFormatOutputTypeDef#

# PathFormatOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import PathFormatOutputTypeDef


def get_value() -> PathFormatOutputTypeDef:
    return {
        "objectPrefixes": ...,
    }


# PathFormatOutputTypeDef definition

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

PathFormatTypeDef#

# PathFormatTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import PathFormatTypeDef


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


# PathFormatTypeDef definition

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

TextInputSpecificationTypeDef#

# TextInputSpecificationTypeDef TypedDict 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 TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import RelativeAggregationDurationTypeDef


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


# RelativeAggregationDurationTypeDef definition

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

RuntimeHintValueTypeDef#

# RuntimeHintValueTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import RuntimeHintValueTypeDef


def get_value() -> RuntimeHintValueTypeDef:
    return {
        "phrase": ...,
    }


# RuntimeHintValueTypeDef definition

class RuntimeHintValueTypeDef(TypedDict):
    phrase: str,

SampleValueTypeDef#

# SampleValueTypeDef TypedDict 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 TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import SlotDefaultValueTypeDef


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


# SlotDefaultValueTypeDef definition

class SlotDefaultValueTypeDef(TypedDict):
    defaultValue: str,

SlotResolutionSettingTypeDef#

# SlotResolutionSettingTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import SlotResolutionSettingTypeDef


def get_value() -> SlotResolutionSettingTypeDef:
    return {
        "slotResolutionStrategy": ...,
    }


# SlotResolutionSettingTypeDef definition

class SlotResolutionSettingTypeDef(TypedDict):
    slotResolutionStrategy: SlotResolutionStrategyType,  # (1)
  1. See SlotResolutionStrategyType

SlotResolutionTestResultItemCountsTypeDef#

# SlotResolutionTestResultItemCountsTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import SlotResolutionTestResultItemCountsTypeDef


def get_value() -> SlotResolutionTestResultItemCountsTypeDef:
    return {
        "totalResultCount": ...,
    }


# SlotResolutionTestResultItemCountsTypeDef definition

class SlotResolutionTestResultItemCountsTypeDef(TypedDict):
    totalResultCount: int,
    slotMatchResultCounts: Dict[TestResultMatchStatusType, int],  # (1)
    speechTranscriptionResultCounts: NotRequired[Dict[TestResultMatchStatusType, int]],  # (1)
  1. See Dict[TestResultMatchStatusType, int]
  2. See Dict[TestResultMatchStatusType, int]

SlotValueTypeDef#

# SlotValueTypeDef TypedDict 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 TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import SlotValueRegexFilterTypeDef


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


# SlotValueRegexFilterTypeDef definition

class SlotValueRegexFilterTypeDef(TypedDict):
    pattern: str,

StartBotResourceGenerationRequestTypeDef#

# StartBotResourceGenerationRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import StartBotResourceGenerationRequestTypeDef


def get_value() -> StartBotResourceGenerationRequestTypeDef:
    return {
        "generationInputPrompt": ...,
    }


# StartBotResourceGenerationRequestTypeDef definition

class StartBotResourceGenerationRequestTypeDef(TypedDict):
    generationInputPrompt: str,
    botId: str,
    botVersion: str,
    localeId: str,

StopBotRecommendationRequestTypeDef#

# StopBotRecommendationRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import StopBotRecommendationRequestTypeDef


def get_value() -> StopBotRecommendationRequestTypeDef:
    return {
        "botId": ...,
    }


# StopBotRecommendationRequestTypeDef definition

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

TagResourceRequestTypeDef#

# TagResourceRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import TagResourceRequestTypeDef


def get_value() -> TagResourceRequestTypeDef:
    return {
        "resourceARN": ...,
    }


# TagResourceRequestTypeDef definition

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

TestSetIntentDiscrepancyItemTypeDef#

# TestSetIntentDiscrepancyItemTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import TestSetIntentDiscrepancyItemTypeDef


def get_value() -> TestSetIntentDiscrepancyItemTypeDef:
    return {
        "intentName": ...,
    }


# TestSetIntentDiscrepancyItemTypeDef definition

class TestSetIntentDiscrepancyItemTypeDef(TypedDict):
    intentName: str,
    errorMessage: str,

TestSetSlotDiscrepancyItemTypeDef#

# TestSetSlotDiscrepancyItemTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import TestSetSlotDiscrepancyItemTypeDef


def get_value() -> TestSetSlotDiscrepancyItemTypeDef:
    return {
        "intentName": ...,
    }


# TestSetSlotDiscrepancyItemTypeDef definition

class TestSetSlotDiscrepancyItemTypeDef(TypedDict):
    intentName: str,
    slotName: str,
    errorMessage: str,

TestSetDiscrepancyReportBotAliasTargetTypeDef#

# TestSetDiscrepancyReportBotAliasTargetTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import TestSetDiscrepancyReportBotAliasTargetTypeDef


def get_value() -> TestSetDiscrepancyReportBotAliasTargetTypeDef:
    return {
        "botId": ...,
    }


# TestSetDiscrepancyReportBotAliasTargetTypeDef definition

class TestSetDiscrepancyReportBotAliasTargetTypeDef(TypedDict):
    botId: str,
    botAliasId: str,
    localeId: str,

TestSetImportInputLocationTypeDef#

# TestSetImportInputLocationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import TestSetImportInputLocationTypeDef


def get_value() -> TestSetImportInputLocationTypeDef:
    return {
        "s3BucketName": ...,
    }


# TestSetImportInputLocationTypeDef definition

class TestSetImportInputLocationTypeDef(TypedDict):
    s3BucketName: str,
    s3Path: str,

UntagResourceRequestTypeDef#

# UntagResourceRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import UntagResourceRequestTypeDef


def get_value() -> UntagResourceRequestTypeDef:
    return {
        "resourceARN": ...,
    }


# UntagResourceRequestTypeDef definition

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

UpdateExportRequestTypeDef#

# UpdateExportRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import UpdateExportRequestTypeDef


def get_value() -> UpdateExportRequestTypeDef:
    return {
        "exportId": ...,
    }


# UpdateExportRequestTypeDef definition

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

UpdateResourcePolicyRequestTypeDef#

# UpdateResourcePolicyRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import UpdateResourcePolicyRequestTypeDef


def get_value() -> UpdateResourcePolicyRequestTypeDef:
    return {
        "resourceArn": ...,
    }


# UpdateResourcePolicyRequestTypeDef definition

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

UpdateTestSetRequestTypeDef#

# UpdateTestSetRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import UpdateTestSetRequestTypeDef


def get_value() -> UpdateTestSetRequestTypeDef:
    return {
        "testSetId": ...,
    }


# UpdateTestSetRequestTypeDef definition

class UpdateTestSetRequestTypeDef(TypedDict):
    testSetId: str,
    testSetName: str,
    description: NotRequired[str],

UserTurnSlotOutputTypeDef#

# UserTurnSlotOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import UserTurnSlotOutputTypeDef


def get_value() -> UserTurnSlotOutputTypeDef:
    return {
        "value": ...,
    }


# UserTurnSlotOutputTypeDef definition

class UserTurnSlotOutputTypeDef(TypedDict):
    value: NotRequired[str],
    values: NotRequired[List[Dict[str, Any]]],
    subSlots: NotRequired[Dict[str, Dict[str, Any]]],

UtteranceAudioInputSpecificationTypeDef#

# UtteranceAudioInputSpecificationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import UtteranceAudioInputSpecificationTypeDef


def get_value() -> UtteranceAudioInputSpecificationTypeDef:
    return {
        "audioFileS3Location": ...,
    }


# UtteranceAudioInputSpecificationTypeDef definition

class UtteranceAudioInputSpecificationTypeDef(TypedDict):
    audioFileS3Location: str,

AgentTurnResultTypeDef#

# AgentTurnResultTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import AgentTurnResultTypeDef


def get_value() -> AgentTurnResultTypeDef:
    return {
        "expectedAgentPrompt": ...,
    }


# AgentTurnResultTypeDef definition

class AgentTurnResultTypeDef(TypedDict):
    expectedAgentPrompt: str,
    actualAgentPrompt: NotRequired[str],
    errorDetails: NotRequired[ExecutionErrorDetailsTypeDef],  # (1)
    actualElicitedSlot: NotRequired[str],
    actualIntent: NotRequired[str],
  1. See ExecutionErrorDetailsTypeDef

AnalyticsIntentResultTypeDef#

# AnalyticsIntentResultTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import AnalyticsIntentResultTypeDef


def get_value() -> AnalyticsIntentResultTypeDef:
    return {
        "binKeys": ...,
    }


# AnalyticsIntentResultTypeDef definition

class AnalyticsIntentResultTypeDef(TypedDict):
    binKeys: NotRequired[List[AnalyticsBinKeyTypeDef]],  # (1)
    groupByKeys: NotRequired[List[AnalyticsIntentGroupByKeyTypeDef]],  # (2)
    metricsResults: NotRequired[List[AnalyticsIntentMetricResultTypeDef]],  # (3)
  1. See List[AnalyticsBinKeyTypeDef]
  2. See List[AnalyticsIntentGroupByKeyTypeDef]
  3. See List[AnalyticsIntentMetricResultTypeDef]

AnalyticsIntentStageResultTypeDef#

# AnalyticsIntentStageResultTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import AnalyticsIntentStageResultTypeDef


def get_value() -> AnalyticsIntentStageResultTypeDef:
    return {
        "binKeys": ...,
    }


# AnalyticsIntentStageResultTypeDef definition

class AnalyticsIntentStageResultTypeDef(TypedDict):
    binKeys: NotRequired[List[AnalyticsBinKeyTypeDef]],  # (1)
    groupByKeys: NotRequired[List[AnalyticsIntentStageGroupByKeyTypeDef]],  # (2)
    metricsResults: NotRequired[List[AnalyticsIntentStageMetricResultTypeDef]],  # (3)
  1. See List[AnalyticsBinKeyTypeDef]
  2. See List[AnalyticsIntentStageGroupByKeyTypeDef]
  3. See List[AnalyticsIntentStageMetricResultTypeDef]

AnalyticsSessionResultTypeDef#

# AnalyticsSessionResultTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import AnalyticsSessionResultTypeDef


def get_value() -> AnalyticsSessionResultTypeDef:
    return {
        "binKeys": ...,
    }


# AnalyticsSessionResultTypeDef definition

class AnalyticsSessionResultTypeDef(TypedDict):
    binKeys: NotRequired[List[AnalyticsBinKeyTypeDef]],  # (1)
    groupByKeys: NotRequired[List[AnalyticsSessionGroupByKeyTypeDef]],  # (2)
    metricsResults: NotRequired[List[AnalyticsSessionMetricResultTypeDef]],  # (3)
  1. See List[AnalyticsBinKeyTypeDef]
  2. See List[AnalyticsSessionGroupByKeyTypeDef]
  3. See List[AnalyticsSessionMetricResultTypeDef]

AnalyticsUtteranceResultTypeDef#

# AnalyticsUtteranceResultTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import AnalyticsUtteranceResultTypeDef


def get_value() -> AnalyticsUtteranceResultTypeDef:
    return {
        "binKeys": ...,
    }


# AnalyticsUtteranceResultTypeDef definition

class AnalyticsUtteranceResultTypeDef(TypedDict):
    binKeys: NotRequired[List[AnalyticsBinKeyTypeDef]],  # (1)
    groupByKeys: NotRequired[List[AnalyticsUtteranceGroupByKeyTypeDef]],  # (2)
    metricsResults: NotRequired[List[AnalyticsUtteranceMetricResultTypeDef]],  # (3)
    attributeResults: NotRequired[List[AnalyticsUtteranceAttributeResultTypeDef]],  # (4)
  1. See List[AnalyticsBinKeyTypeDef]
  2. See List[AnalyticsUtteranceGroupByKeyTypeDef]
  3. See List[AnalyticsUtteranceMetricResultTypeDef]
  4. See List[AnalyticsUtteranceAttributeResultTypeDef]

SearchAssociatedTranscriptsRequestTypeDef#

# SearchAssociatedTranscriptsRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import SearchAssociatedTranscriptsRequestTypeDef


def get_value() -> SearchAssociatedTranscriptsRequestTypeDef:
    return {
        "botId": ...,
    }


# SearchAssociatedTranscriptsRequestTypeDef definition

class SearchAssociatedTranscriptsRequestTypeDef(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 Sequence[AssociatedTranscriptFilterTypeDef]
  2. See SearchOrderType

AudioAndDTMFInputSpecificationTypeDef#

# AudioAndDTMFInputSpecificationTypeDef TypedDict 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 TypedDict 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

BatchCreateCustomVocabularyItemRequestTypeDef#

# BatchCreateCustomVocabularyItemRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import BatchCreateCustomVocabularyItemRequestTypeDef


def get_value() -> BatchCreateCustomVocabularyItemRequestTypeDef:
    return {
        "botId": ...,
    }


# BatchCreateCustomVocabularyItemRequestTypeDef definition

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

BatchUpdateCustomVocabularyItemRequestTypeDef#

# BatchUpdateCustomVocabularyItemRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import BatchUpdateCustomVocabularyItemRequestTypeDef


def get_value() -> BatchUpdateCustomVocabularyItemRequestTypeDef:
    return {
        "botId": ...,
    }


# BatchUpdateCustomVocabularyItemRequestTypeDef definition

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

BatchCreateCustomVocabularyItemResponseTypeDef#

# BatchCreateCustomVocabularyItemResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import BatchCreateCustomVocabularyItemResponseTypeDef


def get_value() -> BatchCreateCustomVocabularyItemResponseTypeDef:
    return {
        "botId": ...,
    }


# BatchCreateCustomVocabularyItemResponseTypeDef definition

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

BatchDeleteCustomVocabularyItemResponseTypeDef#

# BatchDeleteCustomVocabularyItemResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import BatchDeleteCustomVocabularyItemResponseTypeDef


def get_value() -> BatchDeleteCustomVocabularyItemResponseTypeDef:
    return {
        "botId": ...,
    }


# BatchDeleteCustomVocabularyItemResponseTypeDef definition

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

BatchUpdateCustomVocabularyItemResponseTypeDef#

# BatchUpdateCustomVocabularyItemResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import BatchUpdateCustomVocabularyItemResponseTypeDef


def get_value() -> BatchUpdateCustomVocabularyItemResponseTypeDef:
    return {
        "botId": ...,
    }


# BatchUpdateCustomVocabularyItemResponseTypeDef definition

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

BuildBotLocaleResponseTypeDef#

# BuildBotLocaleResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import BuildBotLocaleResponseTypeDef


def get_value() -> BuildBotLocaleResponseTypeDef:
    return {
        "botId": ...,
    }


# BuildBotLocaleResponseTypeDef definition

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

CreateBotReplicaResponseTypeDef#

# CreateBotReplicaResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import CreateBotReplicaResponseTypeDef


def get_value() -> CreateBotReplicaResponseTypeDef:
    return {
        "botId": ...,
    }


# CreateBotReplicaResponseTypeDef definition

class CreateBotReplicaResponseTypeDef(TypedDict):
    botId: str,
    replicaRegion: str,
    sourceRegion: str,
    creationDateTime: datetime.datetime,
    botReplicaStatus: BotReplicaStatusType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BotReplicaStatusType
  2. See ResponseMetadataTypeDef

CreateResourcePolicyResponseTypeDef#

# CreateResourcePolicyResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import CreateResourcePolicyResponseTypeDef


def get_value() -> CreateResourcePolicyResponseTypeDef:
    return {
        "resourceArn": ...,
    }


# CreateResourcePolicyResponseTypeDef definition

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

CreateResourcePolicyStatementResponseTypeDef#

# CreateResourcePolicyStatementResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import CreateResourcePolicyStatementResponseTypeDef


def get_value() -> CreateResourcePolicyStatementResponseTypeDef:
    return {
        "resourceArn": ...,
    }


# CreateResourcePolicyStatementResponseTypeDef definition

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

CreateUploadUrlResponseTypeDef#

# CreateUploadUrlResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import CreateUploadUrlResponseTypeDef


def get_value() -> CreateUploadUrlResponseTypeDef:
    return {
        "importId": ...,
    }


# CreateUploadUrlResponseTypeDef definition

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

DeleteBotAliasResponseTypeDef#

# DeleteBotAliasResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DeleteBotAliasResponseTypeDef


def get_value() -> DeleteBotAliasResponseTypeDef:
    return {
        "botAliasId": ...,
    }


# DeleteBotAliasResponseTypeDef definition

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

DeleteBotLocaleResponseTypeDef#

# DeleteBotLocaleResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DeleteBotLocaleResponseTypeDef


def get_value() -> DeleteBotLocaleResponseTypeDef:
    return {
        "botId": ...,
    }


# DeleteBotLocaleResponseTypeDef definition

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

DeleteBotReplicaResponseTypeDef#

# DeleteBotReplicaResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DeleteBotReplicaResponseTypeDef


def get_value() -> DeleteBotReplicaResponseTypeDef:
    return {
        "botId": ...,
    }


# DeleteBotReplicaResponseTypeDef definition

class DeleteBotReplicaResponseTypeDef(TypedDict):
    botId: str,
    replicaRegion: str,
    botReplicaStatus: BotReplicaStatusType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BotReplicaStatusType
  2. See ResponseMetadataTypeDef

DeleteBotResponseTypeDef#

# DeleteBotResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DeleteBotResponseTypeDef


def get_value() -> DeleteBotResponseTypeDef:
    return {
        "botId": ...,
    }


# DeleteBotResponseTypeDef definition

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

DeleteBotVersionResponseTypeDef#

# DeleteBotVersionResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DeleteBotVersionResponseTypeDef


def get_value() -> DeleteBotVersionResponseTypeDef:
    return {
        "botId": ...,
    }


# DeleteBotVersionResponseTypeDef definition

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

DeleteCustomVocabularyResponseTypeDef#

# DeleteCustomVocabularyResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DeleteCustomVocabularyResponseTypeDef


def get_value() -> DeleteCustomVocabularyResponseTypeDef:
    return {
        "botId": ...,
    }


# DeleteCustomVocabularyResponseTypeDef definition

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

DeleteExportResponseTypeDef#

# DeleteExportResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DeleteExportResponseTypeDef


def get_value() -> DeleteExportResponseTypeDef:
    return {
        "exportId": ...,
    }


# DeleteExportResponseTypeDef definition

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

DeleteImportResponseTypeDef#

# DeleteImportResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DeleteImportResponseTypeDef


def get_value() -> DeleteImportResponseTypeDef:
    return {
        "importId": ...,
    }


# DeleteImportResponseTypeDef definition

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

DeleteResourcePolicyResponseTypeDef#

# DeleteResourcePolicyResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DeleteResourcePolicyResponseTypeDef


def get_value() -> DeleteResourcePolicyResponseTypeDef:
    return {
        "resourceArn": ...,
    }


# DeleteResourcePolicyResponseTypeDef definition

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

DeleteResourcePolicyStatementResponseTypeDef#

# DeleteResourcePolicyStatementResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DeleteResourcePolicyStatementResponseTypeDef


def get_value() -> DeleteResourcePolicyStatementResponseTypeDef:
    return {
        "resourceArn": ...,
    }


# DeleteResourcePolicyStatementResponseTypeDef definition

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

DescribeBotReplicaResponseTypeDef#

# DescribeBotReplicaResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeBotReplicaResponseTypeDef


def get_value() -> DescribeBotReplicaResponseTypeDef:
    return {
        "botId": ...,
    }


# DescribeBotReplicaResponseTypeDef definition

class DescribeBotReplicaResponseTypeDef(TypedDict):
    botId: str,
    replicaRegion: str,
    sourceRegion: str,
    creationDateTime: datetime.datetime,
    botReplicaStatus: BotReplicaStatusType,  # (1)
    failureReasons: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BotReplicaStatusType
  2. See ResponseMetadataTypeDef

DescribeBotResourceGenerationResponseTypeDef#

# DescribeBotResourceGenerationResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeBotResourceGenerationResponseTypeDef


def get_value() -> DescribeBotResourceGenerationResponseTypeDef:
    return {
        "botId": ...,
    }


# DescribeBotResourceGenerationResponseTypeDef definition

class DescribeBotResourceGenerationResponseTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    generationId: str,
    failureReasons: List[str],
    generationStatus: GenerationStatusType,  # (1)
    generationInputPrompt: str,
    generatedBotLocaleUrl: str,
    creationDateTime: datetime.datetime,
    modelArn: str,
    lastUpdatedDateTime: datetime.datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See GenerationStatusType
  2. See ResponseMetadataTypeDef

DescribeCustomVocabularyMetadataResponseTypeDef#

# DescribeCustomVocabularyMetadataResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeCustomVocabularyMetadataResponseTypeDef


def get_value() -> DescribeCustomVocabularyMetadataResponseTypeDef:
    return {
        "botId": ...,
    }


# DescribeCustomVocabularyMetadataResponseTypeDef definition

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

DescribeResourcePolicyResponseTypeDef#

# DescribeResourcePolicyResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeResourcePolicyResponseTypeDef


def get_value() -> DescribeResourcePolicyResponseTypeDef:
    return {
        "resourceArn": ...,
    }


# DescribeResourcePolicyResponseTypeDef definition

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

EmptyResponseMetadataTypeDef#

# EmptyResponseMetadataTypeDef TypedDict 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

GetTestExecutionArtifactsUrlResponseTypeDef#

# GetTestExecutionArtifactsUrlResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import GetTestExecutionArtifactsUrlResponseTypeDef


def get_value() -> GetTestExecutionArtifactsUrlResponseTypeDef:
    return {
        "testExecutionId": ...,
    }


# GetTestExecutionArtifactsUrlResponseTypeDef definition

class GetTestExecutionArtifactsUrlResponseTypeDef(TypedDict):
    testExecutionId: str,
    downloadArtifactsUrl: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListCustomVocabularyItemsResponseTypeDef#

# ListCustomVocabularyItemsResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListCustomVocabularyItemsResponseTypeDef


def get_value() -> ListCustomVocabularyItemsResponseTypeDef:
    return {
        "botId": ...,
    }


# ListCustomVocabularyItemsResponseTypeDef definition

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

ListIntentPathsResponseTypeDef#

# ListIntentPathsResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListIntentPathsResponseTypeDef


def get_value() -> ListIntentPathsResponseTypeDef:
    return {
        "nodeSummaries": ...,
    }


# ListIntentPathsResponseTypeDef definition

class ListIntentPathsResponseTypeDef(TypedDict):
    nodeSummaries: List[AnalyticsIntentNodeSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See List[AnalyticsIntentNodeSummaryTypeDef]
  2. See ResponseMetadataTypeDef

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListTagsForResourceResponseTypeDef


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


# ListTagsForResourceResponseTypeDef definition

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

SearchAssociatedTranscriptsResponseTypeDef#

# SearchAssociatedTranscriptsResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import SearchAssociatedTranscriptsResponseTypeDef


def get_value() -> SearchAssociatedTranscriptsResponseTypeDef:
    return {
        "botId": ...,
    }


# 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 List[AssociatedTranscriptTypeDef]
  2. See ResponseMetadataTypeDef

StartBotResourceGenerationResponseTypeDef#

# StartBotResourceGenerationResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import StartBotResourceGenerationResponseTypeDef


def get_value() -> StartBotResourceGenerationResponseTypeDef:
    return {
        "generationInputPrompt": ...,
    }


# StartBotResourceGenerationResponseTypeDef definition

class StartBotResourceGenerationResponseTypeDef(TypedDict):
    generationInputPrompt: str,
    generationId: str,
    botId: str,
    botVersion: str,
    localeId: str,
    generationStatus: GenerationStatusType,  # (1)
    creationDateTime: datetime.datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See GenerationStatusType
  2. See ResponseMetadataTypeDef

StopBotRecommendationResponseTypeDef#

# StopBotRecommendationResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import StopBotRecommendationResponseTypeDef


def get_value() -> StopBotRecommendationResponseTypeDef:
    return {
        "botId": ...,
    }


# 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

UpdateResourcePolicyResponseTypeDef#

# UpdateResourcePolicyResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import UpdateResourcePolicyResponseTypeDef


def get_value() -> UpdateResourcePolicyResponseTypeDef:
    return {
        "resourceArn": ...,
    }


# UpdateResourcePolicyResponseTypeDef definition

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

BatchDeleteCustomVocabularyItemRequestTypeDef#

# BatchDeleteCustomVocabularyItemRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import BatchDeleteCustomVocabularyItemRequestTypeDef


def get_value() -> BatchDeleteCustomVocabularyItemRequestTypeDef:
    return {
        "botId": ...,
    }


# BatchDeleteCustomVocabularyItemRequestTypeDef definition

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

BedrockModelSpecificationTypeDef#

# BedrockModelSpecificationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import BedrockModelSpecificationTypeDef


def get_value() -> BedrockModelSpecificationTypeDef:
    return {
        "modelArn": ...,
    }


# BedrockModelSpecificationTypeDef definition

class BedrockModelSpecificationTypeDef(TypedDict):
    modelArn: str,
    guardrail: NotRequired[BedrockGuardrailConfigurationTypeDef],  # (1)
    traceStatus: NotRequired[BedrockTraceStatusType],  # (2)
    customPrompt: NotRequired[str],
  1. See BedrockGuardrailConfigurationTypeDef
  2. See BedrockTraceStatusType

BedrockKnowledgeStoreConfigurationTypeDef#

# BedrockKnowledgeStoreConfigurationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import BedrockKnowledgeStoreConfigurationTypeDef


def get_value() -> BedrockKnowledgeStoreConfigurationTypeDef:
    return {
        "bedrockKnowledgeBaseArn": ...,
    }


# BedrockKnowledgeStoreConfigurationTypeDef definition

class BedrockKnowledgeStoreConfigurationTypeDef(TypedDict):
    bedrockKnowledgeBaseArn: str,
    exactResponse: NotRequired[bool],
    exactResponseFields: NotRequired[BedrockKnowledgeStoreExactResponseFieldsTypeDef],  # (1)
  1. See BedrockKnowledgeStoreExactResponseFieldsTypeDef

ListBotAliasReplicasResponseTypeDef#

# ListBotAliasReplicasResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListBotAliasReplicasResponseTypeDef


def get_value() -> ListBotAliasReplicasResponseTypeDef:
    return {
        "botId": ...,
    }


# ListBotAliasReplicasResponseTypeDef definition

class ListBotAliasReplicasResponseTypeDef(TypedDict):
    botId: str,
    sourceRegion: str,
    replicaRegion: str,
    botAliasReplicaSummaries: List[BotAliasReplicaSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See List[BotAliasReplicaSummaryTypeDef]
  2. See ResponseMetadataTypeDef

ListBotAliasesResponseTypeDef#

# ListBotAliasesResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListBotAliasesResponseTypeDef


def get_value() -> ListBotAliasesResponseTypeDef:
    return {
        "botAliasSummaries": ...,
    }


# ListBotAliasesResponseTypeDef definition

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

TestExecutionTargetTypeDef#

# TestExecutionTargetTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import TestExecutionTargetTypeDef


def get_value() -> TestExecutionTargetTypeDef:
    return {
        "botAliasTarget": ...,
    }


# TestExecutionTargetTypeDef definition

class TestExecutionTargetTypeDef(TypedDict):
    botAliasTarget: NotRequired[BotAliasTestExecutionTargetTypeDef],  # (1)
  1. See BotAliasTestExecutionTargetTypeDef

BotImportSpecificationOutputTypeDef#

# BotImportSpecificationOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import BotImportSpecificationOutputTypeDef


def get_value() -> BotImportSpecificationOutputTypeDef:
    return {
        "botName": ...,
    }


# BotImportSpecificationOutputTypeDef definition

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

BotImportSpecificationTypeDef#

# BotImportSpecificationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import BotImportSpecificationTypeDef


def get_value() -> BotImportSpecificationTypeDef:
    return {
        "botName": ...,
    }


# BotImportSpecificationTypeDef definition

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

BotLocaleImportSpecificationTypeDef#

# BotLocaleImportSpecificationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import BotLocaleImportSpecificationTypeDef


def get_value() -> BotLocaleImportSpecificationTypeDef:
    return {
        "botId": ...,
    }


# BotLocaleImportSpecificationTypeDef definition

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

ListBotLocalesRequestTypeDef#

# ListBotLocalesRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListBotLocalesRequestTypeDef


def get_value() -> ListBotLocalesRequestTypeDef:
    return {
        "botId": ...,
    }


# ListBotLocalesRequestTypeDef definition

class ListBotLocalesRequestTypeDef(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 Sequence[BotLocaleFilterTypeDef]

ListBotLocalesResponseTypeDef#

# ListBotLocalesResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListBotLocalesResponseTypeDef


def get_value() -> ListBotLocalesResponseTypeDef:
    return {
        "botId": ...,
    }


# ListBotLocalesResponseTypeDef definition

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

CreateBotRequestTypeDef#

# CreateBotRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import CreateBotRequestTypeDef


def get_value() -> CreateBotRequestTypeDef:
    return {
        "botName": ...,
    }


# CreateBotRequestTypeDef definition

class CreateBotRequestTypeDef(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 Sequence[BotMemberTypeDef]

CreateBotResponseTypeDef#

# CreateBotResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import CreateBotResponseTypeDef


def get_value() -> CreateBotResponseTypeDef:
    return {
        "botId": ...,
    }


# CreateBotResponseTypeDef definition

class CreateBotResponseTypeDef(TypedDict):
    botId: str,
    botName: str,
    description: str,
    roleArn: str,
    dataPrivacy: DataPrivacyTypeDef,  # (1)
    idleSessionTTLInSeconds: int,
    botStatus: BotStatusType,  # (2)
    creationDateTime: datetime.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 List[BotMemberTypeDef]
  5. See ResponseMetadataTypeDef

DescribeBotResponseTypeDef#

# DescribeBotResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeBotResponseTypeDef


def get_value() -> DescribeBotResponseTypeDef:
    return {
        "botId": ...,
    }


# DescribeBotResponseTypeDef definition

class DescribeBotResponseTypeDef(TypedDict):
    botId: str,
    botName: str,
    description: str,
    roleArn: str,
    dataPrivacy: DataPrivacyTypeDef,  # (1)
    idleSessionTTLInSeconds: int,
    botStatus: BotStatusType,  # (2)
    creationDateTime: datetime.datetime,
    lastUpdatedDateTime: datetime.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 List[BotMemberTypeDef]
  5. See ResponseMetadataTypeDef

UpdateBotRequestTypeDef#

# UpdateBotRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import UpdateBotRequestTypeDef


def get_value() -> UpdateBotRequestTypeDef:
    return {
        "botId": ...,
    }


# UpdateBotRequestTypeDef definition

class UpdateBotRequestTypeDef(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 Sequence[BotMemberTypeDef]

UpdateBotResponseTypeDef#

# UpdateBotResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import UpdateBotResponseTypeDef


def get_value() -> UpdateBotResponseTypeDef:
    return {
        "botId": ...,
    }


# UpdateBotResponseTypeDef definition

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

BotRecommendationResultStatisticsTypeDef#

# BotRecommendationResultStatisticsTypeDef TypedDict 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 TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListBotRecommendationsResponseTypeDef


def get_value() -> ListBotRecommendationsResponseTypeDef:
    return {
        "botId": ...,
    }


# ListBotRecommendationsResponseTypeDef definition

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

ListBotReplicasResponseTypeDef#

# ListBotReplicasResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListBotReplicasResponseTypeDef


def get_value() -> ListBotReplicasResponseTypeDef:
    return {
        "botId": ...,
    }


# ListBotReplicasResponseTypeDef definition

class ListBotReplicasResponseTypeDef(TypedDict):
    botId: str,
    sourceRegion: str,
    botReplicaSummaries: List[BotReplicaSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See List[BotReplicaSummaryTypeDef]
  2. See ResponseMetadataTypeDef

ListBotsRequestTypeDef#

# ListBotsRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListBotsRequestTypeDef


def get_value() -> ListBotsRequestTypeDef:
    return {
        "sortBy": ...,
    }


# ListBotsRequestTypeDef definition

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

ListBotsResponseTypeDef#

# ListBotsResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListBotsResponseTypeDef


def get_value() -> ListBotsResponseTypeDef:
    return {
        "botSummaries": ...,
    }


# ListBotsResponseTypeDef definition

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

CreateBotVersionRequestTypeDef#

# CreateBotVersionRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import CreateBotVersionRequestTypeDef


def get_value() -> CreateBotVersionRequestTypeDef:
    return {
        "botId": ...,
    }


# CreateBotVersionRequestTypeDef definition

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

CreateBotVersionResponseTypeDef#

# CreateBotVersionResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import CreateBotVersionResponseTypeDef


def get_value() -> CreateBotVersionResponseTypeDef:
    return {
        "botId": ...,
    }


# CreateBotVersionResponseTypeDef definition

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

ListBotVersionReplicasRequestTypeDef#

# ListBotVersionReplicasRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListBotVersionReplicasRequestTypeDef


def get_value() -> ListBotVersionReplicasRequestTypeDef:
    return {
        "botId": ...,
    }


# ListBotVersionReplicasRequestTypeDef definition

class ListBotVersionReplicasRequestTypeDef(TypedDict):
    botId: str,
    replicaRegion: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    sortBy: NotRequired[BotVersionReplicaSortByTypeDef],  # (1)
  1. See BotVersionReplicaSortByTypeDef

ListBotVersionReplicasResponseTypeDef#

# ListBotVersionReplicasResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListBotVersionReplicasResponseTypeDef


def get_value() -> ListBotVersionReplicasResponseTypeDef:
    return {
        "botId": ...,
    }


# ListBotVersionReplicasResponseTypeDef definition

class ListBotVersionReplicasResponseTypeDef(TypedDict):
    botId: str,
    sourceRegion: str,
    replicaRegion: str,
    botVersionReplicaSummaries: List[BotVersionReplicaSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See List[BotVersionReplicaSummaryTypeDef]
  2. See ResponseMetadataTypeDef

ListBotVersionsRequestTypeDef#

# ListBotVersionsRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListBotVersionsRequestTypeDef


def get_value() -> ListBotVersionsRequestTypeDef:
    return {
        "botId": ...,
    }


# ListBotVersionsRequestTypeDef definition

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

ListBotVersionsResponseTypeDef#

# ListBotVersionsResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListBotVersionsResponseTypeDef


def get_value() -> ListBotVersionsResponseTypeDef:
    return {
        "botId": ...,
    }


# ListBotVersionsResponseTypeDef definition

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

ListBuiltInIntentsRequestTypeDef#

# ListBuiltInIntentsRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListBuiltInIntentsRequestTypeDef


def get_value() -> ListBuiltInIntentsRequestTypeDef:
    return {
        "localeId": ...,
    }


# ListBuiltInIntentsRequestTypeDef definition

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

ListBuiltInIntentsResponseTypeDef#

# ListBuiltInIntentsResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListBuiltInIntentsResponseTypeDef


def get_value() -> ListBuiltInIntentsResponseTypeDef:
    return {
        "builtInIntentSummaries": ...,
    }


# ListBuiltInIntentsResponseTypeDef definition

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

ListBuiltInSlotTypesRequestTypeDef#

# ListBuiltInSlotTypesRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListBuiltInSlotTypesRequestTypeDef


def get_value() -> ListBuiltInSlotTypesRequestTypeDef:
    return {
        "localeId": ...,
    }


# ListBuiltInSlotTypesRequestTypeDef definition

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

ListBuiltInSlotTypesResponseTypeDef#

# ListBuiltInSlotTypesResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListBuiltInSlotTypesResponseTypeDef


def get_value() -> ListBuiltInSlotTypesResponseTypeDef:
    return {
        "builtInSlotTypeSummaries": ...,
    }


# ListBuiltInSlotTypesResponseTypeDef definition

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

ImageResponseCardOutputTypeDef#

# ImageResponseCardOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ImageResponseCardOutputTypeDef


def get_value() -> ImageResponseCardOutputTypeDef:
    return {
        "title": ...,
    }


# ImageResponseCardOutputTypeDef definition

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

ImageResponseCardTypeDef#

# ImageResponseCardTypeDef TypedDict 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 Sequence[ButtonTypeDef]

TextLogDestinationTypeDef#

# TextLogDestinationTypeDef TypedDict 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 TypedDict 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

CompositeSlotTypeSettingOutputTypeDef#

# CompositeSlotTypeSettingOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import CompositeSlotTypeSettingOutputTypeDef


def get_value() -> CompositeSlotTypeSettingOutputTypeDef:
    return {
        "subSlots": ...,
    }


# CompositeSlotTypeSettingOutputTypeDef definition

class CompositeSlotTypeSettingOutputTypeDef(TypedDict):
    subSlots: NotRequired[List[SubSlotTypeCompositionTypeDef]],  # (1)
  1. See List[SubSlotTypeCompositionTypeDef]

CompositeSlotTypeSettingTypeDef#

# CompositeSlotTypeSettingTypeDef TypedDict 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 Sequence[SubSlotTypeCompositionTypeDef]

ConversationLevelTestResultItemTypeDef#

# ConversationLevelTestResultItemTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ConversationLevelTestResultItemTypeDef


def get_value() -> ConversationLevelTestResultItemTypeDef:
    return {
        "conversationId": ...,
    }


# ConversationLevelTestResultItemTypeDef definition

class ConversationLevelTestResultItemTypeDef(TypedDict):
    conversationId: str,
    endToEndResult: TestResultMatchStatusType,  # (1)
    intentClassificationResults: List[ConversationLevelIntentClassificationResultItemTypeDef],  # (3)
    slotResolutionResults: List[ConversationLevelSlotResolutionResultItemTypeDef],  # (4)
    speechTranscriptionResult: NotRequired[TestResultMatchStatusType],  # (1)
  1. See TestResultMatchStatusType
  2. See TestResultMatchStatusType
  3. See List[ConversationLevelIntentClassificationResultItemTypeDef]
  4. See List[ConversationLevelSlotResolutionResultItemTypeDef]

TestExecutionResultFilterByTypeDef#

# TestExecutionResultFilterByTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import TestExecutionResultFilterByTypeDef


def get_value() -> TestExecutionResultFilterByTypeDef:
    return {
        "resultTypeFilter": ...,
    }


# TestExecutionResultFilterByTypeDef definition

class TestExecutionResultFilterByTypeDef(TypedDict):
    resultTypeFilter: TestResultTypeFilterType,  # (1)
    conversationLevelTestResultsFilterBy: NotRequired[ConversationLevelTestResultsFilterByTypeDef],  # (2)
  1. See TestResultTypeFilterType
  2. See ConversationLevelTestResultsFilterByTypeDef

ConversationLogsDataSourceOutputTypeDef#

# ConversationLogsDataSourceOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ConversationLogsDataSourceOutputTypeDef


def get_value() -> ConversationLogsDataSourceOutputTypeDef:
    return {
        "botId": ...,
    }


# ConversationLogsDataSourceOutputTypeDef definition

class ConversationLogsDataSourceOutputTypeDef(TypedDict):
    botId: str,
    botAliasId: str,
    localeId: str,
    filter: ConversationLogsDataSourceFilterByOutputTypeDef,  # (1)
  1. See ConversationLogsDataSourceFilterByOutputTypeDef

ConversationLogsDataSourceFilterByTypeDef#

# ConversationLogsDataSourceFilterByTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ConversationLogsDataSourceFilterByTypeDef


def get_value() -> ConversationLogsDataSourceFilterByTypeDef:
    return {
        "startTime": ...,
    }


# ConversationLogsDataSourceFilterByTypeDef definition

class ConversationLogsDataSourceFilterByTypeDef(TypedDict):
    startTime: TimestampTypeDef,
    endTime: TimestampTypeDef,
    inputMode: ConversationLogsInputModeFilterType,  # (1)
  1. See ConversationLogsInputModeFilterType

DateRangeFilterTypeDef#

# DateRangeFilterTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DateRangeFilterTypeDef


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


# DateRangeFilterTypeDef definition

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

ListIntentMetricsRequestTypeDef#

# ListIntentMetricsRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListIntentMetricsRequestTypeDef


def get_value() -> ListIntentMetricsRequestTypeDef:
    return {
        "botId": ...,
    }


# ListIntentMetricsRequestTypeDef definition

class ListIntentMetricsRequestTypeDef(TypedDict):
    botId: str,
    startDateTime: TimestampTypeDef,
    endDateTime: TimestampTypeDef,
    metrics: Sequence[AnalyticsIntentMetricTypeDef],  # (1)
    binBy: NotRequired[Sequence[AnalyticsBinBySpecificationTypeDef]],  # (2)
    groupBy: NotRequired[Sequence[AnalyticsIntentGroupBySpecificationTypeDef]],  # (3)
    filters: NotRequired[Sequence[AnalyticsIntentFilterTypeDef]],  # (4)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
  1. See Sequence[AnalyticsIntentMetricTypeDef]
  2. See Sequence[AnalyticsBinBySpecificationTypeDef]
  3. See Sequence[AnalyticsIntentGroupBySpecificationTypeDef]
  4. See Sequence[AnalyticsIntentFilterTypeDef]

ListIntentPathsRequestTypeDef#

# ListIntentPathsRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListIntentPathsRequestTypeDef


def get_value() -> ListIntentPathsRequestTypeDef:
    return {
        "botId": ...,
    }


# ListIntentPathsRequestTypeDef definition

class ListIntentPathsRequestTypeDef(TypedDict):
    botId: str,
    startDateTime: TimestampTypeDef,
    endDateTime: TimestampTypeDef,
    intentPath: str,
    filters: NotRequired[Sequence[AnalyticsPathFilterTypeDef]],  # (1)
  1. See Sequence[AnalyticsPathFilterTypeDef]

ListIntentStageMetricsRequestTypeDef#

# ListIntentStageMetricsRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListIntentStageMetricsRequestTypeDef


def get_value() -> ListIntentStageMetricsRequestTypeDef:
    return {
        "botId": ...,
    }


# ListIntentStageMetricsRequestTypeDef definition

class ListIntentStageMetricsRequestTypeDef(TypedDict):
    botId: str,
    startDateTime: TimestampTypeDef,
    endDateTime: TimestampTypeDef,
    metrics: Sequence[AnalyticsIntentStageMetricTypeDef],  # (1)
    binBy: NotRequired[Sequence[AnalyticsBinBySpecificationTypeDef]],  # (2)
    groupBy: NotRequired[Sequence[AnalyticsIntentStageGroupBySpecificationTypeDef]],  # (3)
    filters: NotRequired[Sequence[AnalyticsIntentStageFilterTypeDef]],  # (4)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
  1. See Sequence[AnalyticsIntentStageMetricTypeDef]
  2. See Sequence[AnalyticsBinBySpecificationTypeDef]
  3. See Sequence[AnalyticsIntentStageGroupBySpecificationTypeDef]
  4. See Sequence[AnalyticsIntentStageFilterTypeDef]

ListSessionMetricsRequestTypeDef#

# ListSessionMetricsRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListSessionMetricsRequestTypeDef


def get_value() -> ListSessionMetricsRequestTypeDef:
    return {
        "botId": ...,
    }


# ListSessionMetricsRequestTypeDef definition

class ListSessionMetricsRequestTypeDef(TypedDict):
    botId: str,
    startDateTime: TimestampTypeDef,
    endDateTime: TimestampTypeDef,
    metrics: Sequence[AnalyticsSessionMetricTypeDef],  # (1)
    binBy: NotRequired[Sequence[AnalyticsBinBySpecificationTypeDef]],  # (2)
    groupBy: NotRequired[Sequence[AnalyticsSessionGroupBySpecificationTypeDef]],  # (3)
    filters: NotRequired[Sequence[AnalyticsSessionFilterTypeDef]],  # (4)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
  1. See Sequence[AnalyticsSessionMetricTypeDef]
  2. See Sequence[AnalyticsBinBySpecificationTypeDef]
  3. See Sequence[AnalyticsSessionGroupBySpecificationTypeDef]
  4. See Sequence[AnalyticsSessionFilterTypeDef]

ListUtteranceMetricsRequestTypeDef#

# ListUtteranceMetricsRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListUtteranceMetricsRequestTypeDef


def get_value() -> ListUtteranceMetricsRequestTypeDef:
    return {
        "botId": ...,
    }


# ListUtteranceMetricsRequestTypeDef definition

class ListUtteranceMetricsRequestTypeDef(TypedDict):
    botId: str,
    startDateTime: TimestampTypeDef,
    endDateTime: TimestampTypeDef,
    metrics: Sequence[AnalyticsUtteranceMetricTypeDef],  # (1)
    binBy: NotRequired[Sequence[AnalyticsBinBySpecificationTypeDef]],  # (2)
    groupBy: NotRequired[Sequence[AnalyticsUtteranceGroupBySpecificationTypeDef]],  # (3)
    attributes: NotRequired[Sequence[AnalyticsUtteranceAttributeTypeDef]],  # (4)
    filters: NotRequired[Sequence[AnalyticsUtteranceFilterTypeDef]],  # (5)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
  1. See Sequence[AnalyticsUtteranceMetricTypeDef]
  2. See Sequence[AnalyticsBinBySpecificationTypeDef]
  3. See Sequence[AnalyticsUtteranceGroupBySpecificationTypeDef]
  4. See Sequence[AnalyticsUtteranceAttributeTypeDef]
  5. See Sequence[AnalyticsUtteranceFilterTypeDef]

IntentSummaryTypeDef#

# IntentSummaryTypeDef TypedDict 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.datetime],
  1. See List[InputContextTypeDef]
  2. See List[OutputContextTypeDef]

GenerateBotElementResponseTypeDef#

# GenerateBotElementResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import GenerateBotElementResponseTypeDef


def get_value() -> GenerateBotElementResponseTypeDef:
    return {
        "botId": ...,
    }


# GenerateBotElementResponseTypeDef definition

class GenerateBotElementResponseTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    intentId: str,
    sampleUtterances: List[SampleUtteranceTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See List[SampleUtteranceTypeDef]
  2. See ResponseMetadataTypeDef

CreateResourcePolicyStatementRequestTypeDef#

# CreateResourcePolicyStatementRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import CreateResourcePolicyStatementRequestTypeDef


def get_value() -> CreateResourcePolicyStatementRequestTypeDef:
    return {
        "resourceArn": ...,
    }


# CreateResourcePolicyStatementRequestTypeDef definition

class CreateResourcePolicyStatementRequestTypeDef(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 Sequence[PrincipalTypeDef]

LexTranscriptFilterOutputTypeDef#

# LexTranscriptFilterOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import LexTranscriptFilterOutputTypeDef


def get_value() -> LexTranscriptFilterOutputTypeDef:
    return {
        "dateRangeFilter": ...,
    }


# LexTranscriptFilterOutputTypeDef definition

class LexTranscriptFilterOutputTypeDef(TypedDict):
    dateRangeFilter: NotRequired[DateRangeFilterOutputTypeDef],  # (1)
  1. See DateRangeFilterOutputTypeDef

DescribeBotAliasRequestWaitTypeDef#

# DescribeBotAliasRequestWaitTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeBotAliasRequestWaitTypeDef


def get_value() -> DescribeBotAliasRequestWaitTypeDef:
    return {
        "botAliasId": ...,
    }


# DescribeBotAliasRequestWaitTypeDef definition

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

DescribeBotLocaleRequestWaitExtraExtraTypeDef#

# DescribeBotLocaleRequestWaitExtraExtraTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeBotLocaleRequestWaitExtraExtraTypeDef


def get_value() -> DescribeBotLocaleRequestWaitExtraExtraTypeDef:
    return {
        "botId": ...,
    }


# DescribeBotLocaleRequestWaitExtraExtraTypeDef definition

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

DescribeBotLocaleRequestWaitExtraTypeDef#

# DescribeBotLocaleRequestWaitExtraTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeBotLocaleRequestWaitExtraTypeDef


def get_value() -> DescribeBotLocaleRequestWaitExtraTypeDef:
    return {
        "botId": ...,
    }


# DescribeBotLocaleRequestWaitExtraTypeDef definition

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

DescribeBotLocaleRequestWaitTypeDef#

# DescribeBotLocaleRequestWaitTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeBotLocaleRequestWaitTypeDef


def get_value() -> DescribeBotLocaleRequestWaitTypeDef:
    return {
        "botId": ...,
    }


# DescribeBotLocaleRequestWaitTypeDef definition

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

DescribeBotRequestWaitTypeDef#

# DescribeBotRequestWaitTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeBotRequestWaitTypeDef


def get_value() -> DescribeBotRequestWaitTypeDef:
    return {
        "botId": ...,
    }


# DescribeBotRequestWaitTypeDef definition

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

DescribeBotVersionRequestWaitTypeDef#

# DescribeBotVersionRequestWaitTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeBotVersionRequestWaitTypeDef


def get_value() -> DescribeBotVersionRequestWaitTypeDef:
    return {
        "botId": ...,
    }


# DescribeBotVersionRequestWaitTypeDef definition

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

DescribeExportRequestWaitTypeDef#

# DescribeExportRequestWaitTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeExportRequestWaitTypeDef


def get_value() -> DescribeExportRequestWaitTypeDef:
    return {
        "exportId": ...,
    }


# DescribeExportRequestWaitTypeDef definition

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

DescribeImportRequestWaitTypeDef#

# DescribeImportRequestWaitTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeImportRequestWaitTypeDef


def get_value() -> DescribeImportRequestWaitTypeDef:
    return {
        "importId": ...,
    }


# DescribeImportRequestWaitTypeDef definition

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

DescribeBotVersionResponseTypeDef#

# DescribeBotVersionResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeBotVersionResponseTypeDef


def get_value() -> DescribeBotVersionResponseTypeDef:
    return {
        "botId": ...,
    }


# 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.datetime,
    parentBotNetworks: List[ParentBotNetworkTypeDef],  # (3)
    botType: BotTypeType,  # (4)
    botMembers: List[BotMemberTypeDef],  # (5)
    ResponseMetadata: ResponseMetadataTypeDef,  # (6)
  1. See DataPrivacyTypeDef
  2. See BotStatusType
  3. See List[ParentBotNetworkTypeDef]
  4. See BotTypeType
  5. See List[BotMemberTypeDef]
  6. See ResponseMetadataTypeDef

UpdateBotRecommendationRequestTypeDef#

# UpdateBotRecommendationRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import UpdateBotRecommendationRequestTypeDef


def get_value() -> UpdateBotRecommendationRequestTypeDef:
    return {
        "botId": ...,
    }


# UpdateBotRecommendationRequestTypeDef definition

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

DescribeTestSetResponseTypeDef#

# DescribeTestSetResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeTestSetResponseTypeDef


def get_value() -> DescribeTestSetResponseTypeDef:
    return {
        "testSetId": ...,
    }


# DescribeTestSetResponseTypeDef definition

class DescribeTestSetResponseTypeDef(TypedDict):
    testSetId: str,
    testSetName: str,
    description: str,
    modality: TestSetModalityType,  # (1)
    status: TestSetStatusType,  # (2)
    roleArn: str,
    numTurns: int,
    storageLocation: TestSetStorageLocationTypeDef,  # (3)
    creationDateTime: datetime.datetime,
    lastUpdatedDateTime: datetime.datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See TestSetModalityType
  2. See TestSetStatusType
  3. See TestSetStorageLocationTypeDef
  4. See ResponseMetadataTypeDef

TestSetSummaryTypeDef#

# TestSetSummaryTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import TestSetSummaryTypeDef


def get_value() -> TestSetSummaryTypeDef:
    return {
        "testSetId": ...,
    }


# TestSetSummaryTypeDef definition

class TestSetSummaryTypeDef(TypedDict):
    testSetId: NotRequired[str],
    testSetName: NotRequired[str],
    description: NotRequired[str],
    modality: NotRequired[TestSetModalityType],  # (1)
    status: NotRequired[TestSetStatusType],  # (2)
    roleArn: NotRequired[str],
    numTurns: NotRequired[int],
    storageLocation: NotRequired[TestSetStorageLocationTypeDef],  # (3)
    creationDateTime: NotRequired[datetime.datetime],
    lastUpdatedDateTime: NotRequired[datetime.datetime],
  1. See TestSetModalityType
  2. See TestSetStatusType
  3. See TestSetStorageLocationTypeDef

UpdateTestSetResponseTypeDef#

# UpdateTestSetResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import UpdateTestSetResponseTypeDef


def get_value() -> UpdateTestSetResponseTypeDef:
    return {
        "testSetId": ...,
    }


# UpdateTestSetResponseTypeDef definition

class UpdateTestSetResponseTypeDef(TypedDict):
    testSetId: str,
    testSetName: str,
    description: str,
    modality: TestSetModalityType,  # (1)
    status: TestSetStatusType,  # (2)
    roleArn: str,
    numTurns: int,
    storageLocation: TestSetStorageLocationTypeDef,  # (3)
    creationDateTime: datetime.datetime,
    lastUpdatedDateTime: datetime.datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See TestSetModalityType
  2. See TestSetStatusType
  3. See TestSetStorageLocationTypeDef
  4. See ResponseMetadataTypeDef

OpensearchConfigurationOutputTypeDef#

# OpensearchConfigurationOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import OpensearchConfigurationOutputTypeDef


def get_value() -> OpensearchConfigurationOutputTypeDef:
    return {
        "domainEndpoint": ...,
    }


# OpensearchConfigurationOutputTypeDef definition

class OpensearchConfigurationOutputTypeDef(TypedDict):
    domainEndpoint: str,
    indexName: str,
    exactResponse: NotRequired[bool],
    exactResponseFields: NotRequired[ExactResponseFieldsTypeDef],  # (1)
    includeFields: NotRequired[List[str]],
  1. See ExactResponseFieldsTypeDef

OpensearchConfigurationTypeDef#

# OpensearchConfigurationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import OpensearchConfigurationTypeDef


def get_value() -> OpensearchConfigurationTypeDef:
    return {
        "domainEndpoint": ...,
    }


# OpensearchConfigurationTypeDef definition

class OpensearchConfigurationTypeDef(TypedDict):
    domainEndpoint: str,
    indexName: str,
    exactResponse: NotRequired[bool],
    exactResponseFields: NotRequired[ExactResponseFieldsTypeDef],  # (1)
    includeFields: NotRequired[Sequence[str]],
  1. See ExactResponseFieldsTypeDef

ExportResourceSpecificationTypeDef#

# ExportResourceSpecificationTypeDef TypedDict 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)
    testSetExportSpecification: NotRequired[TestSetExportSpecificationTypeDef],  # (4)
  1. See BotExportSpecificationTypeDef
  2. See BotLocaleExportSpecificationTypeDef
  3. See CustomVocabularyExportSpecificationTypeDef
  4. See TestSetExportSpecificationTypeDef

ListExportsRequestTypeDef#

# ListExportsRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListExportsRequestTypeDef


def get_value() -> ListExportsRequestTypeDef:
    return {
        "botId": ...,
    }


# ListExportsRequestTypeDef definition

class ListExportsRequestTypeDef(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 Sequence[ExportFilterTypeDef]

ListBotResourceGenerationsRequestTypeDef#

# ListBotResourceGenerationsRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListBotResourceGenerationsRequestTypeDef


def get_value() -> ListBotResourceGenerationsRequestTypeDef:
    return {
        "botId": ...,
    }


# ListBotResourceGenerationsRequestTypeDef definition

class ListBotResourceGenerationsRequestTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    sortBy: NotRequired[GenerationSortByTypeDef],  # (1)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
  1. See GenerationSortByTypeDef

ListBotResourceGenerationsResponseTypeDef#

# ListBotResourceGenerationsResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListBotResourceGenerationsResponseTypeDef


def get_value() -> ListBotResourceGenerationsResponseTypeDef:
    return {
        "botId": ...,
    }


# ListBotResourceGenerationsResponseTypeDef definition

class ListBotResourceGenerationsResponseTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    generationSummaries: List[GenerationSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See List[GenerationSummaryTypeDef]
  2. See ResponseMetadataTypeDef

GrammarSlotTypeSettingTypeDef#

# GrammarSlotTypeSettingTypeDef TypedDict 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

ListImportsRequestTypeDef#

# ListImportsRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListImportsRequestTypeDef


def get_value() -> ListImportsRequestTypeDef:
    return {
        "botId": ...,
    }


# ListImportsRequestTypeDef definition

class ListImportsRequestTypeDef(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 Sequence[ImportFilterTypeDef]

ListImportsResponseTypeDef#

# ListImportsResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListImportsResponseTypeDef


def get_value() -> ListImportsResponseTypeDef:
    return {
        "botId": ...,
    }


# ListImportsResponseTypeDef definition

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

IntentClassificationTestResultItemTypeDef#

# IntentClassificationTestResultItemTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import IntentClassificationTestResultItemTypeDef


def get_value() -> IntentClassificationTestResultItemTypeDef:
    return {
        "intentName": ...,
    }


# IntentClassificationTestResultItemTypeDef definition

class IntentClassificationTestResultItemTypeDef(TypedDict):
    intentName: str,
    multiTurnConversation: bool,
    resultCounts: IntentClassificationTestResultItemCountsTypeDef,  # (1)
  1. See IntentClassificationTestResultItemCountsTypeDef

ListIntentsRequestTypeDef#

# ListIntentsRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListIntentsRequestTypeDef


def get_value() -> ListIntentsRequestTypeDef:
    return {
        "botId": ...,
    }


# ListIntentsRequestTypeDef definition

class ListIntentsRequestTypeDef(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 Sequence[IntentFilterTypeDef]

SessionSpecificationTypeDef#

# SessionSpecificationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import SessionSpecificationTypeDef


def get_value() -> SessionSpecificationTypeDef:
    return {
        "botAliasId": ...,
    }


# SessionSpecificationTypeDef definition

class SessionSpecificationTypeDef(TypedDict):
    botAliasId: NotRequired[str],
    botVersion: NotRequired[str],
    localeId: NotRequired[str],
    channel: NotRequired[str],
    sessionId: NotRequired[str],
    conversationStartTime: NotRequired[datetime.datetime],
    conversationEndTime: NotRequired[datetime.datetime],
    conversationDurationSeconds: NotRequired[int],
    conversationEndState: NotRequired[ConversationEndStateType],  # (1)
    mode: NotRequired[AnalyticsModalityType],  # (2)
    numberOfTurns: NotRequired[int],
    invokedIntentSamples: NotRequired[List[InvokedIntentSampleTypeDef]],  # (3)
    originatingRequestId: NotRequired[str],
  1. See ConversationEndStateType
  2. See AnalyticsModalityType
  3. See List[InvokedIntentSampleTypeDef]

ListRecommendedIntentsResponseTypeDef#

# ListRecommendedIntentsResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListRecommendedIntentsResponseTypeDef


def get_value() -> ListRecommendedIntentsResponseTypeDef:
    return {
        "botId": ...,
    }


# ListRecommendedIntentsResponseTypeDef definition

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

ListSessionAnalyticsDataRequestTypeDef#

# ListSessionAnalyticsDataRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListSessionAnalyticsDataRequestTypeDef


def get_value() -> ListSessionAnalyticsDataRequestTypeDef:
    return {
        "botId": ...,
    }


# ListSessionAnalyticsDataRequestTypeDef definition

class ListSessionAnalyticsDataRequestTypeDef(TypedDict):
    botId: str,
    startDateTime: TimestampTypeDef,
    endDateTime: TimestampTypeDef,
    sortBy: NotRequired[SessionDataSortByTypeDef],  # (1)
    filters: NotRequired[Sequence[AnalyticsSessionFilterTypeDef]],  # (2)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
  1. See SessionDataSortByTypeDef
  2. See Sequence[AnalyticsSessionFilterTypeDef]

ListSlotTypesRequestTypeDef#

# ListSlotTypesRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListSlotTypesRequestTypeDef


def get_value() -> ListSlotTypesRequestTypeDef:
    return {
        "botId": ...,
    }


# ListSlotTypesRequestTypeDef definition

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

ListSlotTypesResponseTypeDef#

# ListSlotTypesResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListSlotTypesResponseTypeDef


def get_value() -> ListSlotTypesResponseTypeDef:
    return {
        "botId": ...,
    }


# ListSlotTypesResponseTypeDef definition

class ListSlotTypesResponseTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    slotTypeSummaries: List[SlotTypeSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See List[SlotTypeSummaryTypeDef]
  2. See ResponseMetadataTypeDef

ListSlotsRequestTypeDef#

# ListSlotsRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListSlotsRequestTypeDef


def get_value() -> ListSlotsRequestTypeDef:
    return {
        "botId": ...,
    }


# ListSlotsRequestTypeDef definition

class ListSlotsRequestTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    intentId: str,
    sortBy: NotRequired[SlotSortByTypeDef],  # (1)
    filters: NotRequired[Sequence[SlotFilterTypeDef]],  # (2)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
  1. See SlotSortByTypeDef
  2. See Sequence[SlotFilterTypeDef]

ListTestExecutionsRequestTypeDef#

# ListTestExecutionsRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListTestExecutionsRequestTypeDef


def get_value() -> ListTestExecutionsRequestTypeDef:
    return {
        "sortBy": ...,
    }


# ListTestExecutionsRequestTypeDef definition

class ListTestExecutionsRequestTypeDef(TypedDict):
    sortBy: NotRequired[TestExecutionSortByTypeDef],  # (1)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
  1. See TestExecutionSortByTypeDef

ListTestSetsRequestTypeDef#

# ListTestSetsRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListTestSetsRequestTypeDef


def get_value() -> ListTestSetsRequestTypeDef:
    return {
        "sortBy": ...,
    }


# ListTestSetsRequestTypeDef definition

class ListTestSetsRequestTypeDef(TypedDict):
    sortBy: NotRequired[TestSetSortByTypeDef],  # (1)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
  1. See TestSetSortByTypeDef

ListUtteranceAnalyticsDataRequestTypeDef#

# ListUtteranceAnalyticsDataRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListUtteranceAnalyticsDataRequestTypeDef


def get_value() -> ListUtteranceAnalyticsDataRequestTypeDef:
    return {
        "botId": ...,
    }


# ListUtteranceAnalyticsDataRequestTypeDef definition

class ListUtteranceAnalyticsDataRequestTypeDef(TypedDict):
    botId: str,
    startDateTime: TimestampTypeDef,
    endDateTime: TimestampTypeDef,
    sortBy: NotRequired[UtteranceDataSortByTypeDef],  # (1)
    filters: NotRequired[Sequence[AnalyticsUtteranceFilterTypeDef]],  # (2)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
  1. See UtteranceDataSortByTypeDef
  2. See Sequence[AnalyticsUtteranceFilterTypeDef]

OverallTestResultsTypeDef#

# OverallTestResultsTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import OverallTestResultsTypeDef


def get_value() -> OverallTestResultsTypeDef:
    return {
        "items": ...,
    }


# OverallTestResultsTypeDef definition

class OverallTestResultsTypeDef(TypedDict):
    items: List[OverallTestResultItemTypeDef],  # (1)
  1. See List[OverallTestResultItemTypeDef]

UtteranceAggregationDurationTypeDef#

# UtteranceAggregationDurationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import UtteranceAggregationDurationTypeDef


def get_value() -> UtteranceAggregationDurationTypeDef:
    return {
        "relativeAggregationDuration": ...,
    }


# UtteranceAggregationDurationTypeDef definition

class UtteranceAggregationDurationTypeDef(TypedDict):
    relativeAggregationDuration: RelativeAggregationDurationTypeDef,  # (1)
  1. See RelativeAggregationDurationTypeDef

RuntimeHintDetailsTypeDef#

# RuntimeHintDetailsTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import RuntimeHintDetailsTypeDef


def get_value() -> RuntimeHintDetailsTypeDef:
    return {
        "runtimeHintValues": ...,
    }


# RuntimeHintDetailsTypeDef definition

class RuntimeHintDetailsTypeDef(TypedDict):
    runtimeHintValues: NotRequired[List[RuntimeHintValueTypeDef]],  # (1)
    subSlotHints: NotRequired[Dict[str, Dict[str, Any]]],
  1. See List[RuntimeHintValueTypeDef]

SlotTypeValueOutputTypeDef#

# SlotTypeValueOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import SlotTypeValueOutputTypeDef


def get_value() -> SlotTypeValueOutputTypeDef:
    return {
        "sampleValue": ...,
    }


# SlotTypeValueOutputTypeDef definition

class SlotTypeValueOutputTypeDef(TypedDict):
    sampleValue: NotRequired[SampleValueTypeDef],  # (1)
    synonyms: NotRequired[List[SampleValueTypeDef]],  # (2)
  1. See SampleValueTypeDef
  2. See List[SampleValueTypeDef]

SlotTypeValueTypeDef#

# SlotTypeValueTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import SlotTypeValueTypeDef


def get_value() -> SlotTypeValueTypeDef:
    return {
        "sampleValue": ...,
    }


# SlotTypeValueTypeDef definition

class SlotTypeValueTypeDef(TypedDict):
    sampleValue: NotRequired[SampleValueTypeDef],  # (1)
    synonyms: NotRequired[Sequence[SampleValueTypeDef]],  # (2)
  1. See SampleValueTypeDef
  2. See Sequence[SampleValueTypeDef]

SlotDefaultValueSpecificationOutputTypeDef#

# SlotDefaultValueSpecificationOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import SlotDefaultValueSpecificationOutputTypeDef


def get_value() -> SlotDefaultValueSpecificationOutputTypeDef:
    return {
        "defaultValueList": ...,
    }


# SlotDefaultValueSpecificationOutputTypeDef definition

class SlotDefaultValueSpecificationOutputTypeDef(TypedDict):
    defaultValueList: List[SlotDefaultValueTypeDef],  # (1)
  1. See List[SlotDefaultValueTypeDef]

SlotDefaultValueSpecificationTypeDef#

# SlotDefaultValueSpecificationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import SlotDefaultValueSpecificationTypeDef


def get_value() -> SlotDefaultValueSpecificationTypeDef:
    return {
        "defaultValueList": ...,
    }


# SlotDefaultValueSpecificationTypeDef definition

class SlotDefaultValueSpecificationTypeDef(TypedDict):
    defaultValueList: Sequence[SlotDefaultValueTypeDef],  # (1)
  1. See Sequence[SlotDefaultValueTypeDef]

SlotResolutionTestResultItemTypeDef#

# SlotResolutionTestResultItemTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import SlotResolutionTestResultItemTypeDef


def get_value() -> SlotResolutionTestResultItemTypeDef:
    return {
        "slotName": ...,
    }


# SlotResolutionTestResultItemTypeDef definition

class SlotResolutionTestResultItemTypeDef(TypedDict):
    slotName: str,
    resultCounts: SlotResolutionTestResultItemCountsTypeDef,  # (1)
  1. See SlotResolutionTestResultItemCountsTypeDef

SlotValueOverrideOutputTypeDef#

# SlotValueOverrideOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import SlotValueOverrideOutputTypeDef


def get_value() -> SlotValueOverrideOutputTypeDef:
    return {
        "shape": ...,
    }


# SlotValueOverrideOutputTypeDef definition

class SlotValueOverrideOutputTypeDef(TypedDict):
    shape: NotRequired[SlotShapeType],  # (1)
    value: NotRequired[SlotValueTypeDef],  # (2)
    values: NotRequired[List[Dict[str, Any]]],
  1. See SlotShapeType
  2. See SlotValueTypeDef

SlotValueOverrideTypeDef#

# SlotValueOverrideTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import SlotValueOverrideTypeDef


def get_value() -> SlotValueOverrideTypeDef:
    return {
        "shape": ...,
    }


# SlotValueOverrideTypeDef definition

class SlotValueOverrideTypeDef(TypedDict):
    shape: NotRequired[SlotShapeType],  # (1)
    value: NotRequired[SlotValueTypeDef],  # (2)
    values: NotRequired[Sequence[Mapping[str, Any]]],
  1. See SlotShapeType
  2. See SlotValueTypeDef

SlotValueSelectionSettingTypeDef#

# SlotValueSelectionSettingTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import SlotValueSelectionSettingTypeDef


def get_value() -> SlotValueSelectionSettingTypeDef:
    return {
        "resolutionStrategy": ...,
    }


# SlotValueSelectionSettingTypeDef definition

class SlotValueSelectionSettingTypeDef(TypedDict):
    resolutionStrategy: SlotValueResolutionStrategyType,  # (1)
    regexFilter: NotRequired[SlotValueRegexFilterTypeDef],  # (2)
    advancedRecognitionSetting: NotRequired[AdvancedRecognitionSettingTypeDef],  # (3)
  1. See SlotValueResolutionStrategyType
  2. See SlotValueRegexFilterTypeDef
  3. See AdvancedRecognitionSettingTypeDef

TestSetDiscrepancyErrorsTypeDef#

# TestSetDiscrepancyErrorsTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import TestSetDiscrepancyErrorsTypeDef


def get_value() -> TestSetDiscrepancyErrorsTypeDef:
    return {
        "intentDiscrepancies": ...,
    }


# TestSetDiscrepancyErrorsTypeDef definition

class TestSetDiscrepancyErrorsTypeDef(TypedDict):
    intentDiscrepancies: List[TestSetIntentDiscrepancyItemTypeDef],  # (1)
    slotDiscrepancies: List[TestSetSlotDiscrepancyItemTypeDef],  # (2)
  1. See List[TestSetIntentDiscrepancyItemTypeDef]
  2. See List[TestSetSlotDiscrepancyItemTypeDef]

TestSetDiscrepancyReportResourceTargetTypeDef#

# TestSetDiscrepancyReportResourceTargetTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import TestSetDiscrepancyReportResourceTargetTypeDef


def get_value() -> TestSetDiscrepancyReportResourceTargetTypeDef:
    return {
        "botAliasTarget": ...,
    }


# TestSetDiscrepancyReportResourceTargetTypeDef definition

class TestSetDiscrepancyReportResourceTargetTypeDef(TypedDict):
    botAliasTarget: NotRequired[TestSetDiscrepancyReportBotAliasTargetTypeDef],  # (1)
  1. See TestSetDiscrepancyReportBotAliasTargetTypeDef

TestSetImportResourceSpecificationOutputTypeDef#

# TestSetImportResourceSpecificationOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import TestSetImportResourceSpecificationOutputTypeDef


def get_value() -> TestSetImportResourceSpecificationOutputTypeDef:
    return {
        "testSetName": ...,
    }


# TestSetImportResourceSpecificationOutputTypeDef definition

class TestSetImportResourceSpecificationOutputTypeDef(TypedDict):
    testSetName: str,
    roleArn: str,
    storageLocation: TestSetStorageLocationTypeDef,  # (1)
    importInputLocation: TestSetImportInputLocationTypeDef,  # (2)
    modality: TestSetModalityType,  # (3)
    description: NotRequired[str],
    testSetTags: NotRequired[Dict[str, str]],
  1. See TestSetStorageLocationTypeDef
  2. See TestSetImportInputLocationTypeDef
  3. See TestSetModalityType

TestSetImportResourceSpecificationTypeDef#

# TestSetImportResourceSpecificationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import TestSetImportResourceSpecificationTypeDef


def get_value() -> TestSetImportResourceSpecificationTypeDef:
    return {
        "testSetName": ...,
    }


# TestSetImportResourceSpecificationTypeDef definition

class TestSetImportResourceSpecificationTypeDef(TypedDict):
    testSetName: str,
    roleArn: str,
    storageLocation: TestSetStorageLocationTypeDef,  # (1)
    importInputLocation: TestSetImportInputLocationTypeDef,  # (2)
    modality: TestSetModalityType,  # (3)
    description: NotRequired[str],
    testSetTags: NotRequired[Mapping[str, str]],
  1. See TestSetStorageLocationTypeDef
  2. See TestSetImportInputLocationTypeDef
  3. See TestSetModalityType

UserTurnIntentOutputTypeDef#

# UserTurnIntentOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import UserTurnIntentOutputTypeDef


def get_value() -> UserTurnIntentOutputTypeDef:
    return {
        "name": ...,
    }


# UserTurnIntentOutputTypeDef definition

class UserTurnIntentOutputTypeDef(TypedDict):
    name: str,
    slots: NotRequired[Dict[str, UserTurnSlotOutputTypeDef]],  # (1)
  1. See Dict[str, UserTurnSlotOutputTypeDef]

UtteranceInputSpecificationTypeDef#

# UtteranceInputSpecificationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import UtteranceInputSpecificationTypeDef


def get_value() -> UtteranceInputSpecificationTypeDef:
    return {
        "textInput": ...,
    }


# UtteranceInputSpecificationTypeDef definition

class UtteranceInputSpecificationTypeDef(TypedDict):
    textInput: NotRequired[str],
    audioInput: NotRequired[UtteranceAudioInputSpecificationTypeDef],  # (1)
  1. See UtteranceAudioInputSpecificationTypeDef

ListIntentMetricsResponseTypeDef#

# ListIntentMetricsResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListIntentMetricsResponseTypeDef


def get_value() -> ListIntentMetricsResponseTypeDef:
    return {
        "botId": ...,
    }


# ListIntentMetricsResponseTypeDef definition

class ListIntentMetricsResponseTypeDef(TypedDict):
    botId: str,
    results: List[AnalyticsIntentResultTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See List[AnalyticsIntentResultTypeDef]
  2. See ResponseMetadataTypeDef

ListIntentStageMetricsResponseTypeDef#

# ListIntentStageMetricsResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListIntentStageMetricsResponseTypeDef


def get_value() -> ListIntentStageMetricsResponseTypeDef:
    return {
        "botId": ...,
    }


# ListIntentStageMetricsResponseTypeDef definition

class ListIntentStageMetricsResponseTypeDef(TypedDict):
    botId: str,
    results: List[AnalyticsIntentStageResultTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See List[AnalyticsIntentStageResultTypeDef]
  2. See ResponseMetadataTypeDef

ListSessionMetricsResponseTypeDef#

# ListSessionMetricsResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListSessionMetricsResponseTypeDef


def get_value() -> ListSessionMetricsResponseTypeDef:
    return {
        "botId": ...,
    }


# ListSessionMetricsResponseTypeDef definition

class ListSessionMetricsResponseTypeDef(TypedDict):
    botId: str,
    results: List[AnalyticsSessionResultTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See List[AnalyticsSessionResultTypeDef]
  2. See ResponseMetadataTypeDef

ListUtteranceMetricsResponseTypeDef#

# ListUtteranceMetricsResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListUtteranceMetricsResponseTypeDef


def get_value() -> ListUtteranceMetricsResponseTypeDef:
    return {
        "botId": ...,
    }


# ListUtteranceMetricsResponseTypeDef definition

class ListUtteranceMetricsResponseTypeDef(TypedDict):
    botId: str,
    results: List[AnalyticsUtteranceResultTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See List[AnalyticsUtteranceResultTypeDef]
  2. See ResponseMetadataTypeDef

PromptAttemptSpecificationTypeDef#

# PromptAttemptSpecificationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import PromptAttemptSpecificationTypeDef


def get_value() -> PromptAttemptSpecificationTypeDef:
    return {
        "allowInterrupt": ...,
    }


# PromptAttemptSpecificationTypeDef definition

class PromptAttemptSpecificationTypeDef(TypedDict):
    allowedInputTypes: AllowedInputTypesTypeDef,  # (1)
    allowInterrupt: NotRequired[bool],
    audioAndDTMFInputSpecification: NotRequired[AudioAndDTMFInputSpecificationTypeDef],  # (2)
    textInputSpecification: NotRequired[TextInputSpecificationTypeDef],  # (3)
  1. See AllowedInputTypesTypeDef
  2. See AudioAndDTMFInputSpecificationTypeDef
  3. See TextInputSpecificationTypeDef

AudioLogSettingTypeDef#

# AudioLogSettingTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import AudioLogSettingTypeDef


def get_value() -> AudioLogSettingTypeDef:
    return {
        "enabled": ...,
    }


# AudioLogSettingTypeDef definition

class AudioLogSettingTypeDef(TypedDict):
    enabled: bool,
    destination: AudioLogDestinationTypeDef,  # (1)
    selectiveLoggingEnabled: NotRequired[bool],
  1. See AudioLogDestinationTypeDef

DescriptiveBotBuilderSpecificationTypeDef#

# DescriptiveBotBuilderSpecificationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescriptiveBotBuilderSpecificationTypeDef


def get_value() -> DescriptiveBotBuilderSpecificationTypeDef:
    return {
        "enabled": ...,
    }


# DescriptiveBotBuilderSpecificationTypeDef definition

class DescriptiveBotBuilderSpecificationTypeDef(TypedDict):
    enabled: bool,
    bedrockModelSpecification: NotRequired[BedrockModelSpecificationTypeDef],  # (1)
  1. See BedrockModelSpecificationTypeDef

SampleUtteranceGenerationSpecificationTypeDef#

# SampleUtteranceGenerationSpecificationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import SampleUtteranceGenerationSpecificationTypeDef


def get_value() -> SampleUtteranceGenerationSpecificationTypeDef:
    return {
        "enabled": ...,
    }


# SampleUtteranceGenerationSpecificationTypeDef definition

class SampleUtteranceGenerationSpecificationTypeDef(TypedDict):
    enabled: bool,
    bedrockModelSpecification: NotRequired[BedrockModelSpecificationTypeDef],  # (1)
  1. See BedrockModelSpecificationTypeDef

SlotResolutionImprovementSpecificationTypeDef#

# SlotResolutionImprovementSpecificationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import SlotResolutionImprovementSpecificationTypeDef


def get_value() -> SlotResolutionImprovementSpecificationTypeDef:
    return {
        "enabled": ...,
    }


# SlotResolutionImprovementSpecificationTypeDef definition

class SlotResolutionImprovementSpecificationTypeDef(TypedDict):
    enabled: bool,
    bedrockModelSpecification: NotRequired[BedrockModelSpecificationTypeDef],  # (1)
  1. See BedrockModelSpecificationTypeDef

DescribeTestExecutionResponseTypeDef#

# DescribeTestExecutionResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeTestExecutionResponseTypeDef


def get_value() -> DescribeTestExecutionResponseTypeDef:
    return {
        "testExecutionId": ...,
    }


# DescribeTestExecutionResponseTypeDef definition

class DescribeTestExecutionResponseTypeDef(TypedDict):
    testExecutionId: str,
    creationDateTime: datetime.datetime,
    lastUpdatedDateTime: datetime.datetime,
    testExecutionStatus: TestExecutionStatusType,  # (1)
    testSetId: str,
    testSetName: str,
    target: TestExecutionTargetTypeDef,  # (2)
    apiMode: TestExecutionApiModeType,  # (3)
    testExecutionModality: TestExecutionModalityType,  # (4)
    failureReasons: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See TestExecutionStatusType
  2. See TestExecutionTargetTypeDef
  3. See TestExecutionApiModeType
  4. See TestExecutionModalityType
  5. See ResponseMetadataTypeDef

StartTestExecutionRequestTypeDef#

# StartTestExecutionRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import StartTestExecutionRequestTypeDef


def get_value() -> StartTestExecutionRequestTypeDef:
    return {
        "testSetId": ...,
    }


# StartTestExecutionRequestTypeDef definition

class StartTestExecutionRequestTypeDef(TypedDict):
    testSetId: str,
    target: TestExecutionTargetTypeDef,  # (1)
    apiMode: TestExecutionApiModeType,  # (2)
    testExecutionModality: NotRequired[TestExecutionModalityType],  # (3)
  1. See TestExecutionTargetTypeDef
  2. See TestExecutionApiModeType
  3. See TestExecutionModalityType

StartTestExecutionResponseTypeDef#

# StartTestExecutionResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import StartTestExecutionResponseTypeDef


def get_value() -> StartTestExecutionResponseTypeDef:
    return {
        "testExecutionId": ...,
    }


# StartTestExecutionResponseTypeDef definition

class StartTestExecutionResponseTypeDef(TypedDict):
    testExecutionId: str,
    creationDateTime: datetime.datetime,
    testSetId: str,
    target: TestExecutionTargetTypeDef,  # (1)
    apiMode: TestExecutionApiModeType,  # (2)
    testExecutionModality: TestExecutionModalityType,  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See TestExecutionTargetTypeDef
  2. See TestExecutionApiModeType
  3. See TestExecutionModalityType
  4. See ResponseMetadataTypeDef

TestExecutionSummaryTypeDef#

# TestExecutionSummaryTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import TestExecutionSummaryTypeDef


def get_value() -> TestExecutionSummaryTypeDef:
    return {
        "testExecutionId": ...,
    }


# TestExecutionSummaryTypeDef definition

class TestExecutionSummaryTypeDef(TypedDict):
    testExecutionId: NotRequired[str],
    creationDateTime: NotRequired[datetime.datetime],
    lastUpdatedDateTime: NotRequired[datetime.datetime],
    testExecutionStatus: NotRequired[TestExecutionStatusType],  # (1)
    testSetId: NotRequired[str],
    testSetName: NotRequired[str],
    target: NotRequired[TestExecutionTargetTypeDef],  # (2)
    apiMode: NotRequired[TestExecutionApiModeType],  # (3)
    testExecutionModality: NotRequired[TestExecutionModalityType],  # (4)
  1. See TestExecutionStatusType
  2. See TestExecutionTargetTypeDef
  3. See TestExecutionApiModeType
  4. See TestExecutionModalityType

BotRecommendationResultsTypeDef#

# BotRecommendationResultsTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import BotRecommendationResultsTypeDef


def get_value() -> BotRecommendationResultsTypeDef:
    return {
        "botLocaleExportUrl": ...,
    }


# BotRecommendationResultsTypeDef definition

class BotRecommendationResultsTypeDef(TypedDict):
    botLocaleExportUrl: NotRequired[str],
    associatedTranscriptsUrl: NotRequired[str],
    statistics: NotRequired[BotRecommendationResultStatisticsTypeDef],  # (1)
  1. See BotRecommendationResultStatisticsTypeDef

MessageOutputTypeDef#

# MessageOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import MessageOutputTypeDef


def get_value() -> MessageOutputTypeDef:
    return {
        "plainTextMessage": ...,
    }


# MessageOutputTypeDef definition

class MessageOutputTypeDef(TypedDict):
    plainTextMessage: NotRequired[PlainTextMessageTypeDef],  # (1)
    customPayload: NotRequired[CustomPayloadTypeDef],  # (2)
    ssmlMessage: NotRequired[SSMLMessageTypeDef],  # (3)
    imageResponseCard: NotRequired[ImageResponseCardOutputTypeDef],  # (4)
  1. See PlainTextMessageTypeDef
  2. See CustomPayloadTypeDef
  3. See SSMLMessageTypeDef
  4. See ImageResponseCardOutputTypeDef

UtteranceBotResponseTypeDef#

# UtteranceBotResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import UtteranceBotResponseTypeDef


def get_value() -> UtteranceBotResponseTypeDef:
    return {
        "content": ...,
    }


# UtteranceBotResponseTypeDef definition

class UtteranceBotResponseTypeDef(TypedDict):
    content: NotRequired[str],
    contentType: NotRequired[UtteranceContentTypeType],  # (1)
    imageResponseCard: NotRequired[ImageResponseCardOutputTypeDef],  # (2)
  1. See UtteranceContentTypeType
  2. See ImageResponseCardOutputTypeDef

MessageTypeDef#

# MessageTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import MessageTypeDef


def get_value() -> MessageTypeDef:
    return {
        "plainTextMessage": ...,
    }


# MessageTypeDef definition

class MessageTypeDef(TypedDict):
    plainTextMessage: NotRequired[PlainTextMessageTypeDef],  # (1)
    customPayload: NotRequired[CustomPayloadTypeDef],  # (2)
    ssmlMessage: NotRequired[SSMLMessageTypeDef],  # (3)
    imageResponseCard: NotRequired[ImageResponseCardTypeDef],  # (4)
  1. See PlainTextMessageTypeDef
  2. See CustomPayloadTypeDef
  3. See SSMLMessageTypeDef
  4. See ImageResponseCardTypeDef

TextLogSettingTypeDef#

# TextLogSettingTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import TextLogSettingTypeDef


def get_value() -> TextLogSettingTypeDef:
    return {
        "enabled": ...,
    }


# TextLogSettingTypeDef definition

class TextLogSettingTypeDef(TypedDict):
    enabled: bool,
    destination: TextLogDestinationTypeDef,  # (1)
    selectiveLoggingEnabled: NotRequired[bool],
  1. See TextLogDestinationTypeDef

BotAliasLocaleSettingsTypeDef#

# BotAliasLocaleSettingsTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import BotAliasLocaleSettingsTypeDef


def get_value() -> BotAliasLocaleSettingsTypeDef:
    return {
        "enabled": ...,
    }


# BotAliasLocaleSettingsTypeDef definition

class BotAliasLocaleSettingsTypeDef(TypedDict):
    enabled: bool,
    codeHookSpecification: NotRequired[CodeHookSpecificationTypeDef],  # (1)
  1. See CodeHookSpecificationTypeDef

ConversationLevelTestResultsTypeDef#

# ConversationLevelTestResultsTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ConversationLevelTestResultsTypeDef


def get_value() -> ConversationLevelTestResultsTypeDef:
    return {
        "items": ...,
    }


# ConversationLevelTestResultsTypeDef definition

class ConversationLevelTestResultsTypeDef(TypedDict):
    items: List[ConversationLevelTestResultItemTypeDef],  # (1)
  1. See List[ConversationLevelTestResultItemTypeDef]

ListTestExecutionResultItemsRequestTypeDef#

# ListTestExecutionResultItemsRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListTestExecutionResultItemsRequestTypeDef


def get_value() -> ListTestExecutionResultItemsRequestTypeDef:
    return {
        "testExecutionId": ...,
    }


# ListTestExecutionResultItemsRequestTypeDef definition

class ListTestExecutionResultItemsRequestTypeDef(TypedDict):
    testExecutionId: str,
    resultFilterBy: TestExecutionResultFilterByTypeDef,  # (1)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
  1. See TestExecutionResultFilterByTypeDef

TestSetGenerationDataSourceOutputTypeDef#

# TestSetGenerationDataSourceOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import TestSetGenerationDataSourceOutputTypeDef


def get_value() -> TestSetGenerationDataSourceOutputTypeDef:
    return {
        "conversationLogsDataSource": ...,
    }


# TestSetGenerationDataSourceOutputTypeDef definition

class TestSetGenerationDataSourceOutputTypeDef(TypedDict):
    conversationLogsDataSource: NotRequired[ConversationLogsDataSourceOutputTypeDef],  # (1)
  1. See ConversationLogsDataSourceOutputTypeDef

ConversationLogsDataSourceTypeDef#

# ConversationLogsDataSourceTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ConversationLogsDataSourceTypeDef


def get_value() -> ConversationLogsDataSourceTypeDef:
    return {
        "botId": ...,
    }


# ConversationLogsDataSourceTypeDef definition

class ConversationLogsDataSourceTypeDef(TypedDict):
    botId: str,
    botAliasId: str,
    localeId: str,
    filter: ConversationLogsDataSourceFilterByTypeDef,  # (1)
  1. See ConversationLogsDataSourceFilterByTypeDef

LexTranscriptFilterTypeDef#

# LexTranscriptFilterTypeDef TypedDict 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

ListIntentsResponseTypeDef#

# ListIntentsResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListIntentsResponseTypeDef


def get_value() -> ListIntentsResponseTypeDef:
    return {
        "botId": ...,
    }


# ListIntentsResponseTypeDef definition

class ListIntentsResponseTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    intentSummaries: List[IntentSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See List[IntentSummaryTypeDef]
  2. See ResponseMetadataTypeDef

TranscriptFilterOutputTypeDef#

# TranscriptFilterOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import TranscriptFilterOutputTypeDef


def get_value() -> TranscriptFilterOutputTypeDef:
    return {
        "lexTranscriptFilter": ...,
    }


# TranscriptFilterOutputTypeDef definition

class TranscriptFilterOutputTypeDef(TypedDict):
    lexTranscriptFilter: NotRequired[LexTranscriptFilterOutputTypeDef],  # (1)
  1. See LexTranscriptFilterOutputTypeDef

ListTestSetsResponseTypeDef#

# ListTestSetsResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListTestSetsResponseTypeDef


def get_value() -> ListTestSetsResponseTypeDef:
    return {
        "testSets": ...,
    }


# ListTestSetsResponseTypeDef definition

class ListTestSetsResponseTypeDef(TypedDict):
    testSets: List[TestSetSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See List[TestSetSummaryTypeDef]
  2. See ResponseMetadataTypeDef

DataSourceConfigurationOutputTypeDef#

# DataSourceConfigurationOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DataSourceConfigurationOutputTypeDef


def get_value() -> DataSourceConfigurationOutputTypeDef:
    return {
        "opensearchConfiguration": ...,
    }


# DataSourceConfigurationOutputTypeDef definition

class DataSourceConfigurationOutputTypeDef(TypedDict):
    opensearchConfiguration: NotRequired[OpensearchConfigurationOutputTypeDef],  # (1)
    kendraConfiguration: NotRequired[QnAKendraConfigurationTypeDef],  # (2)
    bedrockKnowledgeStoreConfiguration: NotRequired[BedrockKnowledgeStoreConfigurationTypeDef],  # (3)
  1. See OpensearchConfigurationOutputTypeDef
  2. See QnAKendraConfigurationTypeDef
  3. See BedrockKnowledgeStoreConfigurationTypeDef

DataSourceConfigurationTypeDef#

# DataSourceConfigurationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DataSourceConfigurationTypeDef


def get_value() -> DataSourceConfigurationTypeDef:
    return {
        "opensearchConfiguration": ...,
    }


# DataSourceConfigurationTypeDef definition

class DataSourceConfigurationTypeDef(TypedDict):
    opensearchConfiguration: NotRequired[OpensearchConfigurationTypeDef],  # (1)
    kendraConfiguration: NotRequired[QnAKendraConfigurationTypeDef],  # (2)
    bedrockKnowledgeStoreConfiguration: NotRequired[BedrockKnowledgeStoreConfigurationTypeDef],  # (3)
  1. See OpensearchConfigurationTypeDef
  2. See QnAKendraConfigurationTypeDef
  3. See BedrockKnowledgeStoreConfigurationTypeDef

CreateExportRequestTypeDef#

# CreateExportRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import CreateExportRequestTypeDef


def get_value() -> CreateExportRequestTypeDef:
    return {
        "resourceSpecification": ...,
    }


# CreateExportRequestTypeDef definition

class CreateExportRequestTypeDef(TypedDict):
    resourceSpecification: ExportResourceSpecificationTypeDef,  # (1)
    fileFormat: ImportExportFileFormatType,  # (2)
    filePassword: NotRequired[str],
  1. See ExportResourceSpecificationTypeDef
  2. See ImportExportFileFormatType

CreateExportResponseTypeDef#

# CreateExportResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import CreateExportResponseTypeDef


def get_value() -> CreateExportResponseTypeDef:
    return {
        "exportId": ...,
    }


# CreateExportResponseTypeDef definition

class CreateExportResponseTypeDef(TypedDict):
    exportId: str,
    resourceSpecification: ExportResourceSpecificationTypeDef,  # (1)
    fileFormat: ImportExportFileFormatType,  # (2)
    exportStatus: ExportStatusType,  # (3)
    creationDateTime: datetime.datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See ExportResourceSpecificationTypeDef
  2. See ImportExportFileFormatType
  3. See ExportStatusType
  4. See ResponseMetadataTypeDef

DescribeExportResponseTypeDef#

# DescribeExportResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeExportResponseTypeDef


def get_value() -> DescribeExportResponseTypeDef:
    return {
        "exportId": ...,
    }


# DescribeExportResponseTypeDef definition

class DescribeExportResponseTypeDef(TypedDict):
    exportId: str,
    resourceSpecification: ExportResourceSpecificationTypeDef,  # (1)
    fileFormat: ImportExportFileFormatType,  # (2)
    exportStatus: ExportStatusType,  # (3)
    failureReasons: List[str],
    downloadUrl: str,
    creationDateTime: datetime.datetime,
    lastUpdatedDateTime: datetime.datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See ExportResourceSpecificationTypeDef
  2. See ImportExportFileFormatType
  3. See ExportStatusType
  4. See ResponseMetadataTypeDef

ExportSummaryTypeDef#

# ExportSummaryTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ExportSummaryTypeDef


def get_value() -> ExportSummaryTypeDef:
    return {
        "exportId": ...,
    }


# ExportSummaryTypeDef definition

class ExportSummaryTypeDef(TypedDict):
    exportId: NotRequired[str],
    resourceSpecification: NotRequired[ExportResourceSpecificationTypeDef],  # (1)
    fileFormat: NotRequired[ImportExportFileFormatType],  # (2)
    exportStatus: NotRequired[ExportStatusType],  # (3)
    creationDateTime: NotRequired[datetime.datetime],
    lastUpdatedDateTime: NotRequired[datetime.datetime],
  1. See ExportResourceSpecificationTypeDef
  2. See ImportExportFileFormatType
  3. See ExportStatusType

UpdateExportResponseTypeDef#

# UpdateExportResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import UpdateExportResponseTypeDef


def get_value() -> UpdateExportResponseTypeDef:
    return {
        "exportId": ...,
    }


# UpdateExportResponseTypeDef definition

class UpdateExportResponseTypeDef(TypedDict):
    exportId: str,
    resourceSpecification: ExportResourceSpecificationTypeDef,  # (1)
    fileFormat: ImportExportFileFormatType,  # (2)
    exportStatus: ExportStatusType,  # (3)
    creationDateTime: datetime.datetime,
    lastUpdatedDateTime: datetime.datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See ExportResourceSpecificationTypeDef
  2. See ImportExportFileFormatType
  3. See ExportStatusType
  4. See ResponseMetadataTypeDef

ExternalSourceSettingTypeDef#

# ExternalSourceSettingTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ExternalSourceSettingTypeDef


def get_value() -> ExternalSourceSettingTypeDef:
    return {
        "grammarSlotTypeSetting": ...,
    }


# ExternalSourceSettingTypeDef definition

class ExternalSourceSettingTypeDef(TypedDict):
    grammarSlotTypeSetting: NotRequired[GrammarSlotTypeSettingTypeDef],  # (1)
  1. See GrammarSlotTypeSettingTypeDef

IntentClassificationTestResultsTypeDef#

# IntentClassificationTestResultsTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import IntentClassificationTestResultsTypeDef


def get_value() -> IntentClassificationTestResultsTypeDef:
    return {
        "items": ...,
    }


# IntentClassificationTestResultsTypeDef definition

class IntentClassificationTestResultsTypeDef(TypedDict):
    items: List[IntentClassificationTestResultItemTypeDef],  # (1)
  1. See List[IntentClassificationTestResultItemTypeDef]

ListSessionAnalyticsDataResponseTypeDef#

# ListSessionAnalyticsDataResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListSessionAnalyticsDataResponseTypeDef


def get_value() -> ListSessionAnalyticsDataResponseTypeDef:
    return {
        "botId": ...,
    }


# ListSessionAnalyticsDataResponseTypeDef definition

class ListSessionAnalyticsDataResponseTypeDef(TypedDict):
    botId: str,
    sessions: List[SessionSpecificationTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See List[SessionSpecificationTypeDef]
  2. See ResponseMetadataTypeDef

ListAggregatedUtterancesRequestTypeDef#

# ListAggregatedUtterancesRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListAggregatedUtterancesRequestTypeDef


def get_value() -> ListAggregatedUtterancesRequestTypeDef:
    return {
        "botId": ...,
    }


# ListAggregatedUtterancesRequestTypeDef definition

class ListAggregatedUtterancesRequestTypeDef(TypedDict):
    botId: str,
    localeId: str,
    aggregationDuration: UtteranceAggregationDurationTypeDef,  # (1)
    botAliasId: NotRequired[str],
    botVersion: NotRequired[str],
    sortBy: NotRequired[AggregatedUtterancesSortByTypeDef],  # (2)
    filters: NotRequired[Sequence[AggregatedUtterancesFilterTypeDef]],  # (3)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
  1. See UtteranceAggregationDurationTypeDef
  2. See AggregatedUtterancesSortByTypeDef
  3. See Sequence[AggregatedUtterancesFilterTypeDef]

ListAggregatedUtterancesResponseTypeDef#

# ListAggregatedUtterancesResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListAggregatedUtterancesResponseTypeDef


def get_value() -> ListAggregatedUtterancesResponseTypeDef:
    return {
        "botId": ...,
    }


# ListAggregatedUtterancesResponseTypeDef definition

class ListAggregatedUtterancesResponseTypeDef(TypedDict):
    botId: str,
    botAliasId: str,
    botVersion: str,
    localeId: str,
    aggregationDuration: UtteranceAggregationDurationTypeDef,  # (1)
    aggregationWindowStartTime: datetime.datetime,
    aggregationWindowEndTime: datetime.datetime,
    aggregationLastRefreshedDateTime: datetime.datetime,
    aggregatedUtterancesSummaries: List[AggregatedUtterancesSummaryTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
    nextToken: NotRequired[str],
  1. See UtteranceAggregationDurationTypeDef
  2. See List[AggregatedUtterancesSummaryTypeDef]
  3. See ResponseMetadataTypeDef

RuntimeHintsTypeDef#

# RuntimeHintsTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import RuntimeHintsTypeDef


def get_value() -> RuntimeHintsTypeDef:
    return {
        "slotHints": ...,
    }


# RuntimeHintsTypeDef definition

class RuntimeHintsTypeDef(TypedDict):
    slotHints: NotRequired[Dict[str, Dict[str, RuntimeHintDetailsTypeDef]]],  # (1)
  1. See Dict[str, Dict[str, RuntimeHintDetailsTypeDef]]

IntentLevelSlotResolutionTestResultItemTypeDef#

# IntentLevelSlotResolutionTestResultItemTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import IntentLevelSlotResolutionTestResultItemTypeDef


def get_value() -> IntentLevelSlotResolutionTestResultItemTypeDef:
    return {
        "intentName": ...,
    }


# IntentLevelSlotResolutionTestResultItemTypeDef definition

class IntentLevelSlotResolutionTestResultItemTypeDef(TypedDict):
    intentName: str,
    multiTurnConversation: bool,
    slotResolutionResults: List[SlotResolutionTestResultItemTypeDef],  # (1)
  1. See List[SlotResolutionTestResultItemTypeDef]

IntentOverrideOutputTypeDef#

# IntentOverrideOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import IntentOverrideOutputTypeDef


def get_value() -> IntentOverrideOutputTypeDef:
    return {
        "name": ...,
    }


# IntentOverrideOutputTypeDef definition

class IntentOverrideOutputTypeDef(TypedDict):
    name: NotRequired[str],
    slots: NotRequired[Dict[str, SlotValueOverrideOutputTypeDef]],  # (1)
  1. See Dict[str, SlotValueOverrideOutputTypeDef]

IntentOverrideTypeDef#

# IntentOverrideTypeDef TypedDict 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 Mapping[str, SlotValueOverrideTypeDef]

CreateTestSetDiscrepancyReportRequestTypeDef#

# CreateTestSetDiscrepancyReportRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import CreateTestSetDiscrepancyReportRequestTypeDef


def get_value() -> CreateTestSetDiscrepancyReportRequestTypeDef:
    return {
        "testSetId": ...,
    }


# CreateTestSetDiscrepancyReportRequestTypeDef definition

class CreateTestSetDiscrepancyReportRequestTypeDef(TypedDict):
    testSetId: str,
    target: TestSetDiscrepancyReportResourceTargetTypeDef,  # (1)
  1. See TestSetDiscrepancyReportResourceTargetTypeDef

CreateTestSetDiscrepancyReportResponseTypeDef#

# CreateTestSetDiscrepancyReportResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import CreateTestSetDiscrepancyReportResponseTypeDef


def get_value() -> CreateTestSetDiscrepancyReportResponseTypeDef:
    return {
        "testSetDiscrepancyReportId": ...,
    }


# CreateTestSetDiscrepancyReportResponseTypeDef definition

class CreateTestSetDiscrepancyReportResponseTypeDef(TypedDict):
    testSetDiscrepancyReportId: str,
    creationDateTime: datetime.datetime,
    testSetId: str,
    target: TestSetDiscrepancyReportResourceTargetTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TestSetDiscrepancyReportResourceTargetTypeDef
  2. See ResponseMetadataTypeDef

DescribeTestSetDiscrepancyReportResponseTypeDef#

# DescribeTestSetDiscrepancyReportResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeTestSetDiscrepancyReportResponseTypeDef


def get_value() -> DescribeTestSetDiscrepancyReportResponseTypeDef:
    return {
        "testSetDiscrepancyReportId": ...,
    }


# DescribeTestSetDiscrepancyReportResponseTypeDef definition

class DescribeTestSetDiscrepancyReportResponseTypeDef(TypedDict):
    testSetDiscrepancyReportId: str,
    testSetId: str,
    creationDateTime: datetime.datetime,
    target: TestSetDiscrepancyReportResourceTargetTypeDef,  # (1)
    testSetDiscrepancyReportStatus: TestSetDiscrepancyReportStatusType,  # (2)
    lastUpdatedDataTime: datetime.datetime,
    testSetDiscrepancyTopErrors: TestSetDiscrepancyErrorsTypeDef,  # (3)
    testSetDiscrepancyRawOutputUrl: str,
    failureReasons: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See TestSetDiscrepancyReportResourceTargetTypeDef
  2. See TestSetDiscrepancyReportStatusType
  3. See TestSetDiscrepancyErrorsTypeDef
  4. See ResponseMetadataTypeDef

ImportResourceSpecificationOutputTypeDef#

# ImportResourceSpecificationOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ImportResourceSpecificationOutputTypeDef


def get_value() -> ImportResourceSpecificationOutputTypeDef:
    return {
        "botImportSpecification": ...,
    }


# ImportResourceSpecificationOutputTypeDef definition

class ImportResourceSpecificationOutputTypeDef(TypedDict):
    botImportSpecification: NotRequired[BotImportSpecificationOutputTypeDef],  # (1)
    botLocaleImportSpecification: NotRequired[BotLocaleImportSpecificationTypeDef],  # (2)
    customVocabularyImportSpecification: NotRequired[CustomVocabularyImportSpecificationTypeDef],  # (3)
    testSetImportResourceSpecification: NotRequired[TestSetImportResourceSpecificationOutputTypeDef],  # (4)
  1. See BotImportSpecificationOutputTypeDef
  2. See BotLocaleImportSpecificationTypeDef
  3. See CustomVocabularyImportSpecificationTypeDef
  4. See TestSetImportResourceSpecificationOutputTypeDef

ImportResourceSpecificationTypeDef#

# ImportResourceSpecificationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ImportResourceSpecificationTypeDef


def get_value() -> ImportResourceSpecificationTypeDef:
    return {
        "botImportSpecification": ...,
    }


# ImportResourceSpecificationTypeDef definition

class ImportResourceSpecificationTypeDef(TypedDict):
    botImportSpecification: NotRequired[BotImportSpecificationTypeDef],  # (1)
    botLocaleImportSpecification: NotRequired[BotLocaleImportSpecificationTypeDef],  # (2)
    customVocabularyImportSpecification: NotRequired[CustomVocabularyImportSpecificationTypeDef],  # (3)
    testSetImportResourceSpecification: NotRequired[TestSetImportResourceSpecificationTypeDef],  # (4)
  1. See BotImportSpecificationTypeDef
  2. See BotLocaleImportSpecificationTypeDef
  3. See CustomVocabularyImportSpecificationTypeDef
  4. See TestSetImportResourceSpecificationTypeDef

UserTurnOutputSpecificationTypeDef#

# UserTurnOutputSpecificationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import UserTurnOutputSpecificationTypeDef


def get_value() -> UserTurnOutputSpecificationTypeDef:
    return {
        "intent": ...,
    }


# UserTurnOutputSpecificationTypeDef definition

class UserTurnOutputSpecificationTypeDef(TypedDict):
    intent: UserTurnIntentOutputTypeDef,  # (1)
    activeContexts: NotRequired[List[ActiveContextTypeDef]],  # (2)
    transcript: NotRequired[str],
  1. See UserTurnIntentOutputTypeDef
  2. See List[ActiveContextTypeDef]

BuildtimeSettingsTypeDef#

# BuildtimeSettingsTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import BuildtimeSettingsTypeDef


def get_value() -> BuildtimeSettingsTypeDef:
    return {
        "descriptiveBotBuilder": ...,
    }


# BuildtimeSettingsTypeDef definition

class BuildtimeSettingsTypeDef(TypedDict):
    descriptiveBotBuilder: NotRequired[DescriptiveBotBuilderSpecificationTypeDef],  # (1)
    sampleUtteranceGeneration: NotRequired[SampleUtteranceGenerationSpecificationTypeDef],  # (2)
  1. See DescriptiveBotBuilderSpecificationTypeDef
  2. See SampleUtteranceGenerationSpecificationTypeDef

RuntimeSettingsTypeDef#

# RuntimeSettingsTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import RuntimeSettingsTypeDef


def get_value() -> RuntimeSettingsTypeDef:
    return {
        "slotResolutionImprovement": ...,
    }


# RuntimeSettingsTypeDef definition

class RuntimeSettingsTypeDef(TypedDict):
    slotResolutionImprovement: NotRequired[SlotResolutionImprovementSpecificationTypeDef],  # (1)
  1. See SlotResolutionImprovementSpecificationTypeDef

ListTestExecutionsResponseTypeDef#

# ListTestExecutionsResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListTestExecutionsResponseTypeDef


def get_value() -> ListTestExecutionsResponseTypeDef:
    return {
        "testExecutions": ...,
    }


# ListTestExecutionsResponseTypeDef definition

class ListTestExecutionsResponseTypeDef(TypedDict):
    testExecutions: List[TestExecutionSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See List[TestExecutionSummaryTypeDef]
  2. See ResponseMetadataTypeDef

MessageGroupOutputTypeDef#

# MessageGroupOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import MessageGroupOutputTypeDef


def get_value() -> MessageGroupOutputTypeDef:
    return {
        "message": ...,
    }


# MessageGroupOutputTypeDef definition

class MessageGroupOutputTypeDef(TypedDict):
    message: MessageOutputTypeDef,  # (1)
    variations: NotRequired[List[MessageOutputTypeDef]],  # (2)
  1. See MessageOutputTypeDef
  2. See List[MessageOutputTypeDef]

UtteranceSpecificationTypeDef#

# UtteranceSpecificationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import UtteranceSpecificationTypeDef


def get_value() -> UtteranceSpecificationTypeDef:
    return {
        "botAliasId": ...,
    }


# UtteranceSpecificationTypeDef definition

class UtteranceSpecificationTypeDef(TypedDict):
    botAliasId: NotRequired[str],
    botVersion: NotRequired[str],
    localeId: NotRequired[str],
    sessionId: NotRequired[str],
    channel: NotRequired[str],
    mode: NotRequired[AnalyticsModalityType],  # (1)
    conversationStartTime: NotRequired[datetime.datetime],
    conversationEndTime: NotRequired[datetime.datetime],
    utterance: NotRequired[str],
    utteranceTimestamp: NotRequired[datetime.datetime],
    audioVoiceDurationMillis: NotRequired[int],
    utteranceUnderstood: NotRequired[bool],
    inputType: NotRequired[str],
    outputType: NotRequired[str],
    associatedIntentName: NotRequired[str],
    associatedSlotName: NotRequired[str],
    intentState: NotRequired[IntentStateType],  # (2)
    dialogActionType: NotRequired[str],
    botResponseAudioVoiceId: NotRequired[str],
    slotsFilledInSession: NotRequired[str],
    utteranceRequestId: NotRequired[str],
    botResponses: NotRequired[List[UtteranceBotResponseTypeDef]],  # (3)
  1. See AnalyticsModalityType
  2. See IntentStateType
  3. See List[UtteranceBotResponseTypeDef]

MessageGroupTypeDef#

# MessageGroupTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import MessageGroupTypeDef


def get_value() -> MessageGroupTypeDef:
    return {
        "message": ...,
    }


# MessageGroupTypeDef definition

class MessageGroupTypeDef(TypedDict):
    message: MessageTypeDef,  # (1)
    variations: NotRequired[Sequence[MessageTypeDef]],  # (2)
  1. See MessageTypeDef
  2. See Sequence[MessageTypeDef]

ConversationLogSettingsOutputTypeDef#

# ConversationLogSettingsOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ConversationLogSettingsOutputTypeDef


def get_value() -> ConversationLogSettingsOutputTypeDef:
    return {
        "textLogSettings": ...,
    }


# ConversationLogSettingsOutputTypeDef definition

class ConversationLogSettingsOutputTypeDef(TypedDict):
    textLogSettings: NotRequired[List[TextLogSettingTypeDef]],  # (1)
    audioLogSettings: NotRequired[List[AudioLogSettingTypeDef]],  # (2)
  1. See List[TextLogSettingTypeDef]
  2. See List[AudioLogSettingTypeDef]

ConversationLogSettingsTypeDef#

# ConversationLogSettingsTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ConversationLogSettingsTypeDef


def get_value() -> ConversationLogSettingsTypeDef:
    return {
        "textLogSettings": ...,
    }


# ConversationLogSettingsTypeDef definition

class ConversationLogSettingsTypeDef(TypedDict):
    textLogSettings: NotRequired[Sequence[TextLogSettingTypeDef]],  # (1)
    audioLogSettings: NotRequired[Sequence[AudioLogSettingTypeDef]],  # (2)
  1. See Sequence[TextLogSettingTypeDef]
  2. See Sequence[AudioLogSettingTypeDef]

DescribeTestSetGenerationResponseTypeDef#

# DescribeTestSetGenerationResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeTestSetGenerationResponseTypeDef


def get_value() -> DescribeTestSetGenerationResponseTypeDef:
    return {
        "testSetGenerationId": ...,
    }


# DescribeTestSetGenerationResponseTypeDef definition

class DescribeTestSetGenerationResponseTypeDef(TypedDict):
    testSetGenerationId: str,
    testSetGenerationStatus: TestSetGenerationStatusType,  # (1)
    failureReasons: List[str],
    testSetId: str,
    testSetName: str,
    description: str,
    storageLocation: TestSetStorageLocationTypeDef,  # (2)
    generationDataSource: TestSetGenerationDataSourceOutputTypeDef,  # (3)
    roleArn: str,
    creationDateTime: datetime.datetime,
    lastUpdatedDateTime: datetime.datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See TestSetGenerationStatusType
  2. See TestSetStorageLocationTypeDef
  3. See TestSetGenerationDataSourceOutputTypeDef
  4. See ResponseMetadataTypeDef

StartTestSetGenerationResponseTypeDef#

# StartTestSetGenerationResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import StartTestSetGenerationResponseTypeDef


def get_value() -> StartTestSetGenerationResponseTypeDef:
    return {
        "testSetGenerationId": ...,
    }


# StartTestSetGenerationResponseTypeDef definition

class StartTestSetGenerationResponseTypeDef(TypedDict):
    testSetGenerationId: str,
    creationDateTime: datetime.datetime,
    testSetGenerationStatus: TestSetGenerationStatusType,  # (1)
    testSetName: str,
    description: str,
    storageLocation: TestSetStorageLocationTypeDef,  # (2)
    generationDataSource: TestSetGenerationDataSourceOutputTypeDef,  # (3)
    roleArn: str,
    testSetTags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See TestSetGenerationStatusType
  2. See TestSetStorageLocationTypeDef
  3. See TestSetGenerationDataSourceOutputTypeDef
  4. See ResponseMetadataTypeDef

TestSetGenerationDataSourceTypeDef#

# TestSetGenerationDataSourceTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import TestSetGenerationDataSourceTypeDef


def get_value() -> TestSetGenerationDataSourceTypeDef:
    return {
        "conversationLogsDataSource": ...,
    }


# TestSetGenerationDataSourceTypeDef definition

class TestSetGenerationDataSourceTypeDef(TypedDict):
    conversationLogsDataSource: NotRequired[ConversationLogsDataSourceTypeDef],  # (1)
  1. See ConversationLogsDataSourceTypeDef

TranscriptFilterTypeDef#

# TranscriptFilterTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import TranscriptFilterTypeDef


def get_value() -> TranscriptFilterTypeDef:
    return {
        "lexTranscriptFilter": ...,
    }


# TranscriptFilterTypeDef definition

class TranscriptFilterTypeDef(TypedDict):
    lexTranscriptFilter: NotRequired[LexTranscriptFilterTypeDef],  # (1)
  1. See LexTranscriptFilterTypeDef

S3BucketTranscriptSourceOutputTypeDef#

# S3BucketTranscriptSourceOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import S3BucketTranscriptSourceOutputTypeDef


def get_value() -> S3BucketTranscriptSourceOutputTypeDef:
    return {
        "s3BucketName": ...,
    }


# S3BucketTranscriptSourceOutputTypeDef definition

class S3BucketTranscriptSourceOutputTypeDef(TypedDict):
    s3BucketName: str,
    transcriptFormat: TranscriptFormatType,  # (2)
    pathFormat: NotRequired[PathFormatOutputTypeDef],  # (1)
    transcriptFilter: NotRequired[TranscriptFilterOutputTypeDef],  # (3)
    kmsKeyArn: NotRequired[str],
  1. See PathFormatOutputTypeDef
  2. See TranscriptFormatType
  3. See TranscriptFilterOutputTypeDef

QnAIntentConfigurationOutputTypeDef#

# QnAIntentConfigurationOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import QnAIntentConfigurationOutputTypeDef


def get_value() -> QnAIntentConfigurationOutputTypeDef:
    return {
        "dataSourceConfiguration": ...,
    }


# QnAIntentConfigurationOutputTypeDef definition

class QnAIntentConfigurationOutputTypeDef(TypedDict):
    dataSourceConfiguration: NotRequired[DataSourceConfigurationOutputTypeDef],  # (1)
    bedrockModelConfiguration: NotRequired[BedrockModelSpecificationTypeDef],  # (2)
  1. See DataSourceConfigurationOutputTypeDef
  2. See BedrockModelSpecificationTypeDef

QnAIntentConfigurationTypeDef#

# QnAIntentConfigurationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import QnAIntentConfigurationTypeDef


def get_value() -> QnAIntentConfigurationTypeDef:
    return {
        "dataSourceConfiguration": ...,
    }


# QnAIntentConfigurationTypeDef definition

class QnAIntentConfigurationTypeDef(TypedDict):
    dataSourceConfiguration: NotRequired[DataSourceConfigurationTypeDef],  # (1)
    bedrockModelConfiguration: NotRequired[BedrockModelSpecificationTypeDef],  # (2)
  1. See DataSourceConfigurationTypeDef
  2. See BedrockModelSpecificationTypeDef

ListExportsResponseTypeDef#

# ListExportsResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListExportsResponseTypeDef


def get_value() -> ListExportsResponseTypeDef:
    return {
        "botId": ...,
    }


# ListExportsResponseTypeDef definition

class ListExportsResponseTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    exportSummaries: List[ExportSummaryTypeDef],  # (1)
    localeId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See List[ExportSummaryTypeDef]
  2. See ResponseMetadataTypeDef

CreateSlotTypeResponseTypeDef#

# CreateSlotTypeResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import CreateSlotTypeResponseTypeDef


def get_value() -> CreateSlotTypeResponseTypeDef:
    return {
        "slotTypeId": ...,
    }


# CreateSlotTypeResponseTypeDef definition

class CreateSlotTypeResponseTypeDef(TypedDict):
    slotTypeId: str,
    slotTypeName: str,
    description: str,
    slotTypeValues: List[SlotTypeValueOutputTypeDef],  # (1)
    valueSelectionSetting: SlotValueSelectionSettingTypeDef,  # (2)
    parentSlotTypeSignature: str,
    botId: str,
    botVersion: str,
    localeId: str,
    creationDateTime: datetime.datetime,
    externalSourceSetting: ExternalSourceSettingTypeDef,  # (3)
    compositeSlotTypeSetting: CompositeSlotTypeSettingOutputTypeDef,  # (4)
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See List[SlotTypeValueOutputTypeDef]
  2. See SlotValueSelectionSettingTypeDef
  3. See ExternalSourceSettingTypeDef
  4. See CompositeSlotTypeSettingOutputTypeDef
  5. See ResponseMetadataTypeDef

DescribeSlotTypeResponseTypeDef#

# DescribeSlotTypeResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeSlotTypeResponseTypeDef


def get_value() -> DescribeSlotTypeResponseTypeDef:
    return {
        "slotTypeId": ...,
    }


# DescribeSlotTypeResponseTypeDef definition

class DescribeSlotTypeResponseTypeDef(TypedDict):
    slotTypeId: str,
    slotTypeName: str,
    description: str,
    slotTypeValues: List[SlotTypeValueOutputTypeDef],  # (1)
    valueSelectionSetting: SlotValueSelectionSettingTypeDef,  # (2)
    parentSlotTypeSignature: str,
    botId: str,
    botVersion: str,
    localeId: str,
    creationDateTime: datetime.datetime,
    lastUpdatedDateTime: datetime.datetime,
    externalSourceSetting: ExternalSourceSettingTypeDef,  # (3)
    compositeSlotTypeSetting: CompositeSlotTypeSettingOutputTypeDef,  # (4)
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See List[SlotTypeValueOutputTypeDef]
  2. See SlotValueSelectionSettingTypeDef
  3. See ExternalSourceSettingTypeDef
  4. See CompositeSlotTypeSettingOutputTypeDef
  5. See ResponseMetadataTypeDef

UpdateSlotTypeResponseTypeDef#

# UpdateSlotTypeResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import UpdateSlotTypeResponseTypeDef


def get_value() -> UpdateSlotTypeResponseTypeDef:
    return {
        "slotTypeId": ...,
    }


# UpdateSlotTypeResponseTypeDef definition

class UpdateSlotTypeResponseTypeDef(TypedDict):
    slotTypeId: str,
    slotTypeName: str,
    description: str,
    slotTypeValues: List[SlotTypeValueOutputTypeDef],  # (1)
    valueSelectionSetting: SlotValueSelectionSettingTypeDef,  # (2)
    parentSlotTypeSignature: str,
    botId: str,
    botVersion: str,
    localeId: str,
    creationDateTime: datetime.datetime,
    lastUpdatedDateTime: datetime.datetime,
    externalSourceSetting: ExternalSourceSettingTypeDef,  # (3)
    compositeSlotTypeSetting: CompositeSlotTypeSettingOutputTypeDef,  # (4)
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See List[SlotTypeValueOutputTypeDef]
  2. See SlotValueSelectionSettingTypeDef
  3. See ExternalSourceSettingTypeDef
  4. See CompositeSlotTypeSettingOutputTypeDef
  5. See ResponseMetadataTypeDef

InputSessionStateSpecificationTypeDef#

# InputSessionStateSpecificationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import InputSessionStateSpecificationTypeDef


def get_value() -> InputSessionStateSpecificationTypeDef:
    return {
        "sessionAttributes": ...,
    }


# InputSessionStateSpecificationTypeDef definition

class InputSessionStateSpecificationTypeDef(TypedDict):
    sessionAttributes: NotRequired[Dict[str, str]],
    activeContexts: NotRequired[List[ActiveContextTypeDef]],  # (1)
    runtimeHints: NotRequired[RuntimeHintsTypeDef],  # (2)
  1. See List[ActiveContextTypeDef]
  2. See RuntimeHintsTypeDef

CreateSlotTypeRequestTypeDef#

# CreateSlotTypeRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import CreateSlotTypeRequestTypeDef


def get_value() -> CreateSlotTypeRequestTypeDef:
    return {
        "slotTypeName": ...,
    }


# CreateSlotTypeRequestTypeDef definition

class CreateSlotTypeRequestTypeDef(TypedDict):
    slotTypeName: str,
    botId: str,
    botVersion: str,
    localeId: str,
    description: NotRequired[str],
    slotTypeValues: NotRequired[Sequence[SlotTypeValueUnionTypeDef]],  # (1)
    valueSelectionSetting: NotRequired[SlotValueSelectionSettingTypeDef],  # (2)
    parentSlotTypeSignature: NotRequired[str],
    externalSourceSetting: NotRequired[ExternalSourceSettingTypeDef],  # (3)
    compositeSlotTypeSetting: NotRequired[CompositeSlotTypeSettingUnionTypeDef],  # (4)
  1. See Sequence[SlotTypeValueUnionTypeDef]
  2. See SlotValueSelectionSettingTypeDef
  3. See ExternalSourceSettingTypeDef
  4. See CompositeSlotTypeSettingUnionTypeDef

UpdateSlotTypeRequestTypeDef#

# UpdateSlotTypeRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import UpdateSlotTypeRequestTypeDef


def get_value() -> UpdateSlotTypeRequestTypeDef:
    return {
        "slotTypeId": ...,
    }


# UpdateSlotTypeRequestTypeDef definition

class UpdateSlotTypeRequestTypeDef(TypedDict):
    slotTypeId: str,
    slotTypeName: str,
    botId: str,
    botVersion: str,
    localeId: str,
    description: NotRequired[str],
    slotTypeValues: NotRequired[Sequence[SlotTypeValueUnionTypeDef]],  # (1)
    valueSelectionSetting: NotRequired[SlotValueSelectionSettingTypeDef],  # (2)
    parentSlotTypeSignature: NotRequired[str],
    externalSourceSetting: NotRequired[ExternalSourceSettingTypeDef],  # (3)
    compositeSlotTypeSetting: NotRequired[CompositeSlotTypeSettingUnionTypeDef],  # (4)
  1. See Sequence[SlotTypeValueUnionTypeDef]
  2. See SlotValueSelectionSettingTypeDef
  3. See ExternalSourceSettingTypeDef
  4. See CompositeSlotTypeSettingUnionTypeDef

IntentLevelSlotResolutionTestResultsTypeDef#

# IntentLevelSlotResolutionTestResultsTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import IntentLevelSlotResolutionTestResultsTypeDef


def get_value() -> IntentLevelSlotResolutionTestResultsTypeDef:
    return {
        "items": ...,
    }


# IntentLevelSlotResolutionTestResultsTypeDef definition

class IntentLevelSlotResolutionTestResultsTypeDef(TypedDict):
    items: List[IntentLevelSlotResolutionTestResultItemTypeDef],  # (1)
  1. See List[IntentLevelSlotResolutionTestResultItemTypeDef]

DialogStateOutputTypeDef#

# DialogStateOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DialogStateOutputTypeDef


def get_value() -> DialogStateOutputTypeDef:
    return {
        "dialogAction": ...,
    }


# DialogStateOutputTypeDef definition

class DialogStateOutputTypeDef(TypedDict):
    dialogAction: NotRequired[DialogActionTypeDef],  # (1)
    intent: NotRequired[IntentOverrideOutputTypeDef],  # (2)
    sessionAttributes: NotRequired[Dict[str, str]],
  1. See DialogActionTypeDef
  2. See IntentOverrideOutputTypeDef

DialogStateTypeDef#

# DialogStateTypeDef TypedDict 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

DescribeImportResponseTypeDef#

# DescribeImportResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeImportResponseTypeDef


def get_value() -> DescribeImportResponseTypeDef:
    return {
        "importId": ...,
    }


# DescribeImportResponseTypeDef definition

class DescribeImportResponseTypeDef(TypedDict):
    importId: str,
    resourceSpecification: ImportResourceSpecificationOutputTypeDef,  # (1)
    importedResourceId: str,
    importedResourceName: str,
    mergeStrategy: MergeStrategyType,  # (2)
    importStatus: ImportStatusType,  # (3)
    failureReasons: List[str],
    creationDateTime: datetime.datetime,
    lastUpdatedDateTime: datetime.datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See ImportResourceSpecificationOutputTypeDef
  2. See MergeStrategyType
  3. See ImportStatusType
  4. See ResponseMetadataTypeDef

StartImportResponseTypeDef#

# StartImportResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import StartImportResponseTypeDef


def get_value() -> StartImportResponseTypeDef:
    return {
        "importId": ...,
    }


# StartImportResponseTypeDef definition

class StartImportResponseTypeDef(TypedDict):
    importId: str,
    resourceSpecification: ImportResourceSpecificationOutputTypeDef,  # (1)
    mergeStrategy: MergeStrategyType,  # (2)
    importStatus: ImportStatusType,  # (3)
    creationDateTime: datetime.datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See ImportResourceSpecificationOutputTypeDef
  2. See MergeStrategyType
  3. See ImportStatusType
  4. See ResponseMetadataTypeDef

GenerativeAISettingsTypeDef#

# GenerativeAISettingsTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import GenerativeAISettingsTypeDef


def get_value() -> GenerativeAISettingsTypeDef:
    return {
        "runtimeSettings": ...,
    }


# GenerativeAISettingsTypeDef definition

class GenerativeAISettingsTypeDef(TypedDict):
    runtimeSettings: NotRequired[RuntimeSettingsTypeDef],  # (1)
    buildtimeSettings: NotRequired[BuildtimeSettingsTypeDef],  # (2)
  1. See RuntimeSettingsTypeDef
  2. See BuildtimeSettingsTypeDef

FulfillmentStartResponseSpecificationOutputTypeDef#

# FulfillmentStartResponseSpecificationOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import FulfillmentStartResponseSpecificationOutputTypeDef


def get_value() -> FulfillmentStartResponseSpecificationOutputTypeDef:
    return {
        "delayInSeconds": ...,
    }


# FulfillmentStartResponseSpecificationOutputTypeDef definition

class FulfillmentStartResponseSpecificationOutputTypeDef(TypedDict):
    delayInSeconds: int,
    messageGroups: List[MessageGroupOutputTypeDef],  # (1)
    allowInterrupt: NotRequired[bool],
  1. See List[MessageGroupOutputTypeDef]

FulfillmentUpdateResponseSpecificationOutputTypeDef#

# FulfillmentUpdateResponseSpecificationOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import FulfillmentUpdateResponseSpecificationOutputTypeDef


def get_value() -> FulfillmentUpdateResponseSpecificationOutputTypeDef:
    return {
        "frequencyInSeconds": ...,
    }


# FulfillmentUpdateResponseSpecificationOutputTypeDef definition

class FulfillmentUpdateResponseSpecificationOutputTypeDef(TypedDict):
    frequencyInSeconds: int,
    messageGroups: List[MessageGroupOutputTypeDef],  # (1)
    allowInterrupt: NotRequired[bool],
  1. See List[MessageGroupOutputTypeDef]

PromptSpecificationOutputTypeDef#

# PromptSpecificationOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import PromptSpecificationOutputTypeDef


def get_value() -> PromptSpecificationOutputTypeDef:
    return {
        "messageGroups": ...,
    }


# PromptSpecificationOutputTypeDef definition

class PromptSpecificationOutputTypeDef(TypedDict):
    messageGroups: List[MessageGroupOutputTypeDef],  # (1)
    maxRetries: int,
    allowInterrupt: NotRequired[bool],
    messageSelectionStrategy: NotRequired[MessageSelectionStrategyType],  # (2)
    promptAttemptsSpecification: NotRequired[Dict[PromptAttemptType, PromptAttemptSpecificationTypeDef]],  # (3)
  1. See List[MessageGroupOutputTypeDef]
  2. See MessageSelectionStrategyType
  3. See Dict[PromptAttemptType, PromptAttemptSpecificationTypeDef]

ResponseSpecificationOutputTypeDef#

# ResponseSpecificationOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ResponseSpecificationOutputTypeDef


def get_value() -> ResponseSpecificationOutputTypeDef:
    return {
        "messageGroups": ...,
    }


# ResponseSpecificationOutputTypeDef definition

class ResponseSpecificationOutputTypeDef(TypedDict):
    messageGroups: List[MessageGroupOutputTypeDef],  # (1)
    allowInterrupt: NotRequired[bool],
  1. See List[MessageGroupOutputTypeDef]

StillWaitingResponseSpecificationOutputTypeDef#

# StillWaitingResponseSpecificationOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import StillWaitingResponseSpecificationOutputTypeDef


def get_value() -> StillWaitingResponseSpecificationOutputTypeDef:
    return {
        "messageGroups": ...,
    }


# StillWaitingResponseSpecificationOutputTypeDef definition

class StillWaitingResponseSpecificationOutputTypeDef(TypedDict):
    messageGroups: List[MessageGroupOutputTypeDef],  # (1)
    frequencyInSeconds: int,
    timeoutInSeconds: int,
    allowInterrupt: NotRequired[bool],
  1. See List[MessageGroupOutputTypeDef]

ListUtteranceAnalyticsDataResponseTypeDef#

# ListUtteranceAnalyticsDataResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListUtteranceAnalyticsDataResponseTypeDef


def get_value() -> ListUtteranceAnalyticsDataResponseTypeDef:
    return {
        "botId": ...,
    }


# ListUtteranceAnalyticsDataResponseTypeDef definition

class ListUtteranceAnalyticsDataResponseTypeDef(TypedDict):
    botId: str,
    utterances: List[UtteranceSpecificationTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See List[UtteranceSpecificationTypeDef]
  2. See ResponseMetadataTypeDef

FulfillmentStartResponseSpecificationTypeDef#

# FulfillmentStartResponseSpecificationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import FulfillmentStartResponseSpecificationTypeDef


def get_value() -> FulfillmentStartResponseSpecificationTypeDef:
    return {
        "delayInSeconds": ...,
    }


# FulfillmentStartResponseSpecificationTypeDef definition

class FulfillmentStartResponseSpecificationTypeDef(TypedDict):
    delayInSeconds: int,
    messageGroups: Sequence[MessageGroupTypeDef],  # (1)
    allowInterrupt: NotRequired[bool],
  1. See Sequence[MessageGroupTypeDef]

FulfillmentUpdateResponseSpecificationTypeDef#

# FulfillmentUpdateResponseSpecificationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import FulfillmentUpdateResponseSpecificationTypeDef


def get_value() -> FulfillmentUpdateResponseSpecificationTypeDef:
    return {
        "frequencyInSeconds": ...,
    }


# FulfillmentUpdateResponseSpecificationTypeDef definition

class FulfillmentUpdateResponseSpecificationTypeDef(TypedDict):
    frequencyInSeconds: int,
    messageGroups: Sequence[MessageGroupTypeDef],  # (1)
    allowInterrupt: NotRequired[bool],
  1. See Sequence[MessageGroupTypeDef]

PromptSpecificationTypeDef#

# PromptSpecificationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import PromptSpecificationTypeDef


def get_value() -> PromptSpecificationTypeDef:
    return {
        "messageGroups": ...,
    }


# PromptSpecificationTypeDef definition

class PromptSpecificationTypeDef(TypedDict):
    messageGroups: Sequence[MessageGroupTypeDef],  # (1)
    maxRetries: int,
    allowInterrupt: NotRequired[bool],
    messageSelectionStrategy: NotRequired[MessageSelectionStrategyType],  # (2)
    promptAttemptsSpecification: NotRequired[Mapping[PromptAttemptType, PromptAttemptSpecificationTypeDef]],  # (3)
  1. See Sequence[MessageGroupTypeDef]
  2. See MessageSelectionStrategyType
  3. See Mapping[PromptAttemptType, PromptAttemptSpecificationTypeDef]

ResponseSpecificationTypeDef#

# ResponseSpecificationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ResponseSpecificationTypeDef


def get_value() -> ResponseSpecificationTypeDef:
    return {
        "messageGroups": ...,
    }


# ResponseSpecificationTypeDef definition

class ResponseSpecificationTypeDef(TypedDict):
    messageGroups: Sequence[MessageGroupTypeDef],  # (1)
    allowInterrupt: NotRequired[bool],
  1. See Sequence[MessageGroupTypeDef]

StillWaitingResponseSpecificationTypeDef#

# StillWaitingResponseSpecificationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import StillWaitingResponseSpecificationTypeDef


def get_value() -> StillWaitingResponseSpecificationTypeDef:
    return {
        "messageGroups": ...,
    }


# StillWaitingResponseSpecificationTypeDef definition

class StillWaitingResponseSpecificationTypeDef(TypedDict):
    messageGroups: Sequence[MessageGroupTypeDef],  # (1)
    frequencyInSeconds: int,
    timeoutInSeconds: int,
    allowInterrupt: NotRequired[bool],
  1. See Sequence[MessageGroupTypeDef]

CreateBotAliasResponseTypeDef#

# CreateBotAliasResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import CreateBotAliasResponseTypeDef


def get_value() -> CreateBotAliasResponseTypeDef:
    return {
        "botAliasId": ...,
    }


# CreateBotAliasResponseTypeDef definition

class CreateBotAliasResponseTypeDef(TypedDict):
    botAliasId: str,
    botAliasName: str,
    description: str,
    botVersion: str,
    botAliasLocaleSettings: Dict[str, BotAliasLocaleSettingsTypeDef],  # (1)
    conversationLogSettings: ConversationLogSettingsOutputTypeDef,  # (2)
    sentimentAnalysisSettings: SentimentAnalysisSettingsTypeDef,  # (3)
    botAliasStatus: BotAliasStatusType,  # (4)
    botId: str,
    creationDateTime: datetime.datetime,
    tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See Dict[str, BotAliasLocaleSettingsTypeDef]
  2. See ConversationLogSettingsOutputTypeDef
  3. See SentimentAnalysisSettingsTypeDef
  4. See BotAliasStatusType
  5. See ResponseMetadataTypeDef

DescribeBotAliasResponseTypeDef#

# DescribeBotAliasResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeBotAliasResponseTypeDef


def get_value() -> DescribeBotAliasResponseTypeDef:
    return {
        "botAliasId": ...,
    }


# DescribeBotAliasResponseTypeDef definition

class DescribeBotAliasResponseTypeDef(TypedDict):
    botAliasId: str,
    botAliasName: str,
    description: str,
    botVersion: str,
    botAliasLocaleSettings: Dict[str, BotAliasLocaleSettingsTypeDef],  # (1)
    conversationLogSettings: ConversationLogSettingsOutputTypeDef,  # (2)
    sentimentAnalysisSettings: SentimentAnalysisSettingsTypeDef,  # (3)
    botAliasHistoryEvents: List[BotAliasHistoryEventTypeDef],  # (4)
    botAliasStatus: BotAliasStatusType,  # (5)
    botId: str,
    creationDateTime: datetime.datetime,
    lastUpdatedDateTime: datetime.datetime,
    parentBotNetworks: List[ParentBotNetworkTypeDef],  # (6)
    ResponseMetadata: ResponseMetadataTypeDef,  # (7)
  1. See Dict[str, BotAliasLocaleSettingsTypeDef]
  2. See ConversationLogSettingsOutputTypeDef
  3. See SentimentAnalysisSettingsTypeDef
  4. See List[BotAliasHistoryEventTypeDef]
  5. See BotAliasStatusType
  6. See List[ParentBotNetworkTypeDef]
  7. See ResponseMetadataTypeDef

UpdateBotAliasResponseTypeDef#

# UpdateBotAliasResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import UpdateBotAliasResponseTypeDef


def get_value() -> UpdateBotAliasResponseTypeDef:
    return {
        "botAliasId": ...,
    }


# UpdateBotAliasResponseTypeDef definition

class UpdateBotAliasResponseTypeDef(TypedDict):
    botAliasId: str,
    botAliasName: str,
    description: str,
    botVersion: str,
    botAliasLocaleSettings: Dict[str, BotAliasLocaleSettingsTypeDef],  # (1)
    conversationLogSettings: ConversationLogSettingsOutputTypeDef,  # (2)
    sentimentAnalysisSettings: SentimentAnalysisSettingsTypeDef,  # (3)
    botAliasStatus: BotAliasStatusType,  # (4)
    botId: str,
    creationDateTime: datetime.datetime,
    lastUpdatedDateTime: datetime.datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See Dict[str, BotAliasLocaleSettingsTypeDef]
  2. See ConversationLogSettingsOutputTypeDef
  3. See SentimentAnalysisSettingsTypeDef
  4. See BotAliasStatusType
  5. See ResponseMetadataTypeDef

S3BucketTranscriptSourceTypeDef#

# S3BucketTranscriptSourceTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import S3BucketTranscriptSourceTypeDef


def get_value() -> S3BucketTranscriptSourceTypeDef:
    return {
        "s3BucketName": ...,
    }


# S3BucketTranscriptSourceTypeDef definition

class S3BucketTranscriptSourceTypeDef(TypedDict):
    s3BucketName: str,
    transcriptFormat: TranscriptFormatType,  # (2)
    pathFormat: NotRequired[PathFormatTypeDef],  # (1)
    transcriptFilter: NotRequired[TranscriptFilterTypeDef],  # (3)
    kmsKeyArn: NotRequired[str],
  1. See PathFormatTypeDef
  2. See TranscriptFormatType
  3. See TranscriptFilterTypeDef

TranscriptSourceSettingOutputTypeDef#

# TranscriptSourceSettingOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import TranscriptSourceSettingOutputTypeDef


def get_value() -> TranscriptSourceSettingOutputTypeDef:
    return {
        "s3BucketTranscriptSource": ...,
    }


# TranscriptSourceSettingOutputTypeDef definition

class TranscriptSourceSettingOutputTypeDef(TypedDict):
    s3BucketTranscriptSource: NotRequired[S3BucketTranscriptSourceOutputTypeDef],  # (1)
  1. See S3BucketTranscriptSourceOutputTypeDef

UserTurnInputSpecificationTypeDef#

# UserTurnInputSpecificationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import UserTurnInputSpecificationTypeDef


def get_value() -> UserTurnInputSpecificationTypeDef:
    return {
        "utteranceInput": ...,
    }


# UserTurnInputSpecificationTypeDef definition

class UserTurnInputSpecificationTypeDef(TypedDict):
    utteranceInput: UtteranceInputSpecificationTypeDef,  # (1)
    requestAttributes: NotRequired[Dict[str, str]],
    sessionState: NotRequired[InputSessionStateSpecificationTypeDef],  # (2)
  1. See UtteranceInputSpecificationTypeDef
  2. See InputSessionStateSpecificationTypeDef

StartImportRequestTypeDef#

# StartImportRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import StartImportRequestTypeDef


def get_value() -> StartImportRequestTypeDef:
    return {
        "importId": ...,
    }


# StartImportRequestTypeDef definition

class StartImportRequestTypeDef(TypedDict):
    importId: str,
    resourceSpecification: ImportResourceSpecificationUnionTypeDef,  # (1)
    mergeStrategy: MergeStrategyType,  # (2)
    filePassword: NotRequired[str],
  1. See ImportResourceSpecificationUnionTypeDef
  2. See MergeStrategyType

CreateBotLocaleRequestTypeDef#

# CreateBotLocaleRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import CreateBotLocaleRequestTypeDef


def get_value() -> CreateBotLocaleRequestTypeDef:
    return {
        "botId": ...,
    }


# CreateBotLocaleRequestTypeDef definition

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

CreateBotLocaleResponseTypeDef#

# CreateBotLocaleResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import CreateBotLocaleResponseTypeDef


def get_value() -> CreateBotLocaleResponseTypeDef:
    return {
        "botId": ...,
    }


# 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.datetime,
    generativeAISettings: GenerativeAISettingsTypeDef,  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See VoiceSettingsTypeDef
  2. See BotLocaleStatusType
  3. See GenerativeAISettingsTypeDef
  4. See ResponseMetadataTypeDef

DescribeBotLocaleResponseTypeDef#

# DescribeBotLocaleResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeBotLocaleResponseTypeDef


def get_value() -> DescribeBotLocaleResponseTypeDef:
    return {
        "botId": ...,
    }


# 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.datetime,
    lastUpdatedDateTime: datetime.datetime,
    lastBuildSubmittedDateTime: datetime.datetime,
    botLocaleHistoryEvents: List[BotLocaleHistoryEventTypeDef],  # (3)
    recommendedActions: List[str],
    generativeAISettings: GenerativeAISettingsTypeDef,  # (4)
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See VoiceSettingsTypeDef
  2. See BotLocaleStatusType
  3. See List[BotLocaleHistoryEventTypeDef]
  4. See GenerativeAISettingsTypeDef
  5. See ResponseMetadataTypeDef

UpdateBotLocaleRequestTypeDef#

# UpdateBotLocaleRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import UpdateBotLocaleRequestTypeDef


def get_value() -> UpdateBotLocaleRequestTypeDef:
    return {
        "botId": ...,
    }


# UpdateBotLocaleRequestTypeDef definition

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

UpdateBotLocaleResponseTypeDef#

# UpdateBotLocaleResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import UpdateBotLocaleResponseTypeDef


def get_value() -> UpdateBotLocaleResponseTypeDef:
    return {
        "botId": ...,
    }


# 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.datetime,
    lastUpdatedDateTime: datetime.datetime,
    recommendedActions: List[str],
    generativeAISettings: GenerativeAISettingsTypeDef,  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See VoiceSettingsTypeDef
  2. See BotLocaleStatusType
  3. See GenerativeAISettingsTypeDef
  4. See ResponseMetadataTypeDef

FulfillmentUpdatesSpecificationOutputTypeDef#

# FulfillmentUpdatesSpecificationOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import FulfillmentUpdatesSpecificationOutputTypeDef


def get_value() -> FulfillmentUpdatesSpecificationOutputTypeDef:
    return {
        "active": ...,
    }


# FulfillmentUpdatesSpecificationOutputTypeDef definition

class FulfillmentUpdatesSpecificationOutputTypeDef(TypedDict):
    active: bool,
    startResponse: NotRequired[FulfillmentStartResponseSpecificationOutputTypeDef],  # (1)
    updateResponse: NotRequired[FulfillmentUpdateResponseSpecificationOutputTypeDef],  # (2)
    timeoutInSeconds: NotRequired[int],
  1. See FulfillmentStartResponseSpecificationOutputTypeDef
  2. See FulfillmentUpdateResponseSpecificationOutputTypeDef

SlotSummaryTypeDef#

# SlotSummaryTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import SlotSummaryTypeDef


def get_value() -> SlotSummaryTypeDef:
    return {
        "slotId": ...,
    }


# SlotSummaryTypeDef definition

class SlotSummaryTypeDef(TypedDict):
    slotId: NotRequired[str],
    slotName: NotRequired[str],
    description: NotRequired[str],
    slotConstraint: NotRequired[SlotConstraintType],  # (1)
    slotTypeId: NotRequired[str],
    valueElicitationPromptSpecification: NotRequired[PromptSpecificationOutputTypeDef],  # (2)
    lastUpdatedDateTime: NotRequired[datetime.datetime],
  1. See SlotConstraintType
  2. See PromptSpecificationOutputTypeDef

ConditionalBranchOutputTypeDef#

# ConditionalBranchOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ConditionalBranchOutputTypeDef


def get_value() -> ConditionalBranchOutputTypeDef:
    return {
        "name": ...,
    }


# ConditionalBranchOutputTypeDef definition

class ConditionalBranchOutputTypeDef(TypedDict):
    name: str,
    condition: ConditionTypeDef,  # (1)
    nextStep: DialogStateOutputTypeDef,  # (2)
    response: NotRequired[ResponseSpecificationOutputTypeDef],  # (3)
  1. See ConditionTypeDef
  2. See DialogStateOutputTypeDef
  3. See ResponseSpecificationOutputTypeDef

DefaultConditionalBranchOutputTypeDef#

# DefaultConditionalBranchOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DefaultConditionalBranchOutputTypeDef


def get_value() -> DefaultConditionalBranchOutputTypeDef:
    return {
        "nextStep": ...,
    }


# DefaultConditionalBranchOutputTypeDef definition

class DefaultConditionalBranchOutputTypeDef(TypedDict):
    nextStep: NotRequired[DialogStateOutputTypeDef],  # (1)
    response: NotRequired[ResponseSpecificationOutputTypeDef],  # (2)
  1. See DialogStateOutputTypeDef
  2. See ResponseSpecificationOutputTypeDef

WaitAndContinueSpecificationOutputTypeDef#

# WaitAndContinueSpecificationOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import WaitAndContinueSpecificationOutputTypeDef


def get_value() -> WaitAndContinueSpecificationOutputTypeDef:
    return {
        "waitingResponse": ...,
    }


# WaitAndContinueSpecificationOutputTypeDef definition

class WaitAndContinueSpecificationOutputTypeDef(TypedDict):
    waitingResponse: ResponseSpecificationOutputTypeDef,  # (1)
    continueResponse: ResponseSpecificationOutputTypeDef,  # (1)
    stillWaitingResponse: NotRequired[StillWaitingResponseSpecificationOutputTypeDef],  # (3)
    active: NotRequired[bool],
  1. See ResponseSpecificationOutputTypeDef
  2. See ResponseSpecificationOutputTypeDef
  3. See StillWaitingResponseSpecificationOutputTypeDef

FulfillmentUpdatesSpecificationTypeDef#

# FulfillmentUpdatesSpecificationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import FulfillmentUpdatesSpecificationTypeDef


def get_value() -> FulfillmentUpdatesSpecificationTypeDef:
    return {
        "active": ...,
    }


# FulfillmentUpdatesSpecificationTypeDef definition

class FulfillmentUpdatesSpecificationTypeDef(TypedDict):
    active: bool,
    startResponse: NotRequired[FulfillmentStartResponseSpecificationTypeDef],  # (1)
    updateResponse: NotRequired[FulfillmentUpdateResponseSpecificationTypeDef],  # (2)
    timeoutInSeconds: NotRequired[int],
  1. See FulfillmentStartResponseSpecificationTypeDef
  2. See FulfillmentUpdateResponseSpecificationTypeDef

ConditionalBranchTypeDef#

# ConditionalBranchTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ConditionalBranchTypeDef


def get_value() -> ConditionalBranchTypeDef:
    return {
        "name": ...,
    }


# ConditionalBranchTypeDef definition

class ConditionalBranchTypeDef(TypedDict):
    name: str,
    condition: ConditionTypeDef,  # (1)
    nextStep: DialogStateTypeDef,  # (2)
    response: NotRequired[ResponseSpecificationTypeDef],  # (3)
  1. See ConditionTypeDef
  2. See DialogStateTypeDef
  3. See ResponseSpecificationTypeDef

DefaultConditionalBranchTypeDef#

# DefaultConditionalBranchTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DefaultConditionalBranchTypeDef


def get_value() -> DefaultConditionalBranchTypeDef:
    return {
        "nextStep": ...,
    }


# DefaultConditionalBranchTypeDef definition

class DefaultConditionalBranchTypeDef(TypedDict):
    nextStep: NotRequired[DialogStateTypeDef],  # (1)
    response: NotRequired[ResponseSpecificationTypeDef],  # (2)
  1. See DialogStateTypeDef
  2. See ResponseSpecificationTypeDef

WaitAndContinueSpecificationTypeDef#

# WaitAndContinueSpecificationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import WaitAndContinueSpecificationTypeDef


def get_value() -> WaitAndContinueSpecificationTypeDef:
    return {
        "waitingResponse": ...,
    }


# WaitAndContinueSpecificationTypeDef definition

class WaitAndContinueSpecificationTypeDef(TypedDict):
    waitingResponse: ResponseSpecificationTypeDef,  # (1)
    continueResponse: ResponseSpecificationTypeDef,  # (1)
    stillWaitingResponse: NotRequired[StillWaitingResponseSpecificationTypeDef],  # (3)
    active: NotRequired[bool],
  1. See ResponseSpecificationTypeDef
  2. See ResponseSpecificationTypeDef
  3. See StillWaitingResponseSpecificationTypeDef

CreateBotAliasRequestTypeDef#

# CreateBotAliasRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import CreateBotAliasRequestTypeDef


def get_value() -> CreateBotAliasRequestTypeDef:
    return {
        "botAliasName": ...,
    }


# CreateBotAliasRequestTypeDef definition

class CreateBotAliasRequestTypeDef(TypedDict):
    botAliasName: str,
    botId: str,
    description: NotRequired[str],
    botVersion: NotRequired[str],
    botAliasLocaleSettings: NotRequired[Mapping[str, BotAliasLocaleSettingsTypeDef]],  # (1)
    conversationLogSettings: NotRequired[ConversationLogSettingsUnionTypeDef],  # (2)
    sentimentAnalysisSettings: NotRequired[SentimentAnalysisSettingsTypeDef],  # (3)
    tags: NotRequired[Mapping[str, str]],
  1. See Mapping[str, BotAliasLocaleSettingsTypeDef]
  2. See ConversationLogSettingsUnionTypeDef
  3. See SentimentAnalysisSettingsTypeDef

UpdateBotAliasRequestTypeDef#

# UpdateBotAliasRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import UpdateBotAliasRequestTypeDef


def get_value() -> UpdateBotAliasRequestTypeDef:
    return {
        "botAliasId": ...,
    }


# UpdateBotAliasRequestTypeDef definition

class UpdateBotAliasRequestTypeDef(TypedDict):
    botAliasId: str,
    botAliasName: str,
    botId: str,
    description: NotRequired[str],
    botVersion: NotRequired[str],
    botAliasLocaleSettings: NotRequired[Mapping[str, BotAliasLocaleSettingsTypeDef]],  # (1)
    conversationLogSettings: NotRequired[ConversationLogSettingsUnionTypeDef],  # (2)
    sentimentAnalysisSettings: NotRequired[SentimentAnalysisSettingsTypeDef],  # (3)
  1. See Mapping[str, BotAliasLocaleSettingsTypeDef]
  2. See ConversationLogSettingsUnionTypeDef
  3. See SentimentAnalysisSettingsTypeDef

StartTestSetGenerationRequestTypeDef#

# StartTestSetGenerationRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import StartTestSetGenerationRequestTypeDef


def get_value() -> StartTestSetGenerationRequestTypeDef:
    return {
        "testSetName": ...,
    }


# StartTestSetGenerationRequestTypeDef definition

class StartTestSetGenerationRequestTypeDef(TypedDict):
    testSetName: str,
    storageLocation: TestSetStorageLocationTypeDef,  # (1)
    generationDataSource: TestSetGenerationDataSourceUnionTypeDef,  # (2)
    roleArn: str,
    description: NotRequired[str],
    testSetTags: NotRequired[Mapping[str, str]],
  1. See TestSetStorageLocationTypeDef
  2. See TestSetGenerationDataSourceUnionTypeDef

TranscriptSourceSettingTypeDef#

# TranscriptSourceSettingTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import TranscriptSourceSettingTypeDef


def get_value() -> TranscriptSourceSettingTypeDef:
    return {
        "s3BucketTranscriptSource": ...,
    }


# TranscriptSourceSettingTypeDef definition

class TranscriptSourceSettingTypeDef(TypedDict):
    s3BucketTranscriptSource: NotRequired[S3BucketTranscriptSourceTypeDef],  # (1)
  1. See S3BucketTranscriptSourceTypeDef

DescribeBotRecommendationResponseTypeDef#

# DescribeBotRecommendationResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeBotRecommendationResponseTypeDef


def get_value() -> DescribeBotRecommendationResponseTypeDef:
    return {
        "botId": ...,
    }


# DescribeBotRecommendationResponseTypeDef definition

class DescribeBotRecommendationResponseTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    botRecommendationStatus: BotRecommendationStatusType,  # (1)
    botRecommendationId: str,
    failureReasons: List[str],
    creationDateTime: datetime.datetime,
    lastUpdatedDateTime: datetime.datetime,
    transcriptSourceSetting: TranscriptSourceSettingOutputTypeDef,  # (2)
    encryptionSetting: EncryptionSettingTypeDef,  # (3)
    botRecommendationResults: BotRecommendationResultsTypeDef,  # (4)
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See BotRecommendationStatusType
  2. See TranscriptSourceSettingOutputTypeDef
  3. See EncryptionSettingTypeDef
  4. See BotRecommendationResultsTypeDef
  5. See ResponseMetadataTypeDef

StartBotRecommendationResponseTypeDef#

# StartBotRecommendationResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import StartBotRecommendationResponseTypeDef


def get_value() -> StartBotRecommendationResponseTypeDef:
    return {
        "botId": ...,
    }


# StartBotRecommendationResponseTypeDef definition

class StartBotRecommendationResponseTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    botRecommendationStatus: BotRecommendationStatusType,  # (1)
    botRecommendationId: str,
    creationDateTime: datetime.datetime,
    transcriptSourceSetting: TranscriptSourceSettingOutputTypeDef,  # (2)
    encryptionSetting: EncryptionSettingTypeDef,  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See BotRecommendationStatusType
  2. See TranscriptSourceSettingOutputTypeDef
  3. See EncryptionSettingTypeDef
  4. See ResponseMetadataTypeDef

UpdateBotRecommendationResponseTypeDef#

# UpdateBotRecommendationResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import UpdateBotRecommendationResponseTypeDef


def get_value() -> UpdateBotRecommendationResponseTypeDef:
    return {
        "botId": ...,
    }


# UpdateBotRecommendationResponseTypeDef definition

class UpdateBotRecommendationResponseTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    botRecommendationStatus: BotRecommendationStatusType,  # (1)
    botRecommendationId: str,
    creationDateTime: datetime.datetime,
    lastUpdatedDateTime: datetime.datetime,
    transcriptSourceSetting: TranscriptSourceSettingOutputTypeDef,  # (2)
    encryptionSetting: EncryptionSettingTypeDef,  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See BotRecommendationStatusType
  2. See TranscriptSourceSettingOutputTypeDef
  3. See EncryptionSettingTypeDef
  4. See ResponseMetadataTypeDef

UserTurnResultTypeDef#

# UserTurnResultTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import UserTurnResultTypeDef


def get_value() -> UserTurnResultTypeDef:
    return {
        "input": ...,
    }


# UserTurnResultTypeDef definition

class UserTurnResultTypeDef(TypedDict):
    input: UserTurnInputSpecificationTypeDef,  # (1)
    expectedOutput: UserTurnOutputSpecificationTypeDef,  # (2)
    actualOutput: NotRequired[UserTurnOutputSpecificationTypeDef],  # (2)
    errorDetails: NotRequired[ExecutionErrorDetailsTypeDef],  # (4)
    endToEndResult: NotRequired[TestResultMatchStatusType],  # (5)
    intentMatchResult: NotRequired[TestResultMatchStatusType],  # (5)
    slotMatchResult: NotRequired[TestResultMatchStatusType],  # (5)
    speechTranscriptionResult: NotRequired[TestResultMatchStatusType],  # (5)
    conversationLevelResult: NotRequired[ConversationLevelResultDetailTypeDef],  # (9)
  1. See UserTurnInputSpecificationTypeDef
  2. See UserTurnOutputSpecificationTypeDef
  3. See UserTurnOutputSpecificationTypeDef
  4. See ExecutionErrorDetailsTypeDef
  5. See TestResultMatchStatusType
  6. See TestResultMatchStatusType
  7. See TestResultMatchStatusType
  8. See TestResultMatchStatusType
  9. See ConversationLevelResultDetailTypeDef

UserTurnSpecificationTypeDef#

# UserTurnSpecificationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import UserTurnSpecificationTypeDef


def get_value() -> UserTurnSpecificationTypeDef:
    return {
        "input": ...,
    }


# UserTurnSpecificationTypeDef definition

class UserTurnSpecificationTypeDef(TypedDict):
    input: UserTurnInputSpecificationTypeDef,  # (1)
    expected: UserTurnOutputSpecificationTypeDef,  # (2)
  1. See UserTurnInputSpecificationTypeDef
  2. See UserTurnOutputSpecificationTypeDef

ListSlotsResponseTypeDef#

# ListSlotsResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListSlotsResponseTypeDef


def get_value() -> ListSlotsResponseTypeDef:
    return {
        "botId": ...,
    }


# ListSlotsResponseTypeDef definition

class ListSlotsResponseTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    intentId: str,
    slotSummaries: List[SlotSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See List[SlotSummaryTypeDef]
  2. See ResponseMetadataTypeDef

ConditionalSpecificationOutputTypeDef#

# ConditionalSpecificationOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ConditionalSpecificationOutputTypeDef


def get_value() -> ConditionalSpecificationOutputTypeDef:
    return {
        "active": ...,
    }


# ConditionalSpecificationOutputTypeDef definition

class ConditionalSpecificationOutputTypeDef(TypedDict):
    active: bool,
    conditionalBranches: List[ConditionalBranchOutputTypeDef],  # (1)
    defaultBranch: DefaultConditionalBranchOutputTypeDef,  # (2)
  1. See List[ConditionalBranchOutputTypeDef]
  2. See DefaultConditionalBranchOutputTypeDef

SubSlotValueElicitationSettingOutputTypeDef#

# SubSlotValueElicitationSettingOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import SubSlotValueElicitationSettingOutputTypeDef


def get_value() -> SubSlotValueElicitationSettingOutputTypeDef:
    return {
        "defaultValueSpecification": ...,
    }


# SubSlotValueElicitationSettingOutputTypeDef definition

class SubSlotValueElicitationSettingOutputTypeDef(TypedDict):
    promptSpecification: PromptSpecificationOutputTypeDef,  # (2)
    defaultValueSpecification: NotRequired[SlotDefaultValueSpecificationOutputTypeDef],  # (1)
    sampleUtterances: NotRequired[List[SampleUtteranceTypeDef]],  # (3)
    waitAndContinueSpecification: NotRequired[WaitAndContinueSpecificationOutputTypeDef],  # (4)
  1. See SlotDefaultValueSpecificationOutputTypeDef
  2. See PromptSpecificationOutputTypeDef
  3. See List[SampleUtteranceTypeDef]
  4. See WaitAndContinueSpecificationOutputTypeDef

ConditionalSpecificationTypeDef#

# ConditionalSpecificationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ConditionalSpecificationTypeDef


def get_value() -> ConditionalSpecificationTypeDef:
    return {
        "active": ...,
    }


# ConditionalSpecificationTypeDef definition

class ConditionalSpecificationTypeDef(TypedDict):
    active: bool,
    conditionalBranches: Sequence[ConditionalBranchTypeDef],  # (1)
    defaultBranch: DefaultConditionalBranchTypeDef,  # (2)
  1. See Sequence[ConditionalBranchTypeDef]
  2. See DefaultConditionalBranchTypeDef

SubSlotValueElicitationSettingTypeDef#

# SubSlotValueElicitationSettingTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import SubSlotValueElicitationSettingTypeDef


def get_value() -> SubSlotValueElicitationSettingTypeDef:
    return {
        "defaultValueSpecification": ...,
    }


# SubSlotValueElicitationSettingTypeDef definition

class SubSlotValueElicitationSettingTypeDef(TypedDict):
    promptSpecification: PromptSpecificationTypeDef,  # (2)
    defaultValueSpecification: NotRequired[SlotDefaultValueSpecificationTypeDef],  # (1)
    sampleUtterances: NotRequired[Sequence[SampleUtteranceTypeDef]],  # (3)
    waitAndContinueSpecification: NotRequired[WaitAndContinueSpecificationTypeDef],  # (4)
  1. See SlotDefaultValueSpecificationTypeDef
  2. See PromptSpecificationTypeDef
  3. See Sequence[SampleUtteranceTypeDef]
  4. See WaitAndContinueSpecificationTypeDef

TestSetTurnResultTypeDef#

# TestSetTurnResultTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import TestSetTurnResultTypeDef


def get_value() -> TestSetTurnResultTypeDef:
    return {
        "agent": ...,
    }


# TestSetTurnResultTypeDef definition

class TestSetTurnResultTypeDef(TypedDict):
    agent: NotRequired[AgentTurnResultTypeDef],  # (1)
    user: NotRequired[UserTurnResultTypeDef],  # (2)
  1. See AgentTurnResultTypeDef
  2. See UserTurnResultTypeDef

TurnSpecificationTypeDef#

# TurnSpecificationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import TurnSpecificationTypeDef


def get_value() -> TurnSpecificationTypeDef:
    return {
        "agentTurn": ...,
    }


# TurnSpecificationTypeDef definition

class TurnSpecificationTypeDef(TypedDict):
    agentTurn: NotRequired[AgentTurnSpecificationTypeDef],  # (1)
    userTurn: NotRequired[UserTurnSpecificationTypeDef],  # (2)
  1. See AgentTurnSpecificationTypeDef
  2. See UserTurnSpecificationTypeDef

IntentClosingSettingOutputTypeDef#

# IntentClosingSettingOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import IntentClosingSettingOutputTypeDef


def get_value() -> IntentClosingSettingOutputTypeDef:
    return {
        "closingResponse": ...,
    }


# IntentClosingSettingOutputTypeDef definition

class IntentClosingSettingOutputTypeDef(TypedDict):
    closingResponse: NotRequired[ResponseSpecificationOutputTypeDef],  # (1)
    active: NotRequired[bool],
    nextStep: NotRequired[DialogStateOutputTypeDef],  # (2)
    conditional: NotRequired[ConditionalSpecificationOutputTypeDef],  # (3)
  1. See ResponseSpecificationOutputTypeDef
  2. See DialogStateOutputTypeDef
  3. See ConditionalSpecificationOutputTypeDef

PostDialogCodeHookInvocationSpecificationOutputTypeDef#

# PostDialogCodeHookInvocationSpecificationOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import PostDialogCodeHookInvocationSpecificationOutputTypeDef


def get_value() -> PostDialogCodeHookInvocationSpecificationOutputTypeDef:
    return {
        "successResponse": ...,
    }


# PostDialogCodeHookInvocationSpecificationOutputTypeDef definition

class PostDialogCodeHookInvocationSpecificationOutputTypeDef(TypedDict):
    successResponse: NotRequired[ResponseSpecificationOutputTypeDef],  # (1)
    successNextStep: NotRequired[DialogStateOutputTypeDef],  # (2)
    successConditional: NotRequired[ConditionalSpecificationOutputTypeDef],  # (3)
    failureResponse: NotRequired[ResponseSpecificationOutputTypeDef],  # (1)
    failureNextStep: NotRequired[DialogStateOutputTypeDef],  # (2)
    failureConditional: NotRequired[ConditionalSpecificationOutputTypeDef],  # (3)
    timeoutResponse: NotRequired[ResponseSpecificationOutputTypeDef],  # (1)
    timeoutNextStep: NotRequired[DialogStateOutputTypeDef],  # (2)
    timeoutConditional: NotRequired[ConditionalSpecificationOutputTypeDef],  # (3)
  1. See ResponseSpecificationOutputTypeDef
  2. See DialogStateOutputTypeDef
  3. See ConditionalSpecificationOutputTypeDef
  4. See ResponseSpecificationOutputTypeDef
  5. See DialogStateOutputTypeDef
  6. See ConditionalSpecificationOutputTypeDef
  7. See ResponseSpecificationOutputTypeDef
  8. See DialogStateOutputTypeDef
  9. See ConditionalSpecificationOutputTypeDef

PostFulfillmentStatusSpecificationOutputTypeDef#

# PostFulfillmentStatusSpecificationOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import PostFulfillmentStatusSpecificationOutputTypeDef


def get_value() -> PostFulfillmentStatusSpecificationOutputTypeDef:
    return {
        "successResponse": ...,
    }


# PostFulfillmentStatusSpecificationOutputTypeDef definition

class PostFulfillmentStatusSpecificationOutputTypeDef(TypedDict):
    successResponse: NotRequired[ResponseSpecificationOutputTypeDef],  # (1)
    failureResponse: NotRequired[ResponseSpecificationOutputTypeDef],  # (1)
    timeoutResponse: NotRequired[ResponseSpecificationOutputTypeDef],  # (1)
    successNextStep: NotRequired[DialogStateOutputTypeDef],  # (4)
    successConditional: NotRequired[ConditionalSpecificationOutputTypeDef],  # (5)
    failureNextStep: NotRequired[DialogStateOutputTypeDef],  # (4)
    failureConditional: NotRequired[ConditionalSpecificationOutputTypeDef],  # (5)
    timeoutNextStep: NotRequired[DialogStateOutputTypeDef],  # (4)
    timeoutConditional: NotRequired[ConditionalSpecificationOutputTypeDef],  # (5)
  1. See ResponseSpecificationOutputTypeDef
  2. See ResponseSpecificationOutputTypeDef
  3. See ResponseSpecificationOutputTypeDef
  4. See DialogStateOutputTypeDef
  5. See ConditionalSpecificationOutputTypeDef
  6. See DialogStateOutputTypeDef
  7. See ConditionalSpecificationOutputTypeDef
  8. See DialogStateOutputTypeDef
  9. See ConditionalSpecificationOutputTypeDef

SpecificationsOutputTypeDef#

# SpecificationsOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import SpecificationsOutputTypeDef


def get_value() -> SpecificationsOutputTypeDef:
    return {
        "slotTypeId": ...,
    }


# SpecificationsOutputTypeDef definition

class SpecificationsOutputTypeDef(TypedDict):
    slotTypeId: str,
    valueElicitationSetting: SubSlotValueElicitationSettingOutputTypeDef,  # (1)
  1. See SubSlotValueElicitationSettingOutputTypeDef

IntentClosingSettingTypeDef#

# IntentClosingSettingTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import IntentClosingSettingTypeDef


def get_value() -> IntentClosingSettingTypeDef:
    return {
        "closingResponse": ...,
    }


# IntentClosingSettingTypeDef definition

class IntentClosingSettingTypeDef(TypedDict):
    closingResponse: NotRequired[ResponseSpecificationTypeDef],  # (1)
    active: NotRequired[bool],
    nextStep: NotRequired[DialogStateTypeDef],  # (2)
    conditional: NotRequired[ConditionalSpecificationTypeDef],  # (3)
  1. See ResponseSpecificationTypeDef
  2. See DialogStateTypeDef
  3. See ConditionalSpecificationTypeDef

PostDialogCodeHookInvocationSpecificationTypeDef#

# PostDialogCodeHookInvocationSpecificationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import PostDialogCodeHookInvocationSpecificationTypeDef


def get_value() -> PostDialogCodeHookInvocationSpecificationTypeDef:
    return {
        "successResponse": ...,
    }


# PostDialogCodeHookInvocationSpecificationTypeDef definition

class PostDialogCodeHookInvocationSpecificationTypeDef(TypedDict):
    successResponse: NotRequired[ResponseSpecificationTypeDef],  # (1)
    successNextStep: NotRequired[DialogStateTypeDef],  # (2)
    successConditional: NotRequired[ConditionalSpecificationTypeDef],  # (3)
    failureResponse: NotRequired[ResponseSpecificationTypeDef],  # (1)
    failureNextStep: NotRequired[DialogStateTypeDef],  # (2)
    failureConditional: NotRequired[ConditionalSpecificationTypeDef],  # (3)
    timeoutResponse: NotRequired[ResponseSpecificationTypeDef],  # (1)
    timeoutNextStep: NotRequired[DialogStateTypeDef],  # (2)
    timeoutConditional: NotRequired[ConditionalSpecificationTypeDef],  # (3)
  1. See ResponseSpecificationTypeDef
  2. See DialogStateTypeDef
  3. See ConditionalSpecificationTypeDef
  4. See ResponseSpecificationTypeDef
  5. See DialogStateTypeDef
  6. See ConditionalSpecificationTypeDef
  7. See ResponseSpecificationTypeDef
  8. See DialogStateTypeDef
  9. See ConditionalSpecificationTypeDef

PostFulfillmentStatusSpecificationTypeDef#

# PostFulfillmentStatusSpecificationTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import PostFulfillmentStatusSpecificationTypeDef


def get_value() -> PostFulfillmentStatusSpecificationTypeDef:
    return {
        "successResponse": ...,
    }


# PostFulfillmentStatusSpecificationTypeDef definition

class PostFulfillmentStatusSpecificationTypeDef(TypedDict):
    successResponse: NotRequired[ResponseSpecificationTypeDef],  # (1)
    failureResponse: NotRequired[ResponseSpecificationTypeDef],  # (1)
    timeoutResponse: NotRequired[ResponseSpecificationTypeDef],  # (1)
    successNextStep: NotRequired[DialogStateTypeDef],  # (4)
    successConditional: NotRequired[ConditionalSpecificationTypeDef],  # (5)
    failureNextStep: NotRequired[DialogStateTypeDef],  # (4)
    failureConditional: NotRequired[ConditionalSpecificationTypeDef],  # (5)
    timeoutNextStep: NotRequired[DialogStateTypeDef],  # (4)
    timeoutConditional: NotRequired[ConditionalSpecificationTypeDef],  # (5)
  1. See ResponseSpecificationTypeDef
  2. See ResponseSpecificationTypeDef
  3. See ResponseSpecificationTypeDef
  4. See DialogStateTypeDef
  5. See ConditionalSpecificationTypeDef
  6. See DialogStateTypeDef
  7. See ConditionalSpecificationTypeDef
  8. See DialogStateTypeDef
  9. See ConditionalSpecificationTypeDef

SpecificationsTypeDef#

# SpecificationsTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import SpecificationsTypeDef


def get_value() -> SpecificationsTypeDef:
    return {
        "slotTypeId": ...,
    }


# SpecificationsTypeDef definition

class SpecificationsTypeDef(TypedDict):
    slotTypeId: str,
    valueElicitationSetting: SubSlotValueElicitationSettingTypeDef,  # (1)
  1. See SubSlotValueElicitationSettingTypeDef

StartBotRecommendationRequestTypeDef#

# StartBotRecommendationRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import StartBotRecommendationRequestTypeDef


def get_value() -> StartBotRecommendationRequestTypeDef:
    return {
        "botId": ...,
    }


# StartBotRecommendationRequestTypeDef definition

class StartBotRecommendationRequestTypeDef(TypedDict):
    botId: str,
    botVersion: str,
    localeId: str,
    transcriptSourceSetting: TranscriptSourceSettingUnionTypeDef,  # (1)
    encryptionSetting: NotRequired[EncryptionSettingTypeDef],  # (2)
  1. See TranscriptSourceSettingUnionTypeDef
  2. See EncryptionSettingTypeDef

UtteranceLevelTestResultItemTypeDef#

# UtteranceLevelTestResultItemTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import UtteranceLevelTestResultItemTypeDef


def get_value() -> UtteranceLevelTestResultItemTypeDef:
    return {
        "recordNumber": ...,
    }


# UtteranceLevelTestResultItemTypeDef definition

class UtteranceLevelTestResultItemTypeDef(TypedDict):
    recordNumber: int,
    turnResult: TestSetTurnResultTypeDef,  # (1)
    conversationId: NotRequired[str],
  1. See TestSetTurnResultTypeDef

TestSetTurnRecordTypeDef#

# TestSetTurnRecordTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import TestSetTurnRecordTypeDef


def get_value() -> TestSetTurnRecordTypeDef:
    return {
        "recordNumber": ...,
    }


# TestSetTurnRecordTypeDef definition

class TestSetTurnRecordTypeDef(TypedDict):
    recordNumber: int,
    turnSpecification: TurnSpecificationTypeDef,  # (1)
    conversationId: NotRequired[str],
    turnNumber: NotRequired[int],
  1. See TurnSpecificationTypeDef

DialogCodeHookInvocationSettingOutputTypeDef#

# DialogCodeHookInvocationSettingOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DialogCodeHookInvocationSettingOutputTypeDef


def get_value() -> DialogCodeHookInvocationSettingOutputTypeDef:
    return {
        "enableCodeHookInvocation": ...,
    }


# DialogCodeHookInvocationSettingOutputTypeDef definition

class DialogCodeHookInvocationSettingOutputTypeDef(TypedDict):
    enableCodeHookInvocation: bool,
    active: bool,
    postCodeHookSpecification: PostDialogCodeHookInvocationSpecificationOutputTypeDef,  # (1)
    invocationLabel: NotRequired[str],
  1. See PostDialogCodeHookInvocationSpecificationOutputTypeDef

FulfillmentCodeHookSettingsOutputTypeDef#

# FulfillmentCodeHookSettingsOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import FulfillmentCodeHookSettingsOutputTypeDef


def get_value() -> FulfillmentCodeHookSettingsOutputTypeDef:
    return {
        "enabled": ...,
    }


# FulfillmentCodeHookSettingsOutputTypeDef definition

class FulfillmentCodeHookSettingsOutputTypeDef(TypedDict):
    enabled: bool,
    postFulfillmentStatusSpecification: NotRequired[PostFulfillmentStatusSpecificationOutputTypeDef],  # (1)
    fulfillmentUpdatesSpecification: NotRequired[FulfillmentUpdatesSpecificationOutputTypeDef],  # (2)
    active: NotRequired[bool],
  1. See PostFulfillmentStatusSpecificationOutputTypeDef
  2. See FulfillmentUpdatesSpecificationOutputTypeDef

SubSlotSettingOutputTypeDef#

# SubSlotSettingOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import SubSlotSettingOutputTypeDef


def get_value() -> SubSlotSettingOutputTypeDef:
    return {
        "expression": ...,
    }


# SubSlotSettingOutputTypeDef definition

class SubSlotSettingOutputTypeDef(TypedDict):
    expression: NotRequired[str],
    slotSpecifications: NotRequired[Dict[str, SpecificationsOutputTypeDef]],  # (1)
  1. See Dict[str, SpecificationsOutputTypeDef]

DialogCodeHookInvocationSettingTypeDef#

# DialogCodeHookInvocationSettingTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DialogCodeHookInvocationSettingTypeDef


def get_value() -> DialogCodeHookInvocationSettingTypeDef:
    return {
        "enableCodeHookInvocation": ...,
    }


# DialogCodeHookInvocationSettingTypeDef definition

class DialogCodeHookInvocationSettingTypeDef(TypedDict):
    enableCodeHookInvocation: bool,
    active: bool,
    postCodeHookSpecification: PostDialogCodeHookInvocationSpecificationTypeDef,  # (1)
    invocationLabel: NotRequired[str],
  1. See PostDialogCodeHookInvocationSpecificationTypeDef

FulfillmentCodeHookSettingsTypeDef#

# FulfillmentCodeHookSettingsTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import FulfillmentCodeHookSettingsTypeDef


def get_value() -> FulfillmentCodeHookSettingsTypeDef:
    return {
        "enabled": ...,
    }


# FulfillmentCodeHookSettingsTypeDef definition

class FulfillmentCodeHookSettingsTypeDef(TypedDict):
    enabled: bool,
    postFulfillmentStatusSpecification: NotRequired[PostFulfillmentStatusSpecificationTypeDef],  # (1)
    fulfillmentUpdatesSpecification: NotRequired[FulfillmentUpdatesSpecificationTypeDef],  # (2)
    active: NotRequired[bool],
  1. See PostFulfillmentStatusSpecificationTypeDef
  2. See FulfillmentUpdatesSpecificationTypeDef

SubSlotSettingTypeDef#

# SubSlotSettingTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import SubSlotSettingTypeDef


def get_value() -> SubSlotSettingTypeDef:
    return {
        "expression": ...,
    }


# SubSlotSettingTypeDef definition

class SubSlotSettingTypeDef(TypedDict):
    expression: NotRequired[str],
    slotSpecifications: NotRequired[Mapping[str, SpecificationsTypeDef]],  # (1)
  1. See Mapping[str, SpecificationsTypeDef]

UtteranceLevelTestResultsTypeDef#

# UtteranceLevelTestResultsTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import UtteranceLevelTestResultsTypeDef


def get_value() -> UtteranceLevelTestResultsTypeDef:
    return {
        "items": ...,
    }


# UtteranceLevelTestResultsTypeDef definition

class UtteranceLevelTestResultsTypeDef(TypedDict):
    items: List[UtteranceLevelTestResultItemTypeDef],  # (1)
  1. See List[UtteranceLevelTestResultItemTypeDef]

ListTestSetRecordsResponseTypeDef#

# ListTestSetRecordsResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListTestSetRecordsResponseTypeDef


def get_value() -> ListTestSetRecordsResponseTypeDef:
    return {
        "testSetRecords": ...,
    }


# ListTestSetRecordsResponseTypeDef definition

class ListTestSetRecordsResponseTypeDef(TypedDict):
    testSetRecords: List[TestSetTurnRecordTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See List[TestSetTurnRecordTypeDef]
  2. See ResponseMetadataTypeDef

InitialResponseSettingOutputTypeDef#

# InitialResponseSettingOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import InitialResponseSettingOutputTypeDef


def get_value() -> InitialResponseSettingOutputTypeDef:
    return {
        "initialResponse": ...,
    }


# InitialResponseSettingOutputTypeDef definition

class InitialResponseSettingOutputTypeDef(TypedDict):
    initialResponse: NotRequired[ResponseSpecificationOutputTypeDef],  # (1)
    nextStep: NotRequired[DialogStateOutputTypeDef],  # (2)
    conditional: NotRequired[ConditionalSpecificationOutputTypeDef],  # (3)
    codeHook: NotRequired[DialogCodeHookInvocationSettingOutputTypeDef],  # (4)
  1. See ResponseSpecificationOutputTypeDef
  2. See DialogStateOutputTypeDef
  3. See ConditionalSpecificationOutputTypeDef
  4. See DialogCodeHookInvocationSettingOutputTypeDef

IntentConfirmationSettingOutputTypeDef#

# IntentConfirmationSettingOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import IntentConfirmationSettingOutputTypeDef


def get_value() -> IntentConfirmationSettingOutputTypeDef:
    return {
        "promptSpecification": ...,
    }


# IntentConfirmationSettingOutputTypeDef definition

class IntentConfirmationSettingOutputTypeDef(TypedDict):
    promptSpecification: PromptSpecificationOutputTypeDef,  # (1)
    declinationResponse: NotRequired[ResponseSpecificationOutputTypeDef],  # (2)
    active: NotRequired[bool],
    confirmationResponse: NotRequired[ResponseSpecificationOutputTypeDef],  # (2)
    confirmationNextStep: NotRequired[DialogStateOutputTypeDef],  # (4)
    confirmationConditional: NotRequired[ConditionalSpecificationOutputTypeDef],  # (5)
    declinationNextStep: NotRequired[DialogStateOutputTypeDef],  # (4)
    declinationConditional: NotRequired[ConditionalSpecificationOutputTypeDef],  # (5)
    failureResponse: NotRequired[ResponseSpecificationOutputTypeDef],  # (2)
    failureNextStep: NotRequired[DialogStateOutputTypeDef],  # (4)
    failureConditional: NotRequired[ConditionalSpecificationOutputTypeDef],  # (5)
    codeHook: NotRequired[DialogCodeHookInvocationSettingOutputTypeDef],  # (11)
    elicitationCodeHook: NotRequired[ElicitationCodeHookInvocationSettingTypeDef],  # (12)
  1. See PromptSpecificationOutputTypeDef
  2. See ResponseSpecificationOutputTypeDef
  3. See ResponseSpecificationOutputTypeDef
  4. See DialogStateOutputTypeDef
  5. See ConditionalSpecificationOutputTypeDef
  6. See DialogStateOutputTypeDef
  7. See ConditionalSpecificationOutputTypeDef
  8. See ResponseSpecificationOutputTypeDef
  9. See DialogStateOutputTypeDef
  10. See ConditionalSpecificationOutputTypeDef
  11. See DialogCodeHookInvocationSettingOutputTypeDef
  12. See ElicitationCodeHookInvocationSettingTypeDef

SlotCaptureSettingOutputTypeDef#

# SlotCaptureSettingOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import SlotCaptureSettingOutputTypeDef


def get_value() -> SlotCaptureSettingOutputTypeDef:
    return {
        "captureResponse": ...,
    }


# SlotCaptureSettingOutputTypeDef definition

class SlotCaptureSettingOutputTypeDef(TypedDict):
    captureResponse: NotRequired[ResponseSpecificationOutputTypeDef],  # (1)
    captureNextStep: NotRequired[DialogStateOutputTypeDef],  # (2)
    captureConditional: NotRequired[ConditionalSpecificationOutputTypeDef],  # (3)
    failureResponse: NotRequired[ResponseSpecificationOutputTypeDef],  # (1)
    failureNextStep: NotRequired[DialogStateOutputTypeDef],  # (2)
    failureConditional: NotRequired[ConditionalSpecificationOutputTypeDef],  # (3)
    codeHook: NotRequired[DialogCodeHookInvocationSettingOutputTypeDef],  # (7)
    elicitationCodeHook: NotRequired[ElicitationCodeHookInvocationSettingTypeDef],  # (8)
  1. See ResponseSpecificationOutputTypeDef
  2. See DialogStateOutputTypeDef
  3. See ConditionalSpecificationOutputTypeDef
  4. See ResponseSpecificationOutputTypeDef
  5. See DialogStateOutputTypeDef
  6. See ConditionalSpecificationOutputTypeDef
  7. See DialogCodeHookInvocationSettingOutputTypeDef
  8. See ElicitationCodeHookInvocationSettingTypeDef

InitialResponseSettingTypeDef#

# InitialResponseSettingTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import InitialResponseSettingTypeDef


def get_value() -> InitialResponseSettingTypeDef:
    return {
        "initialResponse": ...,
    }


# InitialResponseSettingTypeDef definition

class InitialResponseSettingTypeDef(TypedDict):
    initialResponse: NotRequired[ResponseSpecificationTypeDef],  # (1)
    nextStep: NotRequired[DialogStateTypeDef],  # (2)
    conditional: NotRequired[ConditionalSpecificationTypeDef],  # (3)
    codeHook: NotRequired[DialogCodeHookInvocationSettingTypeDef],  # (4)
  1. See ResponseSpecificationTypeDef
  2. See DialogStateTypeDef
  3. See ConditionalSpecificationTypeDef
  4. See DialogCodeHookInvocationSettingTypeDef

IntentConfirmationSettingTypeDef#

# IntentConfirmationSettingTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import IntentConfirmationSettingTypeDef


def get_value() -> IntentConfirmationSettingTypeDef:
    return {
        "promptSpecification": ...,
    }


# IntentConfirmationSettingTypeDef definition

class IntentConfirmationSettingTypeDef(TypedDict):
    promptSpecification: PromptSpecificationTypeDef,  # (1)
    declinationResponse: NotRequired[ResponseSpecificationTypeDef],  # (2)
    active: NotRequired[bool],
    confirmationResponse: NotRequired[ResponseSpecificationTypeDef],  # (2)
    confirmationNextStep: NotRequired[DialogStateTypeDef],  # (4)
    confirmationConditional: NotRequired[ConditionalSpecificationTypeDef],  # (5)
    declinationNextStep: NotRequired[DialogStateTypeDef],  # (4)
    declinationConditional: NotRequired[ConditionalSpecificationTypeDef],  # (5)
    failureResponse: NotRequired[ResponseSpecificationTypeDef],  # (2)
    failureNextStep: NotRequired[DialogStateTypeDef],  # (4)
    failureConditional: NotRequired[ConditionalSpecificationTypeDef],  # (5)
    codeHook: NotRequired[DialogCodeHookInvocationSettingTypeDef],  # (11)
    elicitationCodeHook: NotRequired[ElicitationCodeHookInvocationSettingTypeDef],  # (12)
  1. See PromptSpecificationTypeDef
  2. See ResponseSpecificationTypeDef
  3. See ResponseSpecificationTypeDef
  4. See DialogStateTypeDef
  5. See ConditionalSpecificationTypeDef
  6. See DialogStateTypeDef
  7. See ConditionalSpecificationTypeDef
  8. See ResponseSpecificationTypeDef
  9. See DialogStateTypeDef
  10. See ConditionalSpecificationTypeDef
  11. See DialogCodeHookInvocationSettingTypeDef
  12. See ElicitationCodeHookInvocationSettingTypeDef

SlotCaptureSettingTypeDef#

# SlotCaptureSettingTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import SlotCaptureSettingTypeDef


def get_value() -> SlotCaptureSettingTypeDef:
    return {
        "captureResponse": ...,
    }


# SlotCaptureSettingTypeDef definition

class SlotCaptureSettingTypeDef(TypedDict):
    captureResponse: NotRequired[ResponseSpecificationTypeDef],  # (1)
    captureNextStep: NotRequired[DialogStateTypeDef],  # (2)
    captureConditional: NotRequired[ConditionalSpecificationTypeDef],  # (3)
    failureResponse: NotRequired[ResponseSpecificationTypeDef],  # (1)
    failureNextStep: NotRequired[DialogStateTypeDef],  # (2)
    failureConditional: NotRequired[ConditionalSpecificationTypeDef],  # (3)
    codeHook: NotRequired[DialogCodeHookInvocationSettingTypeDef],  # (7)
    elicitationCodeHook: NotRequired[ElicitationCodeHookInvocationSettingTypeDef],  # (8)
  1. See ResponseSpecificationTypeDef
  2. See DialogStateTypeDef
  3. See ConditionalSpecificationTypeDef
  4. See ResponseSpecificationTypeDef
  5. See DialogStateTypeDef
  6. See ConditionalSpecificationTypeDef
  7. See DialogCodeHookInvocationSettingTypeDef
  8. See ElicitationCodeHookInvocationSettingTypeDef

TestExecutionResultItemsTypeDef#

# TestExecutionResultItemsTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import TestExecutionResultItemsTypeDef


def get_value() -> TestExecutionResultItemsTypeDef:
    return {
        "overallTestResults": ...,
    }


# TestExecutionResultItemsTypeDef definition

class TestExecutionResultItemsTypeDef(TypedDict):
    overallTestResults: NotRequired[OverallTestResultsTypeDef],  # (1)
    conversationLevelTestResults: NotRequired[ConversationLevelTestResultsTypeDef],  # (2)
    intentClassificationTestResults: NotRequired[IntentClassificationTestResultsTypeDef],  # (3)
    intentLevelSlotResolutionTestResults: NotRequired[IntentLevelSlotResolutionTestResultsTypeDef],  # (4)
    utteranceLevelTestResults: NotRequired[UtteranceLevelTestResultsTypeDef],  # (5)
  1. See OverallTestResultsTypeDef
  2. See ConversationLevelTestResultsTypeDef
  3. See IntentClassificationTestResultsTypeDef
  4. See IntentLevelSlotResolutionTestResultsTypeDef
  5. See UtteranceLevelTestResultsTypeDef

CreateIntentResponseTypeDef#

# CreateIntentResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import CreateIntentResponseTypeDef


def get_value() -> CreateIntentResponseTypeDef:
    return {
        "intentId": ...,
    }


# CreateIntentResponseTypeDef definition

class CreateIntentResponseTypeDef(TypedDict):
    intentId: str,
    intentName: str,
    description: str,
    parentIntentSignature: str,
    sampleUtterances: List[SampleUtteranceTypeDef],  # (1)
    dialogCodeHook: DialogCodeHookSettingsTypeDef,  # (2)
    fulfillmentCodeHook: FulfillmentCodeHookSettingsOutputTypeDef,  # (3)
    intentConfirmationSetting: IntentConfirmationSettingOutputTypeDef,  # (4)
    intentClosingSetting: IntentClosingSettingOutputTypeDef,  # (5)
    inputContexts: List[InputContextTypeDef],  # (6)
    outputContexts: List[OutputContextTypeDef],  # (7)
    kendraConfiguration: KendraConfigurationTypeDef,  # (8)
    botId: str,
    botVersion: str,
    localeId: str,
    creationDateTime: datetime.datetime,
    initialResponseSetting: InitialResponseSettingOutputTypeDef,  # (9)
    qnAIntentConfiguration: QnAIntentConfigurationOutputTypeDef,  # (10)
    ResponseMetadata: ResponseMetadataTypeDef,  # (11)
  1. See List[SampleUtteranceTypeDef]
  2. See DialogCodeHookSettingsTypeDef
  3. See FulfillmentCodeHookSettingsOutputTypeDef
  4. See IntentConfirmationSettingOutputTypeDef
  5. See IntentClosingSettingOutputTypeDef
  6. See List[InputContextTypeDef]
  7. See List[OutputContextTypeDef]
  8. See KendraConfigurationTypeDef
  9. See InitialResponseSettingOutputTypeDef
  10. See QnAIntentConfigurationOutputTypeDef
  11. See ResponseMetadataTypeDef

DescribeIntentResponseTypeDef#

# DescribeIntentResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeIntentResponseTypeDef


def get_value() -> DescribeIntentResponseTypeDef:
    return {
        "intentId": ...,
    }


# DescribeIntentResponseTypeDef definition

class DescribeIntentResponseTypeDef(TypedDict):
    intentId: str,
    intentName: str,
    description: str,
    parentIntentSignature: str,
    sampleUtterances: List[SampleUtteranceTypeDef],  # (1)
    dialogCodeHook: DialogCodeHookSettingsTypeDef,  # (2)
    fulfillmentCodeHook: FulfillmentCodeHookSettingsOutputTypeDef,  # (3)
    slotPriorities: List[SlotPriorityTypeDef],  # (4)
    intentConfirmationSetting: IntentConfirmationSettingOutputTypeDef,  # (5)
    intentClosingSetting: IntentClosingSettingOutputTypeDef,  # (6)
    inputContexts: List[InputContextTypeDef],  # (7)
    outputContexts: List[OutputContextTypeDef],  # (8)
    kendraConfiguration: KendraConfigurationTypeDef,  # (9)
    botId: str,
    botVersion: str,
    localeId: str,
    creationDateTime: datetime.datetime,
    lastUpdatedDateTime: datetime.datetime,
    initialResponseSetting: InitialResponseSettingOutputTypeDef,  # (10)
    qnAIntentConfiguration: QnAIntentConfigurationOutputTypeDef,  # (11)
    ResponseMetadata: ResponseMetadataTypeDef,  # (12)
  1. See List[SampleUtteranceTypeDef]
  2. See DialogCodeHookSettingsTypeDef
  3. See FulfillmentCodeHookSettingsOutputTypeDef
  4. See List[SlotPriorityTypeDef]
  5. See IntentConfirmationSettingOutputTypeDef
  6. See IntentClosingSettingOutputTypeDef
  7. See List[InputContextTypeDef]
  8. See List[OutputContextTypeDef]
  9. See KendraConfigurationTypeDef
  10. See InitialResponseSettingOutputTypeDef
  11. See QnAIntentConfigurationOutputTypeDef
  12. See ResponseMetadataTypeDef

UpdateIntentResponseTypeDef#

# UpdateIntentResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import UpdateIntentResponseTypeDef


def get_value() -> UpdateIntentResponseTypeDef:
    return {
        "intentId": ...,
    }


# UpdateIntentResponseTypeDef definition

class UpdateIntentResponseTypeDef(TypedDict):
    intentId: str,
    intentName: str,
    description: str,
    parentIntentSignature: str,
    sampleUtterances: List[SampleUtteranceTypeDef],  # (1)
    dialogCodeHook: DialogCodeHookSettingsTypeDef,  # (2)
    fulfillmentCodeHook: FulfillmentCodeHookSettingsOutputTypeDef,  # (3)
    slotPriorities: List[SlotPriorityTypeDef],  # (4)
    intentConfirmationSetting: IntentConfirmationSettingOutputTypeDef,  # (5)
    intentClosingSetting: IntentClosingSettingOutputTypeDef,  # (6)
    inputContexts: List[InputContextTypeDef],  # (7)
    outputContexts: List[OutputContextTypeDef],  # (8)
    kendraConfiguration: KendraConfigurationTypeDef,  # (9)
    botId: str,
    botVersion: str,
    localeId: str,
    creationDateTime: datetime.datetime,
    lastUpdatedDateTime: datetime.datetime,
    initialResponseSetting: InitialResponseSettingOutputTypeDef,  # (10)
    qnAIntentConfiguration: QnAIntentConfigurationOutputTypeDef,  # (11)
    ResponseMetadata: ResponseMetadataTypeDef,  # (12)
  1. See List[SampleUtteranceTypeDef]
  2. See DialogCodeHookSettingsTypeDef
  3. See FulfillmentCodeHookSettingsOutputTypeDef
  4. See List[SlotPriorityTypeDef]
  5. See IntentConfirmationSettingOutputTypeDef
  6. See IntentClosingSettingOutputTypeDef
  7. See List[InputContextTypeDef]
  8. See List[OutputContextTypeDef]
  9. See KendraConfigurationTypeDef
  10. See InitialResponseSettingOutputTypeDef
  11. See QnAIntentConfigurationOutputTypeDef
  12. See ResponseMetadataTypeDef

SlotValueElicitationSettingOutputTypeDef#

# SlotValueElicitationSettingOutputTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import SlotValueElicitationSettingOutputTypeDef


def get_value() -> SlotValueElicitationSettingOutputTypeDef:
    return {
        "defaultValueSpecification": ...,
    }


# SlotValueElicitationSettingOutputTypeDef definition

class SlotValueElicitationSettingOutputTypeDef(TypedDict):
    slotConstraint: SlotConstraintType,  # (2)
    defaultValueSpecification: NotRequired[SlotDefaultValueSpecificationOutputTypeDef],  # (1)
    promptSpecification: NotRequired[PromptSpecificationOutputTypeDef],  # (3)
    sampleUtterances: NotRequired[List[SampleUtteranceTypeDef]],  # (4)
    waitAndContinueSpecification: NotRequired[WaitAndContinueSpecificationOutputTypeDef],  # (5)
    slotCaptureSetting: NotRequired[SlotCaptureSettingOutputTypeDef],  # (6)
    slotResolutionSetting: NotRequired[SlotResolutionSettingTypeDef],  # (7)
  1. See SlotDefaultValueSpecificationOutputTypeDef
  2. See SlotConstraintType
  3. See PromptSpecificationOutputTypeDef
  4. See List[SampleUtteranceTypeDef]
  5. See WaitAndContinueSpecificationOutputTypeDef
  6. See SlotCaptureSettingOutputTypeDef
  7. See SlotResolutionSettingTypeDef

SlotValueElicitationSettingTypeDef#

# SlotValueElicitationSettingTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import SlotValueElicitationSettingTypeDef


def get_value() -> SlotValueElicitationSettingTypeDef:
    return {
        "defaultValueSpecification": ...,
    }


# SlotValueElicitationSettingTypeDef definition

class SlotValueElicitationSettingTypeDef(TypedDict):
    slotConstraint: SlotConstraintType,  # (2)
    defaultValueSpecification: NotRequired[SlotDefaultValueSpecificationTypeDef],  # (1)
    promptSpecification: NotRequired[PromptSpecificationTypeDef],  # (3)
    sampleUtterances: NotRequired[Sequence[SampleUtteranceTypeDef]],  # (4)
    waitAndContinueSpecification: NotRequired[WaitAndContinueSpecificationTypeDef],  # (5)
    slotCaptureSetting: NotRequired[SlotCaptureSettingTypeDef],  # (6)
    slotResolutionSetting: NotRequired[SlotResolutionSettingTypeDef],  # (7)
  1. See SlotDefaultValueSpecificationTypeDef
  2. See SlotConstraintType
  3. See PromptSpecificationTypeDef
  4. See Sequence[SampleUtteranceTypeDef]
  5. See WaitAndContinueSpecificationTypeDef
  6. See SlotCaptureSettingTypeDef
  7. See SlotResolutionSettingTypeDef

ListTestExecutionResultItemsResponseTypeDef#

# ListTestExecutionResultItemsResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import ListTestExecutionResultItemsResponseTypeDef


def get_value() -> ListTestExecutionResultItemsResponseTypeDef:
    return {
        "testExecutionResults": ...,
    }


# ListTestExecutionResultItemsResponseTypeDef definition

class ListTestExecutionResultItemsResponseTypeDef(TypedDict):
    testExecutionResults: TestExecutionResultItemsTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See TestExecutionResultItemsTypeDef
  2. See ResponseMetadataTypeDef

CreateSlotResponseTypeDef#

# CreateSlotResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import CreateSlotResponseTypeDef


def get_value() -> CreateSlotResponseTypeDef:
    return {
        "slotId": ...,
    }


# CreateSlotResponseTypeDef definition

class CreateSlotResponseTypeDef(TypedDict):
    slotId: str,
    slotName: str,
    description: str,
    slotTypeId: str,
    valueElicitationSetting: SlotValueElicitationSettingOutputTypeDef,  # (1)
    obfuscationSetting: ObfuscationSettingTypeDef,  # (2)
    botId: str,
    botVersion: str,
    localeId: str,
    intentId: str,
    creationDateTime: datetime.datetime,
    multipleValuesSetting: MultipleValuesSettingTypeDef,  # (3)
    subSlotSetting: SubSlotSettingOutputTypeDef,  # (4)
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See SlotValueElicitationSettingOutputTypeDef
  2. See ObfuscationSettingTypeDef
  3. See MultipleValuesSettingTypeDef
  4. See SubSlotSettingOutputTypeDef
  5. See ResponseMetadataTypeDef

DescribeSlotResponseTypeDef#

# DescribeSlotResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import DescribeSlotResponseTypeDef


def get_value() -> DescribeSlotResponseTypeDef:
    return {
        "slotId": ...,
    }


# DescribeSlotResponseTypeDef definition

class DescribeSlotResponseTypeDef(TypedDict):
    slotId: str,
    slotName: str,
    description: str,
    slotTypeId: str,
    valueElicitationSetting: SlotValueElicitationSettingOutputTypeDef,  # (1)
    obfuscationSetting: ObfuscationSettingTypeDef,  # (2)
    botId: str,
    botVersion: str,
    localeId: str,
    intentId: str,
    creationDateTime: datetime.datetime,
    lastUpdatedDateTime: datetime.datetime,
    multipleValuesSetting: MultipleValuesSettingTypeDef,  # (3)
    subSlotSetting: SubSlotSettingOutputTypeDef,  # (4)
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See SlotValueElicitationSettingOutputTypeDef
  2. See ObfuscationSettingTypeDef
  3. See MultipleValuesSettingTypeDef
  4. See SubSlotSettingOutputTypeDef
  5. See ResponseMetadataTypeDef

UpdateSlotResponseTypeDef#

# UpdateSlotResponseTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import UpdateSlotResponseTypeDef


def get_value() -> UpdateSlotResponseTypeDef:
    return {
        "slotId": ...,
    }


# UpdateSlotResponseTypeDef definition

class UpdateSlotResponseTypeDef(TypedDict):
    slotId: str,
    slotName: str,
    description: str,
    slotTypeId: str,
    valueElicitationSetting: SlotValueElicitationSettingOutputTypeDef,  # (1)
    obfuscationSetting: ObfuscationSettingTypeDef,  # (2)
    botId: str,
    botVersion: str,
    localeId: str,
    intentId: str,
    creationDateTime: datetime.datetime,
    lastUpdatedDateTime: datetime.datetime,
    multipleValuesSetting: MultipleValuesSettingTypeDef,  # (3)
    subSlotSetting: SubSlotSettingOutputTypeDef,  # (4)
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See SlotValueElicitationSettingOutputTypeDef
  2. See ObfuscationSettingTypeDef
  3. See MultipleValuesSettingTypeDef
  4. See SubSlotSettingOutputTypeDef
  5. See ResponseMetadataTypeDef

CreateIntentRequestTypeDef#

# CreateIntentRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import CreateIntentRequestTypeDef


def get_value() -> CreateIntentRequestTypeDef:
    return {
        "intentName": ...,
    }


# CreateIntentRequestTypeDef definition

class CreateIntentRequestTypeDef(TypedDict):
    intentName: str,
    botId: str,
    botVersion: str,
    localeId: str,
    description: NotRequired[str],
    parentIntentSignature: NotRequired[str],
    sampleUtterances: NotRequired[Sequence[SampleUtteranceTypeDef]],  # (1)
    dialogCodeHook: NotRequired[DialogCodeHookSettingsTypeDef],  # (2)
    fulfillmentCodeHook: NotRequired[FulfillmentCodeHookSettingsUnionTypeDef],  # (3)
    intentConfirmationSetting: NotRequired[IntentConfirmationSettingUnionTypeDef],  # (4)
    intentClosingSetting: NotRequired[IntentClosingSettingUnionTypeDef],  # (5)
    inputContexts: NotRequired[Sequence[InputContextTypeDef]],  # (6)
    outputContexts: NotRequired[Sequence[OutputContextTypeDef]],  # (7)
    kendraConfiguration: NotRequired[KendraConfigurationTypeDef],  # (8)
    initialResponseSetting: NotRequired[InitialResponseSettingUnionTypeDef],  # (9)
    qnAIntentConfiguration: NotRequired[QnAIntentConfigurationUnionTypeDef],  # (10)
  1. See Sequence[SampleUtteranceTypeDef]
  2. See DialogCodeHookSettingsTypeDef
  3. See FulfillmentCodeHookSettingsUnionTypeDef
  4. See IntentConfirmationSettingUnionTypeDef
  5. See IntentClosingSettingUnionTypeDef
  6. See Sequence[InputContextTypeDef]
  7. See Sequence[OutputContextTypeDef]
  8. See KendraConfigurationTypeDef
  9. See InitialResponseSettingUnionTypeDef
  10. See QnAIntentConfigurationUnionTypeDef

UpdateIntentRequestTypeDef#

# UpdateIntentRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import UpdateIntentRequestTypeDef


def get_value() -> UpdateIntentRequestTypeDef:
    return {
        "intentId": ...,
    }


# UpdateIntentRequestTypeDef definition

class UpdateIntentRequestTypeDef(TypedDict):
    intentId: str,
    intentName: str,
    botId: str,
    botVersion: str,
    localeId: str,
    description: NotRequired[str],
    parentIntentSignature: NotRequired[str],
    sampleUtterances: NotRequired[Sequence[SampleUtteranceTypeDef]],  # (1)
    dialogCodeHook: NotRequired[DialogCodeHookSettingsTypeDef],  # (2)
    fulfillmentCodeHook: NotRequired[FulfillmentCodeHookSettingsUnionTypeDef],  # (3)
    slotPriorities: NotRequired[Sequence[SlotPriorityTypeDef]],  # (4)
    intentConfirmationSetting: NotRequired[IntentConfirmationSettingUnionTypeDef],  # (5)
    intentClosingSetting: NotRequired[IntentClosingSettingUnionTypeDef],  # (6)
    inputContexts: NotRequired[Sequence[InputContextTypeDef]],  # (7)
    outputContexts: NotRequired[Sequence[OutputContextTypeDef]],  # (8)
    kendraConfiguration: NotRequired[KendraConfigurationTypeDef],  # (9)
    initialResponseSetting: NotRequired[InitialResponseSettingUnionTypeDef],  # (10)
    qnAIntentConfiguration: NotRequired[QnAIntentConfigurationUnionTypeDef],  # (11)
  1. See Sequence[SampleUtteranceTypeDef]
  2. See DialogCodeHookSettingsTypeDef
  3. See FulfillmentCodeHookSettingsUnionTypeDef
  4. See Sequence[SlotPriorityTypeDef]
  5. See IntentConfirmationSettingUnionTypeDef
  6. See IntentClosingSettingUnionTypeDef
  7. See Sequence[InputContextTypeDef]
  8. See Sequence[OutputContextTypeDef]
  9. See KendraConfigurationTypeDef
  10. See InitialResponseSettingUnionTypeDef
  11. See QnAIntentConfigurationUnionTypeDef

CreateSlotRequestTypeDef#

# CreateSlotRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import CreateSlotRequestTypeDef


def get_value() -> CreateSlotRequestTypeDef:
    return {
        "slotName": ...,
    }


# CreateSlotRequestTypeDef definition

class CreateSlotRequestTypeDef(TypedDict):
    slotName: str,
    valueElicitationSetting: SlotValueElicitationSettingUnionTypeDef,  # (1)
    botId: str,
    botVersion: str,
    localeId: str,
    intentId: str,
    description: NotRequired[str],
    slotTypeId: NotRequired[str],
    obfuscationSetting: NotRequired[ObfuscationSettingTypeDef],  # (2)
    multipleValuesSetting: NotRequired[MultipleValuesSettingTypeDef],  # (3)
    subSlotSetting: NotRequired[SubSlotSettingUnionTypeDef],  # (4)
  1. See SlotValueElicitationSettingUnionTypeDef
  2. See ObfuscationSettingTypeDef
  3. See MultipleValuesSettingTypeDef
  4. See SubSlotSettingUnionTypeDef

UpdateSlotRequestTypeDef#

# UpdateSlotRequestTypeDef TypedDict usage example

from mypy_boto3_lexv2_models.type_defs import UpdateSlotRequestTypeDef


def get_value() -> UpdateSlotRequestTypeDef:
    return {
        "slotId": ...,
    }


# UpdateSlotRequestTypeDef definition

class UpdateSlotRequestTypeDef(TypedDict):
    slotId: str,
    slotName: str,
    valueElicitationSetting: SlotValueElicitationSettingUnionTypeDef,  # (1)
    botId: str,
    botVersion: str,
    localeId: str,
    intentId: str,
    description: NotRequired[str],
    slotTypeId: NotRequired[str],
    obfuscationSetting: NotRequired[ObfuscationSettingTypeDef],  # (2)
    multipleValuesSetting: NotRequired[MultipleValuesSettingTypeDef],  # (3)
    subSlotSetting: NotRequired[SubSlotSettingUnionTypeDef],  # (4)
  1. See SlotValueElicitationSettingUnionTypeDef
  2. See ObfuscationSettingTypeDef
  3. See MultipleValuesSettingTypeDef
  4. See SubSlotSettingUnionTypeDef