Returns existing recommendation preferences, such as enhanced infrastructure metrics
Source:R/computeoptimizer_operations.R
computeoptimizer_get_recommendation_preferences.RdReturns existing recommendation preferences, such as enhanced infrastructure metrics.
See https://www.paws-r-sdk.com/docs/computeoptimizer_get_recommendation_preferences/ for full documentation.
Usage
computeoptimizer_get_recommendation_preferences(
resourceType,
scope = NULL,
nextToken = NULL,
maxResults = NULL
)Arguments
- resourceType
[required] The target resource type of the recommendation preference for which to return preferences.
The
Ec2Instanceoption encompasses standalone instances and instances that are part of Auto Scaling groups. TheAutoScalingGroupoption encompasses only instances that are part of an Auto Scaling group.- scope
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.
- nextToken
The token to advance to the next page of recommendation preferences.
- maxResults
The maximum number of recommendation preferences to return with a single request.
To retrieve the remaining results, make another request with the returned
nextTokenvalue.