libZSservicesZSamazonka-autoscaling-plansZSamazonka-autoscaling-plans
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.AutoScalingPlans.Types.Datapoint

Description

 
Synopsis

Documentation

data Datapoint Source #

Represents a single value in the forecast data used for predictive scaling.

See: newDatapoint smart constructor.

Constructors

Datapoint' 

Fields

Instances

Instances details
Eq Datapoint Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.Types.Datapoint

Read Datapoint Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.Types.Datapoint

Show Datapoint Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.Types.Datapoint

Generic Datapoint Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.Types.Datapoint

Associated Types

type Rep Datapoint :: Type -> Type #

NFData Datapoint Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.Types.Datapoint

Methods

rnf :: Datapoint -> () #

Hashable Datapoint Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.Types.Datapoint

FromJSON Datapoint Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.Types.Datapoint

type Rep Datapoint Source # 
Instance details

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.

datapoint_value :: Lens' Datapoint (Maybe Double) Source #

The value of the data point.

datapoint_timestamp :: Lens' Datapoint (Maybe UTCTime) Source #

The time stamp for the data point in UTC format.