Delete Bot
| lexmodelsv2_delete_bot | R Documentation | 
Deletes all versions of a bot, including the Draft version¶
Description¶
Deletes all versions of a bot, including the Draft version. To delete
a specific version, use the delete_bot_version operation.
When you delete a bot, all of the resources contained in the bot are also deleted. Deleting a bot removes all locales, intents, slot, and slot types defined for the bot.
If a bot has an alias, the delete_bot operation returns a
ResourceInUseException exception. If you want to delete the bot and
the alias, set the skipResourceInUseCheck parameter to true.
Usage¶
lexmodelsv2_delete_bot(botId, skipResourceInUseCheck)
Arguments¶
botId | 
[required] The identifier of the bot to delete.  | 
skipResourceInUseCheck | 
By default, Amazon Lex checks if any other resource, such as an
alias or bot network, is using the bot version before it is deleted and
throws a   | 
Value¶
A list with the following syntax:
list(
  botId = "string",
  botStatus = "Creating"|"Available"|"Inactive"|"Deleting"|"Failed"|"Versioning"|"Importing"|"Updating"
)
Request syntax¶
svc$delete_bot(
  botId = "string",
  skipResourceInUseCheck = TRUE|FALSE
)