/AWS1/CL_COP=>GETEC2RECOMMENDATIONPROJEC00()
¶
About GetEC2RecommendationProjectedMetrics¶
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.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_INSTANCEARN
TYPE /AWS1/COPINSTANCEARN
/AWS1/COPINSTANCEARN
¶
The Amazon Resource Name (ARN) of the instances for which to return recommendation projected metrics.
IV_STAT
TYPE /AWS1/COPMETRICSTATISTIC
/AWS1/COPMETRICSTATISTIC
¶
The statistic of the projected metrics.
IV_PERIOD
TYPE /AWS1/COPPERIOD
/AWS1/COPPERIOD
¶
The granularity, in seconds, of the projected metrics data points.
IV_STARTTIME
TYPE /AWS1/COPTIMESTAMP
/AWS1/COPTIMESTAMP
¶
The timestamp of the first projected metrics data point to return.
IV_ENDTIME
TYPE /AWS1/COPTIMESTAMP
/AWS1/COPTIMESTAMP
¶
The timestamp of the last projected metrics data point to return.
Optional arguments:¶
IO_RECOMMENDATIONPREFERENCES
TYPE REF TO /AWS1/CL_COPRECOMMENDATIONPR01
/AWS1/CL_COPRECOMMENDATIONPR01
¶
An object to specify the preferences for the Amazon EC2 recommendation projected metrics to return in the response.