Skip to content

DescribeForecastExportJob

Source: src/AWS/Forecast/DescribeForecastExportJob.ts

Runtime binding for forecast:DescribeForecastExportJob — poll the status of a forecast export started with CreateForecastExportJob until the files land in S3.

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

// init
const describeForecastExportJob =
yield* AWS.Forecast.DescribeForecastExportJob();
// runtime
const { Status } = yield* describeForecastExportJob({
ForecastExportJobArn: exportJobArn,
});