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

main
ts 13 lines 473 Bytes
Raw
1 import * as incidents from "@distilled.cloud/aws/ssm-incidents";
2 import * as Layer from "effect/Layer";
3 import { makeIncidentsResponsePlanHttpBinding } from "./BindingHttp.ts";
4 import { StartIncident } from "./StartIncident.ts";
5
6 export const StartIncidentHttp = Layer.effect(
7 StartIncident,
8 makeIncidentsResponsePlanHttpBinding({
9 tag: "AWS.SSMIncidents.StartIncident",
10 operation: incidents.startIncident,
11 actions: ["ssm-incidents:StartIncident"],
12 }),
13 );