Skip to content

DeleteResourcePolicyRequest

Source code in docs_src/capo_rum/types/delete_resource_policy_request.py
class DeleteResourcePolicyRequest(TypedDict, closed=True):
    name: "capo_rum.types.app_monitor_name.AppMonitorName"
    """<p>The app monitor that you want to remove the resource policy from.</p>"""
    policy_revision_id: NotRequired[
        "capo_rum.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 revision ID that you provide doesn't match the latest policy revision ID, the request will be rejected with an <code>InvalidPolicyRevisionIdException</code> error.</p>"""

name instance-attribute

The app monitor that you want to remove the resource policy from.

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 revision ID that you provide doesn't match the latest policy revision ID, the request will be rejected with an InvalidPolicyRevisionIdException error.