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