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

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