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

Description

 
Synopsis

Documentation

data Contact Source #

Contains information about a contact.

See: newContact smart constructor.

Constructors

Contact' 

Fields

Instances

Instances details
FromJSON Contact Source # 
Instance details

Defined in Amazonka.Connect.Types.Contact

Generic Contact Source # 
Instance details

Defined in Amazonka.Connect.Types.Contact

Associated Types

type Rep Contact :: Type -> Type #

Methods

from :: Contact -> Rep Contact x #

to :: Rep Contact x -> Contact #

Read Contact Source # 
Instance details

Defined in Amazonka.Connect.Types.Contact

Show Contact Source # 
Instance details

Defined in Amazonka.Connect.Types.Contact

NFData Contact Source # 
Instance details

Defined in Amazonka.Connect.Types.Contact

Methods

rnf :: Contact -> () #

Eq Contact Source # 
Instance details

Defined in Amazonka.Connect.Types.Contact

Methods

(==) :: Contact -> Contact -> Bool #

(/=) :: Contact -> Contact -> Bool #

Hashable Contact Source # 
Instance details

Defined in Amazonka.Connect.Types.Contact

Methods

hashWithSalt :: Int -> Contact -> Int #

hash :: Contact -> Int #

type Rep Contact Source # 
Instance details

Defined in Amazonka.Connect.Types.Contact

type Rep Contact = D1 ('MetaData "Contact" "Amazonka.Connect.Types.Contact" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "Contact'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "agentInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AgentInfo)) :*: (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "channel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Channel)))) :*: ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "disconnectTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "initialContactId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "initiationMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContactInitiationMethod)) :*: (S1 ('MetaSel ('Just "initiationTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "lastUpdateTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "previousContactId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "queueInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QueueInfo)) :*: S1 ('MetaSel ('Just "scheduledTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))))

newContact :: Contact Source #

Create a value of Contact 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:agentInfo:Contact', contact_agentInfo - Information about the agent who accepted the contact.

$sel:arn:Contact', contact_arn - The Amazon Resource Name (ARN) for the contact.

$sel:channel:Contact', contact_channel - How the contact reached your contact center.

$sel:description:Contact', contact_description - The description of the contact.

$sel:disconnectTimestamp:Contact', contact_disconnectTimestamp - The timestamp when the customer endpoint disconnected from Amazon Connect.

Contact, contact_id - The identifier for the contact.

$sel:initialContactId:Contact', contact_initialContactId - If this contact is related to other contacts, this is the ID of the initial contact.

$sel:initiationMethod:Contact', contact_initiationMethod - Indicates how the contact was initiated.

$sel:initiationTimestamp:Contact', contact_initiationTimestamp - The date and time this contact was initiated, in UTC time. For INBOUND, this is when the contact arrived. For OUTBOUND, this is when the agent began dialing. For CALLBACK, this is when the callback contact was created. For TRANSFER and QUEUE_TRANSFER, this is when the transfer was initiated. For API, this is when the request arrived.

$sel:lastUpdateTimestamp:Contact', contact_lastUpdateTimestamp - The timestamp when contact was last updated.

$sel:name:Contact', contact_name - The name of the contact.

$sel:previousContactId:Contact', contact_previousContactId - If this contact is not the first contact, this is the ID of the previous contact.

$sel:queueInfo:Contact', contact_queueInfo - If this contact was queued, this contains information about the queue.

$sel:scheduledTimestamp:Contact', contact_scheduledTimestamp - The timestamp, in Unix epoch time format, at which to start running the inbound flow.

contact_agentInfo :: Lens' Contact (Maybe AgentInfo) Source #

Information about the agent who accepted the contact.

contact_arn :: Lens' Contact (Maybe Text) Source #

The Amazon Resource Name (ARN) for the contact.

contact_channel :: Lens' Contact (Maybe Channel) Source #

How the contact reached your contact center.

contact_description :: Lens' Contact (Maybe Text) Source #

The description of the contact.

contact_disconnectTimestamp :: Lens' Contact (Maybe UTCTime) Source #

The timestamp when the customer endpoint disconnected from Amazon Connect.

contact_id :: Lens' Contact (Maybe Text) Source #

The identifier for the contact.

contact_initialContactId :: Lens' Contact (Maybe Text) Source #

If this contact is related to other contacts, this is the ID of the initial contact.

contact_initiationMethod :: Lens' Contact (Maybe ContactInitiationMethod) Source #

Indicates how the contact was initiated.

contact_initiationTimestamp :: Lens' Contact (Maybe UTCTime) Source #

The date and time this contact was initiated, in UTC time. For INBOUND, this is when the contact arrived. For OUTBOUND, this is when the agent began dialing. For CALLBACK, this is when the callback contact was created. For TRANSFER and QUEUE_TRANSFER, this is when the transfer was initiated. For API, this is when the request arrived.

contact_lastUpdateTimestamp :: Lens' Contact (Maybe UTCTime) Source #

The timestamp when contact was last updated.

contact_name :: Lens' Contact (Maybe Text) Source #

The name of the contact.

contact_previousContactId :: Lens' Contact (Maybe Text) Source #

If this contact is not the first contact, this is the ID of the previous contact.

contact_queueInfo :: Lens' Contact (Maybe QueueInfo) Source #

If this contact was queued, this contains information about the queue.

contact_scheduledTimestamp :: Lens' Contact (Maybe UTCTime) Source #

The timestamp, in Unix epoch time format, at which to start running the inbound flow.