@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 18 lines 640 Bytes
Raw
1 import * as iotdata from "@distilled.cloud/aws/iot-data-plane";
2 import * as Layer from "effect/Layer";
3 import { makeIotThingHttpBinding } from "./BindingHttp.ts";
4 import { 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 */
11 export const DeleteThingShadowHttp = Layer.effect(
12 DeleteThingShadow,
13 makeIotThingHttpBinding({
14 tag: "AWS.IoT.DeleteThingShadow",
15 operation: iotdata.deleteThingShadow,
16 actions: ["iot:DeleteThingShadow"],
17 }),
18 );