LambdaWeb / Client / delete_resource_policy
delete_resource_policy¶
- LambdaWeb.Client.delete_resource_policy(**kwargs)¶
Removes the resource-based policy from a web function.
See also: AWS API Documentation
Request Syntax
response = client.delete_resource_policy( resourceArn='string', revisionId='string' )
- Parameters:
resourceArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the web function.
revisionId (string) – 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.
- Returns:
None
Exceptions