LexModelBuildingService / Client / delete_bot_version
delete_bot_version¶
- LexModelBuildingService.Client.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:DeleteBotVersionaction.Danger
This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.
See also: AWS API Documentation
Request Syntax
response = client.delete_bot_version( name='string', version='string' )
- Parameters:
name (string) –
[REQUIRED]
The name of the bot.
version (string) –
[REQUIRED]
The version of the bot to delete. You cannot delete the
$LATESTversion of the bot. To delete the$LATESTversion, use the DeleteBot operation.
- Returns:
None
Exceptions
LexModelBuildingService.Client.exceptions.NotFoundExceptionLexModelBuildingService.Client.exceptions.ConflictExceptionLexModelBuildingService.Client.exceptions.LimitExceededExceptionLexModelBuildingService.Client.exceptions.InternalFailureExceptionLexModelBuildingService.Client.exceptions.BadRequestExceptionLexModelBuildingService.Client.exceptions.ResourceInUseException