:doc:`IoTThingsGraph <../../iotthingsgraph>` / Client / dissociate_entity_from_thing

****************************
dissociate_entity_from_thing
****************************



.. py:method:: IoTThingsGraph.Client.dissociate_entity_from_thing(**kwargs)

  

  Dissociates a device entity from a concrete thing. The action takes only the type of the entity that you need to dissociate because only one entity of a particular type can be associated with a thing.

  

  .. danger::

        This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.


  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/DissociateEntityFromThing>`_  


  **Request Syntax**
  ::

    response = client.dissociate_entity_from_thing(
        thingName='string',
        entityType='DEVICE'|'SERVICE'|'DEVICE_MODEL'|'CAPABILITY'|'STATE'|'ACTION'|'EVENT'|'PROPERTY'|'MAPPING'|'ENUM'
    )
    
  :type thingName: string
  :param thingName: **[REQUIRED]** 

    The name of the thing to disassociate.

    

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

    The entity type from which to disassociate the thing.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`IoTThingsGraph.Client.exceptions.InvalidRequestException`

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

  
  *   :py:class:`IoTThingsGraph.Client.exceptions.InternalFailureException`

  
  *   :py:class:`IoTThingsGraph.Client.exceptions.ThrottlingException`

  