Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data User = User' {}
- newUser :: User
- user_email :: Lens' User (Maybe Text)
- user_state :: Lens' User (Maybe EntityState)
- user_disabledDate :: Lens' User (Maybe UTCTime)
- user_name :: Lens' User (Maybe Text)
- user_id :: Lens' User (Maybe Text)
- user_displayName :: Lens' User (Maybe Text)
- user_userRole :: Lens' User (Maybe UserRole)
- user_enabledDate :: Lens' User (Maybe UTCTime)
Documentation
The representation of an Amazon WorkMail user.
See: newUser
smart constructor.
User' | |
|
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:email:User'
, user_email
- The email of the user.
$sel:state:User'
, user_state
- The state of the user, which can be ENABLED, DISABLED, or DELETED.
$sel:disabledDate:User'
, user_disabledDate
- The date indicating when the user was disabled from Amazon WorkMail use.
$sel:name:User'
, user_name
- The name of the user.
$sel:id:User'
, user_id
- The identifier of the user.
$sel:displayName:User'
, user_displayName
- The display name of the user.
$sel:userRole:User'
, user_userRole
- The role of the user.
$sel:enabledDate:User'
, user_enabledDate
- The date indicating when the user was enabled for Amazon WorkMail use.
user_state :: Lens' User (Maybe EntityState) Source #
The state of the user, which can be ENABLED, DISABLED, or DELETED.