Skip to content

DescribeResourcePolicyResponse

Source code in docs_src/capo_lex_models_v2/types/describe_resource_policy_response.py
class DescribeResourcePolicyResponse(TypedDict, closed=True):
    resource_arn: NotRequired[
        "capo_lex_models_v2.types.amazon_resource_name.AmazonResourceName"
    ]
    """<p>The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.</p>"""
    policy: NotRequired["capo_lex_models_v2.types.policy.Policy"]
    """<p>The JSON structure that contains the resource policy. For more information about the contents of a JSON policy document, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies.html"> IAM JSON policy reference </a>.</p>"""
    revision_id: NotRequired["capo_lex_models_v2.types.revision_id.RevisionId"]
    """<p>The current revision of the resource policy. Use the revision ID to make sure that you are updating the most current version of a resource policy when you add a policy statement to a resource, delete a resource, or update a resource.</p>"""

policy instance-attribute

policy: NotRequired[Policy]

The JSON structure that contains the resource policy. For more information about the contents of a JSON policy document, see IAM JSON policy reference .

resource_arn instance-attribute

resource_arn: NotRequired[AmazonResourceName]

The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.

revision_id instance-attribute

revision_id: NotRequired[RevisionId]

The current revision of the resource policy. Use the revision ID to make sure that you are updating the most current version of a resource policy when you add a policy statement to a resource, delete a resource, or update a resource.