| 1 | import * as forecastquery from "@distilled.cloud/aws/forecastquery"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeForecastHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { QueryWhatIfForecast } from "./QueryWhatIfForecast.ts"; |
| 5 | |
| 6 | export const QueryWhatIfForecastHttp = Layer.effect( |
| 7 | QueryWhatIfForecast, |
| 8 | makeForecastHttpBinding({ |
| 9 | capability: "QueryWhatIfForecast", |
| 10 | iamActions: ["forecast:QueryWhatIfForecast"], |
| 11 | operation: forecastquery.queryWhatIfForecast, |
| 12 | }), |
| 13 | ); |