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

Description

 
Synopsis

Documentation

data Delegate Source #

The name of the attribute, which is one of the values defined in the UserAttribute enumeration.

See: newDelegate smart constructor.

Constructors

Delegate' 

Fields

  • id :: Text

    The identifier for the user or group associated as the resource's delegate.

  • type' :: MemberType

    The type of the delegate: user or group.

Instances

Instances details
Eq Delegate Source # 
Instance details

Defined in Amazonka.WorkMail.Types.Delegate

Read Delegate Source # 
Instance details

Defined in Amazonka.WorkMail.Types.Delegate

Show Delegate Source # 
Instance details

Defined in Amazonka.WorkMail.Types.Delegate

Generic Delegate Source # 
Instance details

Defined in Amazonka.WorkMail.Types.Delegate

Associated Types

type Rep Delegate :: Type -> Type #

Methods

from :: Delegate -> Rep Delegate x #

to :: Rep Delegate x -> Delegate #

NFData Delegate Source # 
Instance details

Defined in Amazonka.WorkMail.Types.Delegate

Methods

rnf :: Delegate -> () #

Hashable Delegate Source # 
Instance details

Defined in Amazonka.WorkMail.Types.Delegate

Methods

hashWithSalt :: Int -> Delegate -> Int #

hash :: Delegate -> Int #

FromJSON Delegate Source # 
Instance details

Defined in Amazonka.WorkMail.Types.Delegate

type Rep Delegate Source # 
Instance details

Defined in Amazonka.WorkMail.Types.Delegate

type Rep Delegate = D1 ('MetaData "Delegate" "Amazonka.WorkMail.Types.Delegate" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "Delegate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MemberType)))

newDelegate Source #

Create a value of Delegate 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:id:Delegate', delegate_id - The identifier for the user or group associated as the resource's delegate.

$sel:type':Delegate', delegate_type - The type of the delegate: user or group.

delegate_id :: Lens' Delegate Text Source #

The identifier for the user or group associated as the resource's delegate.

delegate_type :: Lens' Delegate MemberType Source #

The type of the delegate: user or group.