BotLocaleArgs

data class BotLocaleArgs(val customVocabulary: Output<BotCustomVocabularyArgs>? = null, val description: Output<String>? = null, val intents: Output<List<BotIntentArgs>>? = null, val localeId: Output<String>, val nluConfidenceThreshold: Output<Double>, val slotTypes: Output<List<BotSlotTypeArgs>>? = null, val voiceSettings: Output<BotVoiceSettingsArgs>? = null) : ConvertibleToJava<BotLocaleArgs>

A locale in the bot, which contains the intents and slot types that the bot uses in conversations with users in the specified language and locale.

Constructors

Link copied to clipboard
constructor(customVocabulary: Output<BotCustomVocabularyArgs>? = null, description: Output<String>? = null, intents: Output<List<BotIntentArgs>>? = null, localeId: Output<String>, nluConfidenceThreshold: Output<Double>, slotTypes: Output<List<BotSlotTypeArgs>>? = null, voiceSettings: Output<BotVoiceSettingsArgs>? = null)

Properties

Link copied to clipboard

Specifies a custom vocabulary to use with a specific locale.

Link copied to clipboard
val description: Output<String>? = null

A description of the bot locale. Use this to help identify the bot locale in lists.

Link copied to clipboard
val intents: Output<List<BotIntentArgs>>? = null

List of intents

Link copied to clipboard
val localeId: Output<String>

The identifier of the language and locale that the bot will be used in. The string must match one of the supported locales.

Link copied to clipboard

Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent , AMAZON.KendraSearchIntent , or both when returning alternative intents. You must configure an AMAZON.FallbackIntent . AMAZON.KendraSearchIntent is only inserted if it is configured for the bot.

Link copied to clipboard
val slotTypes: Output<List<BotSlotTypeArgs>>? = null

List of SlotTypes

Link copied to clipboard
val voiceSettings: Output<BotVoiceSettingsArgs>? = null

Defines settings for using an Amazon Polly voice to communicate with a user. Valid values include:

Functions

Link copied to clipboard
open override fun toJava(): BotLocaleArgs