Module Values.GetRecommendationPreferencesResponseSource

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. nextToken : NextToken.t option;
    (*

    The token to use to advance to the next page of recommendation preferences. This value is null when there are no more pages of recommendation preferences to return.

    *)
  2. recommendationPreferencesDetails : RecommendationPreferencesDetails.t option;
    (*

    An array of objects that describe recommendation preferences.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InternalServerException of InternalServerException.t
  3. | `InvalidParameterValueException of InvalidParameterValueException.t
  4. | `MissingAuthenticationToken of MissingAuthenticationToken.t
  5. | `OptInRequiredException of OptInRequiredException.t
  6. | `ResourceNotFoundException of ResourceNotFoundException.t
  7. | `ServiceUnavailableException of ServiceUnavailableException.t
  8. | `ThrottlingException of ThrottlingException.t
  9. | `Unknown_operation_error of string * string option
]
Sourceval make : ?nextToken:??? -> ?recommendationPreferencesDetails:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServerException of InternalServerException.t | `InvalidParameterValueException of InvalidParameterValueException.t | `MissingAuthenticationToken of MissingAuthenticationToken.t | `OptInRequiredException of OptInRequiredException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceUnavailableException of ServiceUnavailableException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServerException of InternalServerException.t | `InvalidParameterValueException of InvalidParameterValueException.t | `MissingAuthenticationToken of MissingAuthenticationToken.t | `OptInRequiredException of OptInRequiredException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceUnavailableException of ServiceUnavailableException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `List of [> `String of PreferredResourceValue.t ] list | `Structure of (string * [> `Enum of string ]) list ]) list ] list | `Structure of (string * [> `Enum of string | `String of ScopeValue.t ]) list ]) list ] list | `String of NextToken.t ]) 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