| 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.WorkMail.Types.User
Description
Synopsis
- data User = User' {}
- newUser :: User
- user_disabledDate :: Lens' User (Maybe UTCTime)
- user_displayName :: Lens' User (Maybe Text)
- user_email :: Lens' User (Maybe Text)
- user_enabledDate :: Lens' User (Maybe UTCTime)
- user_id :: Lens' User (Maybe Text)
- user_name :: Lens' User (Maybe Text)
- user_state :: Lens' User (Maybe EntityState)
- user_userRole :: Lens' User (Maybe UserRole)
Documentation
The representation of an WorkMail user.
See: newUser smart constructor.
Constructors
| User' | |
Fields
| |
Instances
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:disabledDate:User', user_disabledDate - The date indicating when the user was disabled from WorkMail use.
$sel:displayName:User', user_displayName - The display name of the user.
$sel:email:User', user_email - The email of the user.
$sel:enabledDate:User', user_enabledDate - The date indicating when the user was enabled for WorkMail use.
$sel:id:User', user_id - The identifier of the user.
$sel:name:User', user_name - The name of the user.
$sel:state:User', user_state - The state of the user, which can be ENABLED, DISABLED, or DELETED.
$sel:userRole:User', user_userRole - The role of the user.
user_disabledDate :: Lens' User (Maybe UTCTime) Source #
The date indicating when the user was disabled from WorkMail use.
user_enabledDate :: Lens' User (Maybe UTCTime) Source #
The date indicating when the user was enabled for WorkMail use.
user_state :: Lens' User (Maybe EntityState) Source #
The state of the user, which can be ENABLED, DISABLED, or DELETED.