Jump to Content

Class DissociateEntityFromThingCommandProtected

Deprecated

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.

Example

Use a bare-bones client and the command you need to make an API call.

import { IoTThingsGraphClient, DissociateEntityFromThingCommand } from "@aws-sdk/client-iotthingsgraph"; // ES Modules import
// const { IoTThingsGraphClient, DissociateEntityFromThingCommand } = require("@aws-sdk/client-iotthingsgraph"); // CommonJS import
const client = new IoTThingsGraphClient(config);
const command = new DissociateEntityFromThingCommand(input);
const response = await client.send(command);

Param

DissociateEntityFromThingCommandInput

Returns

DissociateEntityFromThingCommandOutput

See

Throws

InternalFailureException (server fault)

Throws

InvalidRequestException (client fault)

Throws

ResourceNotFoundException (client fault)

Throws

ThrottlingException (client fault)

Hierarchy

Constructors

Properties

Methods