Deletes a slot type from a bot locale
Source:R/lexmodelsv2_operations.R
lexmodelsv2_delete_slot_type.RdDeletes a slot type from a bot locale.
See https://www.paws-r-sdk.com/docs/lexmodelsv2_delete_slot_type/ for full documentation.
Usage
lexmodelsv2_delete_slot_type(
slotTypeId,
botId,
botVersion,
localeId,
skipResourceInUseCheck = NULL
)Arguments
- slotTypeId
[required] The identifier of the slot type to delete.
- botId
[required] The identifier of the bot associated with the slot type.
- botVersion
[required] The version of the bot associated with the slot type.
- localeId
[required] The identifier of the language and locale that the slot type will be deleted from. The string must match one of the supported locales. For more information, see Supported languages.
- skipResourceInUseCheck
By default, the
delete_slot_typeoperations throws aResourceInUseExceptionexception if you try to delete a slot type used by a slot. Set theskipResourceInUseCheckparameter totrueto skip this check and remove the slot type even if a slot uses it.