v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1421274230.6 KB

Returns Amazon Elastic Block Store (Amazon EBS) volume recommendations.

Compute Optimizer generates recommendations for Amazon EBS volumes that meet a specific set of requirements. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide.

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

Headers

X-Amz-Target'ComputeOptimizerService.GetEBSVolumeRecommendations' required

Request body

volumeArnsVolumeArn[]

The Amazon Resource Name (ARN) of the volumes for which to return recommendations.

nextTokenstring

The token to advance to the next page of volume recommendations.

maxResultsinteger
<p>The maximum number of volume recommendations to return with a single request.</p> <p>To retrieve the remaining results, make another request with the returned <code>nextToken</code> value.</p>
accountIdsAccountId[]
<p>The ID of the Amazon Web Services account for which to return volume recommendations.</p> <p>If your account is the management account of an organization, use this parameter to specify the member account for which you want to return volume recommendations.</p> <p>Only one account ID can be specified per request.</p>

Response

Success

nextTokenstring
<p>The token to use to advance to the next page of volume recommendations.</p> <p>This value is null when there are no more pages of volume recommendations to return.</p>