Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

delete_entity_recognizer

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