@devries-cameron20 / t3code Mirror · read-only
Fork 0

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

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 06:00 UTC

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 );