DescribeAutoPredictor
Source:
src/AWS/Forecast/DescribeAutoPredictor.ts
Runtime binding for forecast:DescribeAutoPredictor — poll a training run
started by CreateAutoPredictor until its Status reaches ACTIVE
(or CREATE_FAILED) and read its estimated time remaining.
Predictor ARNs are created at runtime, so the binding takes no arguments
and grants forecast:DescribeAutoPredictor on *. Provide the
implementation with Effect.provide(AWS.Forecast.DescribeAutoPredictorHttp).
Training Predictors
Section titled “Training Predictors”// initconst describeAutoPredictor = yield* AWS.Forecast.DescribeAutoPredictor();
// runtimeconst detail = yield* describeAutoPredictor({ PredictorArn: predictor.PredictorArn!,});yield* Effect.log(`training ${detail.Status}`);