stop_events_detection_job

Comprehend.Client.stop_events_detection_job(**kwargs)

Stops an events detection job in progress.

See also: AWS API Documentation

Request Syntax

response = client.stop_events_detection_job(
    JobId='string'
)
Parameters
JobId (string) --

[REQUIRED]

The identifier of the events detection job to stop.

Return type
dict
Returns
Response Syntax
{
    'JobId': 'string',
    'JobStatus': 'SUBMITTED'|'IN_PROGRESS'|'COMPLETED'|'FAILED'|'STOP_REQUESTED'|'STOPPED'
}

Response Structure

  • (dict) --
    • JobId (string) --

      The identifier of the events detection job to stop.

    • JobStatus (string) --

      The status of the events detection job.

Exceptions

  • Comprehend.Client.exceptions.InvalidRequestException
  • Comprehend.Client.exceptions.JobNotFoundException
  • Comprehend.Client.exceptions.InternalServerException