UpdateThingRequest
import type { UpdateThingRequest } from "https://aws-api.deno.dev/v0.3/services/iot.ts?docs=full";
The input for the UpdateThing operation.
interface UpdateThingRequest {
attributePayload?: AttributePayload | null;
expectedVersion?: number | null;
removeThingType?: boolean | null;
thingName: string;
thingTypeName?: string | null;
}§Properties
§
attributePayload?: AttributePayload | null
[src]A list of thing attributes, a JSON string containing name-value pairs. For example:
{\"attributes\":{\"name1\":\"value2\"}}
This data is used to add new attributes or update existing attributes.
§
expectedVersion?: number | null
[src]The expected version of the thing record in the registry.
If the version of the record in the registry does not match the expected version specified in the request, the UpdateThing
request is rejected with a VersionConflictException
.
§
removeThingType?: boolean | null
[src]Remove a thing type association. If true, the association is removed.