| 1 | import * as ce from "@distilled.cloud/aws/cost-explorer"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeAnomalyMonitorHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { GetAnomalies } from "./GetAnomalies.ts"; |
| 5 | |
| 6 | export const GetAnomaliesHttp = Layer.effect( |
| 7 | GetAnomalies, |
| 8 | makeAnomalyMonitorHttpBinding({ |
| 9 | capability: "GetAnomalies", |
| 10 | iamActions: ["ce:GetAnomalies"], |
| 11 | operation: ce.getAnomalies, |
| 12 | }), |
| 13 | ); |