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