sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ CloudWatch/ GetMetricStatisticsHttp.ts
import * as cloudwatch from "@distilled.cloud/aws/cloudwatch";
import * as Layer from "effect/Layer";
import { makeCloudWatchAccountHttpBinding } from "./BindingHttp.ts";
import { GetMetricStatistics } from "./GetMetricStatistics.ts";
export const GetMetricStatisticsHttp = Layer.effect(
GetMetricStatistics,
makeCloudWatchAccountHttpBinding({
tag: "AWS.CloudWatch.GetMetricStatistics",
operation: cloudwatch.getMetricStatistics,
actions: ["cloudwatch:GetMetricStatistics"],
}),
);