sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ Forecast/ CreateWhatIfAnalysisHttp.ts
import * as forecast from "@distilled.cloud/aws/forecast";
import * as Layer from "effect/Layer";
import { makeForecastHttpBinding } from "./BindingHttp.ts";
import { CreateWhatIfAnalysis } from "./CreateWhatIfAnalysis.ts";
export const CreateWhatIfAnalysisHttp = Layer.effect(
CreateWhatIfAnalysis,
makeForecastHttpBinding({
capability: "CreateWhatIfAnalysis",
iamActions: ["forecast:CreateWhatIfAnalysis"],
operation: forecast.createWhatIfAnalysis,
}),
);