lexmodelsv2_update_slot: Updates the settings for a slot

View source: R/lexmodelsv2_operations.R

lexmodelsv2_update_slotR Documentation

Updates the settings for a slot

Description

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 true in any other locale, Amazon Lex throws a ValidationException.

If the multipleValuesSetting is not set, the default value is false.

subSlotSetting

Specifications for the constituent sub slots and the expression for the composite slot.


paws.machine.learning documentation built on Sept. 12, 2024, 6:23 a.m.