Module Values.RuleSource

Guardrail rules for an Amazon Q Business application. Amazon Q Business supports only one rule at a time.

Sourcetype nonrec t = {
  1. includedUsersAndGroups : UsersAndGroups.t option;
    (*

    Users and groups to be included in a rule.

    *)
  2. excludedUsersAndGroups : UsersAndGroups.t option;
    (*

    Users and groups to be excluded from a rule.

    *)
  3. ruleType : RuleType.t;
    (*

    The type of rule.

    *)
  4. ruleConfiguration : RuleConfiguration.t option;
    (*

    The configuration information for a rule.

    *)
}
Sourceval context_ : string
Sourceval make : ?includedUsersAndGroups:??? -> ?excludedUsersAndGroups:??? -> ?ruleConfiguration:??? -> ruleType:RuleType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `List of [> `String of String_.t ] list | `Structure of (string * [> `List of [> `Structure of (string * [> `String of IndexId.t ]) list ] list | `String of SystemMessageOverride.t ]) list ]) 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