Skip to content

DeleteResourcePolicyRequest

Source code in docs_src/capo_lambda/types/delete_resource_policy_request.py
class DeleteResourcePolicyRequest(TypedDict, closed=True):
    resource_arn: "capo_lambda.types.policy_resource_arn.PolicyResourceArn"
    """<p>The Amazon Resource Name (ARN) of the Lambda resource you want to delete the policy from. You can use a qualified or an unqualified ARN. The value must be a complete ARN, and the operation does not accept wildcard characters.</p>"""
    revision_id: NotRequired["capo_lambda.types.revision_id.RevisionId"]
    """<p>The revision ID that the existing policy must match for the deletion to proceed. If the revision ID doesn't match, the operation fails with a <code>PreconditionFailedException</code> error. To retrieve the current revision ID, use the <a>GetResourcePolicy</a> operation.</p>"""

resource_arn instance-attribute

resource_arn: PolicyResourceArn

The Amazon Resource Name (ARN) of the Lambda resource you want to delete the policy from. You can use a qualified or an unqualified ARN. The value must be a complete ARN, and the operation does not accept wildcard characters.

revision_id instance-attribute

revision_id: NotRequired[RevisionId]

The revision ID that the existing policy must match for the deletion to proceed. If the revision ID doesn't match, the operation fails with a PreconditionFailedException error. To retrieve the current revision ID, use the GetResourcePolicy operation.