v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1435160115.2 KB

Associates a device with a concrete thing that is in the user's registry.

A thing can be associated with only one device at a time. If you associate a thing with a new device id, its previous association will be removed.

post/#X-Amz-Target=IotThingsGraphFrontEndService.AssociateEntityToThing

Headers

X-Amz-Target'IotThingsGraphFrontEndService.AssociateEntityToThing' required

Request body

thingNamestring required

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

entityIdstring required
<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>
namespaceVersioninteger

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

Response

Success

AssociateEntityToThingResponse required
All 35 operations