Skip to content

DescribeThing

Source: src/AWS/IoT/DescribeThing.ts

Runtime binding for the DescribeThing operation (IAM action iot:DescribeThing).

Bind it to a Thing to read the thing’s registry entry (attributes, thing type, version) at runtime — the thing name is injected automatically. Provide the implementation with Effect.provide(AWS.IoT.DescribeThingHttp).

const describeThing = yield* AWS.IoT.DescribeThing(thing);
const { attributes } = yield* describeThing();