Skip to content

/AWS1/CL_COP=>GETAUTOSCGRPRECOMMENDATIONS()

About GetAutoScalingGroupRecommendations

Returns Auto Scaling group recommendations.

Compute Optimizer generates recommendations for Amazon EC2 Auto Scaling groups 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_ACCOUNTIDS TYPE /AWS1/CL_COPACCOUNTIDS_W=>TT_ACCOUNTIDS TT_ACCOUNTIDS

The ID of the Amazon Web Services account for which to return Auto Scaling group 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 Auto Scaling group recommendations.

Only one account ID can be specified per request.

IT_AUTOSCALINGGROUPARNS TYPE /AWS1/CL_COPAUTOSCGROUPARNS_W=>TT_AUTOSCALINGGROUPARNS TT_AUTOSCALINGGROUPARNS

The Amazon Resource Name (ARN) of the Auto Scaling groups for which to return recommendations.

IV_NEXTTOKEN TYPE /AWS1/COPNEXTTOKEN /AWS1/COPNEXTTOKEN

The token to advance to the next page of Auto Scaling group recommendations.

IV_MAXRESULTS TYPE /AWS1/COPMAXRESULTS /AWS1/COPMAXRESULTS

The maximum number of Auto Scaling group 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 Auto Scaling group recommendations.

IO_RECOMMENDATIONPREFERENCES TYPE REF TO /AWS1/CL_COPRECOMMENDATIONPR01 /AWS1/CL_COPRECOMMENDATIONPR01

An object to specify the preferences for the Auto Scaling group recommendations to return in the response.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_COPGETASGRRECOMMEND01 /AWS1/CL_COPGETASGRRECOMMEND01