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

main
ts 18 lines 642 Bytes
Raw
1 import * as iotdata from "@distilled.cloud/aws/iot-data-plane";
2 import * as Layer from "effect/Layer";
3 import { makeIotClientHttpBinding } from "./BindingHttp.ts";
4 import { DeleteConnection } from "./DeleteConnection.ts";
5
6 /**
7 * HTTP implementation of the {@link DeleteConnection} capability — grants
8 * `iot:DeleteConnection` on the bound client filter and calls the IoT
9 * data-plane `DeleteConnection` API.
10 */
11 export const DeleteConnectionHttp = Layer.effect(
12 DeleteConnection,
13 makeIotClientHttpBinding({
14 tag: "AWS.IoT.DeleteConnection",
15 operation: iotdata.deleteConnection,
16 actions: ["iot:DeleteConnection"],
17 }),
18 );