Skip to content

DeleteResourcePolicyRequest

Source code in docs_src/capo_xray/types/delete_resource_policy_request.py
class DeleteResourcePolicyRequest(TypedDict, closed=True):
    policy_name: "capo_xray.types.policy_name.PolicyName"
    """<p>The name of the resource policy to delete.</p>"""
    policy_revision_id: NotRequired[
        "capo_xray.types.policy_revision_id.PolicyRevisionId"
    ]
    """<p>Specifies a specific policy revision to delete. Provide a <code>PolicyRevisionId</code> to ensure an atomic delete operation. If the provided revision id does not match the latest policy revision id, an <code>InvalidPolicyRevisionIdException</code> exception is returned. </p>"""

policy_name instance-attribute

policy_name: PolicyName

The name of the resource policy to delete.

policy_revision_id instance-attribute

policy_revision_id: NotRequired[PolicyRevisionId]

Specifies a specific policy revision to delete. Provide a PolicyRevisionId to ensure an atomic delete operation. If the provided revision id does not match the latest policy revision id, an InvalidPolicyRevisionIdException exception is returned.