Skip to content

Forecast

Source code in docs_src/capo_forecastquery/types/forecast.py
class Forecast(TypedDict, closed=True):
    predictions: NotRequired["capo_forecastquery.types.predictions.Predictions"]
    """<p>The forecast.</p> <p>The <i>string</i> of the string-to-array map is one of the following values:</p> <ul> <li> <p>p10</p> </li> <li> <p>p50</p> </li> <li> <p>p90</p> </li> </ul> <p>The default setting is <code>["0.1", "0.5", "0.9"]</code>. Use the optional <code>ForecastTypes</code> parameter of the <a href="https://docs.aws.amazon.com/forecast/latest/dg/API_CreateForecast.html">CreateForecast</a> operation to change the values. The values will vary depending on how this is set, with a minimum of <code>1</code> and a maximum of <code>5.</code> </p>"""

predictions instance-attribute

predictions: NotRequired[Predictions]

The forecast.

The string of the string-to-array map is one of the following values:

  • p10

  • p50

  • p90

The default setting is ["0.1", "0.5", "0.9"]. Use the optional ForecastTypes parameter of the CreateForecast operation to change the values. The values will vary depending on how this is set, with a minimum of 1 and a maximum of 5.