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

main
ts 13 lines 503 Bytes
Raw
1 import * as mi from "@distilled.cloud/aws/iot-managed-integrations";
2 import * as Layer from "effect/Layer";
3 import { makeManagedIntegrationsHttpBinding } from "./BindingHttp.ts";
4 import { SendConnectorEvent } from "./SendConnectorEvent.ts";
5
6 export const SendConnectorEventHttp = Layer.effect(
7 SendConnectorEvent,
8 makeManagedIntegrationsHttpBinding({
9 capability: "SendConnectorEvent",
10 iamActions: ["iotmanagedintegrations:SendConnectorEvent"],
11 operation: mi.sendConnectorEvent,
12 }),
13 );