Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Delegate = Delegate' {
- id :: Text
- type' :: MemberType
- newDelegate :: Text -> MemberType -> Delegate
- delegate_id :: Lens' Delegate Text
- delegate_type :: Lens' Delegate MemberType
Documentation
The name of the attribute, which is one of the values defined in the UserAttribute enumeration.
See: newDelegate
smart constructor.
Delegate' | |
|
Instances
Eq Delegate Source # | |
Read Delegate Source # | |
Show Delegate Source # | |
Generic Delegate Source # | |
NFData Delegate Source # | |
Defined in Amazonka.WorkMail.Types.Delegate | |
Hashable Delegate Source # | |
Defined in Amazonka.WorkMail.Types.Delegate | |
FromJSON Delegate Source # | |
type Rep Delegate Source # | |
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))) |
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.