-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Amazon Forecast Query Service SDK. -- -- Derived from API version 2018-06-26 of the AWS service -- descriptions, licensed under Apache 2.0. -- -- The types from this library are intended to be used with -- amazonka, which provides mechanisms for specifying AuthN/AuthZ -- information, sending requests, and receiving responses. -- -- It is recommended to use generic lenses or optics from packages such -- as generic-lens or optics to modify optional fields and -- deconstruct responses. -- -- Generated lenses can be found in Amazonka.ForecastQuery.Lens -- and are suitable for use with a lens package such as lens or -- lens-family-core. -- -- See Amazonka.ForecastQuery and the AWS documentation to -- get started. @package amazonka-forecastquery @version 2.0 module Amazonka.ForecastQuery.Types.DataPoint -- | The forecast value for a specific date. Part of the Forecast object. -- -- See: newDataPoint smart constructor. data DataPoint DataPoint' :: Maybe Text -> Maybe Double -> DataPoint -- | The timestamp of the specific forecast. [$sel:timestamp:DataPoint'] :: DataPoint -> Maybe Text -- | The forecast value. [$sel:value:DataPoint'] :: DataPoint -> Maybe Double -- | 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:timestamp:DataPoint', dataPoint_timestamp - The -- timestamp of the specific forecast. -- -- $sel:value:DataPoint', dataPoint_value - The forecast -- value. newDataPoint :: DataPoint -- | The timestamp of the specific forecast. dataPoint_timestamp :: Lens' DataPoint (Maybe Text) -- | The forecast value. dataPoint_value :: Lens' DataPoint (Maybe Double) instance GHC.Generics.Generic Amazonka.ForecastQuery.Types.DataPoint.DataPoint instance GHC.Show.Show Amazonka.ForecastQuery.Types.DataPoint.DataPoint instance GHC.Read.Read Amazonka.ForecastQuery.Types.DataPoint.DataPoint instance GHC.Classes.Eq Amazonka.ForecastQuery.Types.DataPoint.DataPoint instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ForecastQuery.Types.DataPoint.DataPoint instance Data.Hashable.Class.Hashable Amazonka.ForecastQuery.Types.DataPoint.DataPoint instance Control.DeepSeq.NFData Amazonka.ForecastQuery.Types.DataPoint.DataPoint module Amazonka.ForecastQuery.Types.Forecast -- | Provides information about a forecast. Returned as part of the -- QueryForecast response. -- -- See: newForecast smart constructor. data Forecast Forecast' :: Maybe (HashMap Text [DataPoint]) -> Forecast -- | The forecast. -- -- The string of the string-to-array map is one of the following -- values: -- --
-- {"item_id" : "client_21"}
--
--
-- To get the full what-if forecast, use the
-- CreateForecastExportJob operation.
[$sel:filters:QueryWhatIfForecast'] :: QueryWhatIfForecast -> HashMap Text Text
-- | Create a value of QueryWhatIfForecast 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:endDate:QueryWhatIfForecast',
-- queryWhatIfForecast_endDate - The end date for the what-if
-- forecast. Specify the date using this format: yyyy-MM-dd'T'HH:mm:ss
-- (ISO 8601 format). For example, 2015-01-01T20:00:00.
--
-- $sel:nextToken:QueryWhatIfForecast',
-- queryWhatIfForecast_nextToken - If the result of the previous
-- request was truncated, the response includes a NextToken. To
-- retrieve the next set of results, use the token in the next request.
-- Tokens expire after 24 hours.
--
-- $sel:startDate:QueryWhatIfForecast',
-- queryWhatIfForecast_startDate - The start date for the what-if
-- forecast. Specify the date using this format: yyyy-MM-dd'T'HH:mm:ss
-- (ISO 8601 format). For example, 2015-01-01T08:00:00.
--
-- $sel:whatIfForecastArn:QueryWhatIfForecast',
-- queryWhatIfForecast_whatIfForecastArn - The Amazon Resource
-- Name (ARN) of the what-if forecast to query.
--
-- $sel:filters:QueryWhatIfForecast',
-- queryWhatIfForecast_filters - The filtering criteria to apply
-- when retrieving the forecast. For example, to get the forecast for
-- client_21 in the electricity usage dataset, specify the
-- following:
--
--
-- {"item_id" : "client_21"}
--
--
-- To get the full what-if forecast, use the
-- CreateForecastExportJob operation.
newQueryWhatIfForecast :: Text -> QueryWhatIfForecast
-- | The end date for the what-if forecast. Specify the date using this
-- format: yyyy-MM-dd'T'HH:mm:ss (ISO 8601 format). For example,
-- 2015-01-01T20:00:00.
queryWhatIfForecast_endDate :: Lens' QueryWhatIfForecast (Maybe Text)
-- | If the result of the previous request was truncated, the response
-- includes a NextToken. To retrieve the next set of results,
-- use the token in the next request. Tokens expire after 24 hours.
queryWhatIfForecast_nextToken :: Lens' QueryWhatIfForecast (Maybe Text)
-- | The start date for the what-if forecast. Specify the date using this
-- format: yyyy-MM-dd'T'HH:mm:ss (ISO 8601 format). For example,
-- 2015-01-01T08:00:00.
queryWhatIfForecast_startDate :: Lens' QueryWhatIfForecast (Maybe Text)
-- | The Amazon Resource Name (ARN) of the what-if forecast to query.
queryWhatIfForecast_whatIfForecastArn :: Lens' QueryWhatIfForecast Text
-- | The filtering criteria to apply when retrieving the forecast. For
-- example, to get the forecast for client_21 in the electricity
-- usage dataset, specify the following:
--
--
-- {"item_id" : "client_21"}
--
--
-- To get the full what-if forecast, use the
-- CreateForecastExportJob operation.
queryWhatIfForecast_filters :: Lens' QueryWhatIfForecast (HashMap Text Text)
-- | See: newQueryWhatIfForecastResponse smart constructor.
data QueryWhatIfForecastResponse
QueryWhatIfForecastResponse' :: Maybe Forecast -> Int -> QueryWhatIfForecastResponse
[$sel:forecast:QueryWhatIfForecastResponse'] :: QueryWhatIfForecastResponse -> Maybe Forecast
-- | The response's http status code.
[$sel:httpStatus:QueryWhatIfForecastResponse'] :: QueryWhatIfForecastResponse -> Int
-- | Create a value of QueryWhatIfForecastResponse 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:forecast:QueryWhatIfForecastResponse',
-- queryWhatIfForecastResponse_forecast - Undocumented member.
--
-- $sel:httpStatus:QueryWhatIfForecastResponse',
-- queryWhatIfForecastResponse_httpStatus - The response's http
-- status code.
newQueryWhatIfForecastResponse :: Int -> QueryWhatIfForecastResponse
-- | Undocumented member.
queryWhatIfForecastResponse_forecast :: Lens' QueryWhatIfForecastResponse (Maybe Forecast)
-- | The response's http status code.
queryWhatIfForecastResponse_httpStatus :: Lens' QueryWhatIfForecastResponse Int
instance GHC.Generics.Generic Amazonka.ForecastQuery.QueryWhatIfForecast.QueryWhatIfForecast
instance GHC.Show.Show Amazonka.ForecastQuery.QueryWhatIfForecast.QueryWhatIfForecast
instance GHC.Read.Read Amazonka.ForecastQuery.QueryWhatIfForecast.QueryWhatIfForecast
instance GHC.Classes.Eq Amazonka.ForecastQuery.QueryWhatIfForecast.QueryWhatIfForecast
instance GHC.Generics.Generic Amazonka.ForecastQuery.QueryWhatIfForecast.QueryWhatIfForecastResponse
instance GHC.Show.Show Amazonka.ForecastQuery.QueryWhatIfForecast.QueryWhatIfForecastResponse
instance GHC.Read.Read Amazonka.ForecastQuery.QueryWhatIfForecast.QueryWhatIfForecastResponse
instance GHC.Classes.Eq Amazonka.ForecastQuery.QueryWhatIfForecast.QueryWhatIfForecastResponse
instance Amazonka.Types.AWSRequest Amazonka.ForecastQuery.QueryWhatIfForecast.QueryWhatIfForecast
instance Control.DeepSeq.NFData Amazonka.ForecastQuery.QueryWhatIfForecast.QueryWhatIfForecastResponse
instance Data.Hashable.Class.Hashable Amazonka.ForecastQuery.QueryWhatIfForecast.QueryWhatIfForecast
instance Control.DeepSeq.NFData Amazonka.ForecastQuery.QueryWhatIfForecast.QueryWhatIfForecast
instance Amazonka.Data.Headers.ToHeaders Amazonka.ForecastQuery.QueryWhatIfForecast.QueryWhatIfForecast
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ForecastQuery.QueryWhatIfForecast.QueryWhatIfForecast
instance Amazonka.Data.Path.ToPath Amazonka.ForecastQuery.QueryWhatIfForecast.QueryWhatIfForecast
instance Amazonka.Data.Query.ToQuery Amazonka.ForecastQuery.QueryWhatIfForecast.QueryWhatIfForecast
-- | Retrieves a forecast for a single item, filtered by the supplied
-- criteria.
--
-- The criteria is a key-value pair. The key is either item_id
-- (or the equivalent non-timestamp, non-target field) from the
-- TARGET_TIME_SERIES dataset, or one of the forecast dimensions
-- specified as part of the FeaturizationConfig object.
--
-- By default, QueryForecast returns the complete date range for
-- the filtered forecast. You can request a specific date range.
--
-- To get the full forecast, use the CreateForecastExportJob
-- operation.
--
-- The forecasts generated by Amazon Forecast are in the same timezone as
-- the dataset that was used to create the predictor.
module Amazonka.ForecastQuery.QueryForecast
-- | See: newQueryForecast smart constructor.
data QueryForecast
QueryForecast' :: Maybe Text -> Maybe Text -> Maybe Text -> Text -> HashMap Text Text -> QueryForecast
-- | The end date for the forecast. Specify the date using this format:
-- yyyy-MM-dd'T'HH:mm:ss (ISO 8601 format). For example,
-- 2015-01-01T20:00:00.
[$sel:endDate:QueryForecast'] :: QueryForecast -> Maybe Text
-- | If the result of the previous request was truncated, the response
-- includes a NextToken. To retrieve the next set of results,
-- use the token in the next request. Tokens expire after 24 hours.
[$sel:nextToken:QueryForecast'] :: QueryForecast -> Maybe Text
-- | The start date for the forecast. Specify the date using this format:
-- yyyy-MM-dd'T'HH:mm:ss (ISO 8601 format). For example,
-- 2015-01-01T08:00:00.
[$sel:startDate:QueryForecast'] :: QueryForecast -> Maybe Text
-- | The Amazon Resource Name (ARN) of the forecast to query.
[$sel:forecastArn:QueryForecast'] :: QueryForecast -> Text
-- | The filtering criteria to apply when retrieving the forecast. For
-- example, to get the forecast for client_21 in the electricity
-- usage dataset, specify the following:
--
--
-- {"item_id" : "client_21"}
--
--
-- To get the full forecast, use the CreateForecastExportJob
-- operation.
[$sel:filters:QueryForecast'] :: QueryForecast -> HashMap Text Text
-- | Create a value of QueryForecast 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:endDate:QueryForecast', queryForecast_endDate - The
-- end date for the forecast. Specify the date using this format:
-- yyyy-MM-dd'T'HH:mm:ss (ISO 8601 format). For example,
-- 2015-01-01T20:00:00.
--
-- $sel:nextToken:QueryForecast', queryForecast_nextToken -
-- If the result of the previous request was truncated, the response
-- includes a NextToken. To retrieve the next set of results,
-- use the token in the next request. Tokens expire after 24 hours.
--
-- $sel:startDate:QueryForecast', queryForecast_startDate -
-- The start date for the forecast. Specify the date using this format:
-- yyyy-MM-dd'T'HH:mm:ss (ISO 8601 format). For example,
-- 2015-01-01T08:00:00.
--
-- $sel:forecastArn:QueryForecast',
-- queryForecast_forecastArn - The Amazon Resource Name (ARN) of
-- the forecast to query.
--
-- $sel:filters:QueryForecast', queryForecast_filters - The
-- filtering criteria to apply when retrieving the forecast. For example,
-- to get the forecast for client_21 in the electricity usage
-- dataset, specify the following:
--
--
-- {"item_id" : "client_21"}
--
--
-- To get the full forecast, use the CreateForecastExportJob
-- operation.
newQueryForecast :: Text -> QueryForecast
-- | The end date for the forecast. Specify the date using this format:
-- yyyy-MM-dd'T'HH:mm:ss (ISO 8601 format). For example,
-- 2015-01-01T20:00:00.
queryForecast_endDate :: Lens' QueryForecast (Maybe Text)
-- | If the result of the previous request was truncated, the response
-- includes a NextToken. To retrieve the next set of results,
-- use the token in the next request. Tokens expire after 24 hours.
queryForecast_nextToken :: Lens' QueryForecast (Maybe Text)
-- | The start date for the forecast. Specify the date using this format:
-- yyyy-MM-dd'T'HH:mm:ss (ISO 8601 format). For example,
-- 2015-01-01T08:00:00.
queryForecast_startDate :: Lens' QueryForecast (Maybe Text)
-- | The Amazon Resource Name (ARN) of the forecast to query.
queryForecast_forecastArn :: Lens' QueryForecast Text
-- | The filtering criteria to apply when retrieving the forecast. For
-- example, to get the forecast for client_21 in the electricity
-- usage dataset, specify the following:
--
--
-- {"item_id" : "client_21"}
--
--
-- To get the full forecast, use the CreateForecastExportJob
-- operation.
queryForecast_filters :: Lens' QueryForecast (HashMap Text Text)
-- | See: newQueryForecastResponse smart constructor.
data QueryForecastResponse
QueryForecastResponse' :: Maybe Forecast -> Int -> QueryForecastResponse
-- | The forecast.
[$sel:forecast:QueryForecastResponse'] :: QueryForecastResponse -> Maybe Forecast
-- | The response's http status code.
[$sel:httpStatus:QueryForecastResponse'] :: QueryForecastResponse -> Int
-- | Create a value of QueryForecastResponse 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:forecast:QueryForecastResponse',
-- queryForecastResponse_forecast - The forecast.
--
-- $sel:httpStatus:QueryForecastResponse',
-- queryForecastResponse_httpStatus - The response's http status
-- code.
newQueryForecastResponse :: Int -> QueryForecastResponse
-- | The forecast.
queryForecastResponse_forecast :: Lens' QueryForecastResponse (Maybe Forecast)
-- | The response's http status code.
queryForecastResponse_httpStatus :: Lens' QueryForecastResponse Int
instance GHC.Generics.Generic Amazonka.ForecastQuery.QueryForecast.QueryForecast
instance GHC.Show.Show Amazonka.ForecastQuery.QueryForecast.QueryForecast
instance GHC.Read.Read Amazonka.ForecastQuery.QueryForecast.QueryForecast
instance GHC.Classes.Eq Amazonka.ForecastQuery.QueryForecast.QueryForecast
instance GHC.Generics.Generic Amazonka.ForecastQuery.QueryForecast.QueryForecastResponse
instance GHC.Show.Show Amazonka.ForecastQuery.QueryForecast.QueryForecastResponse
instance GHC.Read.Read Amazonka.ForecastQuery.QueryForecast.QueryForecastResponse
instance GHC.Classes.Eq Amazonka.ForecastQuery.QueryForecast.QueryForecastResponse
instance Amazonka.Types.AWSRequest Amazonka.ForecastQuery.QueryForecast.QueryForecast
instance Control.DeepSeq.NFData Amazonka.ForecastQuery.QueryForecast.QueryForecastResponse
instance Data.Hashable.Class.Hashable Amazonka.ForecastQuery.QueryForecast.QueryForecast
instance Control.DeepSeq.NFData Amazonka.ForecastQuery.QueryForecast.QueryForecast
instance Amazonka.Data.Headers.ToHeaders Amazonka.ForecastQuery.QueryForecast.QueryForecast
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ForecastQuery.QueryForecast.QueryForecast
instance Amazonka.Data.Path.ToPath Amazonka.ForecastQuery.QueryForecast.QueryForecast
instance Amazonka.Data.Query.ToQuery Amazonka.ForecastQuery.QueryForecast.QueryForecast
module Amazonka.ForecastQuery.Lens
-- | The end date for the forecast. Specify the date using this format:
-- yyyy-MM-dd'T'HH:mm:ss (ISO 8601 format). For example,
-- 2015-01-01T20:00:00.
queryForecast_endDate :: Lens' QueryForecast (Maybe Text)
-- | If the result of the previous request was truncated, the response
-- includes a NextToken. To retrieve the next set of results,
-- use the token in the next request. Tokens expire after 24 hours.
queryForecast_nextToken :: Lens' QueryForecast (Maybe Text)
-- | The start date for the forecast. Specify the date using this format:
-- yyyy-MM-dd'T'HH:mm:ss (ISO 8601 format). For example,
-- 2015-01-01T08:00:00.
queryForecast_startDate :: Lens' QueryForecast (Maybe Text)
-- | The Amazon Resource Name (ARN) of the forecast to query.
queryForecast_forecastArn :: Lens' QueryForecast Text
-- | The filtering criteria to apply when retrieving the forecast. For
-- example, to get the forecast for client_21 in the electricity
-- usage dataset, specify the following:
--
--
-- {"item_id" : "client_21"}
--
--
-- To get the full forecast, use the CreateForecastExportJob
-- operation.
queryForecast_filters :: Lens' QueryForecast (HashMap Text Text)
-- | The forecast.
queryForecastResponse_forecast :: Lens' QueryForecastResponse (Maybe Forecast)
-- | The response's http status code.
queryForecastResponse_httpStatus :: Lens' QueryForecastResponse Int
-- | The end date for the what-if forecast. Specify the date using this
-- format: yyyy-MM-dd'T'HH:mm:ss (ISO 8601 format). For example,
-- 2015-01-01T20:00:00.
queryWhatIfForecast_endDate :: Lens' QueryWhatIfForecast (Maybe Text)
-- | If the result of the previous request was truncated, the response
-- includes a NextToken. To retrieve the next set of results,
-- use the token in the next request. Tokens expire after 24 hours.
queryWhatIfForecast_nextToken :: Lens' QueryWhatIfForecast (Maybe Text)
-- | The start date for the what-if forecast. Specify the date using this
-- format: yyyy-MM-dd'T'HH:mm:ss (ISO 8601 format). For example,
-- 2015-01-01T08:00:00.
queryWhatIfForecast_startDate :: Lens' QueryWhatIfForecast (Maybe Text)
-- | The Amazon Resource Name (ARN) of the what-if forecast to query.
queryWhatIfForecast_whatIfForecastArn :: Lens' QueryWhatIfForecast Text
-- | The filtering criteria to apply when retrieving the forecast. For
-- example, to get the forecast for client_21 in the electricity
-- usage dataset, specify the following:
--
--
-- {"item_id" : "client_21"}
--
--
-- To get the full what-if forecast, use the
-- CreateForecastExportJob operation.
queryWhatIfForecast_filters :: Lens' QueryWhatIfForecast (HashMap Text Text)
-- | Undocumented member.
queryWhatIfForecastResponse_forecast :: Lens' QueryWhatIfForecastResponse (Maybe Forecast)
-- | The response's http status code.
queryWhatIfForecastResponse_httpStatus :: Lens' QueryWhatIfForecastResponse Int
-- | The timestamp of the specific forecast.
dataPoint_timestamp :: Lens' DataPoint (Maybe Text)
-- | The forecast value.
dataPoint_value :: Lens' DataPoint (Maybe Double)
-- | The forecast.
--
-- The string of the string-to-array map is one of the following
-- values:
--
--
-- {"item_id" : "client_21"}
--
--
-- To get the full forecast, use the CreateForecastExportJob
-- operation.
newQueryForecast :: Text -> QueryForecast
-- | See: newQueryForecastResponse smart constructor.
data QueryForecastResponse
QueryForecastResponse' :: Maybe Forecast -> Int -> QueryForecastResponse
-- | Create a value of QueryForecastResponse 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:forecast:QueryForecastResponse',
-- queryForecastResponse_forecast - The forecast.
--
-- $sel:httpStatus:QueryForecastResponse',
-- queryForecastResponse_httpStatus - The response's http status
-- code.
newQueryForecastResponse :: Int -> QueryForecastResponse
-- | See: newQueryWhatIfForecast smart constructor.
data QueryWhatIfForecast
QueryWhatIfForecast' :: Maybe Text -> Maybe Text -> Maybe Text -> Text -> HashMap Text Text -> QueryWhatIfForecast
-- | Create a value of QueryWhatIfForecast 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:endDate:QueryWhatIfForecast',
-- queryWhatIfForecast_endDate - The end date for the what-if
-- forecast. Specify the date using this format: yyyy-MM-dd'T'HH:mm:ss
-- (ISO 8601 format). For example, 2015-01-01T20:00:00.
--
-- $sel:nextToken:QueryWhatIfForecast',
-- queryWhatIfForecast_nextToken - If the result of the previous
-- request was truncated, the response includes a NextToken. To
-- retrieve the next set of results, use the token in the next request.
-- Tokens expire after 24 hours.
--
-- $sel:startDate:QueryWhatIfForecast',
-- queryWhatIfForecast_startDate - The start date for the what-if
-- forecast. Specify the date using this format: yyyy-MM-dd'T'HH:mm:ss
-- (ISO 8601 format). For example, 2015-01-01T08:00:00.
--
-- $sel:whatIfForecastArn:QueryWhatIfForecast',
-- queryWhatIfForecast_whatIfForecastArn - The Amazon Resource
-- Name (ARN) of the what-if forecast to query.
--
-- $sel:filters:QueryWhatIfForecast',
-- queryWhatIfForecast_filters - The filtering criteria to apply
-- when retrieving the forecast. For example, to get the forecast for
-- client_21 in the electricity usage dataset, specify the
-- following:
--
--
-- {"item_id" : "client_21"}
--
--
-- To get the full what-if forecast, use the
-- CreateForecastExportJob operation.
newQueryWhatIfForecast :: Text -> QueryWhatIfForecast
-- | See: newQueryWhatIfForecastResponse smart constructor.
data QueryWhatIfForecastResponse
QueryWhatIfForecastResponse' :: Maybe Forecast -> Int -> QueryWhatIfForecastResponse
-- | Create a value of QueryWhatIfForecastResponse 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:forecast:QueryWhatIfForecastResponse',
-- queryWhatIfForecastResponse_forecast - Undocumented member.
--
-- $sel:httpStatus:QueryWhatIfForecastResponse',
-- queryWhatIfForecastResponse_httpStatus - The response's http
-- status code.
newQueryWhatIfForecastResponse :: Int -> QueryWhatIfForecastResponse
-- | The forecast value for a specific date. Part of the Forecast object.
--
-- See: newDataPoint smart constructor.
data DataPoint
DataPoint' :: Maybe Text -> Maybe Double -> DataPoint
-- | 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:timestamp:DataPoint', dataPoint_timestamp - The
-- timestamp of the specific forecast.
--
-- $sel:value:DataPoint', dataPoint_value - The forecast
-- value.
newDataPoint :: DataPoint
-- | Provides information about a forecast. Returned as part of the
-- QueryForecast response.
--
-- See: newForecast smart constructor.
data Forecast
Forecast' :: Maybe (HashMap Text [DataPoint]) -> Forecast
-- | 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:
--
--