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 Reference = Reference' {
- value :: Text
- type' :: ReferenceType
- newReference :: Text -> ReferenceType -> Reference
- reference_value :: Lens' Reference Text
- reference_type :: Lens' Reference ReferenceType
Documentation
A link that an agent selects to complete a given task. You can have up to 4,096 UTF-8 bytes across all references for a contact.
See: newReference
smart constructor.
Reference' | |
|
Instances
Eq Reference Source # | |
Read Reference Source # | |
Show Reference Source # | |
Generic Reference Source # | |
NFData Reference Source # | |
Defined in Amazonka.Connect.Types.Reference | |
Hashable Reference Source # | |
Defined in Amazonka.Connect.Types.Reference | |
ToJSON Reference Source # | |
Defined in Amazonka.Connect.Types.Reference | |
type Rep Reference Source # | |
Defined in Amazonka.Connect.Types.Reference type Rep Reference = D1 ('MetaData "Reference" "Amazonka.Connect.Types.Reference" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "Reference'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ReferenceType))) |
Create a value of Reference
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:value:Reference'
, reference_value
- A formatted URL that displays to an agent in the Contact Control Panel
(CCP)
$sel:type':Reference'
, reference_type
- A valid URL.
reference_value :: Lens' Reference Text Source #
A formatted URL that displays to an agent in the Contact Control Panel (CCP)
reference_type :: Lens' Reference ReferenceType Source #
A valid URL.