Module Values.PrincipalSource

Provides user and group information used for filtering documents to use for generating Amazon Q Business conversation responses.

Sourcetype nonrec t = {
  1. user : PrincipalUser.t option;
    (*

    The user associated with the principal.

    *)
  2. group : PrincipalGroup.t option;
    (*

    The group associated with the principal.

    *)
}
Sourceval make : ?user:??? -> ?group:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `String of UserId.t ]) list ]) 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