DescribeForecast
Source:
src/AWS/Forecast/DescribeForecast.ts
Runtime binding for forecast:DescribeForecast — poll a forecast
generation started by CreateForecast until its Status reaches
ACTIVE and it becomes queryable.
Forecast ARNs are created at runtime, so the binding takes no arguments
and grants forecast:DescribeForecast on *. Provide the implementation
with Effect.provide(AWS.Forecast.DescribeForecastHttp).
Generating Forecasts
Section titled “Generating Forecasts”// initconst describeForecast = yield* AWS.Forecast.DescribeForecast();
// runtimeconst detail = yield* describeForecast({ ForecastArn: generated.ForecastArn!,});yield* Effect.log(`forecast ${detail.Status}`);