delete_resource_policy

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'
)
Parameters
ResourceArn (string) --

[REQUIRED]

The Amazon Resource Name (ARN) of the rule group or firewall policy whose resource policy you want to delete.

Return type
dict
Returns
Response Syntax
{}

Response Structure

  • (dict) --

Exceptions

  • NetworkFirewall.Client.exceptions.InvalidRequestException
  • NetworkFirewall.Client.exceptions.InternalServerError
  • NetworkFirewall.Client.exceptions.ResourceNotFoundException
  • NetworkFirewall.Client.exceptions.ThrottlingException
  • NetworkFirewall.Client.exceptions.InvalidResourcePolicyException