:doc:`Glue <../../glue>` / Client / delete_resource_policy

**********************
delete_resource_policy
**********************



.. py:method:: Glue.Client.delete_resource_policy(**kwargs)

  

  Deletes a specified policy.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteResourcePolicy>`_  


  **Request Syntax**
  ::

    response = client.delete_resource_policy(
        PolicyHashCondition='string',
        ResourceArn='string'
    )
    
  :type PolicyHashCondition: string
  :param PolicyHashCondition: 

    The hash value returned when this policy was set.

    

  
  :type ResourceArn: string
  :param ResourceArn: 

    The ARN of the Glue resource for the resource policy to be deleted.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`Glue.Client.exceptions.EntityNotFoundException`

  
  *   :py:class:`Glue.Client.exceptions.InternalServiceException`

  
  *   :py:class:`Glue.Client.exceptions.OperationTimeoutException`

  
  *   :py:class:`Glue.Client.exceptions.InvalidInputException`

  
  *   :py:class:`Glue.Client.exceptions.ConditionCheckFailureException`

  