Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Datapoint = Datapoint' {}
- newDatapoint :: Datapoint
- datapoint_value :: Lens' Datapoint (Maybe Double)
- datapoint_timestamp :: Lens' Datapoint (Maybe UTCTime)
Documentation
Represents a single value in the forecast data used for predictive scaling.
See: newDatapoint
smart constructor.
Instances
Eq Datapoint Source # | |
Read Datapoint Source # | |
Show Datapoint Source # | |
Generic Datapoint Source # | |
NFData Datapoint Source # | |
Defined in Amazonka.AutoScalingPlans.Types.Datapoint | |
Hashable Datapoint Source # | |
Defined in Amazonka.AutoScalingPlans.Types.Datapoint | |
FromJSON Datapoint Source # | |
type Rep Datapoint Source # | |
Defined in Amazonka.AutoScalingPlans.Types.Datapoint type Rep Datapoint = D1 ('MetaData "Datapoint" "Amazonka.AutoScalingPlans.Types.Datapoint" "libZSservicesZSamazonka-autoscaling-plansZSamazonka-autoscaling-plans" 'False) (C1 ('MetaCons "Datapoint'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) |
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:value:Datapoint'
, datapoint_value
- The value of the data point.
$sel:timestamp:Datapoint'
, datapoint_timestamp
- The time stamp for the data point in UTC format.