Module Values.QueryInfoSource

Information about one CloudWatch Logs Insights query that matches the request in a DescribeQueries operation.

Sourcetype nonrec t = {
  1. queryLanguage : QueryLanguage.t option;
    (*

    The query language used for this query. For more information about the query languages that CloudWatch Logs supports, see Supported query languages.

    *)
  2. queryId : QueryId.t option;
    (*

    The unique ID number of this query.

    *)
  3. queryString : QueryString.t option;
    (*

    The query string used in this query.

    *)
  4. status : QueryStatus.t option;
    (*

    The status of this query. Possible values are Cancelled, Complete, Failed, Running, Scheduled, and Unknown.

    *)
  5. createTime : Timestamp.t option;
    (*

    The date and time that this query was created.

    *)
  6. logGroupName : LogGroupName.t option;
    (*

    The name of the log group scanned by this query.

    *)
  7. queryDuration : QueryDuration.t option;
    (*

    The duration in milliseconds that the query took to execute.

    *)
  8. bytesScanned : BytesScannedValue.t option;
    (*

    The total number of bytes scanned by the query. This indicates the cost associated with the query.

    *)
  9. userIdentity : UserIdentity.t option;
    (*

    The ARN of the user who ran the query.

    *)
}
Sourceval make : ?queryLanguage:??? -> ?queryId:??? -> ?queryString:??? -> ?status:??? -> ?createTime:??? -> ?logGroupName:??? -> ?queryDuration:??? -> ?bytesScanned:??? -> ?userIdentity:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of BytesScannedValue.t | `Enum of string | `Long of Timestamp.t | `String of QueryId.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