Module Values.GetRightsizingRecommendationResponseSource

Creates recommendations that help you save cost by identifying idle and underutilized Amazon EC2 instances. Recommendations are generated to either downsize or terminate instances, along with providing savings detail and metrics. For more information about calculation and function, see Optimizing Your Cost with Rightsizing Recommendations in the Billing and Cost Management User Guide.

Sourcetype nonrec t = {
  1. metadata : RightsizingRecommendationMetadata.t option;
    (*

    Information regarding this specific recommendation set.

    *)
  2. summary : RightsizingRecommendationSummary.t option;
    (*

    Summary of this recommendation set.

    *)
  3. rightsizingRecommendations : RightsizingRecommendationList.t option;
    (*

    Recommendations to rightsize resources.

    *)
  4. nextPageToken : NextPageToken.t option;
    (*

    The token to retrieve the next set of results.

    *)
  5. configuration : RightsizingRecommendationConfiguration.t option;
    (*

    You can use Configuration to customize recommendations across two attributes. You can choose to view recommendations for instances within the same instance families or across different instance families. You can also choose to view your estimated savings that are associated with recommendations with consideration of existing Savings Plans or RI benefits, or neither.

    *)
}
Sourcetype nonrec error = [
  1. | `InvalidNextTokenException of InvalidNextTokenException.t
  2. | `LimitExceededException of LimitExceededException.t
  3. | `Unknown_operation_error of string * string option
]
Sourceval make : ?metadata:??? -> ?summary:??? -> ?rightsizingRecommendations:??? -> ?nextPageToken:??? -> ?configuration:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidNextTokenException of InvalidNextTokenException.t | `LimitExceededException of LimitExceededException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidNextTokenException of InvalidNextTokenException.t | `LimitExceededException of LimitExceededException.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 [> `Enum of string ] list | `String of GenericString.t | `Structure of (string * [> `List of [> `Structure of (string * [> `Boolean of GenericBoolean.t | `List of [> `Enum of string | `String of Value.t ] list | `String of TagKey.t | `Structure of (string * [> `Structure of (string * [> `String of GenericString.t | `Structure of (string * [> `String of GenericString.t ]) list ]) list ]) list ]) list ] list | `String of GenericString.t | `Structure of (string * [> `Structure of (string * [> `String of GenericString.t | `Structure of (string * [> `String of GenericString.t ]) list ]) list ]) list ]) list ]) list ] list | `String of NextPageToken.t | `Structure of (string * [> `Boolean of GenericBoolean.t | `Enum of string | `String of GenericString.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