delete_resource_policy
(**kwargs)¶Deletes a resource policy that you created in a PutResourcePolicy request.
See also: AWS API Documentation
Request Syntax
response = client.delete_resource_policy(
ResourceArn='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the rule group or firewall policy whose resource policy you want to delete.
{}
Response Structure
Exceptions
NetworkFirewall.Client.exceptions.InvalidRequestException
NetworkFirewall.Client.exceptions.InternalServerError
NetworkFirewall.Client.exceptions.ResourceNotFoundException
NetworkFirewall.Client.exceptions.ThrottlingException
NetworkFirewall.Client.exceptions.InvalidResourcePolicyException