| 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 |
Amazonka.Connect.Types.Reference
Description
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.
Constructors
| Reference' | |
Fields
| |
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))) | |
Arguments
| :: Text | |
| -> ReferenceType | |
| -> Reference |
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.