Module Values.RecommendationPreferencesDetailSource

Describes a recommendation preference.

Sourcetype nonrec t = {
  1. scope : Scope.t option;
    (*

    An object that describes the scope of the recommendation preference. Recommendation preferences can be created at the organization level (for management accounts of an organization only), account level, and resource level. For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.

    *)
  2. resourceType : ResourceType.t option;
    (*

    The target resource type of the recommendation preference to create. The Ec2Instance option encompasses standalone instances and instances that are part of Auto Scaling groups. The AutoScalingGroup option encompasses only instances that are part of an Auto Scaling group.

    *)
  3. enhancedInfrastructureMetrics : EnhancedInfrastructureMetrics.t option;
    (*

    The status of the enhanced infrastructure metrics recommendation preference. When the recommendations page is refreshed, a status of Active confirms that the preference is applied to the recommendations, and a status of Inactive confirms that the preference isn't yet applied to recommendations. For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.

    *)
  4. inferredWorkloadTypes : InferredWorkloadTypesPreference.t option;
    (*

    The status of the inferred workload types recommendation preference. When the recommendations page is refreshed, a status of Active confirms that the preference is applied to the recommendations, and a status of Inactive confirms that the preference isn't yet applied to recommendations.

    *)
  5. externalMetricsPreference : ExternalMetricsPreference.t option;
    (*

    An object that describes the external metrics recommendation preference. If the preference is applied in the latest recommendation refresh, an object with a valid source value appears in the response. If the preference isn't applied to the recommendations already, then this object doesn't appear in the response.

    *)
  6. lookBackPeriod : LookBackPeriodPreference.t option;
    (*

    The preference to control the number of days the utilization metrics of the Amazon Web Services resource are analyzed. If the preference isn’t set, this object is null.

    *)
  7. utilizationPreferences : UtilizationPreferences.t option;
    (*

    The preference to control the resource’s CPU utilization threshold, CPU utilization headroom, and memory utilization headroom. If the preference isn’t set, this object is null. This preference is only available for the Amazon EC2 instance resource type.

    *)
  8. preferredResources : EffectivePreferredResources.t option;
    (*

    The preference to control which resource type values are considered when generating rightsizing recommendations. This object resolves any wildcard expressions and returns the effective list of candidate resource type values. If the preference isn’t set, this object is null.

    *)
  9. savingsEstimationMode : SavingsEstimationMode.t option;
    (*

    Describes the savings estimation mode used for calculating savings opportunity. Only the account manager or delegated administrator of your organization can activate this preference.

    *)
}
Sourceval make : ?scope:??? -> ?resourceType:??? -> ?enhancedInfrastructureMetrics:??? -> ?inferredWorkloadTypes:??? -> ?externalMetricsPreference:??? -> ?lookBackPeriod:??? -> ?utilizationPreferences:??? -> ?preferredResources:??? -> ?savingsEstimationMode:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `List of [> `String of PreferredResourceValue.t ] list | `Structure of (string * [> `Enum of string ]) list ]) list ] list | `Structure of (string * [> `Enum of string | `String of ScopeValue.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