delete_bot_version
(**kwargs)¶Deletes a specific version of a bot. To delete all versions of a bot, use the DeleteBot operation.
This operation requires permissions for the lex:DeleteBotVersion
action.
See also: AWS API Documentation
Request Syntax
response = client.delete_bot_version(
name='string',
version='string'
)
[REQUIRED]
The name of the bot.
[REQUIRED]
The version of the bot to delete. You cannot delete the $LATEST
version of the bot. To delete the $LATEST
version, use the DeleteBot operation.
None
Exceptions
LexModelBuildingService.Client.exceptions.NotFoundException
LexModelBuildingService.Client.exceptions.ConflictException
LexModelBuildingService.Client.exceptions.LimitExceededException
LexModelBuildingService.Client.exceptions.InternalFailureException
LexModelBuildingService.Client.exceptions.BadRequestException
LexModelBuildingService.Client.exceptions.ResourceInUseException