Skip to content

ListThings

Source: src/AWS/IoT/ListThings.ts

Runtime binding for the ListThings operation (IAM action iot:ListThings, granted on * — the action does not support resource-level permissions).

Lists things in the registry, optionally filtered by attribute or thing type. Provide the implementation with Effect.provide(AWS.IoT.ListThingsHttp).

const listThings = yield* AWS.IoT.ListThings();
const { things } = yield* listThings({
attributeName: "location",
attributeValue: "warehouse-a",
});