Values.GetEC2RecommendationProjectedMetricsRequestSourceReturns 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.
type nonrec t = {instanceArn : InstanceArn.t;The Amazon Resource Name (ARN) of the instances for which to return recommendation projected metrics.
*)stat : MetricStatistic.t;The statistic of the projected metrics.
*)period : Period.t;The granularity, in seconds, of the projected metrics data points.
*)startTime : Timestamp.t;The timestamp of the first projected metrics data point to return.
*)endTime : Timestamp.t;The timestamp of the last projected metrics data point to return.
*)recommendationPreferences : RecommendationPreferences.t option;An object to specify the preferences for the Amazon EC2 recommendation projected metrics to return in the response.
*)}val make :
?recommendationPreferences:??? ->
instanceArn:InstanceArn.t ->
stat:MetricStatistic.t ->
period:Period.t ->
startTime:Timestamp.t ->
endTime:Timestamp.t ->
unit ->
tval 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 ]