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