Module Values.DescribeQueriesRequestSource

Returns a list of CloudWatch Logs Insights queries that are scheduled, running, or have been run recently in this account. You can request all queries or limit it to queries of a specific log group or queries with a certain status. This operation includes both interactive queries started directly by users and automated queries executed by scheduled query configurations. Scheduled query executions appear in the results alongside manually initiated queries, providing visibility into all query activity in your account.

Sourcetype nonrec t = {
  1. logGroupName : LogGroupName.t option;
    (*

    Limits the returned queries to only those for the specified log group.

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

    Limits the returned queries to only those that have the specified status. Valid values are Cancelled, Complete, Failed, Running, and Scheduled.

    *)
  3. maxResults : DescribeQueriesMaxResults.t option;
    (*

    Limits the number of returned queries to the specified number.

    *)
  4. nextToken : NextToken.t option;
  5. queryLanguage : QueryLanguage.t option;
    (*

    Limits the returned queries to only the queries that use the specified query language.

    *)
}
Sourceval make : ?logGroupName:??? -> ?status:??? -> ?maxResults:??? -> ?nextToken:??? -> ?queryLanguage:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of DescribeQueriesMaxResults.t | `String of LogGroupName.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