DeleteResourcePolicyRequest
¶
Source code in docs_src/capo_lambda/types/delete_resource_policy_request.py
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.