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

Description

 
Synopsis

Documentation

data Group Source #

The representation of an Amazon WorkMail group.

See: newGroup smart constructor.

Constructors

Group' 

Fields

Instances

Instances details
Eq Group Source # 
Instance details

Defined in Amazonka.WorkMail.Types.Group

Methods

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

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

Read Group Source # 
Instance details

Defined in Amazonka.WorkMail.Types.Group

Show Group Source # 
Instance details

Defined in Amazonka.WorkMail.Types.Group

Methods

showsPrec :: Int -> Group -> ShowS #

show :: Group -> String #

showList :: [Group] -> ShowS #

Generic Group Source # 
Instance details

Defined in Amazonka.WorkMail.Types.Group

Associated Types

type Rep Group :: Type -> Type #

Methods

from :: Group -> Rep Group x #

to :: Rep Group x -> Group #

NFData Group Source # 
Instance details

Defined in Amazonka.WorkMail.Types.Group

Methods

rnf :: Group -> () #

Hashable Group Source # 
Instance details

Defined in Amazonka.WorkMail.Types.Group

Methods

hashWithSalt :: Int -> Group -> Int #

hash :: Group -> Int #

FromJSON Group Source # 
Instance details

Defined in Amazonka.WorkMail.Types.Group

type Rep Group Source # 
Instance details

Defined in Amazonka.WorkMail.Types.Group

newGroup :: Group Source #

Create a value of Group 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:Group', group_email - The email of the group.

$sel:state:Group', group_state - The state of the group, which can be ENABLED, DISABLED, or DELETED.

$sel:disabledDate:Group', group_disabledDate - The date indicating when the group was disabled from Amazon WorkMail use.

$sel:name:Group', group_name - The name of the group.

$sel:id:Group', group_id - The identifier of the group.

$sel:enabledDate:Group', group_enabledDate - The date indicating when the group was enabled for Amazon WorkMail use.

group_email :: Lens' Group (Maybe Text) Source #

The email of the group.

group_state :: Lens' Group (Maybe EntityState) Source #

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

group_disabledDate :: Lens' Group (Maybe UTCTime) Source #

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

group_name :: Lens' Group (Maybe Text) Source #

The name of the group.

group_id :: Lens' Group (Maybe Text) Source #

The identifier of the group.

group_enabledDate :: Lens' Group (Maybe UTCTime) Source #

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