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

main
ts 13 lines 501 Bytes
Raw
1 import * as cloudwatch from "@distilled.cloud/aws/cloudwatch";
2 import * as Layer from "effect/Layer";
3 import { makeCloudWatchAccountHttpBinding } from "./BindingHttp.ts";
4 import { GetMetricStatistics } from "./GetMetricStatistics.ts";
5
6 export const GetMetricStatisticsHttp = Layer.effect(
7 GetMetricStatistics,
8 makeCloudWatchAccountHttpBinding({
9 tag: "AWS.CloudWatch.GetMetricStatistics",
10 operation: cloudwatch.getMetricStatistics,
11 actions: ["cloudwatch:GetMetricStatistics"],
12 }),
13 );