LexModelBuildingService / Client / delete_intent_version
delete_intent_version#
- LexModelBuildingService.Client.delete_intent_version(**kwargs)#
Deletes a specific version of an intent. To delete all versions of a intent, use the DeleteIntent operation.
This operation requires permissions for the
lex:DeleteIntentVersion
action.See also: AWS API Documentation
Request Syntax
response = client.delete_intent_version( name='string', version='string' )
- Parameters:
name (string) –
[REQUIRED]
The name of the intent.
version (string) –
[REQUIRED]
The version of the intent to delete. You cannot delete the
$LATEST
version of the intent. To delete the$LATEST
version, use the DeleteIntent operation.
- Returns:
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