Skip to content

DeleteResourcePolicyRequest

Source code in docs_src/capo_lambda_web/types/delete_resource_policy_request.py
class DeleteResourcePolicyRequest(TypedDict, closed=True):
    resource_arn: "capo_lambda_web.types.resource_arn.ResourceArn"
    """<p>The Amazon Resource Name (ARN) of the web function.</p>"""
    revision_id: NotRequired[
        "capo_lambda_web.types.policy_revision_id.PolicyRevisionId"
    ]
    """<p>The revision ID of the policy. Use this to prevent deleting a policy that has been updated since you last retrieved it. If you don't specify a value, the policy is deleted regardless of its current revision.</p>"""

resource_arn instance-attribute

resource_arn: ResourceArn

The Amazon Resource Name (ARN) of the web function.

revision_id instance-attribute

revision_id: NotRequired[PolicyRevisionId]

The revision ID of the policy. Use this to prevent deleting a policy that has been updated since you last retrieved it. If you don't specify a value, the policy is deleted regardless of its current revision.