Returns existing recommendation preferences, such as enhanced infrastructure metrics.
See https://www.paws-r-sdk.com/docs/computeoptimizer_get_recommendation_preferences/ for full documentation.
computeoptimizer_get_recommendation_preferences(
resourceType,
scope = NULL,
nextToken = NULL,
maxResults = NULL
)
[required] The target resource type of the recommendation preference for which to return preferences.
The Ec2Instance
option encompasses standalone instances and instances
that are part of Auto Scaling groups. The AutoScalingGroup
option
encompasses only instances that are part of an Auto Scaling group.
An object that describes the scope of the recommendation preference to return.
You can return recommendation preferences that are created at the organization level (for management accounts of an organization only), account level, and resource level. For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.
The token to advance to the next page of recommendation preferences.
The maximum number of recommendation preferences to return with a single request.
To retrieve the remaining results, make another request with the
returned nextToken
value.