@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, 04:45 UTC

main
ts 17 lines 696 Bytes
Raw
1 import * as cloudwatch from "@distilled.cloud/aws/cloudwatch";
2 import * as Layer from "effect/Layer";
3 import type { AlarmResource } from "./binding-common.ts";
4 import { makeCloudWatchResourceSetHttpBinding } from "./BindingHttp.ts";
5 import { DisableAlarmActions } from "./DisableAlarmActions.ts";
6
7 export const DisableAlarmActionsHttp = Layer.effect(
8 DisableAlarmActions,
9 makeCloudWatchResourceSetHttpBinding({
10 tag: "AWS.CloudWatch.DisableAlarmActions",
11 operation: cloudwatch.disableAlarmActions,
12 action: "cloudwatch:DisableAlarmActions",
13 namesKey: "AlarmNames",
14 name: (alarm: AlarmResource) => alarm.alarmName,
15 arn: (alarm: AlarmResource) => alarm.alarmArn,
16 }),
17 );