:doc:`WAFV2 <../../wafv2>` / Client / delete_permission_policy

************************
delete_permission_policy
************************



.. py:method:: 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 <https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/DeletePermissionPolicy>`_  


  **Request Syntax**
  ::

    response = client.delete_permission_policy(
        ResourceArn='string'
    )
    
  :type ResourceArn: string
  :param ResourceArn: **[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.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`WAFV2.Client.exceptions.WAFNonexistentItemException`

  
  *   :py:class:`WAFV2.Client.exceptions.WAFInternalErrorException`

  
  *   :py:class:`WAFV2.Client.exceptions.WAFInvalidParameterException`

  