v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1421274230.6 KB

Returns the projected metrics of Amazon ECS service recommendations.

post/#X-Amz-Target=ComputeOptimizerService.GetECSServiceRecommendationProjectedMetrics

Headers

X-Amz-Target'ComputeOptimizerService.GetECSServiceRecommendationProjectedMetrics' required

Request body

serviceArnstring required
<p> The ARN that identifies the Amazon ECS service. </p> <p> The following is the format of the ARN: </p> <p> <code>arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name</code> </p>
stat'Maximum' | 'Average' required

The statistic of the projected metrics.

periodinteger required

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

startTimestring date-time required

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

endTimestring date-time required

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

Response

Success