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

main
ts 13 lines 436 Bytes
Raw
1 import * as synthetics from "@distilled.cloud/aws/synthetics";
2 import * as Layer from "effect/Layer";
3 import { makeSyntheticsCanaryHttpBinding } from "./BindingHttp.ts";
4 import { StopCanary } from "./StopCanary.ts";
5
6 export const StopCanaryHttp = Layer.effect(
7 StopCanary,
8 makeSyntheticsCanaryHttpBinding({
9 tag: "AWS.Synthetics.StopCanary",
10 operation: synthetics.stopCanary,
11 actions: ["synthetics:StopCanary"],
12 }),
13 );