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.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
Eq StopTrainingEntityRecognizer Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingEntityRecognizer

Read StopTrainingEntityRecognizer Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingEntityRecognizer

Show 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 #

NFData StopTrainingEntityRecognizer Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingEntityRecognizer

Hashable StopTrainingEntityRecognizer Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingEntityRecognizer

ToJSON StopTrainingEntityRecognizer Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingEntityRecognizer

AWSRequest 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

type Rep StopTrainingEntityRecognizer Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingEntityRecognizer

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

Defined in Amazonka.Comprehend.StopTrainingEntityRecognizer

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:

$sel:entityRecognizerArn: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
Eq 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

Generic StopTrainingEntityRecognizerResponse Source # 
Instance details

Defined in Amazonka.Comprehend.StopTrainingEntityRecognizer

NFData 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" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" '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