Skip to content

Stop Training Document Classifier

comprehend_stop_training_document_classifier R Documentation

Stops a document classifier training job while in progress

Description

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.

Usage

comprehend_stop_training_document_classifier(DocumentClassifierArn)

Arguments

DocumentClassifierArn

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

Value

An empty list.

Request syntax

svc$stop_training_document_classifier(
  DocumentClassifierArn = "string"
)