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