stop_training_entity_recognizer

stop_training_entity_recognizer(**kwargs)

Stops an entity recognizer training job while in progress.

If the training job state is TRAINING , the job is marked for termination and put into the STOP_REQUESTED state. If the training job completes before it can be stopped, it is put into the TRAINED ; otherwise the training job is stopped and putted into the STOPPED state and the service sends back an HTTP 200 response with an empty HTTP body.

See also: AWS API Documentation

Request Syntax

response = client.stop_training_entity_recognizer(
    EntityRecognizerArn='string'
)
Parameters
EntityRecognizerArn (string) --

[REQUIRED]

The Amazon Resource Name (ARN) that identifies the entity recognizer currently being trained.

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.InternalServerException