comprehend:DeleteDocumentClassifier

Write

comprehend:DeleteDocumentClassifier is a Write access-level action in the comprehend service. Grants permission to delete a previously created document classifier

Resource types

ARNs that comprehend:DeleteDocumentClassifier can be scoped to in an IAM policy.

arn:${Partition}:comprehend:${Region}:${Account}:document-classifier/${DocumentClassifierName}
document-classifier

Condition keys

Keys you can use in the Condition block of a policy that grants comprehend:DeleteDocumentClassifier.

aws:ResourceTag/${TagKey} String

Filters access by requiring tag value associated with the resource

Example IAM policy

A minimal policy that allows comprehend:DeleteDocumentClassifier. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowComprehendDeleteDocumentClassifier",
      "Effect": "Allow",
      "Action": "comprehend:DeleteDocumentClassifier",
      "Resource": "*"
    }
  ]
}

Related actions in comprehend

View all comprehend actions →