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