amazonka-comprehend-2.0: Amazon Comprehend SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Comprehend.StopTrainingEntityRecognizer

Description

Stops an entity recognizer 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 putted into the STOPPED state and the service sends back an HTTP 200 response with an empty HTTP body.

Synopsis

Creating a Request

data StopTrainingEntityRecognizer Source #

See: newStopTrainingEntityRecognizer smart constructor.

Constructors

StopTrainingEntityRecognizer' 

Fields

  • entityRecognizerArn :: Text

    The Amazon Resource Name (ARN) that identifies the entity recognizer currently being trained.

Instances

Instances details
ToJSON StopTrainingEntityRecognizer Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingEntityRecognizer

ToHeaders StopTrainingEntityRecognizer Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingEntityRecognizer

ToPath StopTrainingEntityRecognizer Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingEntityRecognizer

ToQuery StopTrainingEntityRecognizer Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingEntityRecognizer

AWSRequest StopTrainingEntityRecognizer Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingEntityRecognizer

Generic StopTrainingEntityRecognizer Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingEntityRecognizer

Associated Types

type Rep StopTrainingEntityRecognizer :: Type -> Type #

Read StopTrainingEntityRecognizer Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingEntityRecognizer

Show StopTrainingEntityRecognizer Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingEntityRecognizer

NFData StopTrainingEntityRecognizer Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingEntityRecognizer

Eq StopTrainingEntityRecognizer Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingEntityRecognizer

Hashable StopTrainingEntityRecognizer Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingEntityRecognizer

type AWSResponse StopTrainingEntityRecognizer Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingEntityRecognizer

type Rep StopTrainingEntityRecognizer Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingEntityRecognizer

type Rep StopTrainingEntityRecognizer = D1 ('MetaData "StopTrainingEntityRecognizer" "Amazonka.Comprehend.StopTrainingEntityRecognizer" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "StopTrainingEntityRecognizer'" 'PrefixI 'True) (S1 ('MetaSel ('Just "entityRecognizerArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newStopTrainingEntityRecognizer Source #

Create a value of StopTrainingEntityRecognizer 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:

StopTrainingEntityRecognizer, stopTrainingEntityRecognizer_entityRecognizerArn - The Amazon Resource Name (ARN) that identifies the entity recognizer currently being trained.

Request Lenses

stopTrainingEntityRecognizer_entityRecognizerArn :: Lens' StopTrainingEntityRecognizer Text Source #

The Amazon Resource Name (ARN) that identifies the entity recognizer currently being trained.

Destructuring the Response

data StopTrainingEntityRecognizerResponse Source #

Constructors

StopTrainingEntityRecognizerResponse' 

Fields

Instances

Instances details
Generic StopTrainingEntityRecognizerResponse Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingEntityRecognizer

Read StopTrainingEntityRecognizerResponse Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingEntityRecognizer

Show StopTrainingEntityRecognizerResponse Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingEntityRecognizer

NFData StopTrainingEntityRecognizerResponse Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingEntityRecognizer

Eq StopTrainingEntityRecognizerResponse Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingEntityRecognizer

type Rep StopTrainingEntityRecognizerResponse Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingEntityRecognizer

type Rep StopTrainingEntityRecognizerResponse = D1 ('MetaData "StopTrainingEntityRecognizerResponse" "Amazonka.Comprehend.StopTrainingEntityRecognizer" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "StopTrainingEntityRecognizerResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newStopTrainingEntityRecognizerResponse Source #

Create a value of StopTrainingEntityRecognizerResponse 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:StopTrainingEntityRecognizerResponse', stopTrainingEntityRecognizerResponse_httpStatus - The response's http status code.

Response Lenses