Skip to content

/AWS1/CL_COP=>GETEBSVOLUMERECOMMENDATIONS()

About GetEBSVolumeRecommendations

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.

Method Signature

IMPORTING

Optional arguments:

IT_VOLUMEARNS TYPE /AWS1/CL_COPVOLUMEARNS_W=>TT_VOLUMEARNS TT_VOLUMEARNS

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

IV_NEXTTOKEN TYPE /AWS1/COPNEXTTOKEN /AWS1/COPNEXTTOKEN

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

IV_MAXRESULTS TYPE /AWS1/COPMAXRESULTS /AWS1/COPMAXRESULTS

The maximum number of volume recommendations to return with a single request.

To retrieve the remaining results, make another request with the returned nextToken value.

IT_FILTERS TYPE /AWS1/CL_COPEBSFILTER=>TT_EBSFILTERS TT_EBSFILTERS

An array of objects to specify a filter that returns a more specific list of volume recommendations.

IT_ACCOUNTIDS TYPE /AWS1/CL_COPACCOUNTIDS_W=>TT_ACCOUNTIDS TT_ACCOUNTIDS

The ID of the Amazon Web Services account for which to return volume recommendations.

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.

Only one account ID can be specified per request.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_COPGETEBSVOLRECOMME01 /AWS1/CL_COPGETEBSVOLRECOMME01