v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1484423422.2 KB

Gets the details of a resource-based policy that is attached to a custom model, including the JSON body of the policy.

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

Headers

X-Amz-Target'Comprehend_20171127.DescribeResourcePolicy' required

Request body

ResourceArnstring required

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

Response

Success

ResourcePolicystring

The JSON body of the resource-based policy.

CreationTimestring date-time

The time at which the policy was created.

LastModifiedTimestring date-time

The time at which the policy was last modified.

PolicyRevisionIdstring

The revision ID of the policy. Each time you modify a policy, Amazon Comprehend assigns a new revision ID, and it deletes the prior version of the policy.