Typed dictionaries
Index > LexModelsV2 > Typed dictionaries
Auto-generated documentation for LexModelsV2 type annotations stubs module mypy-boto3-lexv2-models.
AdvancedRecognitionSettingTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import AdvancedRecognitionSettingTypeDef
def get_value() -> AdvancedRecognitionSettingTypeDef:
return {
"audioRecognitionStrategy": ...,
}
Definition
class AdvancedRecognitionSettingTypeDef(TypedDict):
audioRecognitionStrategy: NotRequired[AudioRecognitionStrategyType], # (1)
AggregatedUtterancesFilterTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import AggregatedUtterancesFilterTypeDef
def get_value() -> AggregatedUtterancesFilterTypeDef:
return {
"name": ...,
"values": ...,
"operator": ...,
}
Definition
class AggregatedUtterancesFilterTypeDef(TypedDict):
name: AggregatedUtterancesFilterNameType, # (1)
values: Sequence[str],
operator: AggregatedUtterancesFilterOperatorType, # (2)
AggregatedUtterancesSortByTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import AggregatedUtterancesSortByTypeDef
def get_value() -> AggregatedUtterancesSortByTypeDef:
return {
"attribute": ...,
"order": ...,
}
Definition
class AggregatedUtterancesSortByTypeDef(TypedDict):
attribute: AggregatedUtterancesSortAttributeType, # (1)
order: SortOrderType, # (2)
AggregatedUtterancesSummaryTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import AggregatedUtterancesSummaryTypeDef
def get_value() -> AggregatedUtterancesSummaryTypeDef:
return {
"utterance": ...,
}
Definition
class AggregatedUtterancesSummaryTypeDef(TypedDict):
utterance: NotRequired[str],
hitCount: NotRequired[int],
missedCount: NotRequired[int],
utteranceFirstRecordedInAggregationDuration: NotRequired[datetime],
utteranceLastRecordedInAggregationDuration: NotRequired[datetime],
containsDataFromDeletedResources: NotRequired[bool],
AllowedInputTypesTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import AllowedInputTypesTypeDef
def get_value() -> AllowedInputTypesTypeDef:
return {
"allowAudioInput": ...,
"allowDTMFInput": ...,
}
AssociatedTranscriptFilterTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import AssociatedTranscriptFilterTypeDef
def get_value() -> AssociatedTranscriptFilterTypeDef:
return {
"name": ...,
"values": ...,
}
Definition
class AssociatedTranscriptFilterTypeDef(TypedDict):
name: AssociatedTranscriptFilterNameType, # (1)
values: Sequence[str],
AssociatedTranscriptTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import AssociatedTranscriptTypeDef
def get_value() -> AssociatedTranscriptTypeDef:
return {
"transcript": ...,
}
AudioSpecificationTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import AudioSpecificationTypeDef
def get_value() -> AudioSpecificationTypeDef:
return {
"maxLengthMs": ...,
"endTimeoutMs": ...,
}
DTMFSpecificationTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DTMFSpecificationTypeDef
def get_value() -> DTMFSpecificationTypeDef:
return {
"maxLength": ...,
"endTimeoutMs": ...,
"deletionCharacter": ...,
"endCharacter": ...,
}
Definition
class DTMFSpecificationTypeDef(TypedDict):
maxLength: int,
endTimeoutMs: int,
deletionCharacter: str,
endCharacter: str,
S3BucketLogDestinationTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import S3BucketLogDestinationTypeDef
def get_value() -> S3BucketLogDestinationTypeDef:
return {
"s3BucketArn": ...,
"logPrefix": ...,
}
Definition
class S3BucketLogDestinationTypeDef(TypedDict):
s3BucketArn: str,
logPrefix: str,
kmsKeyArn: NotRequired[str],
NewCustomVocabularyItemTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import NewCustomVocabularyItemTypeDef
def get_value() -> NewCustomVocabularyItemTypeDef:
return {
"phrase": ...,
}
Definition
class NewCustomVocabularyItemTypeDef(TypedDict):
phrase: str,
weight: NotRequired[int],
displayAs: NotRequired[str],
CustomVocabularyItemTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import CustomVocabularyItemTypeDef
def get_value() -> CustomVocabularyItemTypeDef:
return {
"itemId": ...,
"phrase": ...,
}
Definition
class CustomVocabularyItemTypeDef(TypedDict):
itemId: str,
phrase: str,
weight: NotRequired[int],
displayAs: NotRequired[str],
FailedCustomVocabularyItemTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import FailedCustomVocabularyItemTypeDef
def get_value() -> FailedCustomVocabularyItemTypeDef:
return {
"itemId": ...,
}
Definition
class FailedCustomVocabularyItemTypeDef(TypedDict):
itemId: NotRequired[str],
errorMessage: NotRequired[str],
errorCode: NotRequired[ErrorCodeType], # (1)
- See ErrorCodeType
ResponseMetadataTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ResponseMetadataTypeDef
def get_value() -> ResponseMetadataTypeDef:
return {
"RequestId": ...,
"HostId": ...,
"HTTPStatusCode": ...,
"HTTPHeaders": ...,
"RetryAttempts": ...,
}
Definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HostId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
CustomVocabularyEntryIdTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import CustomVocabularyEntryIdTypeDef
def get_value() -> CustomVocabularyEntryIdTypeDef:
return {
"itemId": ...,
}
BotAliasHistoryEventTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import BotAliasHistoryEventTypeDef
def get_value() -> BotAliasHistoryEventTypeDef:
return {
"botVersion": ...,
}
Definition
class BotAliasHistoryEventTypeDef(TypedDict):
botVersion: NotRequired[str],
startDate: NotRequired[datetime],
endDate: NotRequired[datetime],
BotAliasSummaryTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import BotAliasSummaryTypeDef
def get_value() -> BotAliasSummaryTypeDef:
return {
"botAliasId": ...,
}
Definition
class BotAliasSummaryTypeDef(TypedDict):
botAliasId: NotRequired[str],
botAliasName: NotRequired[str],
description: NotRequired[str],
botVersion: NotRequired[str],
botAliasStatus: NotRequired[BotAliasStatusType], # (1)
creationDateTime: NotRequired[datetime],
lastUpdatedDateTime: NotRequired[datetime],
BotExportSpecificationTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import BotExportSpecificationTypeDef
def get_value() -> BotExportSpecificationTypeDef:
return {
"botId": ...,
"botVersion": ...,
}
BotFilterTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import BotFilterTypeDef
def get_value() -> BotFilterTypeDef:
return {
"name": ...,
"values": ...,
"operator": ...,
}
Definition
class BotFilterTypeDef(TypedDict):
name: BotFilterNameType, # (1)
values: Sequence[str],
operator: BotFilterOperatorType, # (2)
DataPrivacyTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DataPrivacyTypeDef
def get_value() -> DataPrivacyTypeDef:
return {
"childDirected": ...,
}
BotLocaleExportSpecificationTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import BotLocaleExportSpecificationTypeDef
def get_value() -> BotLocaleExportSpecificationTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
}
Definition
class BotLocaleExportSpecificationTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
BotLocaleFilterTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import BotLocaleFilterTypeDef
def get_value() -> BotLocaleFilterTypeDef:
return {
"name": ...,
"values": ...,
"operator": ...,
}
Definition
class BotLocaleFilterTypeDef(TypedDict):
name: BotLocaleFilterNameType, # (1)
values: Sequence[str],
operator: BotLocaleFilterOperatorType, # (2)
BotLocaleHistoryEventTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import BotLocaleHistoryEventTypeDef
def get_value() -> BotLocaleHistoryEventTypeDef:
return {
"event": ...,
"eventDate": ...,
}
VoiceSettingsTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import VoiceSettingsTypeDef
def get_value() -> VoiceSettingsTypeDef:
return {
"voiceId": ...,
}
Definition
class VoiceSettingsTypeDef(TypedDict):
voiceId: str,
engine: NotRequired[VoiceEngineType], # (1)
- See VoiceEngineType
BotLocaleSortByTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import BotLocaleSortByTypeDef
def get_value() -> BotLocaleSortByTypeDef:
return {
"attribute": ...,
"order": ...,
}
Definition
class BotLocaleSortByTypeDef(TypedDict):
attribute: BotLocaleSortAttributeType, # (1)
order: SortOrderType, # (2)
BotLocaleSummaryTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import BotLocaleSummaryTypeDef
def get_value() -> BotLocaleSummaryTypeDef:
return {
"localeId": ...,
}
Definition
class BotLocaleSummaryTypeDef(TypedDict):
localeId: NotRequired[str],
localeName: NotRequired[str],
description: NotRequired[str],
botLocaleStatus: NotRequired[BotLocaleStatusType], # (1)
lastUpdatedDateTime: NotRequired[datetime],
lastBuildSubmittedDateTime: NotRequired[datetime],
IntentStatisticsTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import IntentStatisticsTypeDef
def get_value() -> IntentStatisticsTypeDef:
return {
"discoveredIntentCount": ...,
}
SlotTypeStatisticsTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import SlotTypeStatisticsTypeDef
def get_value() -> SlotTypeStatisticsTypeDef:
return {
"discoveredSlotTypeCount": ...,
}
BotRecommendationSummaryTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import BotRecommendationSummaryTypeDef
def get_value() -> BotRecommendationSummaryTypeDef:
return {
"botRecommendationStatus": ...,
"botRecommendationId": ...,
}
Definition
class BotRecommendationSummaryTypeDef(TypedDict):
botRecommendationStatus: BotRecommendationStatusType, # (1)
botRecommendationId: str,
creationDateTime: NotRequired[datetime],
lastUpdatedDateTime: NotRequired[datetime],
BotSortByTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import BotSortByTypeDef
def get_value() -> BotSortByTypeDef:
return {
"attribute": ...,
"order": ...,
}
Definition
class BotSortByTypeDef(TypedDict):
attribute: BotSortAttributeType, # (1)
order: SortOrderType, # (2)
- See BotSortAttributeType
- See SortOrderType
BotSummaryTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import BotSummaryTypeDef
def get_value() -> BotSummaryTypeDef:
return {
"botId": ...,
}
Definition
class BotSummaryTypeDef(TypedDict):
botId: NotRequired[str],
botName: NotRequired[str],
description: NotRequired[str],
botStatus: NotRequired[BotStatusType], # (1)
latestBotVersion: NotRequired[str],
lastUpdatedDateTime: NotRequired[datetime],
- See BotStatusType
BotVersionLocaleDetailsTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import BotVersionLocaleDetailsTypeDef
def get_value() -> BotVersionLocaleDetailsTypeDef:
return {
"sourceBotVersion": ...,
}
BotVersionSortByTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import BotVersionSortByTypeDef
def get_value() -> BotVersionSortByTypeDef:
return {
"attribute": ...,
"order": ...,
}
Definition
class BotVersionSortByTypeDef(TypedDict):
attribute: BotVersionSortAttributeType, # (1)
order: SortOrderType, # (2)
BotVersionSummaryTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import BotVersionSummaryTypeDef
def get_value() -> BotVersionSummaryTypeDef:
return {
"botName": ...,
}
Definition
class BotVersionSummaryTypeDef(TypedDict):
botName: NotRequired[str],
botVersion: NotRequired[str],
description: NotRequired[str],
botStatus: NotRequired[BotStatusType], # (1)
creationDateTime: NotRequired[datetime],
- See BotStatusType
BuildBotLocaleRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import BuildBotLocaleRequestRequestTypeDef
def get_value() -> BuildBotLocaleRequestRequestTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
}
Definition
class BuildBotLocaleRequestRequestTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
BuiltInIntentSortByTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import BuiltInIntentSortByTypeDef
def get_value() -> BuiltInIntentSortByTypeDef:
return {
"attribute": ...,
"order": ...,
}
Definition
class BuiltInIntentSortByTypeDef(TypedDict):
attribute: BuiltInIntentSortAttributeType, # (1)
order: SortOrderType, # (2)
BuiltInIntentSummaryTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import BuiltInIntentSummaryTypeDef
def get_value() -> BuiltInIntentSummaryTypeDef:
return {
"intentSignature": ...,
}
Definition
class BuiltInIntentSummaryTypeDef(TypedDict):
intentSignature: NotRequired[str],
description: NotRequired[str],
BuiltInSlotTypeSortByTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import BuiltInSlotTypeSortByTypeDef
def get_value() -> BuiltInSlotTypeSortByTypeDef:
return {
"attribute": ...,
"order": ...,
}
Definition
class BuiltInSlotTypeSortByTypeDef(TypedDict):
attribute: BuiltInSlotTypeSortAttributeType, # (1)
order: SortOrderType, # (2)
BuiltInSlotTypeSummaryTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import BuiltInSlotTypeSummaryTypeDef
def get_value() -> BuiltInSlotTypeSummaryTypeDef:
return {
"slotTypeSignature": ...,
}
Definition
class BuiltInSlotTypeSummaryTypeDef(TypedDict):
slotTypeSignature: NotRequired[str],
description: NotRequired[str],
ButtonTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ButtonTypeDef
def get_value() -> ButtonTypeDef:
return {
"text": ...,
"value": ...,
}
CloudWatchLogGroupLogDestinationTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import CloudWatchLogGroupLogDestinationTypeDef
def get_value() -> CloudWatchLogGroupLogDestinationTypeDef:
return {
"cloudWatchLogGroupArn": ...,
"logPrefix": ...,
}
Definition
class CloudWatchLogGroupLogDestinationTypeDef(TypedDict):
cloudWatchLogGroupArn: str,
logPrefix: str,
LambdaCodeHookTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import LambdaCodeHookTypeDef
def get_value() -> LambdaCodeHookTypeDef:
return {
"lambdaARN": ...,
"codeHookInterfaceVersion": ...,
}
SubSlotTypeCompositionTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import SubSlotTypeCompositionTypeDef
def get_value() -> SubSlotTypeCompositionTypeDef:
return {
"name": ...,
"slotTypeId": ...,
}
ConditionTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ConditionTypeDef
def get_value() -> ConditionTypeDef:
return {
"expressionString": ...,
}
SentimentAnalysisSettingsTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import SentimentAnalysisSettingsTypeDef
def get_value() -> SentimentAnalysisSettingsTypeDef:
return {
"detectSentiment": ...,
}
DialogCodeHookSettingsTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DialogCodeHookSettingsTypeDef
def get_value() -> DialogCodeHookSettingsTypeDef:
return {
"enabled": ...,
}
InputContextTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import InputContextTypeDef
def get_value() -> InputContextTypeDef:
return {
"name": ...,
}
KendraConfigurationTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import KendraConfigurationTypeDef
def get_value() -> KendraConfigurationTypeDef:
return {
"kendraIndex": ...,
}
Definition
class KendraConfigurationTypeDef(TypedDict):
kendraIndex: str,
queryFilterStringEnabled: NotRequired[bool],
queryFilterString: NotRequired[str],
OutputContextTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import OutputContextTypeDef
def get_value() -> OutputContextTypeDef:
return {
"name": ...,
"timeToLiveInSeconds": ...,
"turnsToLive": ...,
}
Definition
class OutputContextTypeDef(TypedDict):
name: str,
timeToLiveInSeconds: int,
turnsToLive: int,
SampleUtteranceTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import SampleUtteranceTypeDef
def get_value() -> SampleUtteranceTypeDef:
return {
"utterance": ...,
}
CreateResourcePolicyRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import CreateResourcePolicyRequestRequestTypeDef
def get_value() -> CreateResourcePolicyRequestRequestTypeDef:
return {
"resourceArn": ...,
"policy": ...,
}
Definition
class CreateResourcePolicyRequestRequestTypeDef(TypedDict):
resourceArn: str,
policy: str,
PrincipalTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import PrincipalTypeDef
def get_value() -> PrincipalTypeDef:
return {
"service": ...,
}
MultipleValuesSettingTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import MultipleValuesSettingTypeDef
def get_value() -> MultipleValuesSettingTypeDef:
return {
"allowMultipleValues": ...,
}
ObfuscationSettingTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ObfuscationSettingTypeDef
def get_value() -> ObfuscationSettingTypeDef:
return {
"obfuscationSettingType": ...,
}
Definition
class ObfuscationSettingTypeDef(TypedDict):
obfuscationSettingType: ObfuscationSettingTypeType, # (1)
CustomPayloadTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import CustomPayloadTypeDef
def get_value() -> CustomPayloadTypeDef:
return {
"value": ...,
}
CustomVocabularyExportSpecificationTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import CustomVocabularyExportSpecificationTypeDef
def get_value() -> CustomVocabularyExportSpecificationTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
}
Definition
class CustomVocabularyExportSpecificationTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
CustomVocabularyImportSpecificationTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import CustomVocabularyImportSpecificationTypeDef
def get_value() -> CustomVocabularyImportSpecificationTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
}
Definition
class CustomVocabularyImportSpecificationTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
DateRangeFilterTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DateRangeFilterTypeDef
def get_value() -> DateRangeFilterTypeDef:
return {
"startDateTime": ...,
"endDateTime": ...,
}
DeleteBotAliasRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DeleteBotAliasRequestRequestTypeDef
def get_value() -> DeleteBotAliasRequestRequestTypeDef:
return {
"botAliasId": ...,
"botId": ...,
}
Definition
class DeleteBotAliasRequestRequestTypeDef(TypedDict):
botAliasId: str,
botId: str,
skipResourceInUseCheck: NotRequired[bool],
DeleteBotLocaleRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DeleteBotLocaleRequestRequestTypeDef
def get_value() -> DeleteBotLocaleRequestRequestTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
}
Definition
class DeleteBotLocaleRequestRequestTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
DeleteBotRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DeleteBotRequestRequestTypeDef
def get_value() -> DeleteBotRequestRequestTypeDef:
return {
"botId": ...,
}
Definition
class DeleteBotRequestRequestTypeDef(TypedDict):
botId: str,
skipResourceInUseCheck: NotRequired[bool],
DeleteBotVersionRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DeleteBotVersionRequestRequestTypeDef
def get_value() -> DeleteBotVersionRequestRequestTypeDef:
return {
"botId": ...,
"botVersion": ...,
}
Definition
class DeleteBotVersionRequestRequestTypeDef(TypedDict):
botId: str,
botVersion: str,
skipResourceInUseCheck: NotRequired[bool],
DeleteCustomVocabularyRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DeleteCustomVocabularyRequestRequestTypeDef
def get_value() -> DeleteCustomVocabularyRequestRequestTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
}
Definition
class DeleteCustomVocabularyRequestRequestTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
DeleteExportRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DeleteExportRequestRequestTypeDef
def get_value() -> DeleteExportRequestRequestTypeDef:
return {
"exportId": ...,
}
DeleteImportRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DeleteImportRequestRequestTypeDef
def get_value() -> DeleteImportRequestRequestTypeDef:
return {
"importId": ...,
}
DeleteIntentRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DeleteIntentRequestRequestTypeDef
def get_value() -> DeleteIntentRequestRequestTypeDef:
return {
"intentId": ...,
"botId": ...,
"botVersion": ...,
"localeId": ...,
}
Definition
class DeleteIntentRequestRequestTypeDef(TypedDict):
intentId: str,
botId: str,
botVersion: str,
localeId: str,
DeleteResourcePolicyRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DeleteResourcePolicyRequestRequestTypeDef
def get_value() -> DeleteResourcePolicyRequestRequestTypeDef:
return {
"resourceArn": ...,
}
Definition
class DeleteResourcePolicyRequestRequestTypeDef(TypedDict):
resourceArn: str,
expectedRevisionId: NotRequired[str],
DeleteResourcePolicyStatementRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DeleteResourcePolicyStatementRequestRequestTypeDef
def get_value() -> DeleteResourcePolicyStatementRequestRequestTypeDef:
return {
"resourceArn": ...,
"statementId": ...,
}
Definition
class DeleteResourcePolicyStatementRequestRequestTypeDef(TypedDict):
resourceArn: str,
statementId: str,
expectedRevisionId: NotRequired[str],
DeleteSlotRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DeleteSlotRequestRequestTypeDef
def get_value() -> DeleteSlotRequestRequestTypeDef:
return {
"slotId": ...,
"botId": ...,
"botVersion": ...,
"localeId": ...,
"intentId": ...,
}
Definition
class DeleteSlotRequestRequestTypeDef(TypedDict):
slotId: str,
botId: str,
botVersion: str,
localeId: str,
intentId: str,
DeleteSlotTypeRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DeleteSlotTypeRequestRequestTypeDef
def get_value() -> DeleteSlotTypeRequestRequestTypeDef:
return {
"slotTypeId": ...,
"botId": ...,
"botVersion": ...,
"localeId": ...,
}
Definition
class DeleteSlotTypeRequestRequestTypeDef(TypedDict):
slotTypeId: str,
botId: str,
botVersion: str,
localeId: str,
skipResourceInUseCheck: NotRequired[bool],
DeleteUtterancesRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DeleteUtterancesRequestRequestTypeDef
def get_value() -> DeleteUtterancesRequestRequestTypeDef:
return {
"botId": ...,
}
Definition
class DeleteUtterancesRequestRequestTypeDef(TypedDict):
botId: str,
localeId: NotRequired[str],
sessionId: NotRequired[str],
WaiterConfigTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import WaiterConfigTypeDef
def get_value() -> WaiterConfigTypeDef:
return {
"Delay": ...,
}
Definition
class WaiterConfigTypeDef(TypedDict):
Delay: NotRequired[int],
MaxAttempts: NotRequired[int],
DescribeBotAliasRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DescribeBotAliasRequestRequestTypeDef
def get_value() -> DescribeBotAliasRequestRequestTypeDef:
return {
"botAliasId": ...,
"botId": ...,
}
DescribeBotLocaleRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DescribeBotLocaleRequestRequestTypeDef
def get_value() -> DescribeBotLocaleRequestRequestTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
}
Definition
class DescribeBotLocaleRequestRequestTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
DescribeBotRecommendationRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DescribeBotRecommendationRequestRequestTypeDef
def get_value() -> DescribeBotRecommendationRequestRequestTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
"botRecommendationId": ...,
}
Definition
class DescribeBotRecommendationRequestRequestTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
botRecommendationId: str,
EncryptionSettingTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import EncryptionSettingTypeDef
def get_value() -> EncryptionSettingTypeDef:
return {
"kmsKeyArn": ...,
}
Definition
class EncryptionSettingTypeDef(TypedDict):
kmsKeyArn: NotRequired[str],
botLocaleExportPassword: NotRequired[str],
associatedTranscriptsPassword: NotRequired[str],
DescribeBotRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DescribeBotRequestRequestTypeDef
def get_value() -> DescribeBotRequestRequestTypeDef:
return {
"botId": ...,
}
DescribeBotVersionRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DescribeBotVersionRequestRequestTypeDef
def get_value() -> DescribeBotVersionRequestRequestTypeDef:
return {
"botId": ...,
"botVersion": ...,
}
DescribeCustomVocabularyMetadataRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DescribeCustomVocabularyMetadataRequestRequestTypeDef
def get_value() -> DescribeCustomVocabularyMetadataRequestRequestTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
}
Definition
class DescribeCustomVocabularyMetadataRequestRequestTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
DescribeExportRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DescribeExportRequestRequestTypeDef
def get_value() -> DescribeExportRequestRequestTypeDef:
return {
"exportId": ...,
}
DescribeImportRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DescribeImportRequestRequestTypeDef
def get_value() -> DescribeImportRequestRequestTypeDef:
return {
"importId": ...,
}
DescribeIntentRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DescribeIntentRequestRequestTypeDef
def get_value() -> DescribeIntentRequestRequestTypeDef:
return {
"intentId": ...,
"botId": ...,
"botVersion": ...,
"localeId": ...,
}
Definition
class DescribeIntentRequestRequestTypeDef(TypedDict):
intentId: str,
botId: str,
botVersion: str,
localeId: str,
SlotPriorityTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import SlotPriorityTypeDef
def get_value() -> SlotPriorityTypeDef:
return {
"priority": ...,
"slotId": ...,
}
DescribeResourcePolicyRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DescribeResourcePolicyRequestRequestTypeDef
def get_value() -> DescribeResourcePolicyRequestRequestTypeDef:
return {
"resourceArn": ...,
}
DescribeSlotRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DescribeSlotRequestRequestTypeDef
def get_value() -> DescribeSlotRequestRequestTypeDef:
return {
"slotId": ...,
"botId": ...,
"botVersion": ...,
"localeId": ...,
"intentId": ...,
}
Definition
class DescribeSlotRequestRequestTypeDef(TypedDict):
slotId: str,
botId: str,
botVersion: str,
localeId: str,
intentId: str,
DescribeSlotTypeRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DescribeSlotTypeRequestRequestTypeDef
def get_value() -> DescribeSlotTypeRequestRequestTypeDef:
return {
"slotTypeId": ...,
"botId": ...,
"botVersion": ...,
"localeId": ...,
}
Definition
class DescribeSlotTypeRequestRequestTypeDef(TypedDict):
slotTypeId: str,
botId: str,
botVersion: str,
localeId: str,
DialogActionTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DialogActionTypeDef
def get_value() -> DialogActionTypeDef:
return {
"type": ...,
}
Definition
class DialogActionTypeDef(TypedDict):
type: DialogActionTypeType, # (1)
slotToElicit: NotRequired[str],
suppressNextMessage: NotRequired[bool],
IntentOverrideTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import IntentOverrideTypeDef
def get_value() -> IntentOverrideTypeDef:
return {
"name": ...,
}
Definition
class IntentOverrideTypeDef(TypedDict):
name: NotRequired[str],
slots: NotRequired[Mapping[str, SlotValueOverrideTypeDef]], # (1)
ElicitationCodeHookInvocationSettingTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ElicitationCodeHookInvocationSettingTypeDef
def get_value() -> ElicitationCodeHookInvocationSettingTypeDef:
return {
"enableCodeHookInvocation": ...,
}
Definition
class ElicitationCodeHookInvocationSettingTypeDef(TypedDict):
enableCodeHookInvocation: bool,
invocationLabel: NotRequired[str],
ExportFilterTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ExportFilterTypeDef
def get_value() -> ExportFilterTypeDef:
return {
"name": ...,
"values": ...,
"operator": ...,
}
Definition
class ExportFilterTypeDef(TypedDict):
name: ExportFilterNameType, # (1)
values: Sequence[str],
operator: ExportFilterOperatorType, # (2)
ExportSortByTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ExportSortByTypeDef
def get_value() -> ExportSortByTypeDef:
return {
"attribute": ...,
"order": ...,
}
Definition
class ExportSortByTypeDef(TypedDict):
attribute: ExportSortAttributeType, # (1)
order: SortOrderType, # (2)
- See ExportSortAttributeType
- See SortOrderType
GrammarSlotTypeSourceTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import GrammarSlotTypeSourceTypeDef
def get_value() -> GrammarSlotTypeSourceTypeDef:
return {
"s3BucketName": ...,
"s3ObjectKey": ...,
}
Definition
class GrammarSlotTypeSourceTypeDef(TypedDict):
s3BucketName: str,
s3ObjectKey: str,
kmsKeyArn: NotRequired[str],
ImportFilterTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ImportFilterTypeDef
def get_value() -> ImportFilterTypeDef:
return {
"name": ...,
"values": ...,
"operator": ...,
}
Definition
class ImportFilterTypeDef(TypedDict):
name: ImportFilterNameType, # (1)
values: Sequence[str],
operator: ImportFilterOperatorType, # (2)
ImportSortByTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ImportSortByTypeDef
def get_value() -> ImportSortByTypeDef:
return {
"attribute": ...,
"order": ...,
}
Definition
class ImportSortByTypeDef(TypedDict):
attribute: ImportSortAttributeType, # (1)
order: SortOrderType, # (2)
- See ImportSortAttributeType
- See SortOrderType
ImportSummaryTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ImportSummaryTypeDef
def get_value() -> ImportSummaryTypeDef:
return {
"importId": ...,
}
Definition
class ImportSummaryTypeDef(TypedDict):
importId: NotRequired[str],
importedResourceId: NotRequired[str],
importedResourceName: NotRequired[str],
importStatus: NotRequired[ImportStatusType], # (1)
mergeStrategy: NotRequired[MergeStrategyType], # (2)
creationDateTime: NotRequired[datetime],
lastUpdatedDateTime: NotRequired[datetime],
importedResourceType: NotRequired[ImportResourceTypeType], # (3)
- See ImportStatusType
- See MergeStrategyType
- See ImportResourceTypeType
IntentFilterTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import IntentFilterTypeDef
def get_value() -> IntentFilterTypeDef:
return {
"name": ...,
"values": ...,
"operator": ...,
}
Definition
class IntentFilterTypeDef(TypedDict):
name: IntentFilterNameType, # (1)
values: Sequence[str],
operator: IntentFilterOperatorType, # (2)
IntentSortByTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import IntentSortByTypeDef
def get_value() -> IntentSortByTypeDef:
return {
"attribute": ...,
"order": ...,
}
Definition
class IntentSortByTypeDef(TypedDict):
attribute: IntentSortAttributeType, # (1)
order: SortOrderType, # (2)
- See IntentSortAttributeType
- See SortOrderType
ListBotAliasesRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ListBotAliasesRequestRequestTypeDef
def get_value() -> ListBotAliasesRequestRequestTypeDef:
return {
"botId": ...,
}
Definition
class ListBotAliasesRequestRequestTypeDef(TypedDict):
botId: str,
maxResults: NotRequired[int],
nextToken: NotRequired[str],
ListBotRecommendationsRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ListBotRecommendationsRequestRequestTypeDef
def get_value() -> ListBotRecommendationsRequestRequestTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
}
Definition
class ListBotRecommendationsRequestRequestTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
maxResults: NotRequired[int],
nextToken: NotRequired[str],