Struct aws_sdk_connect::types::Contact
source · #[non_exhaustive]pub struct Contact {Show 16 fields
pub arn: Option<String>,
pub id: Option<String>,
pub initial_contact_id: Option<String>,
pub previous_contact_id: Option<String>,
pub initiation_method: Option<ContactInitiationMethod>,
pub name: Option<String>,
pub description: Option<String>,
pub channel: Option<Channel>,
pub queue_info: Option<QueueInfo>,
pub agent_info: Option<AgentInfo>,
pub initiation_timestamp: Option<DateTime>,
pub disconnect_timestamp: Option<DateTime>,
pub last_update_timestamp: Option<DateTime>,
pub scheduled_timestamp: Option<DateTime>,
pub related_contact_id: Option<String>,
pub wisdom_info: Option<WisdomInfo>,
}
Expand description
Contains information about a contact.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.arn: Option<String>
The Amazon Resource Name (ARN) for the contact.
id: Option<String>
The identifier for the contact.
initial_contact_id: Option<String>
If this contact is related to other contacts, this is the ID of the initial contact.
previous_contact_id: Option<String>
If this contact is not the first contact, this is the ID of the previous contact.
initiation_method: Option<ContactInitiationMethod>
Indicates how the contact was initiated.
name: Option<String>
The name of the contact.
description: Option<String>
The description of the contact.
channel: Option<Channel>
How the contact reached your contact center.
queue_info: Option<QueueInfo>
If this contact was queued, this contains information about the queue.
agent_info: Option<AgentInfo>
Information about the agent who accepted the contact.
initiation_timestamp: 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. For EXTERNAL_OUTBOUND
, this is when the agent started dialing the external participant. For MONITOR
, this is when the supervisor started listening to a contact.
disconnect_timestamp: Option<DateTime>
The timestamp when the customer endpoint disconnected from Amazon Connect.
last_update_timestamp: Option<DateTime>
The timestamp when contact was last updated.
scheduled_timestamp: 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.
wisdom_info: Option<WisdomInfo>
Information about Amazon Connect Wisdom.
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. For EXTERNAL_OUTBOUND
, this is when the agent started dialing the external participant. For MONITOR
, this is when the supervisor started listening to a contact.
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.
sourcepub fn wisdom_info(&self) -> Option<&WisdomInfo>
pub fn wisdom_info(&self) -> Option<&WisdomInfo>
Information about Amazon Connect Wisdom.