Values.GetRecommendationPreferencesRequestSourceReturns existing recommendation preferences, such as enhanced infrastructure metrics. Use the scope parameter to specify which preferences to return. You can specify to return preferences for an organization, a specific account ID, or a specific EC2 instance or Auto Scaling group Amazon Resource Name (ARN). For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.
type nonrec t = {resourceType : ResourceType.t;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.
*)scope : Scope.t option;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 : NextToken.t option;The token to advance to the next page of recommendation preferences.
*)maxResults : MaxResults.t option;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.
*)}val make :
?scope:??? ->
?nextToken:??? ->
?maxResults:??? ->
resourceType:ResourceType.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Integer of MaxResults.t
| `String of NextToken.t
| `Structure of
(string * [> `Enum of string | `String of ScopeValue.t ]) list ])
list ]