Values.LicenseRecommendationSourceDescribes a license recommendation for an EC2 instance.
type nonrec t = {resourceArn : ResourceArn.t option;The ARN that identifies the Amazon EC2 instance.
*)accountId : AccountId.t option;The Amazon Web Services account ID of the license.
*)currentLicenseConfiguration : LicenseConfiguration.t option;An object that describes the current configuration of an instance that runs on a license.
*)lookbackPeriodInDays : LookBackPeriodInDays.t option;The number of days for which utilization metrics were analyzed for an instance that runs on a license.
*)lastRefreshTimestamp : LastRefreshTimestamp.t option;The timestamp of when the license recommendation was last generated.
*)finding : LicenseFinding.t option;The finding classification for an instance that runs on a license. Findings include: InsufficentMetrics — When Compute Optimizer detects that your CloudWatch Application Insights isn't enabled or is enabled with insufficient permissions. NotOptimized — When Compute Optimizer detects that your EC2 infrastructure isn't using any of the SQL server license features you're paying for, a license is considered not optimized. Optimized — When Compute Optimizer detects that all specifications of your license meet the performance requirements of your workload.
*)findingReasonCodes : LicenseFindingReasonCodes.t option;The reason for the finding classification for an instance that runs on a license. Finding reason codes include: Optimized — All specifications of your license meet the performance requirements of your workload. LicenseOverprovisioned — A license is considered over-provisioned when your license can be downgraded while still meeting the performance requirements of your workload. InvalidCloudwatchApplicationInsights — CloudWatch Application Insights isn't configured properly. CloudwatchApplicationInsightsError — There is a CloudWatch Application Insights error.
*)licenseRecommendationOptions : LicenseRecommendationOptions.t option;An array of objects that describe the license recommendation options.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Double of LookBackPeriodInDays.t
| `Enum of string
| `List of
[> `Enum of string
| `Structure of
(string
* [> `Enum of string
| `Integer of Rank.t
| `String of OperatingSystem.t
| `Structure of
(string
* [> `Double of SavingsOpportunityPercentage.t
| `Structure of
(string * [> `Double of Value.t | `Enum of string ])
list ])
list ])
list ]
list
| `String of ResourceArn.t
| `Structure of
(string
* [> `Enum of string
| `Integer of NumberOfCores.t
| `List of
[> `Structure of
(string
* [> `Enum of string | `String of MetricProviderArn.t ])
list ]
list
| `String of InstanceType.t ])
list
| `Timestamp of LastRefreshTimestamp.t ])
list ]