amazonka-connect-2.0: Amazon Connect Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Connect.Types.Reference

Description

 
Synopsis

Documentation

data Reference Source #

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

  • value :: Text

    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).

  • type' :: ReferenceType

    The type of the reference. DATE must be of type Epoch timestamp.

Instances

Instances details
FromJSON Reference Source # 
Instance details

Defined in Amazonka.Connect.Types.Reference

ToJSON Reference Source # 
Instance details

Defined in Amazonka.Connect.Types.Reference

Generic Reference Source # 
Instance details

Defined in Amazonka.Connect.Types.Reference

Associated Types

type Rep Reference :: Type -> Type #

Read Reference Source # 
Instance details

Defined in Amazonka.Connect.Types.Reference

Show Reference Source # 
Instance details

Defined in Amazonka.Connect.Types.Reference

NFData Reference Source # 
Instance details

Defined in Amazonka.Connect.Types.Reference

Methods

rnf :: Reference -> () #

Eq Reference Source # 
Instance details

Defined in Amazonka.Connect.Types.Reference

Hashable Reference Source # 
Instance details

Defined in Amazonka.Connect.Types.Reference

type Rep Reference Source # 
Instance details

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)))

newReference Source #

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.