:doc:`SSMIncidents <../../ssm-incidents>` / Client / delete_resource_policy

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



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

  

  Deletes the resource policy that Resource Access Manager uses to share your Incident Manager resource.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/DeleteResourcePolicy>`_  


  **Request Syntax**
  ::

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

    The ID of the resource policy you're deleting.

    

  
  :type resourceArn: string
  :param resourceArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the resource you're deleting the policy from.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`SSMIncidents.Client.exceptions.ThrottlingException`

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

  
  *   :py:class:`SSMIncidents.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`SSMIncidents.Client.exceptions.ValidationException`

  
  *   :py:class:`SSMIncidents.Client.exceptions.InternalServerException`

  