Skip to content

Delete Document Classifier

comprehend_delete_document_classifier R Documentation

Deletes a previously created document classifier

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.

Usage

comprehend_delete_document_classifier(DocumentClassifierArn)

Arguments

DocumentClassifierArn

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

Value

An empty list.

Request syntax

svc$delete_document_classifier(
  DocumentClassifierArn = "string"
)