libZSservicesZSamazonka-comprehendZSamazonka-comprehend
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Comprehend.StopTrainingDocumentClassifier

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.

Synopsis

Creating a Request

data StopTrainingDocumentClassifier Source #

See: newStopTrainingDocumentClassifier smart constructor.

Constructors

StopTrainingDocumentClassifier' 

Fields

Instances

Instances details
Eq StopTrainingDocumentClassifier Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingDocumentClassifier

Read StopTrainingDocumentClassifier Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingDocumentClassifier

Show StopTrainingDocumentClassifier Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingDocumentClassifier

Generic StopTrainingDocumentClassifier Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingDocumentClassifier

Associated Types

type Rep StopTrainingDocumentClassifier :: Type -> Type #

NFData StopTrainingDocumentClassifier Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingDocumentClassifier

Hashable StopTrainingDocumentClassifier Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingDocumentClassifier

ToJSON StopTrainingDocumentClassifier Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingDocumentClassifier

AWSRequest StopTrainingDocumentClassifier Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingDocumentClassifier

ToHeaders StopTrainingDocumentClassifier Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingDocumentClassifier

ToPath StopTrainingDocumentClassifier Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingDocumentClassifier

ToQuery StopTrainingDocumentClassifier Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingDocumentClassifier

type Rep StopTrainingDocumentClassifier Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingDocumentClassifier

type Rep StopTrainingDocumentClassifier = D1 ('MetaData "StopTrainingDocumentClassifier" "Amazonka.Comprehend.StopTrainingDocumentClassifier" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "StopTrainingDocumentClassifier'" 'PrefixI 'True) (S1 ('MetaSel ('Just "documentClassifierArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse StopTrainingDocumentClassifier Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingDocumentClassifier

newStopTrainingDocumentClassifier Source #

Create a value of StopTrainingDocumentClassifier with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:documentClassifierArn:StopTrainingDocumentClassifier', stopTrainingDocumentClassifier_documentClassifierArn - The Amazon Resource Name (ARN) that identifies the document classifier currently being trained.

Request Lenses

stopTrainingDocumentClassifier_documentClassifierArn :: Lens' StopTrainingDocumentClassifier Text Source #

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

Destructuring the Response

data StopTrainingDocumentClassifierResponse Source #

Constructors

StopTrainingDocumentClassifierResponse' 

Fields

Instances

Instances details
Eq StopTrainingDocumentClassifierResponse Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingDocumentClassifier

Read StopTrainingDocumentClassifierResponse Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingDocumentClassifier

Show StopTrainingDocumentClassifierResponse Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingDocumentClassifier

Generic StopTrainingDocumentClassifierResponse Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingDocumentClassifier

NFData StopTrainingDocumentClassifierResponse Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingDocumentClassifier

type Rep StopTrainingDocumentClassifierResponse Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingDocumentClassifier

type Rep StopTrainingDocumentClassifierResponse = D1 ('MetaData "StopTrainingDocumentClassifierResponse" "Amazonka.Comprehend.StopTrainingDocumentClassifier" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "StopTrainingDocumentClassifierResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newStopTrainingDocumentClassifierResponse Source #

Create a value of StopTrainingDocumentClassifierResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:StopTrainingDocumentClassifierResponse', stopTrainingDocumentClassifierResponse_httpStatus - The response's http status code.

Response Lenses