Module Values.UserSource

Describes a user in the user pool.

Sourcetype nonrec t = {
  1. arn : Arn.t option;
    (*

    The ARN of the user.

    *)
  2. userName : Username.t option;
    (*

    The email address of the user. Users' email addresses are case-sensitive.

    *)
  3. enabled : Boolean.t option;
    (*

    Specifies whether the user in the user pool is enabled.

    *)
  4. status : String_.t option;
    (*

    The status of the user in the user pool. The status can be one of the following: UNCONFIRMED – The user is created but not confirmed. CONFIRMED – The user is confirmed. ARCHIVED – The user is no longer active. COMPROMISED – The user is disabled because of a potential security threat. UNKNOWN – The user status is not known.

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

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

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

    The last name, or surname, of the user.

    *)
  7. createdTime : Timestamp.t option;
    (*

    The date and time the user was created in the user pool.

    *)
  8. authenticationType : AuthenticationType.t option;
    (*

    The authentication type for the user.

    *)
}
Sourceval make : ?arn:Arn.t -> ?userName:Username.t -> ?enabled:Boolean.t -> ?status:String_.t -> ?firstName:UserAttributeValue.t -> ?lastName:UserAttributeValue.t -> ?createdTime:Timestamp.t -> ?authenticationType:AuthenticationType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `String of Arn.t | `Timestamp of Timestamp.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