| 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.Contact
Description
Synopsis
- data Contact = Contact' {
- agentInfo :: Maybe AgentInfo
- arn :: Maybe Text
- channel :: Maybe Channel
- description :: Maybe Text
- disconnectTimestamp :: Maybe POSIX
- id :: Maybe Text
- initialContactId :: Maybe Text
- initiationMethod :: Maybe ContactInitiationMethod
- initiationTimestamp :: Maybe POSIX
- lastUpdateTimestamp :: Maybe POSIX
- name :: Maybe Text
- previousContactId :: Maybe Text
- queueInfo :: Maybe QueueInfo
- scheduledTimestamp :: Maybe POSIX
- newContact :: Contact
- contact_agentInfo :: Lens' Contact (Maybe AgentInfo)
- contact_arn :: Lens' Contact (Maybe Text)
- contact_channel :: Lens' Contact (Maybe Channel)
- contact_description :: Lens' Contact (Maybe Text)
- contact_disconnectTimestamp :: Lens' Contact (Maybe UTCTime)
- contact_id :: Lens' Contact (Maybe Text)
- contact_initialContactId :: Lens' Contact (Maybe Text)
- contact_initiationMethod :: Lens' Contact (Maybe ContactInitiationMethod)
- contact_initiationTimestamp :: Lens' Contact (Maybe UTCTime)
- contact_lastUpdateTimestamp :: Lens' Contact (Maybe UTCTime)
- contact_name :: Lens' Contact (Maybe Text)
- contact_previousContactId :: Lens' Contact (Maybe Text)
- contact_queueInfo :: Lens' Contact (Maybe QueueInfo)
- contact_scheduledTimestamp :: Lens' Contact (Maybe UTCTime)
Documentation
Contains information about a contact.
See: newContact smart constructor.
Constructors
| Contact' | |
Fields
| |
Instances
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_channel :: Lens' Contact (Maybe Channel) Source #
How the contact reached your contact center.
contact_disconnectTimestamp :: Lens' Contact (Maybe UTCTime) Source #
The timestamp when the customer endpoint disconnected from Amazon Connect.
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_previousContactId :: Lens' Contact (Maybe Text) Source #
If this contact is not the first contact, this is the ID of the previous contact.