Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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
FromJSON Delegate Source # | |
Generic Delegate Source # | |
Read Delegate Source # | |
Show Delegate Source # | |
NFData Delegate Source # | |
Defined in Amazonka.WorkMail.Types.Delegate | |
Eq Delegate Source # | |
Hashable Delegate Source # | |
Defined in Amazonka.WorkMail.Types.Delegate | |
type Rep Delegate Source # | |
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))) |
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.