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 Reference = Reference' {
- value :: Text
- type' :: ReferenceType
- newReference :: Text -> ReferenceType -> Reference
- reference_value :: Lens' Reference Text
- reference_type :: Lens' Reference ReferenceType
Documentation
Well-formed data on a contact, used by agents to complete a contact request. You can have up to 4,096 UTF-8 bytes across all references for a contact.
See: newReference
smart constructor.
Reference' | |
|
Instances
FromJSON Reference Source # | |
ToJSON Reference Source # | |
Defined in Amazonka.Connect.Types.Reference | |
Generic Reference Source # | |
Read Reference Source # | |
Show Reference Source # | |
NFData Reference Source # | |
Defined in Amazonka.Connect.Types.Reference | |
Eq Reference Source # | |
Hashable 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" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" '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 valid value for the reference. For example, for a URL reference, a
formatted URL that is displayed to an agent in the Contact Control Panel
(CCP).
$sel:type':Reference'
, reference_type
- The type of the reference. DATE
must be of type Epoch timestamp.
reference_value :: Lens' Reference Text Source #
A valid value for the reference. For example, for a URL reference, a formatted URL that is displayed to an agent in the Contact Control Panel (CCP).
reference_type :: Lens' Reference ReferenceType Source #
The type of the reference. DATE
must be of type Epoch timestamp.