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'
)
[REQUIRED]
The name of the intent.
[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.
None
Exceptions
LexModelBuildingService.Client.exceptions.NotFoundExceptionLexModelBuildingService.Client.exceptions.ConflictExceptionLexModelBuildingService.Client.exceptions.LimitExceededExceptionLexModelBuildingService.Client.exceptions.InternalFailureExceptionLexModelBuildingService.Client.exceptions.BadRequestExceptionLexModelBuildingService.Client.exceptions.ResourceInUseException