Module Values.GetRecommendationPreferencesRequestSource

Returns 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.

Sourcetype nonrec t = {
  1. 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.

    *)
  2. 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.

    *)
  3. nextToken : NextToken.t option;
    (*

    The token to advance to the next page of recommendation preferences.

    *)
  4. 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.

    *)
}
Sourceval context_ : string
Sourceval make : ?scope:??? -> ?nextToken:??? -> ?maxResults:??? -> resourceType:ResourceType.t -> unit -> t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t