Module Values.QueryDefinitionSource

This structure contains details about a saved CloudWatch Logs Insights query definition.

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. queryDefinitionId : QueryId.t option;
    (*

    The unique ID of the query definition.

    *)
  3. name : QueryDefinitionName.t option;
    (*

    The name of the query definition.

    *)
  4. queryString : QueryDefinitionString.t option;
    (*

    The query string to use for this definition. For more information, see CloudWatch Logs Insights Query Syntax.

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

    The date that the query definition was most recently modified.

    *)
  6. logGroupNames : LogGroupNames.t option;
    (*

    If this query definition contains a list of log groups that it is limited to, that list appears here.

    *)
  7. parameters : QueryParameterList.t option;
    (*

    If this query definition contains a list of query parameters that define placeholder variables for the query string, that list appears here.

    *)
}
Sourceval make : ?queryLanguage:??? -> ?queryDefinitionId:??? -> ?name:??? -> ?queryString:??? -> ?lastModified:??? -> ?logGroupNames:??? -> ?parameters:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `String of LogGroupName.t | `Structure of (string * [> `String of QueryParameterName.t ]) list ] list | `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