v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1484423422.2 KB

Stops a dominant language detection job in progress.

If the job state is IN_PROGRESS the job is marked for termination and put into the STOP_REQUESTED state. If the job completes before it can be stopped, it is put into the COMPLETED state; otherwise the job is stopped and put into the STOPPED state.

If the job is in the COMPLETED or FAILED state when you call the StopDominantLanguageDetectionJob operation, the operation returns a 400 Internal Request Exception.

When a job is stopped, any documents already processed are written to the output location.

post/#X-Amz-Target=Comprehend_20171127.StopDominantLanguageDetectionJob

Headers

X-Amz-Target'Comprehend_20171127.StopDominantLanguageDetectionJob' required

Request body

JobIdstring required

The identifier of the dominant language detection job to stop.

Response

Success

JobIdstring

The identifier of the dominant language detection job to stop.

JobStatus'SUBMITTED' | 'IN_PROGRESS' | 'COMPLETED' | 'FAILED' | 'STOP_REQUESTED' | 'STOPPED'

Either <code>STOP_REQUESTED</code> if the job is currently running, or <code>STOPPED</code> if the job was previously stopped with the <code>StopDominantLanguageDetectionJob</code> operation.