Skip to content

AssociateEntityToThingRequest

Source code in docs_src/capo_iotthingsgraph/types/associate_entity_to_thing_request.py
class AssociateEntityToThingRequest(TypedDict, closed=True):
    thing_name: "capo_iotthingsgraph.types.thing_name.ThingName"
    """<p>The name of the thing to which the entity is to be associated.</p>"""
    entity_id: "capo_iotthingsgraph.types.urn.Urn"
    """<p>The ID of the device to be associated with the thing.</p> <p>The ID should be in the following format.</p> <p> <code>urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME</code> </p>"""
    namespace_version: NotRequired["capo_iotthingsgraph.types.version.Version"]
    """<p>The version of the user's namespace. Defaults to the latest version of the user's namespace.</p>"""

entity_id instance-attribute

entity_id: Urn

The ID of the device to be associated with the thing.

The ID should be in the following format.

urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME

namespace_version instance-attribute

namespace_version: NotRequired[Version]

The version of the user's namespace. Defaults to the latest version of the user's namespace.

thing_name instance-attribute

thing_name: ThingName

The name of the thing to which the entity is to be associated.