Skip to content

DescribeResourcePolicyResponse

Source code in docs_src/capo_comprehend/types/describe_resource_policy_response.py
class DescribeResourcePolicyResponse(TypedDict, closed=True):
    resource_policy: NotRequired["capo_comprehend.types.policy.Policy"]
    """<p>The JSON body of the resource-based policy.</p>"""
    creation_time: NotRequired["capo_comprehend.types.timestamp.Timestamp"]
    """<p>The time at which the policy was created.</p>"""
    last_modified_time: NotRequired["capo_comprehend.types.timestamp.Timestamp"]
    """<p>The time at which the policy was last modified.</p>"""
    policy_revision_id: NotRequired[
        "capo_comprehend.types.policy_revision_id.PolicyRevisionId"
    ]
    """<p>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.</p>"""

creation_time instance-attribute

creation_time: NotRequired[Timestamp]

The time at which the policy was created.

last_modified_time instance-attribute

last_modified_time: NotRequired[Timestamp]

The time at which the policy was last modified.

policy_revision_id instance-attribute

policy_revision_id: NotRequired[PolicyRevisionId]

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.

resource_policy instance-attribute

resource_policy: NotRequired[Policy]

The JSON body of the resource-based policy.