Struct aws_sdk_connect::types::Contact
source · #[non_exhaustive]pub struct Contact {Show 23 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 last_paused_timestamp: Option<DateTime>,
pub last_resumed_timestamp: Option<DateTime>,
pub total_pause_count: Option<i32>,
pub total_pause_duration_in_seconds: Option<i32>,
pub scheduled_timestamp: Option<DateTime>,
pub related_contact_id: Option<String>,
pub wisdom_info: Option<WisdomInfo>,
pub queue_time_adjustment_seconds: Option<i32>,
pub queue_priority: Option<i64>,
pub tags: Option<HashMap<String, String>>,
}
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.
last_paused_timestamp: Option<DateTime>
The timestamp when the contact was last paused.
last_resumed_timestamp: Option<DateTime>
The timestamp when the contact was last resumed.
total_pause_count: Option<i32>
Total pause count for a contact.
total_pause_duration_in_seconds: Option<i32>
Total pause duration for a contact in seconds.
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.
queue_time_adjustment_seconds: Option<i32>
An integer that represents the queue time adjust to be applied to the contact, in seconds (longer / larger queue time are routed preferentially). Cannot be specified if the QueuePriority is specified. Must be statically defined and a valid integer value.
queue_priority: Option<i64>
An integer that represents the queue priority to be applied to the contact (lower priorities are routed preferentially). Cannot be specified if the QueueTimeAdjustmentSeconds is specified. Must be statically defined, must be larger than zero, and a valid integer value. Default Value is 5.
Tags associated with the contact. This contains both Amazon Web Services generated and user-defined tags.
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 last_paused_timestamp(&self) -> Option<&DateTime>
pub fn last_paused_timestamp(&self) -> Option<&DateTime>
The timestamp when the contact was last paused.
sourcepub fn last_resumed_timestamp(&self) -> Option<&DateTime>
pub fn last_resumed_timestamp(&self) -> Option<&DateTime>
The timestamp when the contact was last resumed.
sourcepub fn total_pause_count(&self) -> Option<i32>
pub fn total_pause_count(&self) -> Option<i32>
Total pause count for a contact.
sourcepub fn total_pause_duration_in_seconds(&self) -> Option<i32>
pub fn total_pause_duration_in_seconds(&self) -> Option<i32>
Total pause duration for a contact in seconds.
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.
sourcepub fn queue_time_adjustment_seconds(&self) -> Option<i32>
pub fn queue_time_adjustment_seconds(&self) -> Option<i32>
An integer that represents the queue time adjust to be applied to the contact, in seconds (longer / larger queue time are routed preferentially). Cannot be specified if the QueuePriority is specified. Must be statically defined and a valid integer value.
sourcepub fn queue_priority(&self) -> Option<i64>
pub fn queue_priority(&self) -> Option<i64>
An integer that represents the queue priority to be applied to the contact (lower priorities are routed preferentially). Cannot be specified if the QueueTimeAdjustmentSeconds is specified. Must be statically defined, must be larger than zero, and a valid integer value. Default Value is 5.
Tags associated with the contact. This contains both Amazon Web Services generated and user-defined tags.