Updates the settings for a slot.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_update_slot/ for full documentation.
lexmodelsv2_update_slot(
slotId,
slotName,
description = NULL,
slotTypeId = NULL,
valueElicitationSetting,
obfuscationSetting = NULL,
botId,
botVersion,
localeId,
intentId,
multipleValuesSetting = NULL,
subSlotSetting = NULL
)
[required] The unique identifier for the slot to update.
[required] The new name for the slot.
The new description for the slot.
The unique identifier of the new slot type to associate with this slot.
[required] A new set of prompts that Amazon Lex sends to the user to elicit a response the provides a value for the slot.
New settings that determine how slot values are formatted in Amazon CloudWatch logs.
[required] The unique identifier of the bot that contains the slot.
[required] The version of the bot that contains the slot. Must always be DRAFT
.
[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.
[required] The identifier of the intent that contains the slot.
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 true
in any other locale, Amazon Lex throws a
ValidationException
.
If the multipleValuesSetting
is not set, the default value is false
.
Specifications for the constituent sub slots and the expression for the composite slot.