libZSservicesZSamazonka-workmailZSamazonka-workmail
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.WorkMail.Types.User

Description

 
Synopsis

Documentation

data User Source #

The representation of an Amazon WorkMail user.

See: newUser smart constructor.

Constructors

User' 

Fields

Instances

Instances details
Eq User Source # 
Instance details

Defined in Amazonka.WorkMail.Types.User

Methods

(==) :: User -> User -> Bool #

(/=) :: User -> User -> Bool #

Read User Source # 
Instance details

Defined in Amazonka.WorkMail.Types.User

Show User Source # 
Instance details

Defined in Amazonka.WorkMail.Types.User

Methods

showsPrec :: Int -> User -> ShowS #

show :: User -> String #

showList :: [User] -> ShowS #

Generic User Source # 
Instance details

Defined in Amazonka.WorkMail.Types.User

Associated Types

type Rep User :: Type -> Type #

Methods

from :: User -> Rep User x #

to :: Rep User x -> User #

NFData User Source # 
Instance details

Defined in Amazonka.WorkMail.Types.User

Methods

rnf :: User -> () #

Hashable User Source # 
Instance details

Defined in Amazonka.WorkMail.Types.User

Methods

hashWithSalt :: Int -> User -> Int #

hash :: User -> Int #

FromJSON User Source # 
Instance details

Defined in Amazonka.WorkMail.Types.User

type Rep User Source # 
Instance details

Defined in Amazonka.WorkMail.Types.User

newUser :: User Source #

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_email :: Lens' User (Maybe Text) Source #

The email of the user.

user_state :: Lens' User (Maybe EntityState) Source #

The state of the user, which can be ENABLED, DISABLED, or DELETED.

user_disabledDate :: Lens' User (Maybe UTCTime) Source #

The date indicating when the user was disabled from Amazon WorkMail use.

user_name :: Lens' User (Maybe Text) Source #

The name of the user.

user_id :: Lens' User (Maybe Text) Source #

The identifier of the user.

user_displayName :: Lens' User (Maybe Text) Source #

The display name of the user.

user_userRole :: Lens' User (Maybe UserRole) Source #

The role of the user.

user_enabledDate :: Lens' User (Maybe UTCTime) Source #

The date indicating when the user was enabled for Amazon WorkMail use.