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.Member

Description

 
Synopsis

Documentation

data Member Source #

The representation of a user or group.

See: newMember smart constructor.

Constructors

Member' 

Fields

Instances

Instances details
Eq Member Source # 
Instance details

Defined in Amazonka.WorkMail.Types.Member

Methods

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

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

Read Member Source # 
Instance details

Defined in Amazonka.WorkMail.Types.Member

Show Member Source # 
Instance details

Defined in Amazonka.WorkMail.Types.Member

Generic Member Source # 
Instance details

Defined in Amazonka.WorkMail.Types.Member

Associated Types

type Rep Member :: Type -> Type #

Methods

from :: Member -> Rep Member x #

to :: Rep Member x -> Member #

NFData Member Source # 
Instance details

Defined in Amazonka.WorkMail.Types.Member

Methods

rnf :: Member -> () #

Hashable Member Source # 
Instance details

Defined in Amazonka.WorkMail.Types.Member

Methods

hashWithSalt :: Int -> Member -> Int #

hash :: Member -> Int #

FromJSON Member Source # 
Instance details

Defined in Amazonka.WorkMail.Types.Member

type Rep Member Source # 
Instance details

Defined in Amazonka.WorkMail.Types.Member

newMember :: Member Source #

Create a value of Member 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:state:Member', member_state - The state of the member, which can be ENABLED, DISABLED, or DELETED.

$sel:disabledDate:Member', member_disabledDate - The date indicating when the member was disabled from Amazon WorkMail use.

$sel:name:Member', member_name - The name of the member.

$sel:id:Member', member_id - The identifier of the member.

$sel:type':Member', member_type - A member can be a user or group.

$sel:enabledDate:Member', member_enabledDate - The date indicating when the member was enabled for Amazon WorkMail use.

member_state :: Lens' Member (Maybe EntityState) Source #

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

member_disabledDate :: Lens' Member (Maybe UTCTime) Source #

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

member_name :: Lens' Member (Maybe Text) Source #

The name of the member.

member_id :: Lens' Member (Maybe Text) Source #

The identifier of the member.

member_type :: Lens' Member (Maybe MemberType) Source #

A member can be a user or group.

member_enabledDate :: Lens' Member (Maybe UTCTime) Source #

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