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