IoTThingsGraph / Client / dissociate_entity_from_thing

dissociate_entity_from_thing#

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

Request Syntax

response = client.dissociate_entity_from_thing(
    thingName='string',
    entityType='DEVICE'|'SERVICE'|'DEVICE_MODEL'|'CAPABILITY'|'STATE'|'ACTION'|'EVENT'|'PROPERTY'|'MAPPING'|'ENUM'
)
Parameters:
  • thingName (string) –

    [REQUIRED]

    The name of the thing to disassociate.

  • entityType (string) –

    [REQUIRED]

    The entity type from which to disassociate the thing.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • IoTThingsGraph.Client.exceptions.InvalidRequestException

  • IoTThingsGraph.Client.exceptions.ResourceNotFoundException

  • IoTThingsGraph.Client.exceptions.InternalFailureException

  • IoTThingsGraph.Client.exceptions.ThrottlingException