libZSservicesZSamazonka-forecastqueryZSamazonka-forecastquery
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.ForecastQuery.Types.Forecast

Description

 
Synopsis

Documentation

data Forecast Source #

Provides information about a forecast. Returned as part of the QueryForecast response.

See: newForecast smart constructor.

Constructors

Forecast' 

Fields

Instances

Instances details
Eq Forecast Source # 
Instance details

Defined in Amazonka.ForecastQuery.Types.Forecast

Read Forecast Source # 
Instance details

Defined in Amazonka.ForecastQuery.Types.Forecast

Show Forecast Source # 
Instance details

Defined in Amazonka.ForecastQuery.Types.Forecast

Generic Forecast Source # 
Instance details

Defined in Amazonka.ForecastQuery.Types.Forecast

Associated Types

type Rep Forecast :: Type -> Type #

Methods

from :: Forecast -> Rep Forecast x #

to :: Rep Forecast x -> Forecast #

NFData Forecast Source # 
Instance details

Defined in Amazonka.ForecastQuery.Types.Forecast

Methods

rnf :: Forecast -> () #

Hashable Forecast Source # 
Instance details

Defined in Amazonka.ForecastQuery.Types.Forecast

Methods

hashWithSalt :: Int -> Forecast -> Int #

hash :: Forecast -> Int #

FromJSON Forecast Source # 
Instance details

Defined in Amazonka.ForecastQuery.Types.Forecast

type Rep Forecast Source # 
Instance details

Defined in Amazonka.ForecastQuery.Types.Forecast

type Rep Forecast = D1 ('MetaData "Forecast" "Amazonka.ForecastQuery.Types.Forecast" "libZSservicesZSamazonka-forecastqueryZSamazonka-forecastquery" 'False) (C1 ('MetaCons "Forecast'" 'PrefixI 'True) (S1 ('MetaSel ('Just "predictions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text [DataPoint])))))

newForecast :: Forecast Source #

Create a value of Forecast 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:predictions:Forecast', forecast_predictions - The forecast.

The string of the string-to-array map is one of the following values:

  • p10
  • p50
  • p90

forecast_predictions :: Lens' Forecast (Maybe (HashMap Text [DataPoint])) Source #

The forecast.

The string of the string-to-array map is one of the following values:

  • p10
  • p50
  • p90