Delete Slot Type
lexmodelsv2_delete_slot_type | R Documentation |
Deletes a slot type from a bot locale¶
Description¶
Deletes a slot type from a bot locale.
If a slot is using the slot type, Amazon Lex throws a
ResourceInUseException
exception. To avoid the exception, set the
skipResourceInUseCheck
parameter to true
.
Usage¶
lexmodelsv2_delete_slot_type(slotTypeId, botId, botVersion, localeId,
skipResourceInUseCheck)
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 |
Value¶
An empty list.
Request syntax¶
svc$delete_slot_type(
slotTypeId = "string",
botId = "string",
botVersion = "string",
localeId = "string",
skipResourceInUseCheck = TRUE|FALSE
)