delete_bot_version
(**kwargs)¶Deletes a specific version of a bot. To delete all versions of a bot, use the DeleteBot operation.
See also: AWS API Documentation
Request Syntax
response = client.delete_bot_version(
botId='string',
botVersion='string',
skipResourceInUseCheck=True|False
)
[REQUIRED]
The identifier of the bot that contains the version.
[REQUIRED]
The version of the bot to delete.
ResourceInUseException
exception if the version is being used by another resource. Set this parameter to true
to skip this check and remove the version even if it is being used by another resource.dict
Response Syntax
{
'botId': 'string',
'botVersion': 'string',
'botStatus': 'Creating'|'Available'|'Inactive'|'Deleting'|'Failed'|'Versioning'|'Importing'|'Updating'
}
Response Structure
(dict) --
botId (string) --
The identifier of the bot that is being deleted.
botVersion (string) --
The version of the bot that is being deleted.
botStatus (string) --
The current status of the bot.
Exceptions
LexModelsV2.Client.exceptions.ThrottlingException
LexModelsV2.Client.exceptions.ServiceQuotaExceededException
LexModelsV2.Client.exceptions.ValidationException
LexModelsV2.Client.exceptions.ConflictException
LexModelsV2.Client.exceptions.PreconditionFailedException
LexModelsV2.Client.exceptions.InternalServerException