amazonka-workmail-2.0: Amazon WorkMail SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
FromJSON 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 #

Read Delegate Source # 
Instance details

Defined in Amazonka.WorkMail.Types.Delegate

Show Delegate Source # 
Instance details

Defined in Amazonka.WorkMail.Types.Delegate

NFData Delegate Source # 
Instance details

Defined in Amazonka.WorkMail.Types.Delegate

Methods

rnf :: Delegate -> () #

Eq Delegate Source # 
Instance details

Defined in Amazonka.WorkMail.Types.Delegate

Hashable Delegate Source # 
Instance details

Defined in Amazonka.WorkMail.Types.Delegate

Methods

hashWithSalt :: Int -> Delegate -> Int #

hash :: Delegate -> Int #

type Rep Delegate Source # 
Instance details

Defined in Amazonka.WorkMail.Types.Delegate

type Rep Delegate = D1 ('MetaData "Delegate" "Amazonka.WorkMail.Types.Delegate" "amazonka-workmail-2.0-6w5uOhF45UX4mlfLHLnG5b" '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.