Module Values.RecommendedOptionProjectedMetricSource

Describes a projected utilization metric of a recommendation option. The Cpu and Memory metrics are the only projected utilization metrics returned when you run the GetEC2RecommendationProjectedMetrics action. Additionally, the Memory metric is returned only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent.

Sourcetype nonrec t = {
  1. recommendedInstanceType : RecommendedInstanceType.t option;
    (*

    The recommended instance type.

    *)
  2. rank : Rank.t option;
    (*

    The rank of the recommendation option projected metric. The top recommendation option is ranked as 1. The projected metric rank correlates to the recommendation option rank. For example, the projected metric ranked as 1 is related to the recommendation option that is also ranked as 1 in the same response.

    *)
  3. projectedMetrics : ProjectedMetrics.t option;
    (*

    An array of objects that describe a projected utilization metric.

    *)
}
Sourceval make : ?recommendedInstanceType:??? -> ?rank:??? -> ?projectedMetrics:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Rank.t | `List of [> `Structure of (string * [> `Enum of string | `List of [> `Double of MetricValue.t | `Timestamp of Timestamp.t ] list ]) list ] list | `String of RecommendedInstanceType.t ]) 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