| 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.DataPoint
Description
Synopsis
- data DataPoint = DataPoint' {}
 - newDataPoint :: DataPoint
 - dataPoint_timestamp :: Lens' DataPoint (Maybe Text)
 - dataPoint_value :: Lens' DataPoint (Maybe Double)
 
Documentation
The forecast value for a specific date. Part of the Forecast object.
See: newDataPoint smart constructor.
Constructors
| DataPoint' | |
Instances
| FromJSON DataPoint Source # | |
| Generic DataPoint Source # | |
| Read DataPoint Source # | |
| Show DataPoint Source # | |
| NFData DataPoint Source # | |
Defined in Amazonka.ForecastQuery.Types.DataPoint  | |
| Eq DataPoint Source # | |
| Hashable DataPoint Source # | |
Defined in Amazonka.ForecastQuery.Types.DataPoint  | |
| type Rep DataPoint Source # | |
Defined in Amazonka.ForecastQuery.Types.DataPoint type Rep DataPoint = D1 ('MetaData "DataPoint" "Amazonka.ForecastQuery.Types.DataPoint" "amazonka-forecastquery-2.0-3Lqpl1IhCAMLRpShcclny5" 'False) (C1 ('MetaCons "DataPoint'" 'PrefixI 'True) (S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))))  | |
newDataPoint :: DataPoint Source #
Create a value of DataPoint 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:timestamp:DataPoint', dataPoint_timestamp - The timestamp of the specific forecast.
$sel:value:DataPoint', dataPoint_value - The forecast value.