Module Values.ConsolidatedReportMetricSource

A metric that contributes to the consolidated report.

Sourcetype nonrec t = {
  1. metricType : MetricType.t option;
    (*

    The metric type of a metric in the consolidated report. Currently only WORKLOAD metric types are supported.

    *)
  2. riskCounts : RiskCounts.t option;
  3. workloadId : WorkloadId.t option;
  4. workloadName : WorkloadName.t option;
  5. workloadArn : WorkloadArn.t option;
  6. updatedAt : Timestamp.t option;
  7. lenses : LensMetrics.t option;
    (*

    The metrics for the lenses in the workload.

    *)
  8. lensesAppliedCount : LensesAppliedCount.t option;
    (*

    The total number of lenses applied to the workload.

    *)
}
Sourceval make : ?metricType:??? -> ?riskCounts:??? -> ?workloadId:??? -> ?workloadName:??? -> ?workloadArn:??? -> ?updatedAt:??? -> ?lenses:??? -> ?lensesAppliedCount:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of LensesAppliedCount.t | `List of [> `Structure of (string * [> `List of [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of ChoiceId.t ]) list ] list | `String of QuestionId.t ]) list ] list | `Map of ([> `Enum of string ] * [> `Integer of Count.t ]) list | `String of PillarId.t ]) list ] list | `Map of ([> `Enum of string ] * [> `Integer of Count.t ]) list | `String of LensArn.t ]) list ] list | `Map of ([> `Enum of string ] * [> `Integer of Count.t ]) list | `String of WorkloadId.t | `Timestamp of Timestamp.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