sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ CloudWatch/ DescribeAlarmsForMetricHttp.ts

import * as cloudwatch from "@distilled.cloud/aws/cloudwatch";
import * as Layer from "effect/Layer";
import { makeCloudWatchAccountHttpBinding } from "./BindingHttp.ts";
import { DescribeAlarmsForMetric } from "./DescribeAlarmsForMetric.ts";

export const DescribeAlarmsForMetricHttp = Layer.effect(
  DescribeAlarmsForMetric,
  makeCloudWatchAccountHttpBinding({
    tag: "AWS.CloudWatch.DescribeAlarmsForMetric",
    operation: cloudwatch.describeAlarmsForMetric,
    actions: ["cloudwatch:DescribeAlarmsForMetric"],
  }),
);