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

main
ts 17 lines 706 Bytes
Raw
1 import * as cloudwatch from "@distilled.cloud/aws/cloudwatch";
2 import * as Layer from "effect/Layer";
3 import type { AlarmMuteRule } from "./AlarmMuteRule.ts";
4 import { makeCloudWatchResourceHttpBinding } from "./BindingHttp.ts";
5 import { GetAlarmMuteRule } from "./GetAlarmMuteRule.ts";
6
7 export const GetAlarmMuteRuleHttp = Layer.effect(
8 GetAlarmMuteRule,
9 makeCloudWatchResourceHttpBinding({
10 tag: "AWS.CloudWatch.GetAlarmMuteRule",
11 operation: cloudwatch.getAlarmMuteRule,
12 actions: ["cloudwatch:GetAlarmMuteRule"],
13 requestKey: "AlarmMuteRuleName",
14 identifier: (rule: AlarmMuteRule) => rule.alarmMuteRuleName,
15 resourceArn: (rule: AlarmMuteRule) => rule.alarmMuteRuleArn,
16 }),
17 );