Struct aws_sdk_connect::types::UserData
source · #[non_exhaustive]pub struct UserData {
pub user: Option<UserReference>,
pub routing_profile: Option<RoutingProfileReference>,
pub hierarchy_path: Option<HierarchyPathReference>,
pub status: Option<AgentStatusReference>,
pub available_slots_by_channel: Option<HashMap<Channel, i32>>,
pub max_slots_by_channel: Option<HashMap<Channel, i32>>,
pub active_slots_by_channel: Option<HashMap<Channel, i32>>,
pub contacts: Option<Vec<AgentContactReference>>,
pub next_status: Option<String>,
}
Expand description
Data for a user.
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.user: Option<UserReference>
Information about the user for the data that is returned. It contains the resourceId
and ARN of the user.
routing_profile: Option<RoutingProfileReference>
Information about the routing profile that is assigned to the user.
hierarchy_path: Option<HierarchyPathReference>
Contains information about the levels of a hierarchy group assigned to a user.
status: Option<AgentStatusReference>
The status of the agent that they manually set in their Contact Control Panel (CCP), or that the supervisor manually changes in the real-time metrics report.
available_slots_by_channel: Option<HashMap<Channel, i32>>
A map of available slots by channel. The key is a channel name. The value is an integer: the available number of slots.
max_slots_by_channel: Option<HashMap<Channel, i32>>
A map of maximum slots by channel. The key is a channel name. The value is an integer: the maximum number of slots. This is calculated from MediaConcurrency of the RoutingProfile
assigned to the agent.
active_slots_by_channel: Option<HashMap<Channel, i32>>
A map of active slots by channel. The key is a channel name. The value is an integer: the number of active slots.
contacts: Option<Vec<AgentContactReference>>
A list of contact reference information.
next_status: Option<String>
The Next status of the agent.
Implementations§
source§impl UserData
impl UserData
sourcepub fn user(&self) -> Option<&UserReference>
pub fn user(&self) -> Option<&UserReference>
Information about the user for the data that is returned. It contains the resourceId
and ARN of the user.
sourcepub fn routing_profile(&self) -> Option<&RoutingProfileReference>
pub fn routing_profile(&self) -> Option<&RoutingProfileReference>
Information about the routing profile that is assigned to the user.
sourcepub fn hierarchy_path(&self) -> Option<&HierarchyPathReference>
pub fn hierarchy_path(&self) -> Option<&HierarchyPathReference>
Contains information about the levels of a hierarchy group assigned to a user.
sourcepub fn status(&self) -> Option<&AgentStatusReference>
pub fn status(&self) -> Option<&AgentStatusReference>
The status of the agent that they manually set in their Contact Control Panel (CCP), or that the supervisor manually changes in the real-time metrics report.
sourcepub fn available_slots_by_channel(&self) -> Option<&HashMap<Channel, i32>>
pub fn available_slots_by_channel(&self) -> Option<&HashMap<Channel, i32>>
A map of available slots by channel. The key is a channel name. The value is an integer: the available number of slots.
sourcepub fn max_slots_by_channel(&self) -> Option<&HashMap<Channel, i32>>
pub fn max_slots_by_channel(&self) -> Option<&HashMap<Channel, i32>>
A map of maximum slots by channel. The key is a channel name. The value is an integer: the maximum number of slots. This is calculated from MediaConcurrency of the RoutingProfile
assigned to the agent.
sourcepub fn active_slots_by_channel(&self) -> Option<&HashMap<Channel, i32>>
pub fn active_slots_by_channel(&self) -> Option<&HashMap<Channel, i32>>
A map of active slots by channel. The key is a channel name. The value is an integer: the number of active slots.
sourcepub fn contacts(&self) -> Option<&[AgentContactReference]>
pub fn contacts(&self) -> Option<&[AgentContactReference]>
A list of contact reference information.
sourcepub fn next_status(&self) -> Option<&str>
pub fn next_status(&self) -> Option<&str>
The Next status of the agent.