| 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.AutoScalingPlans.Types.Datapoint
Description
Synopsis
- data Datapoint = Datapoint' {}
- newDatapoint :: Datapoint
- datapoint_timestamp :: Lens' Datapoint (Maybe UTCTime)
- datapoint_value :: Lens' Datapoint (Maybe Double)
Documentation
Represents a single value in the forecast data used for predictive scaling.
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.AutoScalingPlans.Types.Datapoint | |
| Eq Datapoint Source # | |
| Hashable Datapoint Source # | |
Defined in Amazonka.AutoScalingPlans.Types.Datapoint | |
| type Rep Datapoint Source # | |
Defined in Amazonka.AutoScalingPlans.Types.Datapoint type Rep Datapoint = D1 ('MetaData "Datapoint" "Amazonka.AutoScalingPlans.Types.Datapoint" "amazonka-autoscaling-plans-2.0-1ffFjJ7hnaH6GMb2VoWJfu" 'False) (C1 ('MetaCons "Datapoint'" 'PrefixI 'True) (S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: 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 time stamp for the data point in UTC format.
$sel:value:Datapoint', datapoint_value - The value of the data point.