Skip to content

/AWS1/CL_CPD=>DELETEDOCUMENTCLASSIFIER()

About DeleteDocumentClassifier

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.

Method Signature

IMPORTING

Required arguments:

IV_DOCUMENTCLASSIFIERARN TYPE /AWS1/CPDDOCUMENTCLASSIFIERARN /AWS1/CPDDOCUMENTCLASSIFIERARN

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

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CPDDELDOCCLIFIERRSP /AWS1/CL_CPDDELDOCCLIFIERRSP