Updates the settings for a slot.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_update_slot/ for full documentation.
Usage
lexmodelsv2_update_slot(
slotId,
slotName,
description = NULL,
slotTypeId = NULL,
valueElicitationSetting,
obfuscationSetting = NULL,
botId,
botVersion,
localeId,
intentId,
multipleValuesSetting = NULL,
subSlotSetting = NULL
)Arguments
- slotId
[required] The unique identifier for the slot to update.
- slotName
[required] The new name for the slot.
- description
The new description for the slot.
- slotTypeId
The unique identifier of the new slot type to associate with this slot.
- valueElicitationSetting
[required] A new set of prompts that Amazon Lex sends to the user to elicit a response the provides a value for the slot.
- obfuscationSetting
New settings that determine how slot values are formatted in Amazon CloudWatch logs.
- botId
[required] The unique identifier of the bot that contains the slot.
- botVersion
[required] The version of the bot that contains the slot. Must always be
DRAFT.- localeId
[required] The identifier of the language and locale that contains the slot. The string must match one of the supported locales. For more information, see Supported languages.
- intentId
[required] The identifier of the intent that contains the slot.
- multipleValuesSetting
Determines whether the slot accepts multiple values in one response. Multiple value slots are only available in the en-US locale. If you set this value to
truein any other locale, Amazon Lex throws aValidationException.If the
multipleValuesSettingis not set, the default value isfalse.- subSlotSetting
Specifications for the constituent sub slots and the expression for the composite slot.