Module Values.GetAutoScalingGroupRecommendationsResponseSource

Returns Auto Scaling group recommendations. Compute Optimizer generates recommendations for Amazon EC2 Auto Scaling groups that meet a specific set of requirements. For more information, see the Supported resources and requirements 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 Auto Scaling group recommendations. This value is null when there are no more pages of Auto Scaling group recommendations to return.

    *)
  2. autoScalingGroupRecommendations : AutoScalingGroupRecommendations.t option;
    (*

    An array of objects that describe Auto Scaling group recommendations.

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

    An array of objects that describe errors of the request. For example, an error is returned if you request recommendations for an unsupported Auto Scaling group.

    *)
}
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:??? -> ?autoScalingGroupRecommendations:??? -> ?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 [> `Enum of string | `Structure of (string * [> `Double of MetricValue.t | `Enum of string | `Integer of Rank.t | `List of [> `Structure of (string * [> `Double of MetricValue.t | `Enum of string ]) list ] list | `Structure of (string * [> `Double of NullableEstimatedInstanceHourReductionPercentage.t | `Enum of string | `Integer of DesiredCapacity.t | `List of [> `String of MixedInstanceType.t | `Structure of (string * [> `Integer of GpuCount.t ]) list ] list | `String of NullableInstanceType.t | `Structure of (string * [> `Double of Value.t | `Enum of string ]) list ]) list ]) list ] list | `String of AccountId.t | `Structure of (string * [> `Double of NullableEstimatedInstanceHourReductionPercentage.t | `Enum of string | `Integer of DesiredCapacity.t | `List of [> `Enum of string | `String of MixedInstanceType.t | `Structure of (string * [> `Enum of string | `Integer of GpuCount.t | `List of [> `String of PreferredResourceValue.t ] list | `Structure of (string * [> `Enum of string ]) list ]) list ] list | `String of NullableInstanceType.t | `Structure of (string * [> `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