Comprehend / Client / delete_entity_recognizer
delete_entity_recognizer#
- Comprehend.Client.delete_entity_recognizer(**kwargs)#
Deletes an entity recognizer.
Only those recognizers that are in terminated states (IN_ERROR, TRAINED) will be deleted. If an active inference job is using the model, a
ResourceInUseException
will be returned.This is an asynchronous action that puts the recognizer into a DELETING state, and it is then removed by a background job. Once removed, the recognizer disappears from your account and is no longer available for use.
See also: AWS API Documentation
Request Syntax
response = client.delete_entity_recognizer( EntityRecognizerArn='string' )
- Parameters:
EntityRecognizerArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) that identifies the entity recognizer.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
Comprehend.Client.exceptions.InvalidRequestException
Comprehend.Client.exceptions.TooManyRequestsException
Comprehend.Client.exceptions.ResourceNotFoundException
Comprehend.Client.exceptions.ResourceUnavailableException
Comprehend.Client.exceptions.ResourceInUseException
Comprehend.Client.exceptions.InternalServerException