WAFV2 / Client / delete_permission_policy

delete_permission_policy#

WAFV2.Client.delete_permission_policy(**kwargs)#

Permanently deletes an IAM policy from the specified rule group.

You must be the owner of the rule group to perform this operation.

See also: AWS API Documentation

Request Syntax

response = client.delete_permission_policy(
    ResourceArn='string'
)
Parameters:

ResourceArn (string) –

[REQUIRED]

The Amazon Resource Name (ARN) of the rule group from which you want to delete the policy.

You must be the owner of the rule group to perform this operation.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • WAFV2.Client.exceptions.WAFNonexistentItemException

  • WAFV2.Client.exceptions.WAFInternalErrorException

  • WAFV2.Client.exceptions.WAFInvalidParameterException