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' {
- givenName :: Maybe Text
- status :: Maybe UserStatusType
- locale :: Maybe LocaleType
- username :: Maybe Text
- storage :: Maybe UserStorageMetadata
- modifiedTimestamp :: Maybe POSIX
- emailAddress :: Maybe Text
- id :: Maybe Text
- rootFolderId :: Maybe Text
- type' :: Maybe UserType
- surname :: Maybe Text
- timeZoneId :: Maybe Text
- createdTimestamp :: Maybe POSIX
- organizationId :: Maybe Text
- recycleBinFolderId :: Maybe Text
- newUser :: User
- user_givenName :: Lens' User (Maybe Text)
- user_status :: Lens' User (Maybe UserStatusType)
- user_locale :: Lens' User (Maybe LocaleType)
- user_username :: Lens' User (Maybe Text)
- user_storage :: Lens' User (Maybe UserStorageMetadata)
- user_modifiedTimestamp :: Lens' User (Maybe UTCTime)
- user_emailAddress :: Lens' User (Maybe Text)
- user_id :: Lens' User (Maybe Text)
- user_rootFolderId :: Lens' User (Maybe Text)
- user_type :: Lens' User (Maybe UserType)
- user_surname :: Lens' User (Maybe Text)
- user_timeZoneId :: Lens' User (Maybe Text)
- user_createdTimestamp :: Lens' User (Maybe UTCTime)
- user_organizationId :: Lens' User (Maybe Text)
- user_recycleBinFolderId :: Lens' User (Maybe Text)
Documentation
Describes a 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:givenName:User'
, user_givenName
- The given name of the user.
$sel:status:User'
, user_status
- The status of the user.
$sel:locale:User'
, user_locale
- The locale of the user.
$sel:username:User'
, user_username
- The login name of the user.
$sel:storage:User'
, user_storage
- The storage for the user.
$sel:modifiedTimestamp:User'
, user_modifiedTimestamp
- The time when the user was modified.
$sel:emailAddress:User'
, user_emailAddress
- The email address of the user.
$sel:id:User'
, user_id
- The ID of the user.
$sel:rootFolderId:User'
, user_rootFolderId
- The ID of the root folder.
$sel:type':User'
, user_type
- The type of user.
$sel:surname:User'
, user_surname
- The surname of the user.
$sel:timeZoneId:User'
, user_timeZoneId
- The time zone ID of the user.
$sel:createdTimestamp:User'
, user_createdTimestamp
- The time when the user was created.
$sel:organizationId:User'
, user_organizationId
- The ID of the organization.
$sel:recycleBinFolderId:User'
, user_recycleBinFolderId
- The ID of the recycle bin folder.
user_status :: Lens' User (Maybe UserStatusType) Source #
The status of the user.
user_locale :: Lens' User (Maybe LocaleType) Source #
The locale of the user.
user_storage :: Lens' User (Maybe UserStorageMetadata) Source #
The storage for the user.