Delete Bot Version
| lexmodelsv2_delete_bot_version | R Documentation |
Deletes a specific version of a bot¶
Description¶
Deletes a specific version of a bot. To delete all versions of a bot,
use the delete_bot operation.
Usage¶
Arguments¶
botId[required] The identifier of the bot that contains the version.
botVersion[required] The version of the bot to delete.
skipResourceInUseCheckBy 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
ResourceInUseExceptionexception if the version is being used by another resource. Set this parameter totrueto skip this check and remove the version even if it is being used by another resource.
Value¶
A list with the following syntax:
list(
botId = "string",
botVersion = "string",
botStatus = "Creating"|"Available"|"Inactive"|"Deleting"|"Failed"|"Versioning"|"Importing"|"Updating"
)