Module Values.LicenseRecommendationSource

Describes a license recommendation for an EC2 instance.

Sourcetype nonrec t = {
  1. resourceArn : ResourceArn.t option;
    (*

    The ARN that identifies the Amazon EC2 instance.

    *)
  2. accountId : AccountId.t option;
    (*

    The Amazon Web Services account ID of the license.

    *)
  3. currentLicenseConfiguration : LicenseConfiguration.t option;
    (*

    An object that describes the current configuration of an instance that runs on a license.

    *)
  4. lookbackPeriodInDays : LookBackPeriodInDays.t option;
    (*

    The number of days for which utilization metrics were analyzed for an instance that runs on a license.

    *)
  5. lastRefreshTimestamp : LastRefreshTimestamp.t option;
    (*

    The timestamp of when the license recommendation was last generated.

    *)
  6. 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.

    *)
  7. 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.

    *)
  8. licenseRecommendationOptions : LicenseRecommendationOptions.t option;
    (*

    An array of objects that describe the license recommendation options.

    *)
  9. tags : Tags.t option;
    (*

    A list of tags assigned to an EC2 instance.

    *)
}
Sourceval make : ?resourceArn:??? -> ?accountId:??? -> ?currentLicenseConfiguration:??? -> ?lookbackPeriodInDays:??? -> ?lastRefreshTimestamp:??? -> ?finding:??? -> ?findingReasonCodes:??? -> ?licenseRecommendationOptions:??? -> ?tags:??? -> unit -> t
Sourceval 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 ]
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