Module Values.QueryParameterSource

This structure defines a query parameter for a saved CloudWatch Logs Insights query definition. Query parameters are supported only for Logs Insights QL queries. They are placeholder variables that you can reference in a query string using the {{parameterName}} syntax. Each parameter can include a default value and a description.

Sourcetype nonrec t = {
  1. name : QueryParameterName.t;
    (*

    The name of the query parameter. A query parameter name must start with a letter or underscore, and contain only letters, digits, and underscores.

    *)
  2. defaultValue : QueryParameterDefaultValue.t option;
    (*

    The default value to use for this query parameter if no value is supplied at execution time.

    *)
  3. description : QueryParameterDescription.t option;
    (*

    A description of the query parameter that explains its purpose or expected values.

    *)
}
Sourceval context_ : string
Sourceval make : ?defaultValue:??? -> ?description:??? -> name:QueryParameterName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of QueryParameterName.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