Module Values.GetIdleRecommendationsResponseSource

Returns idle resource recommendations. Compute Optimizer generates recommendations for idle resources that meet a specific set of requirements. For more information, see Resource requirements in the Compute Optimizer User Guide

Sourcetype nonrec t = {
  1. nextToken : NextToken.t option;
    (*

    The token to advance to the next page of idle resource recommendations.

    *)
  2. idleRecommendations : IdleRecommendations.t option;
    (*

    An array of objects that describe the idle resource recommendations.

    *)
  3. errors : IdleRecommendationErrors.t option;
    (*

    An array of objects that describe errors of the request.

    *)
}
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:??? -> ?idleRecommendations:??? -> ?errors:??? -> 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 * [> `Double of LookBackPeriodInDays.t | `Enum of string | `List of [> `Structure of (string * [> `Double of MetricValue.t | `Enum of string | `String of TagKey.t ]) list ] list | `String of ResourceArn.t | `Structure of (string * [> `Double of SavingsOpportunityPercentage.t | `Structure of (string * [> `Double of Value.t | `Enum of string ]) list ]) list | `Timestamp of LastRefreshTimestamp.t ]) 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