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],
BotMemberTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import BotMemberTypeDef
def get_value() -> BotMemberTypeDef:
return {
"botMemberId": ...,
"botMemberName": ...,
"botMemberAliasId": ...,
"botMemberAliasName": ...,
"botMemberVersion": ...,
}
Definition
class BotMemberTypeDef(TypedDict):
botMemberId: str,
botMemberName: str,
botMemberAliasId: str,
botMemberAliasName: str,
botMemberVersion: str,
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],
botType: NotRequired[BotTypeType], # (2)
- See BotStatusType
- See BotTypeType
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": ...,
}
ParentBotNetworkTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ParentBotNetworkTypeDef
def get_value() -> ParentBotNetworkTypeDef:
return {
"botId": ...,
"botVersion": ...,
}
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],
ListCustomVocabularyItemsRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ListCustomVocabularyItemsRequestRequestTypeDef
def get_value() -> ListCustomVocabularyItemsRequestRequestTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
}
Definition
class ListCustomVocabularyItemsRequestRequestTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
maxResults: NotRequired[int],
nextToken: NotRequired[str],
ListRecommendedIntentsRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ListRecommendedIntentsRequestRequestTypeDef
def get_value() -> ListRecommendedIntentsRequestRequestTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
"botRecommendationId": ...,
}
Definition
class ListRecommendedIntentsRequestRequestTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
botRecommendationId: str,
nextToken: NotRequired[str],
maxResults: NotRequired[int],
RecommendedIntentSummaryTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import RecommendedIntentSummaryTypeDef
def get_value() -> RecommendedIntentSummaryTypeDef:
return {
"intentId": ...,
}
Definition
class RecommendedIntentSummaryTypeDef(TypedDict):
intentId: NotRequired[str],
intentName: NotRequired[str],
sampleUtterancesCount: NotRequired[int],
SlotTypeFilterTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import SlotTypeFilterTypeDef
def get_value() -> SlotTypeFilterTypeDef:
return {
"name": ...,
"values": ...,
"operator": ...,
}
Definition
class SlotTypeFilterTypeDef(TypedDict):
name: SlotTypeFilterNameType, # (1)
values: Sequence[str],
operator: SlotTypeFilterOperatorType, # (2)
SlotTypeSortByTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import SlotTypeSortByTypeDef
def get_value() -> SlotTypeSortByTypeDef:
return {
"attribute": ...,
"order": ...,
}
Definition
class SlotTypeSortByTypeDef(TypedDict):
attribute: SlotTypeSortAttributeType, # (1)
order: SortOrderType, # (2)
SlotTypeSummaryTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import SlotTypeSummaryTypeDef
def get_value() -> SlotTypeSummaryTypeDef:
return {
"slotTypeId": ...,
}
Definition
class SlotTypeSummaryTypeDef(TypedDict):
slotTypeId: NotRequired[str],
slotTypeName: NotRequired[str],
description: NotRequired[str],
parentSlotTypeSignature: NotRequired[str],
lastUpdatedDateTime: NotRequired[datetime],
slotTypeCategory: NotRequired[SlotTypeCategoryType], # (1)
SlotFilterTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import SlotFilterTypeDef
def get_value() -> SlotFilterTypeDef:
return {
"name": ...,
"values": ...,
"operator": ...,
}
Definition
class SlotFilterTypeDef(TypedDict):
name: SlotFilterNameType, # (1)
values: Sequence[str],
operator: SlotFilterOperatorType, # (2)
SlotSortByTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import SlotSortByTypeDef
def get_value() -> SlotSortByTypeDef:
return {
"attribute": ...,
"order": ...,
}
Definition
class SlotSortByTypeDef(TypedDict):
attribute: SlotSortAttributeType, # (1)
order: SortOrderType, # (2)
- See SlotSortAttributeType
- See SortOrderType
ListTagsForResourceRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ListTagsForResourceRequestRequestTypeDef
def get_value() -> ListTagsForResourceRequestRequestTypeDef:
return {
"resourceARN": ...,
}
PlainTextMessageTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import PlainTextMessageTypeDef
def get_value() -> PlainTextMessageTypeDef:
return {
"value": ...,
}
SSMLMessageTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import SSMLMessageTypeDef
def get_value() -> SSMLMessageTypeDef:
return {
"value": ...,
}
PathFormatTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import PathFormatTypeDef
def get_value() -> PathFormatTypeDef:
return {
"objectPrefixes": ...,
}
TextInputSpecificationTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import TextInputSpecificationTypeDef
def get_value() -> TextInputSpecificationTypeDef:
return {
"startTimeoutMs": ...,
}
RelativeAggregationDurationTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import RelativeAggregationDurationTypeDef
def get_value() -> RelativeAggregationDurationTypeDef:
return {
"timeDimension": ...,
"timeValue": ...,
}
Definition
class RelativeAggregationDurationTypeDef(TypedDict):
timeDimension: TimeDimensionType, # (1)
timeValue: int,
SampleValueTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import SampleValueTypeDef
def get_value() -> SampleValueTypeDef:
return {
"value": ...,
}
SlotDefaultValueTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import SlotDefaultValueTypeDef
def get_value() -> SlotDefaultValueTypeDef:
return {
"defaultValue": ...,
}
SlotValueTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import SlotValueTypeDef
def get_value() -> SlotValueTypeDef:
return {
"interpretedValue": ...,
}
SlotValueRegexFilterTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import SlotValueRegexFilterTypeDef
def get_value() -> SlotValueRegexFilterTypeDef:
return {
"pattern": ...,
}
StopBotRecommendationRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import StopBotRecommendationRequestRequestTypeDef
def get_value() -> StopBotRecommendationRequestRequestTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
"botRecommendationId": ...,
}
Definition
class StopBotRecommendationRequestRequestTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
botRecommendationId: str,
TagResourceRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import TagResourceRequestRequestTypeDef
def get_value() -> TagResourceRequestRequestTypeDef:
return {
"resourceARN": ...,
"tags": ...,
}
Definition
class TagResourceRequestRequestTypeDef(TypedDict):
resourceARN: str,
tags: Mapping[str, str],
UntagResourceRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import UntagResourceRequestRequestTypeDef
def get_value() -> UntagResourceRequestRequestTypeDef:
return {
"resourceARN": ...,
"tagKeys": ...,
}
Definition
class UntagResourceRequestRequestTypeDef(TypedDict):
resourceARN: str,
tagKeys: Sequence[str],
UpdateExportRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import UpdateExportRequestRequestTypeDef
def get_value() -> UpdateExportRequestRequestTypeDef:
return {
"exportId": ...,
}
Definition
class UpdateExportRequestRequestTypeDef(TypedDict):
exportId: str,
filePassword: NotRequired[str],
UpdateResourcePolicyRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import UpdateResourcePolicyRequestRequestTypeDef
def get_value() -> UpdateResourcePolicyRequestRequestTypeDef:
return {
"resourceArn": ...,
"policy": ...,
}
Definition
class UpdateResourcePolicyRequestRequestTypeDef(TypedDict):
resourceArn: str,
policy: str,
expectedRevisionId: NotRequired[str],
SearchAssociatedTranscriptsRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import SearchAssociatedTranscriptsRequestRequestTypeDef
def get_value() -> SearchAssociatedTranscriptsRequestRequestTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
"botRecommendationId": ...,
"filters": ...,
}
Definition
class SearchAssociatedTranscriptsRequestRequestTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
botRecommendationId: str,
filters: Sequence[AssociatedTranscriptFilterTypeDef], # (1)
searchOrder: NotRequired[SearchOrderType], # (2)
maxResults: NotRequired[int],
nextIndex: NotRequired[int],
AudioAndDTMFInputSpecificationTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import AudioAndDTMFInputSpecificationTypeDef
def get_value() -> AudioAndDTMFInputSpecificationTypeDef:
return {
"startTimeoutMs": ...,
}
Definition
class AudioAndDTMFInputSpecificationTypeDef(TypedDict):
startTimeoutMs: int,
audioSpecification: NotRequired[AudioSpecificationTypeDef], # (1)
dtmfSpecification: NotRequired[DTMFSpecificationTypeDef], # (2)
AudioLogDestinationTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import AudioLogDestinationTypeDef
def get_value() -> AudioLogDestinationTypeDef:
return {
"s3Bucket": ...,
}
Definition
class AudioLogDestinationTypeDef(TypedDict):
s3Bucket: S3BucketLogDestinationTypeDef, # (1)
BatchCreateCustomVocabularyItemRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import BatchCreateCustomVocabularyItemRequestRequestTypeDef
def get_value() -> BatchCreateCustomVocabularyItemRequestRequestTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
"customVocabularyItemList": ...,
}
Definition
class BatchCreateCustomVocabularyItemRequestRequestTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
customVocabularyItemList: Sequence[NewCustomVocabularyItemTypeDef], # (1)
BatchUpdateCustomVocabularyItemRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import BatchUpdateCustomVocabularyItemRequestRequestTypeDef
def get_value() -> BatchUpdateCustomVocabularyItemRequestRequestTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
"customVocabularyItemList": ...,
}
Definition
class BatchUpdateCustomVocabularyItemRequestRequestTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
customVocabularyItemList: Sequence[CustomVocabularyItemTypeDef], # (1)
BatchCreateCustomVocabularyItemResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import BatchCreateCustomVocabularyItemResponseTypeDef
def get_value() -> BatchCreateCustomVocabularyItemResponseTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
"errors": ...,
"resources": ...,
"ResponseMetadata": ...,
}
Definition
class BatchCreateCustomVocabularyItemResponseTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
errors: List[FailedCustomVocabularyItemTypeDef], # (1)
resources: List[CustomVocabularyItemTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
BatchDeleteCustomVocabularyItemResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import BatchDeleteCustomVocabularyItemResponseTypeDef
def get_value() -> BatchDeleteCustomVocabularyItemResponseTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
"errors": ...,
"resources": ...,
"ResponseMetadata": ...,
}
Definition
class BatchDeleteCustomVocabularyItemResponseTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
errors: List[FailedCustomVocabularyItemTypeDef], # (1)
resources: List[CustomVocabularyItemTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
BatchUpdateCustomVocabularyItemResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import BatchUpdateCustomVocabularyItemResponseTypeDef
def get_value() -> BatchUpdateCustomVocabularyItemResponseTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
"errors": ...,
"resources": ...,
"ResponseMetadata": ...,
}
Definition
class BatchUpdateCustomVocabularyItemResponseTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
errors: List[FailedCustomVocabularyItemTypeDef], # (1)
resources: List[CustomVocabularyItemTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
BuildBotLocaleResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import BuildBotLocaleResponseTypeDef
def get_value() -> BuildBotLocaleResponseTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
"botLocaleStatus": ...,
"lastBuildSubmittedDateTime": ...,
"ResponseMetadata": ...,
}
Definition
class BuildBotLocaleResponseTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
botLocaleStatus: BotLocaleStatusType, # (1)
lastBuildSubmittedDateTime: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateResourcePolicyResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import CreateResourcePolicyResponseTypeDef
def get_value() -> CreateResourcePolicyResponseTypeDef:
return {
"resourceArn": ...,
"revisionId": ...,
"ResponseMetadata": ...,
}
Definition
class CreateResourcePolicyResponseTypeDef(TypedDict):
resourceArn: str,
revisionId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateResourcePolicyStatementResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import CreateResourcePolicyStatementResponseTypeDef
def get_value() -> CreateResourcePolicyStatementResponseTypeDef:
return {
"resourceArn": ...,
"revisionId": ...,
"ResponseMetadata": ...,
}
Definition
class CreateResourcePolicyStatementResponseTypeDef(TypedDict):
resourceArn: str,
revisionId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateUploadUrlResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import CreateUploadUrlResponseTypeDef
def get_value() -> CreateUploadUrlResponseTypeDef:
return {
"importId": ...,
"uploadUrl": ...,
"ResponseMetadata": ...,
}
Definition
class CreateUploadUrlResponseTypeDef(TypedDict):
importId: str,
uploadUrl: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteBotAliasResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DeleteBotAliasResponseTypeDef
def get_value() -> DeleteBotAliasResponseTypeDef:
return {
"botAliasId": ...,
"botId": ...,
"botAliasStatus": ...,
"ResponseMetadata": ...,
}
Definition
class DeleteBotAliasResponseTypeDef(TypedDict):
botAliasId: str,
botId: str,
botAliasStatus: BotAliasStatusType, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeleteBotLocaleResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DeleteBotLocaleResponseTypeDef
def get_value() -> DeleteBotLocaleResponseTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
"botLocaleStatus": ...,
"ResponseMetadata": ...,
}
Definition
class DeleteBotLocaleResponseTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
botLocaleStatus: BotLocaleStatusType, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeleteBotResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DeleteBotResponseTypeDef
def get_value() -> DeleteBotResponseTypeDef:
return {
"botId": ...,
"botStatus": ...,
"ResponseMetadata": ...,
}
Definition
class DeleteBotResponseTypeDef(TypedDict):
botId: str,
botStatus: BotStatusType, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See BotStatusType
- See ResponseMetadataTypeDef
DeleteBotVersionResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DeleteBotVersionResponseTypeDef
def get_value() -> DeleteBotVersionResponseTypeDef:
return {
"botId": ...,
"botVersion": ...,
"botStatus": ...,
"ResponseMetadata": ...,
}
Definition
class DeleteBotVersionResponseTypeDef(TypedDict):
botId: str,
botVersion: str,
botStatus: BotStatusType, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See BotStatusType
- See ResponseMetadataTypeDef
DeleteCustomVocabularyResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DeleteCustomVocabularyResponseTypeDef
def get_value() -> DeleteCustomVocabularyResponseTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
"customVocabularyStatus": ...,
"ResponseMetadata": ...,
}
Definition
class DeleteCustomVocabularyResponseTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
customVocabularyStatus: CustomVocabularyStatusType, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeleteExportResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DeleteExportResponseTypeDef
def get_value() -> DeleteExportResponseTypeDef:
return {
"exportId": ...,
"exportStatus": ...,
"ResponseMetadata": ...,
}
Definition
class DeleteExportResponseTypeDef(TypedDict):
exportId: str,
exportStatus: ExportStatusType, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeleteImportResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DeleteImportResponseTypeDef
def get_value() -> DeleteImportResponseTypeDef:
return {
"importId": ...,
"importStatus": ...,
"ResponseMetadata": ...,
}
Definition
class DeleteImportResponseTypeDef(TypedDict):
importId: str,
importStatus: ImportStatusType, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeleteResourcePolicyResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DeleteResourcePolicyResponseTypeDef
def get_value() -> DeleteResourcePolicyResponseTypeDef:
return {
"resourceArn": ...,
"revisionId": ...,
"ResponseMetadata": ...,
}
Definition
class DeleteResourcePolicyResponseTypeDef(TypedDict):
resourceArn: str,
revisionId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteResourcePolicyStatementResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DeleteResourcePolicyStatementResponseTypeDef
def get_value() -> DeleteResourcePolicyStatementResponseTypeDef:
return {
"resourceArn": ...,
"revisionId": ...,
"ResponseMetadata": ...,
}
Definition
class DeleteResourcePolicyStatementResponseTypeDef(TypedDict):
resourceArn: str,
revisionId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DescribeCustomVocabularyMetadataResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DescribeCustomVocabularyMetadataResponseTypeDef
def get_value() -> DescribeCustomVocabularyMetadataResponseTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
"customVocabularyStatus": ...,
"creationDateTime": ...,
"lastUpdatedDateTime": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeCustomVocabularyMetadataResponseTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
customVocabularyStatus: CustomVocabularyStatusType, # (1)
creationDateTime: datetime,
lastUpdatedDateTime: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeResourcePolicyResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DescribeResourcePolicyResponseTypeDef
def get_value() -> DescribeResourcePolicyResponseTypeDef:
return {
"resourceArn": ...,
"policy": ...,
"revisionId": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeResourcePolicyResponseTypeDef(TypedDict):
resourceArn: str,
policy: str,
revisionId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
EmptyResponseMetadataTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import EmptyResponseMetadataTypeDef
def get_value() -> EmptyResponseMetadataTypeDef:
return {
"ResponseMetadata": ...,
}
Definition
class EmptyResponseMetadataTypeDef(TypedDict):
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListCustomVocabularyItemsResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ListCustomVocabularyItemsResponseTypeDef
def get_value() -> ListCustomVocabularyItemsResponseTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
"customVocabularyItems": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
Definition
class ListCustomVocabularyItemsResponseTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
customVocabularyItems: List[CustomVocabularyItemTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListTagsForResourceResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ListTagsForResourceResponseTypeDef
def get_value() -> ListTagsForResourceResponseTypeDef:
return {
"tags": ...,
"ResponseMetadata": ...,
}
Definition
class ListTagsForResourceResponseTypeDef(TypedDict):
tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
SearchAssociatedTranscriptsResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import SearchAssociatedTranscriptsResponseTypeDef
def get_value() -> SearchAssociatedTranscriptsResponseTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
"botRecommendationId": ...,
"nextIndex": ...,
"associatedTranscripts": ...,
"totalResults": ...,
"ResponseMetadata": ...,
}
Definition
class SearchAssociatedTranscriptsResponseTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
botRecommendationId: str,
nextIndex: int,
associatedTranscripts: List[AssociatedTranscriptTypeDef], # (1)
totalResults: int,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
StopBotRecommendationResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import StopBotRecommendationResponseTypeDef
def get_value() -> StopBotRecommendationResponseTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
"botRecommendationStatus": ...,
"botRecommendationId": ...,
"ResponseMetadata": ...,
}
Definition
class StopBotRecommendationResponseTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
botRecommendationStatus: BotRecommendationStatusType, # (1)
botRecommendationId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateResourcePolicyResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import UpdateResourcePolicyResponseTypeDef
def get_value() -> UpdateResourcePolicyResponseTypeDef:
return {
"resourceArn": ...,
"revisionId": ...,
"ResponseMetadata": ...,
}
Definition
class UpdateResourcePolicyResponseTypeDef(TypedDict):
resourceArn: str,
revisionId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
BatchDeleteCustomVocabularyItemRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import BatchDeleteCustomVocabularyItemRequestRequestTypeDef
def get_value() -> BatchDeleteCustomVocabularyItemRequestRequestTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
"customVocabularyItemList": ...,
}
Definition
class BatchDeleteCustomVocabularyItemRequestRequestTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
customVocabularyItemList: Sequence[CustomVocabularyEntryIdTypeDef], # (1)
ListBotAliasesResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ListBotAliasesResponseTypeDef
def get_value() -> ListBotAliasesResponseTypeDef:
return {
"botAliasSummaries": ...,
"nextToken": ...,
"botId": ...,
"ResponseMetadata": ...,
}
Definition
class ListBotAliasesResponseTypeDef(TypedDict):
botAliasSummaries: List[BotAliasSummaryTypeDef], # (1)
nextToken: str,
botId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
BotImportSpecificationTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import BotImportSpecificationTypeDef
def get_value() -> BotImportSpecificationTypeDef:
return {
"botName": ...,
"roleArn": ...,
"dataPrivacy": ...,
}
Definition
class BotImportSpecificationTypeDef(TypedDict):
botName: str,
roleArn: str,
dataPrivacy: DataPrivacyTypeDef, # (1)
idleSessionTTLInSeconds: NotRequired[int],
botTags: NotRequired[Dict[str, str]],
testBotAliasTags: NotRequired[Dict[str, str]],
BotLocaleImportSpecificationTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import BotLocaleImportSpecificationTypeDef
def get_value() -> BotLocaleImportSpecificationTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
}
Definition
class BotLocaleImportSpecificationTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
nluIntentConfidenceThreshold: NotRequired[float],
voiceSettings: NotRequired[VoiceSettingsTypeDef], # (1)
CreateBotLocaleRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import CreateBotLocaleRequestRequestTypeDef
def get_value() -> CreateBotLocaleRequestRequestTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
"nluIntentConfidenceThreshold": ...,
}
Definition
class CreateBotLocaleRequestRequestTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
nluIntentConfidenceThreshold: float,
description: NotRequired[str],
voiceSettings: NotRequired[VoiceSettingsTypeDef], # (1)
CreateBotLocaleResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import CreateBotLocaleResponseTypeDef
def get_value() -> CreateBotLocaleResponseTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeName": ...,
"localeId": ...,
"description": ...,
"nluIntentConfidenceThreshold": ...,
"voiceSettings": ...,
"botLocaleStatus": ...,
"creationDateTime": ...,
"ResponseMetadata": ...,
}
Definition
class CreateBotLocaleResponseTypeDef(TypedDict):
botId: str,
botVersion: str,
localeName: str,
localeId: str,
description: str,
nluIntentConfidenceThreshold: float,
voiceSettings: VoiceSettingsTypeDef, # (1)
botLocaleStatus: BotLocaleStatusType, # (2)
creationDateTime: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (3)
DescribeBotLocaleResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DescribeBotLocaleResponseTypeDef
def get_value() -> DescribeBotLocaleResponseTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
"localeName": ...,
"description": ...,
"nluIntentConfidenceThreshold": ...,
"voiceSettings": ...,
"intentsCount": ...,
"slotTypesCount": ...,
"botLocaleStatus": ...,
"failureReasons": ...,
"creationDateTime": ...,
"lastUpdatedDateTime": ...,
"lastBuildSubmittedDateTime": ...,
"botLocaleHistoryEvents": ...,
"recommendedActions": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeBotLocaleResponseTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
localeName: str,
description: str,
nluIntentConfidenceThreshold: float,
voiceSettings: VoiceSettingsTypeDef, # (1)
intentsCount: int,
slotTypesCount: int,
botLocaleStatus: BotLocaleStatusType, # (2)
failureReasons: List[str],
creationDateTime: datetime,
lastUpdatedDateTime: datetime,
lastBuildSubmittedDateTime: datetime,
botLocaleHistoryEvents: List[BotLocaleHistoryEventTypeDef], # (3)
recommendedActions: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (4)
- See VoiceSettingsTypeDef
- See BotLocaleStatusType
- See BotLocaleHistoryEventTypeDef
- See ResponseMetadataTypeDef
UpdateBotLocaleRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import UpdateBotLocaleRequestRequestTypeDef
def get_value() -> UpdateBotLocaleRequestRequestTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
"nluIntentConfidenceThreshold": ...,
}
Definition
class UpdateBotLocaleRequestRequestTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
nluIntentConfidenceThreshold: float,
description: NotRequired[str],
voiceSettings: NotRequired[VoiceSettingsTypeDef], # (1)
UpdateBotLocaleResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import UpdateBotLocaleResponseTypeDef
def get_value() -> UpdateBotLocaleResponseTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
"localeName": ...,
"description": ...,
"nluIntentConfidenceThreshold": ...,
"voiceSettings": ...,
"botLocaleStatus": ...,
"failureReasons": ...,
"creationDateTime": ...,
"lastUpdatedDateTime": ...,
"recommendedActions": ...,
"ResponseMetadata": ...,
}
Definition
class UpdateBotLocaleResponseTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
localeName: str,
description: str,
nluIntentConfidenceThreshold: float,
voiceSettings: VoiceSettingsTypeDef, # (1)
botLocaleStatus: BotLocaleStatusType, # (2)
failureReasons: List[str],
creationDateTime: datetime,
lastUpdatedDateTime: datetime,
recommendedActions: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (3)
ListBotLocalesRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ListBotLocalesRequestRequestTypeDef
def get_value() -> ListBotLocalesRequestRequestTypeDef:
return {
"botId": ...,
"botVersion": ...,
}
Definition
class ListBotLocalesRequestRequestTypeDef(TypedDict):
botId: str,
botVersion: str,
sortBy: NotRequired[BotLocaleSortByTypeDef], # (1)
filters: NotRequired[Sequence[BotLocaleFilterTypeDef]], # (2)
maxResults: NotRequired[int],
nextToken: NotRequired[str],
ListBotLocalesResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ListBotLocalesResponseTypeDef
def get_value() -> ListBotLocalesResponseTypeDef:
return {
"botId": ...,
"botVersion": ...,
"nextToken": ...,
"botLocaleSummaries": ...,
"ResponseMetadata": ...,
}
Definition
class ListBotLocalesResponseTypeDef(TypedDict):
botId: str,
botVersion: str,
nextToken: str,
botLocaleSummaries: List[BotLocaleSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateBotRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import CreateBotRequestRequestTypeDef
def get_value() -> CreateBotRequestRequestTypeDef:
return {
"botName": ...,
"roleArn": ...,
"dataPrivacy": ...,
"idleSessionTTLInSeconds": ...,
}
Definition
class CreateBotRequestRequestTypeDef(TypedDict):
botName: str,
roleArn: str,
dataPrivacy: DataPrivacyTypeDef, # (1)
idleSessionTTLInSeconds: int,
description: NotRequired[str],
botTags: NotRequired[Mapping[str, str]],
testBotAliasTags: NotRequired[Mapping[str, str]],
botType: NotRequired[BotTypeType], # (2)
botMembers: NotRequired[Sequence[BotMemberTypeDef]], # (3)
- See DataPrivacyTypeDef
- See BotTypeType
- See BotMemberTypeDef
CreateBotResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import CreateBotResponseTypeDef
def get_value() -> CreateBotResponseTypeDef:
return {
"botId": ...,
"botName": ...,
"description": ...,
"roleArn": ...,
"dataPrivacy": ...,
"idleSessionTTLInSeconds": ...,
"botStatus": ...,
"creationDateTime": ...,
"botTags": ...,
"testBotAliasTags": ...,
"botType": ...,
"botMembers": ...,
"ResponseMetadata": ...,
}
Definition
class CreateBotResponseTypeDef(TypedDict):
botId: str,
botName: str,
description: str,
roleArn: str,
dataPrivacy: DataPrivacyTypeDef, # (1)
idleSessionTTLInSeconds: int,
botStatus: BotStatusType, # (2)
creationDateTime: datetime,
botTags: Dict[str, str],
testBotAliasTags: Dict[str, str],
botType: BotTypeType, # (3)
botMembers: List[BotMemberTypeDef], # (4)
ResponseMetadata: ResponseMetadataTypeDef, # (5)
- See DataPrivacyTypeDef
- See BotStatusType
- See BotTypeType
- See BotMemberTypeDef
- See ResponseMetadataTypeDef
DescribeBotResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DescribeBotResponseTypeDef
def get_value() -> DescribeBotResponseTypeDef:
return {
"botId": ...,
"botName": ...,
"description": ...,
"roleArn": ...,
"dataPrivacy": ...,
"idleSessionTTLInSeconds": ...,
"botStatus": ...,
"creationDateTime": ...,
"lastUpdatedDateTime": ...,
"botType": ...,
"botMembers": ...,
"failureReasons": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeBotResponseTypeDef(TypedDict):
botId: str,
botName: str,
description: str,
roleArn: str,
dataPrivacy: DataPrivacyTypeDef, # (1)
idleSessionTTLInSeconds: int,
botStatus: BotStatusType, # (2)
creationDateTime: datetime,
lastUpdatedDateTime: datetime,
botType: BotTypeType, # (3)
botMembers: List[BotMemberTypeDef], # (4)
failureReasons: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (5)
- See DataPrivacyTypeDef
- See BotStatusType
- See BotTypeType
- See BotMemberTypeDef
- See ResponseMetadataTypeDef
UpdateBotRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import UpdateBotRequestRequestTypeDef
def get_value() -> UpdateBotRequestRequestTypeDef:
return {
"botId": ...,
"botName": ...,
"roleArn": ...,
"dataPrivacy": ...,
"idleSessionTTLInSeconds": ...,
}
Definition
class UpdateBotRequestRequestTypeDef(TypedDict):
botId: str,
botName: str,
roleArn: str,
dataPrivacy: DataPrivacyTypeDef, # (1)
idleSessionTTLInSeconds: int,
description: NotRequired[str],
botType: NotRequired[BotTypeType], # (2)
botMembers: NotRequired[Sequence[BotMemberTypeDef]], # (3)
- See DataPrivacyTypeDef
- See BotTypeType
- See BotMemberTypeDef
UpdateBotResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import UpdateBotResponseTypeDef
def get_value() -> UpdateBotResponseTypeDef:
return {
"botId": ...,
"botName": ...,
"description": ...,
"roleArn": ...,
"dataPrivacy": ...,
"idleSessionTTLInSeconds": ...,
"botStatus": ...,
"creationDateTime": ...,
"lastUpdatedDateTime": ...,
"botType": ...,
"botMembers": ...,
"ResponseMetadata": ...,
}
Definition
class UpdateBotResponseTypeDef(TypedDict):
botId: str,
botName: str,
description: str,
roleArn: str,
dataPrivacy: DataPrivacyTypeDef, # (1)
idleSessionTTLInSeconds: int,
botStatus: BotStatusType, # (2)
creationDateTime: datetime,
lastUpdatedDateTime: datetime,
botType: BotTypeType, # (3)
botMembers: List[BotMemberTypeDef], # (4)
ResponseMetadata: ResponseMetadataTypeDef, # (5)
- See DataPrivacyTypeDef
- See BotStatusType
- See BotTypeType
- See BotMemberTypeDef
- See ResponseMetadataTypeDef
BotRecommendationResultStatisticsTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import BotRecommendationResultStatisticsTypeDef
def get_value() -> BotRecommendationResultStatisticsTypeDef:
return {
"intents": ...,
}
Definition
class BotRecommendationResultStatisticsTypeDef(TypedDict):
intents: NotRequired[IntentStatisticsTypeDef], # (1)
slotTypes: NotRequired[SlotTypeStatisticsTypeDef], # (2)
ListBotRecommendationsResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ListBotRecommendationsResponseTypeDef
def get_value() -> ListBotRecommendationsResponseTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
"botRecommendationSummaries": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
Definition
class ListBotRecommendationsResponseTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
botRecommendationSummaries: List[BotRecommendationSummaryTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListBotsRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ListBotsRequestRequestTypeDef
def get_value() -> ListBotsRequestRequestTypeDef:
return {
"sortBy": ...,
}
Definition
class ListBotsRequestRequestTypeDef(TypedDict):
sortBy: NotRequired[BotSortByTypeDef], # (1)
filters: NotRequired[Sequence[BotFilterTypeDef]], # (2)
maxResults: NotRequired[int],
nextToken: NotRequired[str],
- See BotSortByTypeDef
- See BotFilterTypeDef
ListBotsResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ListBotsResponseTypeDef
def get_value() -> ListBotsResponseTypeDef:
return {
"botSummaries": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
Definition
class ListBotsResponseTypeDef(TypedDict):
botSummaries: List[BotSummaryTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateBotVersionRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import CreateBotVersionRequestRequestTypeDef
def get_value() -> CreateBotVersionRequestRequestTypeDef:
return {
"botId": ...,
"botVersionLocaleSpecification": ...,
}
Definition
class CreateBotVersionRequestRequestTypeDef(TypedDict):
botId: str,
botVersionLocaleSpecification: Mapping[str, BotVersionLocaleDetailsTypeDef], # (1)
description: NotRequired[str],
CreateBotVersionResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import CreateBotVersionResponseTypeDef
def get_value() -> CreateBotVersionResponseTypeDef:
return {
"botId": ...,
"description": ...,
"botVersion": ...,
"botVersionLocaleSpecification": ...,
"botStatus": ...,
"creationDateTime": ...,
"ResponseMetadata": ...,
}
Definition
class CreateBotVersionResponseTypeDef(TypedDict):
botId: str,
description: str,
botVersion: str,
botVersionLocaleSpecification: Dict[str, BotVersionLocaleDetailsTypeDef], # (1)
botStatus: BotStatusType, # (2)
creationDateTime: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (3)
ListBotVersionsRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ListBotVersionsRequestRequestTypeDef
def get_value() -> ListBotVersionsRequestRequestTypeDef:
return {
"botId": ...,
}
Definition
class ListBotVersionsRequestRequestTypeDef(TypedDict):
botId: str,
sortBy: NotRequired[BotVersionSortByTypeDef], # (1)
maxResults: NotRequired[int],
nextToken: NotRequired[str],
ListBotVersionsResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ListBotVersionsResponseTypeDef
def get_value() -> ListBotVersionsResponseTypeDef:
return {
"botId": ...,
"botVersionSummaries": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
Definition
class ListBotVersionsResponseTypeDef(TypedDict):
botId: str,
botVersionSummaries: List[BotVersionSummaryTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListBuiltInIntentsRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ListBuiltInIntentsRequestRequestTypeDef
def get_value() -> ListBuiltInIntentsRequestRequestTypeDef:
return {
"localeId": ...,
}
Definition
class ListBuiltInIntentsRequestRequestTypeDef(TypedDict):
localeId: str,
sortBy: NotRequired[BuiltInIntentSortByTypeDef], # (1)
maxResults: NotRequired[int],
nextToken: NotRequired[str],
ListBuiltInIntentsResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ListBuiltInIntentsResponseTypeDef
def get_value() -> ListBuiltInIntentsResponseTypeDef:
return {
"builtInIntentSummaries": ...,
"nextToken": ...,
"localeId": ...,
"ResponseMetadata": ...,
}
Definition
class ListBuiltInIntentsResponseTypeDef(TypedDict):
builtInIntentSummaries: List[BuiltInIntentSummaryTypeDef], # (1)
nextToken: str,
localeId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListBuiltInSlotTypesRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ListBuiltInSlotTypesRequestRequestTypeDef
def get_value() -> ListBuiltInSlotTypesRequestRequestTypeDef:
return {
"localeId": ...,
}
Definition
class ListBuiltInSlotTypesRequestRequestTypeDef(TypedDict):
localeId: str,
sortBy: NotRequired[BuiltInSlotTypeSortByTypeDef], # (1)
maxResults: NotRequired[int],
nextToken: NotRequired[str],
ListBuiltInSlotTypesResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ListBuiltInSlotTypesResponseTypeDef
def get_value() -> ListBuiltInSlotTypesResponseTypeDef:
return {
"builtInSlotTypeSummaries": ...,
"nextToken": ...,
"localeId": ...,
"ResponseMetadata": ...,
}
Definition
class ListBuiltInSlotTypesResponseTypeDef(TypedDict):
builtInSlotTypeSummaries: List[BuiltInSlotTypeSummaryTypeDef], # (1)
nextToken: str,
localeId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ImageResponseCardTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ImageResponseCardTypeDef
def get_value() -> ImageResponseCardTypeDef:
return {
"title": ...,
}
Definition
class ImageResponseCardTypeDef(TypedDict):
title: str,
subtitle: NotRequired[str],
imageUrl: NotRequired[str],
buttons: NotRequired[Sequence[ButtonTypeDef]], # (1)
- See ButtonTypeDef
TextLogDestinationTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import TextLogDestinationTypeDef
def get_value() -> TextLogDestinationTypeDef:
return {
"cloudWatch": ...,
}
Definition
class TextLogDestinationTypeDef(TypedDict):
cloudWatch: CloudWatchLogGroupLogDestinationTypeDef, # (1)
CodeHookSpecificationTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import CodeHookSpecificationTypeDef
def get_value() -> CodeHookSpecificationTypeDef:
return {
"lambdaCodeHook": ...,
}
Definition
class CodeHookSpecificationTypeDef(TypedDict):
lambdaCodeHook: LambdaCodeHookTypeDef, # (1)
CompositeSlotTypeSettingTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import CompositeSlotTypeSettingTypeDef
def get_value() -> CompositeSlotTypeSettingTypeDef:
return {
"subSlots": ...,
}
Definition
class CompositeSlotTypeSettingTypeDef(TypedDict):
subSlots: NotRequired[Sequence[SubSlotTypeCompositionTypeDef]], # (1)
IntentSummaryTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import IntentSummaryTypeDef
def get_value() -> IntentSummaryTypeDef:
return {
"intentId": ...,
}
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],
CreateResourcePolicyStatementRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import CreateResourcePolicyStatementRequestRequestTypeDef
def get_value() -> CreateResourcePolicyStatementRequestRequestTypeDef:
return {
"resourceArn": ...,
"statementId": ...,
"effect": ...,
"principal": ...,
"action": ...,
}
Definition
class CreateResourcePolicyStatementRequestRequestTypeDef(TypedDict):
resourceArn: str,
statementId: str,
effect: EffectType, # (1)
principal: Sequence[PrincipalTypeDef], # (2)
action: Sequence[str],
condition: NotRequired[Mapping[str, Mapping[str, str]]],
expectedRevisionId: NotRequired[str],
- See EffectType
- See PrincipalTypeDef
ExportResourceSpecificationTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ExportResourceSpecificationTypeDef
def get_value() -> ExportResourceSpecificationTypeDef:
return {
"botExportSpecification": ...,
}
Definition
class ExportResourceSpecificationTypeDef(TypedDict):
botExportSpecification: NotRequired[BotExportSpecificationTypeDef], # (1)
botLocaleExportSpecification: NotRequired[BotLocaleExportSpecificationTypeDef], # (2)
customVocabularyExportSpecification: NotRequired[CustomVocabularyExportSpecificationTypeDef], # (3)
- See BotExportSpecificationTypeDef
- See BotLocaleExportSpecificationTypeDef
- See CustomVocabularyExportSpecificationTypeDef
LexTranscriptFilterTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import LexTranscriptFilterTypeDef
def get_value() -> LexTranscriptFilterTypeDef:
return {
"dateRangeFilter": ...,
}
Definition
class LexTranscriptFilterTypeDef(TypedDict):
dateRangeFilter: NotRequired[DateRangeFilterTypeDef], # (1)
DescribeBotAliasRequestBotAliasAvailableWaitTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DescribeBotAliasRequestBotAliasAvailableWaitTypeDef
def get_value() -> DescribeBotAliasRequestBotAliasAvailableWaitTypeDef:
return {
"botAliasId": ...,
"botId": ...,
}
Definition
class DescribeBotAliasRequestBotAliasAvailableWaitTypeDef(TypedDict):
botAliasId: str,
botId: str,
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (1)
DescribeBotLocaleRequestBotLocaleBuiltWaitTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DescribeBotLocaleRequestBotLocaleBuiltWaitTypeDef
def get_value() -> DescribeBotLocaleRequestBotLocaleBuiltWaitTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
}
Definition
class DescribeBotLocaleRequestBotLocaleBuiltWaitTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (1)
DescribeBotLocaleRequestBotLocaleCreatedWaitTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DescribeBotLocaleRequestBotLocaleCreatedWaitTypeDef
def get_value() -> DescribeBotLocaleRequestBotLocaleCreatedWaitTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
}
Definition
class DescribeBotLocaleRequestBotLocaleCreatedWaitTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (1)
DescribeBotLocaleRequestBotLocaleExpressTestingAvailableWaitTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DescribeBotLocaleRequestBotLocaleExpressTestingAvailableWaitTypeDef
def get_value() -> DescribeBotLocaleRequestBotLocaleExpressTestingAvailableWaitTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
}
Definition
class DescribeBotLocaleRequestBotLocaleExpressTestingAvailableWaitTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (1)
DescribeBotRequestBotAvailableWaitTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DescribeBotRequestBotAvailableWaitTypeDef
def get_value() -> DescribeBotRequestBotAvailableWaitTypeDef:
return {
"botId": ...,
}
Definition
class DescribeBotRequestBotAvailableWaitTypeDef(TypedDict):
botId: str,
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (1)
DescribeBotVersionRequestBotVersionAvailableWaitTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DescribeBotVersionRequestBotVersionAvailableWaitTypeDef
def get_value() -> DescribeBotVersionRequestBotVersionAvailableWaitTypeDef:
return {
"botId": ...,
"botVersion": ...,
}
Definition
class DescribeBotVersionRequestBotVersionAvailableWaitTypeDef(TypedDict):
botId: str,
botVersion: str,
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (1)
DescribeExportRequestBotExportCompletedWaitTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DescribeExportRequestBotExportCompletedWaitTypeDef
def get_value() -> DescribeExportRequestBotExportCompletedWaitTypeDef:
return {
"exportId": ...,
}
Definition
class DescribeExportRequestBotExportCompletedWaitTypeDef(TypedDict):
exportId: str,
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (1)
DescribeImportRequestBotImportCompletedWaitTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DescribeImportRequestBotImportCompletedWaitTypeDef
def get_value() -> DescribeImportRequestBotImportCompletedWaitTypeDef:
return {
"importId": ...,
}
Definition
class DescribeImportRequestBotImportCompletedWaitTypeDef(TypedDict):
importId: str,
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (1)
DescribeBotVersionResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DescribeBotVersionResponseTypeDef
def get_value() -> DescribeBotVersionResponseTypeDef:
return {
"botId": ...,
"botName": ...,
"botVersion": ...,
"description": ...,
"roleArn": ...,
"dataPrivacy": ...,
"idleSessionTTLInSeconds": ...,
"botStatus": ...,
"failureReasons": ...,
"creationDateTime": ...,
"parentBotNetworks": ...,
"botType": ...,
"botMembers": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeBotVersionResponseTypeDef(TypedDict):
botId: str,
botName: str,
botVersion: str,
description: str,
roleArn: str,
dataPrivacy: DataPrivacyTypeDef, # (1)
idleSessionTTLInSeconds: int,
botStatus: BotStatusType, # (2)
failureReasons: List[str],
creationDateTime: datetime,
parentBotNetworks: List[ParentBotNetworkTypeDef], # (3)
botType: BotTypeType, # (4)
botMembers: List[BotMemberTypeDef], # (5)
ResponseMetadata: ResponseMetadataTypeDef, # (6)
- See DataPrivacyTypeDef
- See BotStatusType
- See ParentBotNetworkTypeDef
- See BotTypeType
- See BotMemberTypeDef
- See ResponseMetadataTypeDef
UpdateBotRecommendationRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import UpdateBotRecommendationRequestRequestTypeDef
def get_value() -> UpdateBotRecommendationRequestRequestTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
"botRecommendationId": ...,
"encryptionSetting": ...,
}
Definition
class UpdateBotRecommendationRequestRequestTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
botRecommendationId: str,
encryptionSetting: EncryptionSettingTypeDef, # (1)
DialogStateTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DialogStateTypeDef
def get_value() -> DialogStateTypeDef:
return {
"dialogAction": ...,
}
Definition
class DialogStateTypeDef(TypedDict):
dialogAction: NotRequired[DialogActionTypeDef], # (1)
intent: NotRequired[IntentOverrideTypeDef], # (2)
sessionAttributes: NotRequired[Mapping[str, str]],
ListExportsRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ListExportsRequestRequestTypeDef
def get_value() -> ListExportsRequestRequestTypeDef:
return {
"botId": ...,
}
Definition
class ListExportsRequestRequestTypeDef(TypedDict):
botId: NotRequired[str],
botVersion: NotRequired[str],
sortBy: NotRequired[ExportSortByTypeDef], # (1)
filters: NotRequired[Sequence[ExportFilterTypeDef]], # (2)
maxResults: NotRequired[int],
nextToken: NotRequired[str],
localeId: NotRequired[str],
GrammarSlotTypeSettingTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import GrammarSlotTypeSettingTypeDef
def get_value() -> GrammarSlotTypeSettingTypeDef:
return {
"source": ...,
}
Definition
class GrammarSlotTypeSettingTypeDef(TypedDict):
source: NotRequired[GrammarSlotTypeSourceTypeDef], # (1)
ListImportsRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ListImportsRequestRequestTypeDef
def get_value() -> ListImportsRequestRequestTypeDef:
return {
"botId": ...,
}
Definition
class ListImportsRequestRequestTypeDef(TypedDict):
botId: NotRequired[str],
botVersion: NotRequired[str],
sortBy: NotRequired[ImportSortByTypeDef], # (1)
filters: NotRequired[Sequence[ImportFilterTypeDef]], # (2)
maxResults: NotRequired[int],
nextToken: NotRequired[str],
localeId: NotRequired[str],
ListImportsResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ListImportsResponseTypeDef
def get_value() -> ListImportsResponseTypeDef:
return {
"botId": ...,
"botVersion": ...,
"importSummaries": ...,
"nextToken": ...,
"localeId": ...,
"ResponseMetadata": ...,
}
Definition
class ListImportsResponseTypeDef(TypedDict):
botId: str,
botVersion: str,
importSummaries: List[ImportSummaryTypeDef], # (1)
nextToken: str,
localeId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListIntentsRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ListIntentsRequestRequestTypeDef
def get_value() -> ListIntentsRequestRequestTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
}
Definition
class ListIntentsRequestRequestTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
sortBy: NotRequired[IntentSortByTypeDef], # (1)
filters: NotRequired[Sequence[IntentFilterTypeDef]], # (2)
maxResults: NotRequired[int],
nextToken: NotRequired[str],
ListRecommendedIntentsResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ListRecommendedIntentsResponseTypeDef
def get_value() -> ListRecommendedIntentsResponseTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
"botRecommendationId": ...,
"summaryList": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
Definition
class ListRecommendedIntentsResponseTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
botRecommendationId: str,
summaryList: List[RecommendedIntentSummaryTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListSlotTypesRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ListSlotTypesRequestRequestTypeDef
def get_value() -> ListSlotTypesRequestRequestTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
}
Definition
class ListSlotTypesRequestRequestTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
sortBy: NotRequired[SlotTypeSortByTypeDef], # (1)
filters: NotRequired[Sequence[SlotTypeFilterTypeDef]], # (2)
maxResults: NotRequired[int],
nextToken: NotRequired[str],
ListSlotTypesResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ListSlotTypesResponseTypeDef
def get_value() -> ListSlotTypesResponseTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
"slotTypeSummaries": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
Definition
class ListSlotTypesResponseTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
slotTypeSummaries: List[SlotTypeSummaryTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListSlotsRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ListSlotsRequestRequestTypeDef
def get_value() -> ListSlotsRequestRequestTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
"intentId": ...,
}
Definition
class ListSlotsRequestRequestTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
intentId: str,
sortBy: NotRequired[SlotSortByTypeDef], # (1)
filters: NotRequired[Sequence[SlotFilterTypeDef]], # (2)
maxResults: NotRequired[int],
nextToken: NotRequired[str],
- See SlotSortByTypeDef
- See SlotFilterTypeDef
UtteranceAggregationDurationTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import UtteranceAggregationDurationTypeDef
def get_value() -> UtteranceAggregationDurationTypeDef:
return {
"relativeAggregationDuration": ...,
}
Definition
class UtteranceAggregationDurationTypeDef(TypedDict):
relativeAggregationDuration: RelativeAggregationDurationTypeDef, # (1)
SlotTypeValueTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import SlotTypeValueTypeDef
def get_value() -> SlotTypeValueTypeDef:
return {
"sampleValue": ...,
}
Definition
class SlotTypeValueTypeDef(TypedDict):
sampleValue: NotRequired[SampleValueTypeDef], # (1)
synonyms: NotRequired[Sequence[SampleValueTypeDef]], # (2)
- See SampleValueTypeDef
- See SampleValueTypeDef
SlotDefaultValueSpecificationTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import SlotDefaultValueSpecificationTypeDef
def get_value() -> SlotDefaultValueSpecificationTypeDef:
return {
"defaultValueList": ...,
}
Definition
class SlotDefaultValueSpecificationTypeDef(TypedDict):
defaultValueList: Sequence[SlotDefaultValueTypeDef], # (1)
SlotValueOverrideTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import SlotValueOverrideTypeDef
def get_value() -> SlotValueOverrideTypeDef:
return {
"shape": ...,
}
Definition
class SlotValueOverrideTypeDef(TypedDict):
shape: NotRequired[SlotShapeType], # (1)
value: NotRequired[SlotValueTypeDef], # (2)
values: NotRequired[Sequence[SlotValueOverrideTypeDef]], # (3)
- See SlotShapeType
- See SlotValueTypeDef
- See SlotValueOverrideTypeDef
SlotValueSelectionSettingTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import SlotValueSelectionSettingTypeDef
def get_value() -> SlotValueSelectionSettingTypeDef:
return {
"resolutionStrategy": ...,
}
Definition
class SlotValueSelectionSettingTypeDef(TypedDict):
resolutionStrategy: SlotValueResolutionStrategyType, # (1)
regexFilter: NotRequired[SlotValueRegexFilterTypeDef], # (2)
advancedRecognitionSetting: NotRequired[AdvancedRecognitionSettingTypeDef], # (3)
- See SlotValueResolutionStrategyType
- See SlotValueRegexFilterTypeDef
- See AdvancedRecognitionSettingTypeDef
PromptAttemptSpecificationTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import PromptAttemptSpecificationTypeDef
def get_value() -> PromptAttemptSpecificationTypeDef:
return {
"allowedInputTypes": ...,
}
Definition
class PromptAttemptSpecificationTypeDef(TypedDict):
allowedInputTypes: AllowedInputTypesTypeDef, # (1)
allowInterrupt: NotRequired[bool],
audioAndDTMFInputSpecification: NotRequired[AudioAndDTMFInputSpecificationTypeDef], # (2)
textInputSpecification: NotRequired[TextInputSpecificationTypeDef], # (3)
- See AllowedInputTypesTypeDef
- See AudioAndDTMFInputSpecificationTypeDef
- See TextInputSpecificationTypeDef
AudioLogSettingTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import AudioLogSettingTypeDef
def get_value() -> AudioLogSettingTypeDef:
return {
"enabled": ...,
"destination": ...,
}
Definition
class AudioLogSettingTypeDef(TypedDict):
enabled: bool,
destination: AudioLogDestinationTypeDef, # (1)
ImportResourceSpecificationTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ImportResourceSpecificationTypeDef
def get_value() -> ImportResourceSpecificationTypeDef:
return {
"botImportSpecification": ...,
}
Definition
class ImportResourceSpecificationTypeDef(TypedDict):
botImportSpecification: NotRequired[BotImportSpecificationTypeDef], # (1)
botLocaleImportSpecification: NotRequired[BotLocaleImportSpecificationTypeDef], # (2)
customVocabularyImportSpecification: NotRequired[CustomVocabularyImportSpecificationTypeDef], # (3)
- See BotImportSpecificationTypeDef
- See BotLocaleImportSpecificationTypeDef
- See CustomVocabularyImportSpecificationTypeDef
BotRecommendationResultsTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import BotRecommendationResultsTypeDef
def get_value() -> BotRecommendationResultsTypeDef:
return {
"botLocaleExportUrl": ...,
}
Definition
class BotRecommendationResultsTypeDef(TypedDict):
botLocaleExportUrl: NotRequired[str],
associatedTranscriptsUrl: NotRequired[str],
statistics: NotRequired[BotRecommendationResultStatisticsTypeDef], # (1)
MessageTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import MessageTypeDef
def get_value() -> MessageTypeDef:
return {
"plainTextMessage": ...,
}
Definition
class MessageTypeDef(TypedDict):
plainTextMessage: NotRequired[PlainTextMessageTypeDef], # (1)
customPayload: NotRequired[CustomPayloadTypeDef], # (2)
ssmlMessage: NotRequired[SSMLMessageTypeDef], # (3)
imageResponseCard: NotRequired[ImageResponseCardTypeDef], # (4)
- See PlainTextMessageTypeDef
- See CustomPayloadTypeDef
- See SSMLMessageTypeDef
- See ImageResponseCardTypeDef
TextLogSettingTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import TextLogSettingTypeDef
def get_value() -> TextLogSettingTypeDef:
return {
"enabled": ...,
"destination": ...,
}
Definition
class TextLogSettingTypeDef(TypedDict):
enabled: bool,
destination: TextLogDestinationTypeDef, # (1)
BotAliasLocaleSettingsTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import BotAliasLocaleSettingsTypeDef
def get_value() -> BotAliasLocaleSettingsTypeDef:
return {
"enabled": ...,
}
Definition
class BotAliasLocaleSettingsTypeDef(TypedDict):
enabled: bool,
codeHookSpecification: NotRequired[CodeHookSpecificationTypeDef], # (1)
ListIntentsResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ListIntentsResponseTypeDef
def get_value() -> ListIntentsResponseTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
"intentSummaries": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
Definition
class ListIntentsResponseTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
intentSummaries: List[IntentSummaryTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateExportRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import CreateExportRequestRequestTypeDef
def get_value() -> CreateExportRequestRequestTypeDef:
return {
"resourceSpecification": ...,
"fileFormat": ...,
}
Definition
class CreateExportRequestRequestTypeDef(TypedDict):
resourceSpecification: ExportResourceSpecificationTypeDef, # (1)
fileFormat: ImportExportFileFormatType, # (2)
filePassword: NotRequired[str],
CreateExportResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import CreateExportResponseTypeDef
def get_value() -> CreateExportResponseTypeDef:
return {
"exportId": ...,
"resourceSpecification": ...,
"fileFormat": ...,
"exportStatus": ...,
"creationDateTime": ...,
"ResponseMetadata": ...,
}
Definition
class CreateExportResponseTypeDef(TypedDict):
exportId: str,
resourceSpecification: ExportResourceSpecificationTypeDef, # (1)
fileFormat: ImportExportFileFormatType, # (2)
exportStatus: ExportStatusType, # (3)
creationDateTime: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (4)
- See ExportResourceSpecificationTypeDef
- See ImportExportFileFormatType
- See ExportStatusType
- See ResponseMetadataTypeDef
DescribeExportResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DescribeExportResponseTypeDef
def get_value() -> DescribeExportResponseTypeDef:
return {
"exportId": ...,
"resourceSpecification": ...,
"fileFormat": ...,
"exportStatus": ...,
"failureReasons": ...,
"downloadUrl": ...,
"creationDateTime": ...,
"lastUpdatedDateTime": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeExportResponseTypeDef(TypedDict):
exportId: str,
resourceSpecification: ExportResourceSpecificationTypeDef, # (1)
fileFormat: ImportExportFileFormatType, # (2)
exportStatus: ExportStatusType, # (3)
failureReasons: List[str],
downloadUrl: str,
creationDateTime: datetime,
lastUpdatedDateTime: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (4)
- See ExportResourceSpecificationTypeDef
- See ImportExportFileFormatType
- See ExportStatusType
- See ResponseMetadataTypeDef
ExportSummaryTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ExportSummaryTypeDef
def get_value() -> ExportSummaryTypeDef:
return {
"exportId": ...,
}
Definition
class ExportSummaryTypeDef(TypedDict):
exportId: NotRequired[str],
resourceSpecification: NotRequired[ExportResourceSpecificationTypeDef], # (1)
fileFormat: NotRequired[ImportExportFileFormatType], # (2)
exportStatus: NotRequired[ExportStatusType], # (3)
creationDateTime: NotRequired[datetime],
lastUpdatedDateTime: NotRequired[datetime],
UpdateExportResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import UpdateExportResponseTypeDef
def get_value() -> UpdateExportResponseTypeDef:
return {
"exportId": ...,
"resourceSpecification": ...,
"fileFormat": ...,
"exportStatus": ...,
"creationDateTime": ...,
"lastUpdatedDateTime": ...,
"ResponseMetadata": ...,
}
Definition
class UpdateExportResponseTypeDef(TypedDict):
exportId: str,
resourceSpecification: ExportResourceSpecificationTypeDef, # (1)
fileFormat: ImportExportFileFormatType, # (2)
exportStatus: ExportStatusType, # (3)
creationDateTime: datetime,
lastUpdatedDateTime: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (4)
- See ExportResourceSpecificationTypeDef
- See ImportExportFileFormatType
- See ExportStatusType
- See ResponseMetadataTypeDef
TranscriptFilterTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import TranscriptFilterTypeDef
def get_value() -> TranscriptFilterTypeDef:
return {
"lexTranscriptFilter": ...,
}
Definition
class TranscriptFilterTypeDef(TypedDict):
lexTranscriptFilter: NotRequired[LexTranscriptFilterTypeDef], # (1)
ExternalSourceSettingTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ExternalSourceSettingTypeDef
def get_value() -> ExternalSourceSettingTypeDef:
return {
"grammarSlotTypeSetting": ...,
}
Definition
class ExternalSourceSettingTypeDef(TypedDict):
grammarSlotTypeSetting: NotRequired[GrammarSlotTypeSettingTypeDef], # (1)
ListAggregatedUtterancesRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ListAggregatedUtterancesRequestRequestTypeDef
def get_value() -> ListAggregatedUtterancesRequestRequestTypeDef:
return {
"botId": ...,
"localeId": ...,
"aggregationDuration": ...,
}
Definition
class ListAggregatedUtterancesRequestRequestTypeDef(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],
- See UtteranceAggregationDurationTypeDef
- See AggregatedUtterancesSortByTypeDef
- See AggregatedUtterancesFilterTypeDef
ListAggregatedUtterancesResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ListAggregatedUtterancesResponseTypeDef
def get_value() -> ListAggregatedUtterancesResponseTypeDef:
return {
"botId": ...,
"botAliasId": ...,
"botVersion": ...,
"localeId": ...,
"aggregationDuration": ...,
"aggregationWindowStartTime": ...,
"aggregationWindowEndTime": ...,
"aggregationLastRefreshedDateTime": ...,
"aggregatedUtterancesSummaries": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
Definition
class ListAggregatedUtterancesResponseTypeDef(TypedDict):
botId: str,
botAliasId: str,
botVersion: str,
localeId: str,
aggregationDuration: UtteranceAggregationDurationTypeDef, # (1)
aggregationWindowStartTime: datetime,
aggregationWindowEndTime: datetime,
aggregationLastRefreshedDateTime: datetime,
aggregatedUtterancesSummaries: List[AggregatedUtterancesSummaryTypeDef], # (2)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See UtteranceAggregationDurationTypeDef
- See AggregatedUtterancesSummaryTypeDef
- See ResponseMetadataTypeDef
DescribeImportResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DescribeImportResponseTypeDef
def get_value() -> DescribeImportResponseTypeDef:
return {
"importId": ...,
"resourceSpecification": ...,
"importedResourceId": ...,
"importedResourceName": ...,
"mergeStrategy": ...,
"importStatus": ...,
"failureReasons": ...,
"creationDateTime": ...,
"lastUpdatedDateTime": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeImportResponseTypeDef(TypedDict):
importId: str,
resourceSpecification: ImportResourceSpecificationTypeDef, # (1)
importedResourceId: str,
importedResourceName: str,
mergeStrategy: MergeStrategyType, # (2)
importStatus: ImportStatusType, # (3)
failureReasons: List[str],
creationDateTime: datetime,
lastUpdatedDateTime: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (4)
- See ImportResourceSpecificationTypeDef
- See MergeStrategyType
- See ImportStatusType
- See ResponseMetadataTypeDef
StartImportRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import StartImportRequestRequestTypeDef
def get_value() -> StartImportRequestRequestTypeDef:
return {
"importId": ...,
"resourceSpecification": ...,
"mergeStrategy": ...,
}
Definition
class StartImportRequestRequestTypeDef(TypedDict):
importId: str,
resourceSpecification: ImportResourceSpecificationTypeDef, # (1)
mergeStrategy: MergeStrategyType, # (2)
filePassword: NotRequired[str],
StartImportResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import StartImportResponseTypeDef
def get_value() -> StartImportResponseTypeDef:
return {
"importId": ...,
"resourceSpecification": ...,
"mergeStrategy": ...,
"importStatus": ...,
"creationDateTime": ...,
"ResponseMetadata": ...,
}
Definition
class StartImportResponseTypeDef(TypedDict):
importId: str,
resourceSpecification: ImportResourceSpecificationTypeDef, # (1)
mergeStrategy: MergeStrategyType, # (2)
importStatus: ImportStatusType, # (3)
creationDateTime: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (4)
- See ImportResourceSpecificationTypeDef
- See MergeStrategyType
- See ImportStatusType
- See ResponseMetadataTypeDef
MessageGroupTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import MessageGroupTypeDef
def get_value() -> MessageGroupTypeDef:
return {
"message": ...,
}
Definition
class MessageGroupTypeDef(TypedDict):
message: MessageTypeDef, # (1)
variations: NotRequired[Sequence[MessageTypeDef]], # (2)
- See MessageTypeDef
- See MessageTypeDef
ConversationLogSettingsTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ConversationLogSettingsTypeDef
def get_value() -> ConversationLogSettingsTypeDef:
return {
"textLogSettings": ...,
}
Definition
class ConversationLogSettingsTypeDef(TypedDict):
textLogSettings: NotRequired[Sequence[TextLogSettingTypeDef]], # (1)
audioLogSettings: NotRequired[Sequence[AudioLogSettingTypeDef]], # (2)
ListExportsResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ListExportsResponseTypeDef
def get_value() -> ListExportsResponseTypeDef:
return {
"botId": ...,
"botVersion": ...,
"exportSummaries": ...,
"nextToken": ...,
"localeId": ...,
"ResponseMetadata": ...,
}
Definition
class ListExportsResponseTypeDef(TypedDict):
botId: str,
botVersion: str,
exportSummaries: List[ExportSummaryTypeDef], # (1)
nextToken: str,
localeId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
S3BucketTranscriptSourceTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import S3BucketTranscriptSourceTypeDef
def get_value() -> S3BucketTranscriptSourceTypeDef:
return {
"s3BucketName": ...,
"transcriptFormat": ...,
}
Definition
class S3BucketTranscriptSourceTypeDef(TypedDict):
s3BucketName: str,
transcriptFormat: TranscriptFormatType, # (2)
pathFormat: NotRequired[PathFormatTypeDef], # (1)
transcriptFilter: NotRequired[TranscriptFilterTypeDef], # (3)
kmsKeyArn: NotRequired[str],
CreateSlotTypeRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import CreateSlotTypeRequestRequestTypeDef
def get_value() -> CreateSlotTypeRequestRequestTypeDef:
return {
"slotTypeName": ...,
"botId": ...,
"botVersion": ...,
"localeId": ...,
}
Definition
class CreateSlotTypeRequestRequestTypeDef(TypedDict):
slotTypeName: str,
botId: str,
botVersion: str,
localeId: str,
description: NotRequired[str],
slotTypeValues: NotRequired[Sequence[SlotTypeValueTypeDef]], # (1)
valueSelectionSetting: NotRequired[SlotValueSelectionSettingTypeDef], # (2)
parentSlotTypeSignature: NotRequired[str],
externalSourceSetting: NotRequired[ExternalSourceSettingTypeDef], # (3)
compositeSlotTypeSetting: NotRequired[CompositeSlotTypeSettingTypeDef], # (4)
- See SlotTypeValueTypeDef
- See SlotValueSelectionSettingTypeDef
- See ExternalSourceSettingTypeDef
- See CompositeSlotTypeSettingTypeDef
CreateSlotTypeResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import CreateSlotTypeResponseTypeDef
def get_value() -> CreateSlotTypeResponseTypeDef:
return {
"slotTypeId": ...,
"slotTypeName": ...,
"description": ...,
"slotTypeValues": ...,
"valueSelectionSetting": ...,
"parentSlotTypeSignature": ...,
"botId": ...,
"botVersion": ...,
"localeId": ...,
"creationDateTime": ...,
"externalSourceSetting": ...,
"compositeSlotTypeSetting": ...,
"ResponseMetadata": ...,
}
Definition
class CreateSlotTypeResponseTypeDef(TypedDict):
slotTypeId: str,
slotTypeName: str,
description: str,
slotTypeValues: List[SlotTypeValueTypeDef], # (1)
valueSelectionSetting: SlotValueSelectionSettingTypeDef, # (2)
parentSlotTypeSignature: str,
botId: str,
botVersion: str,
localeId: str,
creationDateTime: datetime,
externalSourceSetting: ExternalSourceSettingTypeDef, # (3)
compositeSlotTypeSetting: CompositeSlotTypeSettingTypeDef, # (4)
ResponseMetadata: ResponseMetadataTypeDef, # (5)
- See SlotTypeValueTypeDef
- See SlotValueSelectionSettingTypeDef
- See ExternalSourceSettingTypeDef
- See CompositeSlotTypeSettingTypeDef
- See ResponseMetadataTypeDef
DescribeSlotTypeResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DescribeSlotTypeResponseTypeDef
def get_value() -> DescribeSlotTypeResponseTypeDef:
return {
"slotTypeId": ...,
"slotTypeName": ...,
"description": ...,
"slotTypeValues": ...,
"valueSelectionSetting": ...,
"parentSlotTypeSignature": ...,
"botId": ...,
"botVersion": ...,
"localeId": ...,
"creationDateTime": ...,
"lastUpdatedDateTime": ...,
"externalSourceSetting": ...,
"compositeSlotTypeSetting": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeSlotTypeResponseTypeDef(TypedDict):
slotTypeId: str,
slotTypeName: str,
description: str,
slotTypeValues: List[SlotTypeValueTypeDef], # (1)
valueSelectionSetting: SlotValueSelectionSettingTypeDef, # (2)
parentSlotTypeSignature: str,
botId: str,
botVersion: str,
localeId: str,
creationDateTime: datetime,
lastUpdatedDateTime: datetime,
externalSourceSetting: ExternalSourceSettingTypeDef, # (3)
compositeSlotTypeSetting: CompositeSlotTypeSettingTypeDef, # (4)
ResponseMetadata: ResponseMetadataTypeDef, # (5)
- See SlotTypeValueTypeDef
- See SlotValueSelectionSettingTypeDef
- See ExternalSourceSettingTypeDef
- See CompositeSlotTypeSettingTypeDef
- See ResponseMetadataTypeDef
UpdateSlotTypeRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import UpdateSlotTypeRequestRequestTypeDef
def get_value() -> UpdateSlotTypeRequestRequestTypeDef:
return {
"slotTypeId": ...,
"slotTypeName": ...,
"botId": ...,
"botVersion": ...,
"localeId": ...,
}
Definition
class UpdateSlotTypeRequestRequestTypeDef(TypedDict):
slotTypeId: str,
slotTypeName: str,
botId: str,
botVersion: str,
localeId: str,
description: NotRequired[str],
slotTypeValues: NotRequired[Sequence[SlotTypeValueTypeDef]], # (1)
valueSelectionSetting: NotRequired[SlotValueSelectionSettingTypeDef], # (2)
parentSlotTypeSignature: NotRequired[str],
externalSourceSetting: NotRequired[ExternalSourceSettingTypeDef], # (3)
compositeSlotTypeSetting: NotRequired[CompositeSlotTypeSettingTypeDef], # (4)
- See SlotTypeValueTypeDef
- See SlotValueSelectionSettingTypeDef
- See ExternalSourceSettingTypeDef
- See CompositeSlotTypeSettingTypeDef
UpdateSlotTypeResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import UpdateSlotTypeResponseTypeDef
def get_value() -> UpdateSlotTypeResponseTypeDef:
return {
"slotTypeId": ...,
"slotTypeName": ...,
"description": ...,
"slotTypeValues": ...,
"valueSelectionSetting": ...,
"parentSlotTypeSignature": ...,
"botId": ...,
"botVersion": ...,
"localeId": ...,
"creationDateTime": ...,
"lastUpdatedDateTime": ...,
"externalSourceSetting": ...,
"compositeSlotTypeSetting": ...,
"ResponseMetadata": ...,
}
Definition
class UpdateSlotTypeResponseTypeDef(TypedDict):
slotTypeId: str,
slotTypeName: str,
description: str,
slotTypeValues: List[SlotTypeValueTypeDef], # (1)
valueSelectionSetting: SlotValueSelectionSettingTypeDef, # (2)
parentSlotTypeSignature: str,
botId: str,
botVersion: str,
localeId: str,
creationDateTime: datetime,
lastUpdatedDateTime: datetime,
externalSourceSetting: ExternalSourceSettingTypeDef, # (3)
compositeSlotTypeSetting: CompositeSlotTypeSettingTypeDef, # (4)
ResponseMetadata: ResponseMetadataTypeDef, # (5)
- See SlotTypeValueTypeDef
- See SlotValueSelectionSettingTypeDef
- See ExternalSourceSettingTypeDef
- See CompositeSlotTypeSettingTypeDef
- See ResponseMetadataTypeDef
FulfillmentStartResponseSpecificationTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import FulfillmentStartResponseSpecificationTypeDef
def get_value() -> FulfillmentStartResponseSpecificationTypeDef:
return {
"delayInSeconds": ...,
"messageGroups": ...,
}
Definition
class FulfillmentStartResponseSpecificationTypeDef(TypedDict):
delayInSeconds: int,
messageGroups: Sequence[MessageGroupTypeDef], # (1)
allowInterrupt: NotRequired[bool],
FulfillmentUpdateResponseSpecificationTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import FulfillmentUpdateResponseSpecificationTypeDef
def get_value() -> FulfillmentUpdateResponseSpecificationTypeDef:
return {
"frequencyInSeconds": ...,
"messageGroups": ...,
}
Definition
class FulfillmentUpdateResponseSpecificationTypeDef(TypedDict):
frequencyInSeconds: int,
messageGroups: Sequence[MessageGroupTypeDef], # (1)
allowInterrupt: NotRequired[bool],
PromptSpecificationTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import PromptSpecificationTypeDef
def get_value() -> PromptSpecificationTypeDef:
return {
"messageGroups": ...,
"maxRetries": ...,
}
Definition
class PromptSpecificationTypeDef(TypedDict):
messageGroups: Sequence[MessageGroupTypeDef], # (1)
maxRetries: int,
allowInterrupt: NotRequired[bool],
messageSelectionStrategy: NotRequired[MessageSelectionStrategyType], # (2)
promptAttemptsSpecification: NotRequired[Mapping[PromptAttemptType, PromptAttemptSpecificationTypeDef]], # (3)
- See MessageGroupTypeDef
- See MessageSelectionStrategyType
- See PromptAttemptType PromptAttemptSpecificationTypeDef
ResponseSpecificationTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ResponseSpecificationTypeDef
def get_value() -> ResponseSpecificationTypeDef:
return {
"messageGroups": ...,
}
Definition
class ResponseSpecificationTypeDef(TypedDict):
messageGroups: Sequence[MessageGroupTypeDef], # (1)
allowInterrupt: NotRequired[bool],
StillWaitingResponseSpecificationTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import StillWaitingResponseSpecificationTypeDef
def get_value() -> StillWaitingResponseSpecificationTypeDef:
return {
"messageGroups": ...,
"frequencyInSeconds": ...,
"timeoutInSeconds": ...,
}
Definition
class StillWaitingResponseSpecificationTypeDef(TypedDict):
messageGroups: Sequence[MessageGroupTypeDef], # (1)
frequencyInSeconds: int,
timeoutInSeconds: int,
allowInterrupt: NotRequired[bool],
CreateBotAliasRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import CreateBotAliasRequestRequestTypeDef
def get_value() -> CreateBotAliasRequestRequestTypeDef:
return {
"botAliasName": ...,
"botId": ...,
}
Definition
class CreateBotAliasRequestRequestTypeDef(TypedDict):
botAliasName: str,
botId: str,
description: NotRequired[str],
botVersion: NotRequired[str],
botAliasLocaleSettings: NotRequired[Mapping[str, BotAliasLocaleSettingsTypeDef]], # (1)
conversationLogSettings: NotRequired[ConversationLogSettingsTypeDef], # (2)
sentimentAnalysisSettings: NotRequired[SentimentAnalysisSettingsTypeDef], # (3)
tags: NotRequired[Mapping[str, str]],
- See BotAliasLocaleSettingsTypeDef
- See ConversationLogSettingsTypeDef
- See SentimentAnalysisSettingsTypeDef
CreateBotAliasResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import CreateBotAliasResponseTypeDef
def get_value() -> CreateBotAliasResponseTypeDef:
return {
"botAliasId": ...,
"botAliasName": ...,
"description": ...,
"botVersion": ...,
"botAliasLocaleSettings": ...,
"conversationLogSettings": ...,
"sentimentAnalysisSettings": ...,
"botAliasStatus": ...,
"botId": ...,
"creationDateTime": ...,
"tags": ...,
"ResponseMetadata": ...,
}
Definition
class CreateBotAliasResponseTypeDef(TypedDict):
botAliasId: str,
botAliasName: str,
description: str,
botVersion: str,
botAliasLocaleSettings: Dict[str, BotAliasLocaleSettingsTypeDef], # (1)
conversationLogSettings: ConversationLogSettingsTypeDef, # (2)
sentimentAnalysisSettings: SentimentAnalysisSettingsTypeDef, # (3)
botAliasStatus: BotAliasStatusType, # (4)
botId: str,
creationDateTime: datetime,
tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (5)
- See BotAliasLocaleSettingsTypeDef
- See ConversationLogSettingsTypeDef
- See SentimentAnalysisSettingsTypeDef
- See BotAliasStatusType
- See ResponseMetadataTypeDef
DescribeBotAliasResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DescribeBotAliasResponseTypeDef
def get_value() -> DescribeBotAliasResponseTypeDef:
return {
"botAliasId": ...,
"botAliasName": ...,
"description": ...,
"botVersion": ...,
"botAliasLocaleSettings": ...,
"conversationLogSettings": ...,
"sentimentAnalysisSettings": ...,
"botAliasHistoryEvents": ...,
"botAliasStatus": ...,
"botId": ...,
"creationDateTime": ...,
"lastUpdatedDateTime": ...,
"parentBotNetworks": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeBotAliasResponseTypeDef(TypedDict):
botAliasId: str,
botAliasName: str,
description: str,
botVersion: str,
botAliasLocaleSettings: Dict[str, BotAliasLocaleSettingsTypeDef], # (1)
conversationLogSettings: ConversationLogSettingsTypeDef, # (2)
sentimentAnalysisSettings: SentimentAnalysisSettingsTypeDef, # (3)
botAliasHistoryEvents: List[BotAliasHistoryEventTypeDef], # (4)
botAliasStatus: BotAliasStatusType, # (5)
botId: str,
creationDateTime: datetime,
lastUpdatedDateTime: datetime,
parentBotNetworks: List[ParentBotNetworkTypeDef], # (6)
ResponseMetadata: ResponseMetadataTypeDef, # (7)
- See BotAliasLocaleSettingsTypeDef
- See ConversationLogSettingsTypeDef
- See SentimentAnalysisSettingsTypeDef
- See BotAliasHistoryEventTypeDef
- See BotAliasStatusType
- See ParentBotNetworkTypeDef
- See ResponseMetadataTypeDef
UpdateBotAliasRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import UpdateBotAliasRequestRequestTypeDef
def get_value() -> UpdateBotAliasRequestRequestTypeDef:
return {
"botAliasId": ...,
"botAliasName": ...,
"botId": ...,
}
Definition
class UpdateBotAliasRequestRequestTypeDef(TypedDict):
botAliasId: str,
botAliasName: str,
botId: str,
description: NotRequired[str],
botVersion: NotRequired[str],
botAliasLocaleSettings: NotRequired[Mapping[str, BotAliasLocaleSettingsTypeDef]], # (1)
conversationLogSettings: NotRequired[ConversationLogSettingsTypeDef], # (2)
sentimentAnalysisSettings: NotRequired[SentimentAnalysisSettingsTypeDef], # (3)
- See BotAliasLocaleSettingsTypeDef
- See ConversationLogSettingsTypeDef
- See SentimentAnalysisSettingsTypeDef
UpdateBotAliasResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import UpdateBotAliasResponseTypeDef
def get_value() -> UpdateBotAliasResponseTypeDef:
return {
"botAliasId": ...,
"botAliasName": ...,
"description": ...,
"botVersion": ...,
"botAliasLocaleSettings": ...,
"conversationLogSettings": ...,
"sentimentAnalysisSettings": ...,
"botAliasStatus": ...,
"botId": ...,
"creationDateTime": ...,
"lastUpdatedDateTime": ...,
"ResponseMetadata": ...,
}
Definition
class UpdateBotAliasResponseTypeDef(TypedDict):
botAliasId: str,
botAliasName: str,
description: str,
botVersion: str,
botAliasLocaleSettings: Dict[str, BotAliasLocaleSettingsTypeDef], # (1)
conversationLogSettings: ConversationLogSettingsTypeDef, # (2)
sentimentAnalysisSettings: SentimentAnalysisSettingsTypeDef, # (3)
botAliasStatus: BotAliasStatusType, # (4)
botId: str,
creationDateTime: datetime,
lastUpdatedDateTime: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (5)
- See BotAliasLocaleSettingsTypeDef
- See ConversationLogSettingsTypeDef
- See SentimentAnalysisSettingsTypeDef
- See BotAliasStatusType
- See ResponseMetadataTypeDef
TranscriptSourceSettingTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import TranscriptSourceSettingTypeDef
def get_value() -> TranscriptSourceSettingTypeDef:
return {
"s3BucketTranscriptSource": ...,
}
Definition
class TranscriptSourceSettingTypeDef(TypedDict):
s3BucketTranscriptSource: NotRequired[S3BucketTranscriptSourceTypeDef], # (1)
FulfillmentUpdatesSpecificationTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import FulfillmentUpdatesSpecificationTypeDef
def get_value() -> FulfillmentUpdatesSpecificationTypeDef:
return {
"active": ...,
}
Definition
class FulfillmentUpdatesSpecificationTypeDef(TypedDict):
active: bool,
startResponse: NotRequired[FulfillmentStartResponseSpecificationTypeDef], # (1)
updateResponse: NotRequired[FulfillmentUpdateResponseSpecificationTypeDef], # (2)
timeoutInSeconds: NotRequired[int],
SlotSummaryTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import SlotSummaryTypeDef
def get_value() -> SlotSummaryTypeDef:
return {
"slotId": ...,
}
Definition
class SlotSummaryTypeDef(TypedDict):
slotId: NotRequired[str],
slotName: NotRequired[str],
description: NotRequired[str],
slotConstraint: NotRequired[SlotConstraintType], # (1)
slotTypeId: NotRequired[str],
valueElicitationPromptSpecification: NotRequired[PromptSpecificationTypeDef], # (2)
lastUpdatedDateTime: NotRequired[datetime],
ConditionalBranchTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ConditionalBranchTypeDef
def get_value() -> ConditionalBranchTypeDef:
return {
"name": ...,
"condition": ...,
"nextStep": ...,
}
Definition
class ConditionalBranchTypeDef(TypedDict):
name: str,
condition: ConditionTypeDef, # (1)
nextStep: DialogStateTypeDef, # (2)
response: NotRequired[ResponseSpecificationTypeDef], # (3)
DefaultConditionalBranchTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DefaultConditionalBranchTypeDef
def get_value() -> DefaultConditionalBranchTypeDef:
return {
"nextStep": ...,
}
Definition
class DefaultConditionalBranchTypeDef(TypedDict):
nextStep: NotRequired[DialogStateTypeDef], # (1)
response: NotRequired[ResponseSpecificationTypeDef], # (2)
WaitAndContinueSpecificationTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import WaitAndContinueSpecificationTypeDef
def get_value() -> WaitAndContinueSpecificationTypeDef:
return {
"waitingResponse": ...,
"continueResponse": ...,
}
Definition
class WaitAndContinueSpecificationTypeDef(TypedDict):
waitingResponse: ResponseSpecificationTypeDef, # (1)
continueResponse: ResponseSpecificationTypeDef, # (1)
stillWaitingResponse: NotRequired[StillWaitingResponseSpecificationTypeDef], # (3)
active: NotRequired[bool],
- See ResponseSpecificationTypeDef
- See ResponseSpecificationTypeDef
- See StillWaitingResponseSpecificationTypeDef
DescribeBotRecommendationResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DescribeBotRecommendationResponseTypeDef
def get_value() -> DescribeBotRecommendationResponseTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
"botRecommendationStatus": ...,
"botRecommendationId": ...,
"failureReasons": ...,
"creationDateTime": ...,
"lastUpdatedDateTime": ...,
"transcriptSourceSetting": ...,
"encryptionSetting": ...,
"botRecommendationResults": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeBotRecommendationResponseTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
botRecommendationStatus: BotRecommendationStatusType, # (1)
botRecommendationId: str,
failureReasons: List[str],
creationDateTime: datetime,
lastUpdatedDateTime: datetime,
transcriptSourceSetting: TranscriptSourceSettingTypeDef, # (2)
encryptionSetting: EncryptionSettingTypeDef, # (3)
botRecommendationResults: BotRecommendationResultsTypeDef, # (4)
ResponseMetadata: ResponseMetadataTypeDef, # (5)
- See BotRecommendationStatusType
- See TranscriptSourceSettingTypeDef
- See EncryptionSettingTypeDef
- See BotRecommendationResultsTypeDef
- See ResponseMetadataTypeDef
StartBotRecommendationRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import StartBotRecommendationRequestRequestTypeDef
def get_value() -> StartBotRecommendationRequestRequestTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
"transcriptSourceSetting": ...,
}
Definition
class StartBotRecommendationRequestRequestTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
transcriptSourceSetting: TranscriptSourceSettingTypeDef, # (1)
encryptionSetting: NotRequired[EncryptionSettingTypeDef], # (2)
StartBotRecommendationResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import StartBotRecommendationResponseTypeDef
def get_value() -> StartBotRecommendationResponseTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
"botRecommendationStatus": ...,
"botRecommendationId": ...,
"creationDateTime": ...,
"transcriptSourceSetting": ...,
"encryptionSetting": ...,
"ResponseMetadata": ...,
}
Definition
class StartBotRecommendationResponseTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
botRecommendationStatus: BotRecommendationStatusType, # (1)
botRecommendationId: str,
creationDateTime: datetime,
transcriptSourceSetting: TranscriptSourceSettingTypeDef, # (2)
encryptionSetting: EncryptionSettingTypeDef, # (3)
ResponseMetadata: ResponseMetadataTypeDef, # (4)
- See BotRecommendationStatusType
- See TranscriptSourceSettingTypeDef
- See EncryptionSettingTypeDef
- See ResponseMetadataTypeDef
UpdateBotRecommendationResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import UpdateBotRecommendationResponseTypeDef
def get_value() -> UpdateBotRecommendationResponseTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
"botRecommendationStatus": ...,
"botRecommendationId": ...,
"creationDateTime": ...,
"lastUpdatedDateTime": ...,
"transcriptSourceSetting": ...,
"encryptionSetting": ...,
"ResponseMetadata": ...,
}
Definition
class UpdateBotRecommendationResponseTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
botRecommendationStatus: BotRecommendationStatusType, # (1)
botRecommendationId: str,
creationDateTime: datetime,
lastUpdatedDateTime: datetime,
transcriptSourceSetting: TranscriptSourceSettingTypeDef, # (2)
encryptionSetting: EncryptionSettingTypeDef, # (3)
ResponseMetadata: ResponseMetadataTypeDef, # (4)
- See BotRecommendationStatusType
- See TranscriptSourceSettingTypeDef
- See EncryptionSettingTypeDef
- See ResponseMetadataTypeDef
ListSlotsResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ListSlotsResponseTypeDef
def get_value() -> ListSlotsResponseTypeDef:
return {
"botId": ...,
"botVersion": ...,
"localeId": ...,
"intentId": ...,
"slotSummaries": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
Definition
class ListSlotsResponseTypeDef(TypedDict):
botId: str,
botVersion: str,
localeId: str,
intentId: str,
slotSummaries: List[SlotSummaryTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ConditionalSpecificationTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import ConditionalSpecificationTypeDef
def get_value() -> ConditionalSpecificationTypeDef:
return {
"active": ...,
"conditionalBranches": ...,
"defaultBranch": ...,
}
Definition
class ConditionalSpecificationTypeDef(TypedDict):
active: bool,
conditionalBranches: Sequence[ConditionalBranchTypeDef], # (1)
defaultBranch: DefaultConditionalBranchTypeDef, # (2)
SubSlotValueElicitationSettingTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import SubSlotValueElicitationSettingTypeDef
def get_value() -> SubSlotValueElicitationSettingTypeDef:
return {
"promptSpecification": ...,
}
Definition
class SubSlotValueElicitationSettingTypeDef(TypedDict):
promptSpecification: PromptSpecificationTypeDef, # (2)
defaultValueSpecification: NotRequired[SlotDefaultValueSpecificationTypeDef], # (1)
sampleUtterances: NotRequired[Sequence[SampleUtteranceTypeDef]], # (3)
waitAndContinueSpecification: NotRequired[WaitAndContinueSpecificationTypeDef], # (4)
- See SlotDefaultValueSpecificationTypeDef
- See PromptSpecificationTypeDef
- See SampleUtteranceTypeDef
- See WaitAndContinueSpecificationTypeDef
IntentClosingSettingTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import IntentClosingSettingTypeDef
def get_value() -> IntentClosingSettingTypeDef:
return {
"closingResponse": ...,
}
Definition
class IntentClosingSettingTypeDef(TypedDict):
closingResponse: NotRequired[ResponseSpecificationTypeDef], # (1)
active: NotRequired[bool],
nextStep: NotRequired[DialogStateTypeDef], # (2)
conditional: NotRequired[ConditionalSpecificationTypeDef], # (3)
PostDialogCodeHookInvocationSpecificationTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import PostDialogCodeHookInvocationSpecificationTypeDef
def get_value() -> PostDialogCodeHookInvocationSpecificationTypeDef:
return {
"successResponse": ...,
}
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)
- See ResponseSpecificationTypeDef
- See DialogStateTypeDef
- See ConditionalSpecificationTypeDef
- See ResponseSpecificationTypeDef
- See DialogStateTypeDef
- See ConditionalSpecificationTypeDef
- See ResponseSpecificationTypeDef
- See DialogStateTypeDef
- See ConditionalSpecificationTypeDef
PostFulfillmentStatusSpecificationTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import PostFulfillmentStatusSpecificationTypeDef
def get_value() -> PostFulfillmentStatusSpecificationTypeDef:
return {
"successResponse": ...,
}
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)
- See ResponseSpecificationTypeDef
- See ResponseSpecificationTypeDef
- See ResponseSpecificationTypeDef
- See DialogStateTypeDef
- See ConditionalSpecificationTypeDef
- See DialogStateTypeDef
- See ConditionalSpecificationTypeDef
- See DialogStateTypeDef
- See ConditionalSpecificationTypeDef
SpecificationsTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import SpecificationsTypeDef
def get_value() -> SpecificationsTypeDef:
return {
"slotTypeId": ...,
"valueElicitationSetting": ...,
}
Definition
class SpecificationsTypeDef(TypedDict):
slotTypeId: str,
valueElicitationSetting: SubSlotValueElicitationSettingTypeDef, # (1)
DialogCodeHookInvocationSettingTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DialogCodeHookInvocationSettingTypeDef
def get_value() -> DialogCodeHookInvocationSettingTypeDef:
return {
"enableCodeHookInvocation": ...,
"active": ...,
"postCodeHookSpecification": ...,
}
Definition
class DialogCodeHookInvocationSettingTypeDef(TypedDict):
enableCodeHookInvocation: bool,
active: bool,
postCodeHookSpecification: PostDialogCodeHookInvocationSpecificationTypeDef, # (1)
invocationLabel: NotRequired[str],
FulfillmentCodeHookSettingsTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import FulfillmentCodeHookSettingsTypeDef
def get_value() -> FulfillmentCodeHookSettingsTypeDef:
return {
"enabled": ...,
}
Definition
class FulfillmentCodeHookSettingsTypeDef(TypedDict):
enabled: bool,
postFulfillmentStatusSpecification: NotRequired[PostFulfillmentStatusSpecificationTypeDef], # (1)
fulfillmentUpdatesSpecification: NotRequired[FulfillmentUpdatesSpecificationTypeDef], # (2)
active: NotRequired[bool],
SubSlotSettingTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import SubSlotSettingTypeDef
def get_value() -> SubSlotSettingTypeDef:
return {
"expression": ...,
}
Definition
class SubSlotSettingTypeDef(TypedDict):
expression: NotRequired[str],
slotSpecifications: NotRequired[Mapping[str, SpecificationsTypeDef]], # (1)
InitialResponseSettingTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import InitialResponseSettingTypeDef
def get_value() -> InitialResponseSettingTypeDef:
return {
"initialResponse": ...,
}
Definition
class InitialResponseSettingTypeDef(TypedDict):
initialResponse: NotRequired[ResponseSpecificationTypeDef], # (1)
nextStep: NotRequired[DialogStateTypeDef], # (2)
conditional: NotRequired[ConditionalSpecificationTypeDef], # (3)
codeHook: NotRequired[DialogCodeHookInvocationSettingTypeDef], # (4)
- See ResponseSpecificationTypeDef
- See DialogStateTypeDef
- See ConditionalSpecificationTypeDef
- See DialogCodeHookInvocationSettingTypeDef
IntentConfirmationSettingTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import IntentConfirmationSettingTypeDef
def get_value() -> IntentConfirmationSettingTypeDef:
return {
"promptSpecification": ...,
}
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)
- See PromptSpecificationTypeDef
- See ResponseSpecificationTypeDef
- See ResponseSpecificationTypeDef
- See DialogStateTypeDef
- See ConditionalSpecificationTypeDef
- See DialogStateTypeDef
- See ConditionalSpecificationTypeDef
- See ResponseSpecificationTypeDef
- See DialogStateTypeDef
- See ConditionalSpecificationTypeDef
- See DialogCodeHookInvocationSettingTypeDef
- See ElicitationCodeHookInvocationSettingTypeDef
SlotCaptureSettingTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import SlotCaptureSettingTypeDef
def get_value() -> SlotCaptureSettingTypeDef:
return {
"captureResponse": ...,
}
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)
- See ResponseSpecificationTypeDef
- See DialogStateTypeDef
- See ConditionalSpecificationTypeDef
- See ResponseSpecificationTypeDef
- See DialogStateTypeDef
- See ConditionalSpecificationTypeDef
- See DialogCodeHookInvocationSettingTypeDef
- See ElicitationCodeHookInvocationSettingTypeDef
CreateIntentRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import CreateIntentRequestRequestTypeDef
def get_value() -> CreateIntentRequestRequestTypeDef:
return {
"intentName": ...,
"botId": ...,
"botVersion": ...,
"localeId": ...,
}
Definition
class CreateIntentRequestRequestTypeDef(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[FulfillmentCodeHookSettingsTypeDef], # (3)
intentConfirmationSetting: NotRequired[IntentConfirmationSettingTypeDef], # (4)
intentClosingSetting: NotRequired[IntentClosingSettingTypeDef], # (5)
inputContexts: NotRequired[Sequence[InputContextTypeDef]], # (6)
outputContexts: NotRequired[Sequence[OutputContextTypeDef]], # (7)
kendraConfiguration: NotRequired[KendraConfigurationTypeDef], # (8)
initialResponseSetting: NotRequired[InitialResponseSettingTypeDef], # (9)
- See SampleUtteranceTypeDef
- See DialogCodeHookSettingsTypeDef
- See FulfillmentCodeHookSettingsTypeDef
- See IntentConfirmationSettingTypeDef
- See IntentClosingSettingTypeDef
- See InputContextTypeDef
- See OutputContextTypeDef
- See KendraConfigurationTypeDef
- See InitialResponseSettingTypeDef
CreateIntentResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import CreateIntentResponseTypeDef
def get_value() -> CreateIntentResponseTypeDef:
return {
"intentId": ...,
"intentName": ...,
"description": ...,
"parentIntentSignature": ...,
"sampleUtterances": ...,
"dialogCodeHook": ...,
"fulfillmentCodeHook": ...,
"intentConfirmationSetting": ...,
"intentClosingSetting": ...,
"inputContexts": ...,
"outputContexts": ...,
"kendraConfiguration": ...,
"botId": ...,
"botVersion": ...,
"localeId": ...,
"creationDateTime": ...,
"initialResponseSetting": ...,
"ResponseMetadata": ...,
}
Definition
class CreateIntentResponseTypeDef(TypedDict):
intentId: str,
intentName: str,
description: str,
parentIntentSignature: str,
sampleUtterances: List[SampleUtteranceTypeDef], # (1)
dialogCodeHook: DialogCodeHookSettingsTypeDef, # (2)
fulfillmentCodeHook: FulfillmentCodeHookSettingsTypeDef, # (3)
intentConfirmationSetting: IntentConfirmationSettingTypeDef, # (4)
intentClosingSetting: IntentClosingSettingTypeDef, # (5)
inputContexts: List[InputContextTypeDef], # (6)
outputContexts: List[OutputContextTypeDef], # (7)
kendraConfiguration: KendraConfigurationTypeDef, # (8)
botId: str,
botVersion: str,
localeId: str,
creationDateTime: datetime,
initialResponseSetting: InitialResponseSettingTypeDef, # (9)
ResponseMetadata: ResponseMetadataTypeDef, # (10)
- See SampleUtteranceTypeDef
- See DialogCodeHookSettingsTypeDef
- See FulfillmentCodeHookSettingsTypeDef
- See IntentConfirmationSettingTypeDef
- See IntentClosingSettingTypeDef
- See InputContextTypeDef
- See OutputContextTypeDef
- See KendraConfigurationTypeDef
- See InitialResponseSettingTypeDef
- See ResponseMetadataTypeDef
DescribeIntentResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DescribeIntentResponseTypeDef
def get_value() -> DescribeIntentResponseTypeDef:
return {
"intentId": ...,
"intentName": ...,
"description": ...,
"parentIntentSignature": ...,
"sampleUtterances": ...,
"dialogCodeHook": ...,
"fulfillmentCodeHook": ...,
"slotPriorities": ...,
"intentConfirmationSetting": ...,
"intentClosingSetting": ...,
"inputContexts": ...,
"outputContexts": ...,
"kendraConfiguration": ...,
"botId": ...,
"botVersion": ...,
"localeId": ...,
"creationDateTime": ...,
"lastUpdatedDateTime": ...,
"initialResponseSetting": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeIntentResponseTypeDef(TypedDict):
intentId: str,
intentName: str,
description: str,
parentIntentSignature: str,
sampleUtterances: List[SampleUtteranceTypeDef], # (1)
dialogCodeHook: DialogCodeHookSettingsTypeDef, # (2)
fulfillmentCodeHook: FulfillmentCodeHookSettingsTypeDef, # (3)
slotPriorities: List[SlotPriorityTypeDef], # (4)
intentConfirmationSetting: IntentConfirmationSettingTypeDef, # (5)
intentClosingSetting: IntentClosingSettingTypeDef, # (6)
inputContexts: List[InputContextTypeDef], # (7)
outputContexts: List[OutputContextTypeDef], # (8)
kendraConfiguration: KendraConfigurationTypeDef, # (9)
botId: str,
botVersion: str,
localeId: str,
creationDateTime: datetime,
lastUpdatedDateTime: datetime,
initialResponseSetting: InitialResponseSettingTypeDef, # (10)
ResponseMetadata: ResponseMetadataTypeDef, # (11)
- See SampleUtteranceTypeDef
- See DialogCodeHookSettingsTypeDef
- See FulfillmentCodeHookSettingsTypeDef
- See SlotPriorityTypeDef
- See IntentConfirmationSettingTypeDef
- See IntentClosingSettingTypeDef
- See InputContextTypeDef
- See OutputContextTypeDef
- See KendraConfigurationTypeDef
- See InitialResponseSettingTypeDef
- See ResponseMetadataTypeDef
UpdateIntentRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import UpdateIntentRequestRequestTypeDef
def get_value() -> UpdateIntentRequestRequestTypeDef:
return {
"intentId": ...,
"intentName": ...,
"botId": ...,
"botVersion": ...,
"localeId": ...,
}
Definition
class UpdateIntentRequestRequestTypeDef(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[FulfillmentCodeHookSettingsTypeDef], # (3)
slotPriorities: NotRequired[Sequence[SlotPriorityTypeDef]], # (4)
intentConfirmationSetting: NotRequired[IntentConfirmationSettingTypeDef], # (5)
intentClosingSetting: NotRequired[IntentClosingSettingTypeDef], # (6)
inputContexts: NotRequired[Sequence[InputContextTypeDef]], # (7)
outputContexts: NotRequired[Sequence[OutputContextTypeDef]], # (8)
kendraConfiguration: NotRequired[KendraConfigurationTypeDef], # (9)
initialResponseSetting: NotRequired[InitialResponseSettingTypeDef], # (10)
- See SampleUtteranceTypeDef
- See DialogCodeHookSettingsTypeDef
- See FulfillmentCodeHookSettingsTypeDef
- See SlotPriorityTypeDef
- See IntentConfirmationSettingTypeDef
- See IntentClosingSettingTypeDef
- See InputContextTypeDef
- See OutputContextTypeDef
- See KendraConfigurationTypeDef
- See InitialResponseSettingTypeDef
UpdateIntentResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import UpdateIntentResponseTypeDef
def get_value() -> UpdateIntentResponseTypeDef:
return {
"intentId": ...,
"intentName": ...,
"description": ...,
"parentIntentSignature": ...,
"sampleUtterances": ...,
"dialogCodeHook": ...,
"fulfillmentCodeHook": ...,
"slotPriorities": ...,
"intentConfirmationSetting": ...,
"intentClosingSetting": ...,
"inputContexts": ...,
"outputContexts": ...,
"kendraConfiguration": ...,
"botId": ...,
"botVersion": ...,
"localeId": ...,
"creationDateTime": ...,
"lastUpdatedDateTime": ...,
"initialResponseSetting": ...,
"ResponseMetadata": ...,
}
Definition
class UpdateIntentResponseTypeDef(TypedDict):
intentId: str,
intentName: str,
description: str,
parentIntentSignature: str,
sampleUtterances: List[SampleUtteranceTypeDef], # (1)
dialogCodeHook: DialogCodeHookSettingsTypeDef, # (2)
fulfillmentCodeHook: FulfillmentCodeHookSettingsTypeDef, # (3)
slotPriorities: List[SlotPriorityTypeDef], # (4)
intentConfirmationSetting: IntentConfirmationSettingTypeDef, # (5)
intentClosingSetting: IntentClosingSettingTypeDef, # (6)
inputContexts: List[InputContextTypeDef], # (7)
outputContexts: List[OutputContextTypeDef], # (8)
kendraConfiguration: KendraConfigurationTypeDef, # (9)
botId: str,
botVersion: str,
localeId: str,
creationDateTime: datetime,
lastUpdatedDateTime: datetime,
initialResponseSetting: InitialResponseSettingTypeDef, # (10)
ResponseMetadata: ResponseMetadataTypeDef, # (11)
- See SampleUtteranceTypeDef
- See DialogCodeHookSettingsTypeDef
- See FulfillmentCodeHookSettingsTypeDef
- See SlotPriorityTypeDef
- See IntentConfirmationSettingTypeDef
- See IntentClosingSettingTypeDef
- See InputContextTypeDef
- See OutputContextTypeDef
- See KendraConfigurationTypeDef
- See InitialResponseSettingTypeDef
- See ResponseMetadataTypeDef
SlotValueElicitationSettingTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import SlotValueElicitationSettingTypeDef
def get_value() -> SlotValueElicitationSettingTypeDef:
return {
"slotConstraint": ...,
}
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)
- See SlotDefaultValueSpecificationTypeDef
- See SlotConstraintType
- See PromptSpecificationTypeDef
- See SampleUtteranceTypeDef
- See WaitAndContinueSpecificationTypeDef
- See SlotCaptureSettingTypeDef
CreateSlotRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import CreateSlotRequestRequestTypeDef
def get_value() -> CreateSlotRequestRequestTypeDef:
return {
"slotName": ...,
"valueElicitationSetting": ...,
"botId": ...,
"botVersion": ...,
"localeId": ...,
"intentId": ...,
}
Definition
class CreateSlotRequestRequestTypeDef(TypedDict):
slotName: str,
valueElicitationSetting: SlotValueElicitationSettingTypeDef, # (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[SubSlotSettingTypeDef], # (4)
- See SlotValueElicitationSettingTypeDef
- See ObfuscationSettingTypeDef
- See MultipleValuesSettingTypeDef
- See SubSlotSettingTypeDef
CreateSlotResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import CreateSlotResponseTypeDef
def get_value() -> CreateSlotResponseTypeDef:
return {
"slotId": ...,
"slotName": ...,
"description": ...,
"slotTypeId": ...,
"valueElicitationSetting": ...,
"obfuscationSetting": ...,
"botId": ...,
"botVersion": ...,
"localeId": ...,
"intentId": ...,
"creationDateTime": ...,
"multipleValuesSetting": ...,
"subSlotSetting": ...,
"ResponseMetadata": ...,
}
Definition
class CreateSlotResponseTypeDef(TypedDict):
slotId: str,
slotName: str,
description: str,
slotTypeId: str,
valueElicitationSetting: SlotValueElicitationSettingTypeDef, # (1)
obfuscationSetting: ObfuscationSettingTypeDef, # (2)
botId: str,
botVersion: str,
localeId: str,
intentId: str,
creationDateTime: datetime,
multipleValuesSetting: MultipleValuesSettingTypeDef, # (3)
subSlotSetting: SubSlotSettingTypeDef, # (4)
ResponseMetadata: ResponseMetadataTypeDef, # (5)
- See SlotValueElicitationSettingTypeDef
- See ObfuscationSettingTypeDef
- See MultipleValuesSettingTypeDef
- See SubSlotSettingTypeDef
- See ResponseMetadataTypeDef
DescribeSlotResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import DescribeSlotResponseTypeDef
def get_value() -> DescribeSlotResponseTypeDef:
return {
"slotId": ...,
"slotName": ...,
"description": ...,
"slotTypeId": ...,
"valueElicitationSetting": ...,
"obfuscationSetting": ...,
"botId": ...,
"botVersion": ...,
"localeId": ...,
"intentId": ...,
"creationDateTime": ...,
"lastUpdatedDateTime": ...,
"multipleValuesSetting": ...,
"subSlotSetting": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeSlotResponseTypeDef(TypedDict):
slotId: str,
slotName: str,
description: str,
slotTypeId: str,
valueElicitationSetting: SlotValueElicitationSettingTypeDef, # (1)
obfuscationSetting: ObfuscationSettingTypeDef, # (2)
botId: str,
botVersion: str,
localeId: str,
intentId: str,
creationDateTime: datetime,
lastUpdatedDateTime: datetime,
multipleValuesSetting: MultipleValuesSettingTypeDef, # (3)
subSlotSetting: SubSlotSettingTypeDef, # (4)
ResponseMetadata: ResponseMetadataTypeDef, # (5)
- See SlotValueElicitationSettingTypeDef
- See ObfuscationSettingTypeDef
- See MultipleValuesSettingTypeDef
- See SubSlotSettingTypeDef
- See ResponseMetadataTypeDef
UpdateSlotRequestRequestTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import UpdateSlotRequestRequestTypeDef
def get_value() -> UpdateSlotRequestRequestTypeDef:
return {
"slotId": ...,
"slotName": ...,
"valueElicitationSetting": ...,
"botId": ...,
"botVersion": ...,
"localeId": ...,
"intentId": ...,
}
Definition
class UpdateSlotRequestRequestTypeDef(TypedDict):
slotId: str,
slotName: str,
valueElicitationSetting: SlotValueElicitationSettingTypeDef, # (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[SubSlotSettingTypeDef], # (4)
- See SlotValueElicitationSettingTypeDef
- See ObfuscationSettingTypeDef
- See MultipleValuesSettingTypeDef
- See SubSlotSettingTypeDef
UpdateSlotResponseTypeDef
Usage Example
from mypy_boto3_lexv2_models.type_defs import UpdateSlotResponseTypeDef
def get_value() -> UpdateSlotResponseTypeDef:
return {
"slotId": ...,
"slotName": ...,
"description": ...,
"slotTypeId": ...,
"valueElicitationSetting": ...,
"obfuscationSetting": ...,
"botId": ...,
"botVersion": ...,
"localeId": ...,
"intentId": ...,
"creationDateTime": ...,
"lastUpdatedDateTime": ...,
"multipleValuesSetting": ...,
"subSlotSetting": ...,
"ResponseMetadata": ...,
}
Definition
class UpdateSlotResponseTypeDef(TypedDict):
slotId: str,
slotName: str,
description: str,
slotTypeId: str,
valueElicitationSetting: SlotValueElicitationSettingTypeDef, # (1)
obfuscationSetting: ObfuscationSettingTypeDef, # (2)
botId: str,
botVersion: str,
localeId: str,
intentId: str,
creationDateTime: datetime,
lastUpdatedDateTime: datetime,
multipleValuesSetting: MultipleValuesSettingTypeDef, # (3)
subSlotSetting: SubSlotSettingTypeDef, # (4)
ResponseMetadata: ResponseMetadataTypeDef, # (5)