Skip to content

CreateForecast

Source: src/AWS/Forecast/CreateForecast.ts

Runtime binding for forecast:CreateForecast — generate a fresh forecast from a trained predictor, the scheduled step that keeps the queryable forecast current after each retraining or data import.

Forecast ARNs are created at runtime, so the binding takes no arguments and grants forecast:CreateForecast on *. Provide the implementation with Effect.provide(AWS.Forecast.CreateForecastHttp).

// init
const createForecast = yield* AWS.Forecast.CreateForecast();
// runtime
const generated = yield* createForecast({
ForecastName: "demand_2026_07_14",
PredictorArn: predictorArn,
});