| 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 { GetRightsizingRecommendation } from "./GetRightsizingRecommendation.ts"; |
| 5 | |
| 6 | export const GetRightsizingRecommendationHttp = Layer.effect( |
| 7 | GetRightsizingRecommendation, |
| 8 | makeCostExplorerHttpBinding({ |
| 9 | capability: "GetRightsizingRecommendation", |
| 10 | iamActions: ["ce:GetRightsizingRecommendation"], |
| 11 | operation: ce.getRightsizingRecommendation, |
| 12 | }), |
| 13 | ); |