1import * as iot from "@distilled.cloud/aws/iot";
2import * as Layer from "effect/Layer";
3import { makeIotAccountHttpBinding } from "./BindingHttp.ts";
4import { ListThings } from "./ListThings.ts";
5
6/**
7 * HTTP implementation of the {@link ListThings} capability — grants
8 * `iot:ListThings` on `*` and calls the IoT `ListThings` API.
9 */
10export const ListThingsHttp = Layer.effect(
11 ListThings,
12 makeIotAccountHttpBinding({
13 tag: "AWS.IoT.ListThings",
14 operation: iot.listThings,
15 actions: ["iot:ListThings"],
16 }),
17);