Values.GetEC2InstanceRecommendationsResponseSourceReturns Amazon EC2 instance recommendations. Compute Optimizer generates recommendations for Amazon Elastic Compute Cloud (Amazon EC2) instances that meet a specific set of requirements. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide.
type nonrec t = {nextToken : NextToken.t option;The token to use to advance to the next page of instance recommendations. This value is null when there are no more pages of instance recommendations to return.
*)instanceRecommendations : InstanceRecommendations.t option;An array of objects that describe instance recommendations.
*)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 instance of an unsupported instance family.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InternalServerException of InternalServerException.t| `InvalidParameterValueException of InvalidParameterValueException.t| `MissingAuthenticationToken of MissingAuthenticationToken.t| `OptInRequiredException of OptInRequiredException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `Unknown_operation_error of string * string option ]val 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 ]val 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 ]val 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
[> `Enum of string
| `Structure of
(string
* [> `Double of MetricValue.t
| `Enum of string ])
list ]
list
| `String of InstanceType.t
| `Structure of
(string
* [> `Double of SavingsOpportunityPercentage.t
| `List of
[> `Structure of
(string * [> `Integer of GpuCount.t ])
list ]
list
| `Structure of
(string
* [> `Double of Value.t
| `Enum of string ])
list ])
list ])
list ]
list
| `String of InstanceArn.t
| `Structure of
(string
* [> `Enum of string
| `List of
[> `Enum of string
| `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 ExternalMetricStatusReason.t
| `Structure of
(string * [> `Enum of string ]) list ])
list
| `Timestamp of LastRefreshTimestamp.t ])
list ]
list
| `String of NextToken.t ])
list ]