Skip to content

DescribeWhatIfForecastExport

Source: src/AWS/Forecast/DescribeWhatIfForecastExport.ts

Runtime binding for forecast:DescribeWhatIfForecastExport — poll the status of a scenario-forecast export started with CreateWhatIfForecastExport until the files land in S3.

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

// init
const describeWhatIfForecastExport =
yield* AWS.Forecast.DescribeWhatIfForecastExport();
// runtime
const { Status } = yield* describeWhatIfForecastExport({
WhatIfForecastExportArn: exportArn,
});