| 1 | import * as cloudwatch from "@distilled.cloud/aws/cloudwatch"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeCloudWatchAccountHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { DescribeAnomalyDetectors } from "./DescribeAnomalyDetectors.ts"; |
| 5 | |
| 6 | export const DescribeAnomalyDetectorsHttp = Layer.effect( |
| 7 | DescribeAnomalyDetectors, |
| 8 | makeCloudWatchAccountHttpBinding({ |
| 9 | tag: "AWS.CloudWatch.DescribeAnomalyDetectors", |
| 10 | operation: cloudwatch.describeAnomalyDetectors, |
| 11 | actions: ["cloudwatch:DescribeAnomalyDetectors"], |
| 12 | }), |
| 13 | ); |