Struct aws_sdk_connect::model::Contact
source · #[non_exhaustive]pub struct Contact { /* private fields */ }
Expand description
Contains information about a contact.
Implementations§
source§impl Contact
impl Contact
sourcepub fn initial_contact_id(&self) -> Option<&str>
pub fn initial_contact_id(&self) -> Option<&str>
If this contact is related to other contacts, this is the ID of the initial contact.
sourcepub fn previous_contact_id(&self) -> Option<&str>
pub fn previous_contact_id(&self) -> Option<&str>
If this contact is not the first contact, this is the ID of the previous contact.
sourcepub fn initiation_method(&self) -> Option<&ContactInitiationMethod>
pub fn initiation_method(&self) -> Option<&ContactInitiationMethod>
Indicates how the contact was initiated.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the contact.
sourcepub fn queue_info(&self) -> Option<&QueueInfo>
pub fn queue_info(&self) -> Option<&QueueInfo>
If this contact was queued, this contains information about the queue.
sourcepub fn agent_info(&self) -> Option<&AgentInfo>
pub fn agent_info(&self) -> Option<&AgentInfo>
Information about the agent who accepted the contact.
sourcepub fn initiation_timestamp(&self) -> Option<&DateTime>
pub fn initiation_timestamp(&self) -> Option<&DateTime>
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.
sourcepub fn disconnect_timestamp(&self) -> Option<&DateTime>
pub fn disconnect_timestamp(&self) -> Option<&DateTime>
The timestamp when the customer endpoint disconnected from Amazon Connect.
sourcepub fn last_update_timestamp(&self) -> Option<&DateTime>
pub fn last_update_timestamp(&self) -> Option<&DateTime>
The timestamp when contact was last updated.
sourcepub fn scheduled_timestamp(&self) -> Option<&DateTime>
pub fn scheduled_timestamp(&self) -> Option<&DateTime>
The timestamp, in Unix epoch time format, at which to start running the inbound flow.
The contactId that is related to this contact.