amazonka-autoscaling-2.0: Amazon Auto Scaling SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AutoScaling.Types.LoadForecast

Description

 
Synopsis

Documentation

data LoadForecast Source #

A GetPredictiveScalingForecast call returns the load forecast for a predictive scaling policy. This structure includes the data points for that load forecast, along with the timestamps of those data points and the metric specification.

See: newLoadForecast smart constructor.

Constructors

LoadForecast' 

Fields

Instances

Instances details
FromXML LoadForecast Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadForecast

Generic LoadForecast Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadForecast

Associated Types

type Rep LoadForecast :: Type -> Type #

Read LoadForecast Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadForecast

Show LoadForecast Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadForecast

NFData LoadForecast Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadForecast

Methods

rnf :: LoadForecast -> () #

Eq LoadForecast Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadForecast

Hashable LoadForecast Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadForecast

type Rep LoadForecast Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadForecast

type Rep LoadForecast = D1 ('MetaData "LoadForecast" "Amazonka.AutoScaling.Types.LoadForecast" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "LoadForecast'" 'PrefixI 'True) (S1 ('MetaSel ('Just "timestamps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ISO8601]) :*: (S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Double]) :*: S1 ('MetaSel ('Just "metricSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PredictiveScalingMetricSpecification))))

newLoadForecast Source #

Create a value of LoadForecast 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:timestamps:LoadForecast', loadForecast_timestamps - The timestamps for the data points, in UTC format.

$sel:values:LoadForecast', loadForecast_values - The values of the data points.

$sel:metricSpecification:LoadForecast', loadForecast_metricSpecification - The metric specification for the load forecast.

loadForecast_timestamps :: Lens' LoadForecast [UTCTime] Source #

The timestamps for the data points, in UTC format.

loadForecast_values :: Lens' LoadForecast [Double] Source #

The values of the data points.