CmdID / aws / aws lexv2-models
aws lexv2-models delete-bot
Deletes all versions of a bot, including the Draft version. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--bot-idThe identifier of the bot to delete.--skip-resource-in-use-checkBy 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 ResourceInUseException exception if the bot is being used by another resource.