Module Values.CreateUserRequestSource

Creates a new user in the user pool.

Sourcetype nonrec t = {
  1. userName : Username.t;
    (*

    The email address of the user. Users' email addresses are case-sensitive. During login, if they specify an email address that doesn't use the same capitalization as the email address specified when their user pool account was created, a "user does not exist" error message displays.

    *)
  2. messageAction : MessageAction.t option;
    (*

    The action to take for the welcome email that is sent to a user after the user is created in the user pool. If you specify SUPPRESS, no email is sent. If you specify RESEND, do not specify the first name or last name of the user. If the value is null, the email is sent. The temporary password in the welcome email is valid for only 7 days. If users donโ€™t set their passwords within 7 days, you must send them a new welcome email.

    *)
  3. firstName : UserAttributeValue.t option;
    (*

    The first name, or given name, of the user.

    *)
  4. lastName : UserAttributeValue.t option;
    (*

    The last name, or surname, of the user.

    *)
  5. authenticationType : AuthenticationType.t;
    (*

    The authentication type for the user. You must specify USERPOOL.

    *)
}
Sourceval context_ : string
Sourceval make : ?messageAction:??? -> ?firstName:??? -> ?lastName:??? -> userName:Username.t -> authenticationType:AuthenticationType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of Username.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