Module Values.GetEC2RecommendationProjectedMetricsRequestSource

Returns the projected utilization metrics of Amazon EC2 instance recommendations. The Cpu and Memory metrics are the only projected utilization metrics returned when you run this 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. instanceArn : InstanceArn.t;
    (*

    The Amazon Resource Name (ARN) of the instances for which to return recommendation projected metrics.

    *)
  2. stat : MetricStatistic.t;
    (*

    The statistic of the projected metrics.

    *)
  3. period : Period.t;
    (*

    The granularity, in seconds, of the projected metrics data points.

    *)
  4. startTime : Timestamp.t;
    (*

    The timestamp of the first projected metrics data point to return.

    *)
  5. endTime : Timestamp.t;
    (*

    The timestamp of the last projected metrics data point to return.

    *)
  6. recommendationPreferences : RecommendationPreferences.t option;
    (*

    An object to specify the preferences for the Amazon EC2 recommendation projected metrics to return in the response.

    *)
}
Sourceval context_ : string
Sourceval make : ?recommendationPreferences:??? -> instanceArn:InstanceArn.t -> stat:MetricStatistic.t -> period:Period.t -> startTime:Timestamp.t -> endTime:Timestamp.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of Period.t | `String of InstanceArn.t | `Structure of (string * [> `List of [> `Enum of string ] list ]) list | `Timestamp of Timestamp.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