CmdID / aws / aws lexv2-models
aws lexv2-models delete-bot-version
Deletes a specific version of a bot. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--bot-idThe identifier of the bot that contains the version.--bot-versionThe version 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 version is being used by another resource.