Values.UserSourceFor Valkey engine version 7.2 onwards and Redis OSS 6.0 to 7.1: Creates a user. For more information, see Using Role Based Access Control (RBAC).
type createUserResult = {userId : String_.t option;The ID of the user.
*)userName : String_.t option;The username of the user.
*)status : String_.t option;Indicates the user status. Can be "active", "modifying" or "deleting".
*)engine : EngineType.t option;The options are valkey or redis.
*)minimumEngineVersion : String_.t option;The minimum engine version required, which is Redis OSS 6.0
*)accessString : String_.t option;Access permissions string used for this user.
*)userGroupIds : UserGroupIdList.t option;Returns a list of the user group IDs the user belongs to.
*)authentication : Authentication.t option;Denotes whether the user requires a password to authenticate.
*)aRN : String_.t option;The Amazon Resource Name (ARN) of the user.
*)}type error = [ | `DuplicateUserNameFault of DuplicateUserNameFault.t| `InvalidParameterCombinationException of InvalidParameterCombinationException.t| `InvalidParameterValueException of InvalidParameterValueException.t| `ServiceLinkedRoleNotFoundFault of ServiceLinkedRoleNotFoundFault.t| `TagQuotaPerResourceExceeded of TagQuotaPerResourceExceeded.t| `UserAlreadyExistsFault of UserAlreadyExistsFault.t| `UserQuotaExceededFault of UserQuotaExceededFault.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `DuplicateUserNameFault of unit
| `InvalidParameterCombinationException of
InvalidParameterCombinationException.t
| `InvalidParameterValueException of InvalidParameterValueException.t
| `ServiceLinkedRoleNotFoundFault of unit
| `TagQuotaPerResourceExceeded of unit
| `Unknown_operation_error of string * string option
| `UserAlreadyExistsFault of unit
| `UserQuotaExceededFault of unit ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `DuplicateUserNameFault of unit
| `InvalidParameterCombinationException of
InvalidParameterCombinationException.t
| `InvalidParameterValueException of InvalidParameterValueException.t
| `ServiceLinkedRoleNotFoundFault of unit
| `TagQuotaPerResourceExceeded of unit
| `Unknown_operation_error of string * string option
| `UserAlreadyExistsFault of unit
| `UserQuotaExceededFault of unit ]val to_value :
t ->
[> `Structure of
(string
* [> `Structure of
(string
* [> `List of [> `String of UserGroupId.t ] list
| `String of String_.t
| `Structure of
(string
* [> `Enum of string | `Integer of IntegerOptional.t ])
list ])
list ])
list ]