Module Values.UsageDataSourceResultSource

Contains information on the result of usage based on data source type.

Sourcetype nonrec t = {
  1. dataSource : DataSource.t option;
    (*

    The data source type that generated usage.

    *)
  2. total : Total.t option;
    (*

    Represents the total of usage for the specified data source.

    *)
}
Sourceval make : ?dataSource:??? -> ?total:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `String of String_.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