/AWS1/CL_COP=>GETEC2INSTRECOMMENDATIONS()
¶
About GetEC2InstanceRecommendations¶
Returns Amazon EC2 instance recommendations.
Compute Optimizer generates recommendations for Amazon Elastic Compute Cloud (Amazon EC2) instances 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_INSTANCEARNS
TYPE /AWS1/CL_COPINSTANCEARNS_W=>TT_INSTANCEARNS
TT_INSTANCEARNS
¶
The Amazon Resource Name (ARN) of the instances for which to return recommendations.
IV_NEXTTOKEN
TYPE /AWS1/COPNEXTTOKEN
/AWS1/COPNEXTTOKEN
¶
The token to advance to the next page of instance recommendations.
IV_MAXRESULTS
TYPE /AWS1/COPMAXRESULTS
/AWS1/COPMAXRESULTS
¶
The maximum number of instance 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_COPFILTER=>TT_FILTERS
TT_FILTERS
¶
An array of objects to specify a filter that returns a more specific list of instance recommendations.
IT_ACCOUNTIDS
TYPE /AWS1/CL_COPACCOUNTIDS_W=>TT_ACCOUNTIDS
TT_ACCOUNTIDS
¶
The ID of the Amazon Web Services account for which to return instance 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 instance recommendations.
Only one account ID can be specified per request.
IO_RECOMMENDATIONPREFERENCES
TYPE REF TO /AWS1/CL_COPRECOMMENDATIONPR01
/AWS1/CL_COPRECOMMENDATIONPR01
¶
An object to specify the preferences for the Amazon EC2 instance recommendations to return in the response.