| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AppStream.Types.User
Description
Synopsis
- data User = User' {}
- newUser :: AuthenticationType -> User
- user_arn :: Lens' User (Maybe Text)
- user_createdTime :: Lens' User (Maybe UTCTime)
- user_enabled :: Lens' User (Maybe Bool)
- user_firstName :: Lens' User (Maybe Text)
- user_lastName :: Lens' User (Maybe Text)
- user_status :: Lens' User (Maybe Text)
- user_userName :: Lens' User (Maybe Text)
- user_authenticationType :: Lens' User AuthenticationType
Documentation
Describes a user in the user pool.
See: newUser smart constructor.
Constructors
| User' | |
Fields
| |
Instances
Arguments
| :: AuthenticationType | |
| -> User |
Create a value of User with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:User', user_arn - The ARN of the user.
$sel:createdTime:User', user_createdTime - The date and time the user was created in the user pool.
$sel:enabled:User', user_enabled - Specifies whether the user in the user pool is enabled.
$sel:firstName:User', user_firstName - The first name, or given name, of the user.
$sel:lastName:User', user_lastName - The last name, or surname, of the user.
$sel:status:User', user_status - 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.
$sel:userName:User', user_userName - The email address of the user.
Users' email addresses are case-sensitive.
$sel:authenticationType:User', user_authenticationType - The authentication type for the user.
user_createdTime :: Lens' User (Maybe UTCTime) Source #
The date and time the user was created in the user pool.
user_enabled :: Lens' User (Maybe Bool) Source #
Specifies whether the user in the user pool is enabled.
user_status :: Lens' User (Maybe Text) Source #
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.
user_userName :: Lens' User (Maybe Text) Source #
The email address of the user.
Users' email addresses are case-sensitive.
user_authenticationType :: Lens' User AuthenticationType Source #
The authentication type for the user.