| Copyright | (c) 2013-2023 Brendan Hay | 
|---|---|
| License | Mozilla Public License, v. 2.0. | 
| Maintainer | Brendan Hay | 
| Stability | auto-generated | 
| Portability | non-portable (GHC extensions) | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
Amazonka.ForecastQuery.Types.Forecast
Description
Documentation
Provides information about a forecast. Returned as part of the QueryForecast response.
See: newForecast smart constructor.
Constructors
| Forecast' | |
Fields 
  | |
Instances
| FromJSON Forecast Source # | |
| Generic Forecast Source # | |
| Read Forecast Source # | |
| Show Forecast Source # | |
| NFData Forecast Source # | |
Defined in Amazonka.ForecastQuery.Types.Forecast  | |
| Eq Forecast Source # | |
| Hashable Forecast Source # | |
Defined in Amazonka.ForecastQuery.Types.Forecast  | |
| type Rep Forecast Source # | |
Defined in Amazonka.ForecastQuery.Types.Forecast type Rep Forecast = D1 ('MetaData "Forecast" "Amazonka.ForecastQuery.Types.Forecast" "amazonka-forecastquery-2.0-3Lqpl1IhCAMLRpShcclny5" 'False) (C1 ('MetaCons "Forecast'" 'PrefixI 'True) (S1 ('MetaSel ('Just "predictions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text [DataPoint])))))  | |
newForecast :: Forecast Source #
Create a value of Forecast with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:predictions:Forecast', forecast_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.
forecast_predictions :: Lens' Forecast (Maybe (HashMap Text [DataPoint])) Source #
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.