:doc:`CloudTrail <../../cloudtrail>` / Client / delete_resource_policy

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



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

  

  Deletes the resource-based policy attached to the CloudTrail event data store, dashboard, or channel.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DeleteResourcePolicy>`_  


  **Request Syntax**
  ::

    response = client.delete_resource_policy(
        ResourceArn='string'
    )
    
  :type ResourceArn: string
  :param ResourceArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the CloudTrail event data store, dashboard, or channel you're deleting the resource-based policy from.

     

    Example event data store ARN format: ``arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE``

     

    Example dashboard ARN format: ``arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash``

     

    Example channel ARN format: ``arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890``

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`CloudTrail.Client.exceptions.ResourceARNNotValidException`

  
  *   :py:class:`CloudTrail.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`CloudTrail.Client.exceptions.ResourcePolicyNotFoundException`

  
  *   :py:class:`CloudTrail.Client.exceptions.ResourceTypeNotSupportedException`

  
  *   :py:class:`CloudTrail.Client.exceptions.ConflictException`

  
  *   :py:class:`CloudTrail.Client.exceptions.OperationNotPermittedException`

  
  *   :py:class:`CloudTrail.Client.exceptions.UnsupportedOperationException`

  