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