Values.GetPredictiveScalingForecastAnswerSourceRetrieves the forecast data for a predictive scaling policy. Load forecasts are predictions of the hourly load values using historical load data from CloudWatch and an analysis of historical trends. Capacity forecasts are represented as predicted values for the minimum capacity that is needed on an hourly basis, based on the hourly load forecast. A minimum of 24 hours of data is required to create the initial forecasts. However, having a full 14 days of historical data results in more accurate forecasts. For more information, see Predictive scaling for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.
type getPredictiveScalingForecastResult = {loadForecast : LoadForecasts.t option;The load forecast.
*)capacityForecast : CapacityForecast.t option;The capacity forecast.
*)updateTime : TimestampType.t option;The time the forecast was made.
*)}and t = {getPredictiveScalingForecastResult : getPredictiveScalingForecastResult;responseMetaData : responseMetaData;}type error = [ | `ResourceContentionFault of ResourceContentionFault.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `ResourceContentionFault of ResourceContentionFault.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `ResourceContentionFault of ResourceContentionFault.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `List of
[> `Double of MetricScale.t
| `Timestamp of TimestampType.t ]
list
| `Structure of
(string
* [> `Double of MetricScale.t
| `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `Boolean of ReturnData.t
| `String of
XmlStringMaxLen255.t
| `Structure of
(string
* [> `String of
XmlStringMetricStat.t
| `Structure of
(string
* [> `List of
[>
`Structure of
(string
*
[>
`String of
MetricDimensionName.t ])
list ]
list
| `String of
MetricNamespace.t ])
list ])
list ])
list ]
list
| `String of XmlStringMaxLen1023.t ])
list ])
list ])
list ]
list
| `Structure of
(string
* [> `List of
[> `Double of MetricScale.t
| `Timestamp of TimestampType.t ]
list ])
list
| `Timestamp of TimestampType.t ])
list ])
list ]