comprehend:DeleteEndpoint

Write

comprehend:DeleteEndpoint is a Write access-level action in the comprehend service. Grants permission to delete a model-specific endpoint for a previously-trained custom model. All endpoints must be deleted in order for the model to be deleted

Resource types

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

arn:${Partition}:comprehend:${Region}:${Account}:document-classifier-endpoint/${DocumentClassifierEndpointName}
document-classifier-endpoint
arn:${Partition}:comprehend:${Region}:${Account}:entity-recognizer-endpoint/${EntityRecognizerEndpointName}
entity-recognizer-endpoint

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by requiring tag value associated with the resource

Example IAM policy

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

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

Related actions in comprehend

View all comprehend actions →