Module Values_0.QuerySessionContextSource

A structure used as a protocol between query engines and Lake Formation or Glue. Contains both a Lake Formation generated authorization identifier and information from the request's authorization context.

Sourcetype nonrec t = {
  1. queryId : HashString.t option;
    (*

    A unique identifier generated by the query engine for the query.

    *)
  2. queryStartTime : Timestamp.t option;
    (*

    A timestamp provided by the query engine for when the query started.

    *)
  3. clusterId : NullableString.t option;
    (*

    An identifier string for the consumer cluster.

    *)
  4. queryAuthorizationId : HashString.t option;
    (*

    A cryptographically generated query identifier generated by Glue or Lake Formation.

    *)
  5. additionalContext : AdditionalContextMap.t option;
    (*

    An opaque string-string map passed by the query engine.

    *)
}
Sourceval make : ?queryId:??? -> ?queryStartTime:??? -> ?clusterId:??? -> ?queryAuthorizationId:??? -> ?additionalContext:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Map of ([> `String of ContextKey.t ] * [> `String of ContextValue.t ]) list | `String of HashString.t | `Timestamp of Timestamp.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