v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1484423422.2 KB

Deletes a resource-based policy that is attached to a custom model.

post/#X-Amz-Target=Comprehend_20171127.DeleteResourcePolicy

Headers

X-Amz-Target'Comprehend_20171127.DeleteResourcePolicy' required

Request body

ResourceArnstring required

The Amazon Resource Name (ARN) of the custom model version that has the policy to delete.

PolicyRevisionIdstring

The revision ID of the policy to delete.

Response

Success

DeleteResourcePolicyResponse required