Module Values.ExecuteQueryRequestSource

Run SQL queries to retrieve metadata and time-series data from asset models, assets, measurements, metrics, transforms, and aggregates.

Sourcetype nonrec t = {
  1. queryStatement : QueryStatement.t;
    (*

    The IoT SiteWise query statement.

    *)
  2. nextToken : ExecuteQueryNextToken.t option;
    (*

    The string that specifies the next page of results.

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

    The maximum number of results to return at one time. Minimum is 1 Maximum is 20000 Default is 20000

    *)
  4. clientToken : ClientToken.t option;
    (*

    A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.

    *)
}
Sourceval context_ : string
Sourceval make : ?nextToken:??? -> ?maxResults:??? -> ?clientToken:??? -> queryStatement:QueryStatement.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of ExecuteQueryMaxResults.t | `String of QueryStatement.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