libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling
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.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
Eq LoadForecast Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadForecast

Read LoadForecast Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadForecast

Show 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 #

NFData LoadForecast Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadForecast

Methods

rnf :: LoadForecast -> () #

Hashable LoadForecast Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadForecast

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" '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 time stamps 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 time stamps for the data points, in UTC format.

loadForecast_values :: Lens' LoadForecast [Double] Source #

The values of the data points.