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.DeleteDocumentClassifier

Description

Deletes a previously created document classifier

Only those classifiers that are in terminated states (IN_ERROR, TRAINED) will be deleted. If an active inference job is using the model, a ResourceInUseException will be returned.

This is an asynchronous action that puts the classifier into a DELETING state, and it is then removed by a background job. Once removed, the classifier disappears from your account and is no longer available for use.

Synopsis

Creating a Request

data DeleteDocumentClassifier Source #

See: newDeleteDocumentClassifier smart constructor.

Constructors

DeleteDocumentClassifier' 

Fields

Instances

Instances details
Eq DeleteDocumentClassifier Source # 
Instance details

Defined in Amazonka.Comprehend.DeleteDocumentClassifier

Read DeleteDocumentClassifier Source # 
Instance details

Defined in Amazonka.Comprehend.DeleteDocumentClassifier

Show DeleteDocumentClassifier Source # 
Instance details

Defined in Amazonka.Comprehend.DeleteDocumentClassifier

Generic DeleteDocumentClassifier Source # 
Instance details

Defined in Amazonka.Comprehend.DeleteDocumentClassifier

Associated Types

type Rep DeleteDocumentClassifier :: Type -> Type #

NFData DeleteDocumentClassifier Source # 
Instance details

Defined in Amazonka.Comprehend.DeleteDocumentClassifier

Hashable DeleteDocumentClassifier Source # 
Instance details

Defined in Amazonka.Comprehend.DeleteDocumentClassifier

ToJSON DeleteDocumentClassifier Source # 
Instance details

Defined in Amazonka.Comprehend.DeleteDocumentClassifier

AWSRequest DeleteDocumentClassifier Source # 
Instance details

Defined in Amazonka.Comprehend.DeleteDocumentClassifier

ToHeaders DeleteDocumentClassifier Source # 
Instance details

Defined in Amazonka.Comprehend.DeleteDocumentClassifier

ToPath DeleteDocumentClassifier Source # 
Instance details

Defined in Amazonka.Comprehend.DeleteDocumentClassifier

ToQuery DeleteDocumentClassifier Source # 
Instance details

Defined in Amazonka.Comprehend.DeleteDocumentClassifier

type Rep DeleteDocumentClassifier Source # 
Instance details

Defined in Amazonka.Comprehend.DeleteDocumentClassifier

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

Defined in Amazonka.Comprehend.DeleteDocumentClassifier

newDeleteDocumentClassifier Source #

Create a value of DeleteDocumentClassifier 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:DeleteDocumentClassifier', deleteDocumentClassifier_documentClassifierArn - The Amazon Resource Name (ARN) that identifies the document classifier.

Request Lenses

deleteDocumentClassifier_documentClassifierArn :: Lens' DeleteDocumentClassifier Text Source #

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

Destructuring the Response

data DeleteDocumentClassifierResponse Source #

See: newDeleteDocumentClassifierResponse smart constructor.

Constructors

DeleteDocumentClassifierResponse' 

Fields

Instances

Instances details
Eq DeleteDocumentClassifierResponse Source # 
Instance details

Defined in Amazonka.Comprehend.DeleteDocumentClassifier

Read DeleteDocumentClassifierResponse Source # 
Instance details

Defined in Amazonka.Comprehend.DeleteDocumentClassifier

Show DeleteDocumentClassifierResponse Source # 
Instance details

Defined in Amazonka.Comprehend.DeleteDocumentClassifier

Generic DeleteDocumentClassifierResponse Source # 
Instance details

Defined in Amazonka.Comprehend.DeleteDocumentClassifier

Associated Types

type Rep DeleteDocumentClassifierResponse :: Type -> Type #

NFData DeleteDocumentClassifierResponse Source # 
Instance details

Defined in Amazonka.Comprehend.DeleteDocumentClassifier

type Rep DeleteDocumentClassifierResponse Source # 
Instance details

Defined in Amazonka.Comprehend.DeleteDocumentClassifier

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

newDeleteDocumentClassifierResponse Source #

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

Response Lenses