v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1484423422.2 KB

Stops a document classifier 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 put into the STOPPED state and the service sends back an HTTP 200 response with an empty HTTP body.

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

Headers

X-Amz-Target'Comprehend_20171127.StopTrainingDocumentClassifier' required

Request body

DocumentClassifierArnstring required

The Amazon Resource Name (ARN) that identifies the document classifier currently being trained.

Response

Success

StopTrainingDocumentClassifierResponse required