Skip to content

ListNamedShadowsForThing

Source: src/AWS/IoT/ListNamedShadowsForThing.ts

Runtime binding for the IoT data-plane ListNamedShadowsForThing operation (IAM action iot:ListNamedShadowsForThing).

Bind it to a Thing to list the thing’s named shadows — the thing name is injected automatically. Provide the implementation with Effect.provide(AWS.IoT.ListNamedShadowsForThingHttp).

const listShadows = yield* AWS.IoT.ListNamedShadowsForThing(thing);
const { results } = yield* listShadows();