Module Values.CreateUserGroupMessageSource

For Valkey engine version 7.2 onwards and Redis OSS 6.0 to 7.1: Creates a user group. For more information, see Using Role Based Access Control (RBAC)

Sourcetype nonrec t = {
  1. userGroupId : String_.t;
    (*

    The ID of the user group. This value is stored as a lowercase string.

    *)
  2. engine : EngineType.t;
    (*

    Sets the engine listed in a user group. The options are valkey or redis.

    *)
  3. userIds : UserIdListInput.t option;
    (*

    The list of user IDs that belong to the user group.

    *)
  4. tags : TagList.t option;
    (*

    A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted. Available for Valkey and Redis OSS only.

    *)
}
Sourceval context_ : string
Sourceval make : ?userIds:??? -> ?tags:??? -> userGroupId:String_.t -> engine:EngineType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of UserId.t | `Structure of (string * [> `String of String_.t ]) list ] list | `String of String_.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