Module Values.GetPredictiveScalingForecastAnswerSource

Retrieves 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.

Sourcetype getPredictiveScalingForecastResult = {
  1. loadForecast : LoadForecasts.t option;
    (*

    The load forecast.

    *)
  2. capacityForecast : CapacityForecast.t option;
    (*

    The capacity forecast.

    *)
  3. updateTime : TimestampType.t option;
    (*

    The time the forecast was made.

    *)
}
Sourceand responseMetaData = unit
Sourceand t = {
  1. getPredictiveScalingForecastResult : getPredictiveScalingForecastResult;
  2. responseMetaData : responseMetaData;
}
Sourcetype error = [
  1. | `ResourceContentionFault of ResourceContentionFault.t
  2. | `Unknown_operation_error of string * string option
]
Sourceval context_ : string
Sourceval make : ?loadForecast:??? -> ?capacityForecast:??? -> ?updateTime:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ResourceContentionFault of ResourceContentionFault.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ResourceContentionFault of ResourceContentionFault.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t