:doc:`LakeFormation <../../lakeformation>` / Client / deregister_resource

*******************
deregister_resource
*******************



.. py:method:: LakeFormation.Client.deregister_resource(**kwargs)

  

  Deregisters the resource as managed by the Data Catalog.

   

  When you deregister a path, Lake Formation removes the path from the inline policy attached to your service-linked role.

  

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


  **Request Syntax**
  ::

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

    The Amazon Resource Name (ARN) of the resource that you want to deregister.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`LakeFormation.Client.exceptions.InvalidInputException`

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

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

  
  *   :py:class:`LakeFormation.Client.exceptions.EntityNotFoundException`

  