Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- queryForecast_endDate :: Lens' QueryForecast (Maybe Text)
- queryForecast_startDate :: Lens' QueryForecast (Maybe Text)
- queryForecast_nextToken :: Lens' QueryForecast (Maybe Text)
- queryForecast_forecastArn :: Lens' QueryForecast Text
- queryForecast_filters :: Lens' QueryForecast (HashMap Text Text)
- queryForecastResponse_forecast :: Lens' QueryForecastResponse (Maybe Forecast)
- queryForecastResponse_httpStatus :: Lens' QueryForecastResponse Int
- dataPoint_value :: Lens' DataPoint (Maybe Double)
- dataPoint_timestamp :: Lens' DataPoint (Maybe Text)
- forecast_predictions :: Lens' Forecast (Maybe (HashMap Text [DataPoint]))
Operations
QueryForecast
queryForecast_endDate :: Lens' QueryForecast (Maybe Text) Source #
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_startDate :: Lens' QueryForecast (Maybe Text) Source #
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_nextToken :: Lens' QueryForecast (Maybe Text) Source #
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_forecastArn :: Lens' QueryForecast Text Source #
The Amazon Resource Name (ARN) of the forecast to query.
queryForecast_filters :: Lens' QueryForecast (HashMap Text Text) Source #
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.
queryForecastResponse_forecast :: Lens' QueryForecastResponse (Maybe Forecast) Source #
The forecast.
queryForecastResponse_httpStatus :: Lens' QueryForecastResponse Int Source #
The response's http status code.