Struct aws_sdk_connect::types::MediaConcurrency
source · #[non_exhaustive]pub struct MediaConcurrency {
pub channel: Channel,
pub concurrency: i32,
pub cross_channel_behavior: Option<CrossChannelBehavior>,
}
Expand description
Contains information about which channels are supported, and how many contacts an agent can have on a channel simultaneously.
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.channel: Channel
The channels that agents can handle in the Contact Control Panel (CCP).
concurrency: i32
The number of contacts an agent can have on a channel simultaneously.
Valid Range for VOICE
: Minimum value of 1. Maximum value of 1.
Valid Range for CHAT
: Minimum value of 1. Maximum value of 10.
Valid Range for TASK
: Minimum value of 1. Maximum value of 10.
cross_channel_behavior: Option<CrossChannelBehavior>
Defines the cross-channel routing behavior for each channel that is enabled for this Routing Profile. For example, this allows you to offer an agent a different contact from another channel when they are currently working with a contact from a Voice channel.
Implementations§
source§impl MediaConcurrency
impl MediaConcurrency
sourcepub fn channel(&self) -> &Channel
pub fn channel(&self) -> &Channel
The channels that agents can handle in the Contact Control Panel (CCP).
sourcepub fn concurrency(&self) -> i32
pub fn concurrency(&self) -> i32
The number of contacts an agent can have on a channel simultaneously.
Valid Range for VOICE
: Minimum value of 1. Maximum value of 1.
Valid Range for CHAT
: Minimum value of 1. Maximum value of 10.
Valid Range for TASK
: Minimum value of 1. Maximum value of 10.
sourcepub fn cross_channel_behavior(&self) -> Option<&CrossChannelBehavior>
pub fn cross_channel_behavior(&self) -> Option<&CrossChannelBehavior>
Defines the cross-channel routing behavior for each channel that is enabled for this Routing Profile. For example, this allows you to offer an agent a different contact from another channel when they are currently working with a contact from a Voice channel.
source§impl MediaConcurrency
impl MediaConcurrency
sourcepub fn builder() -> MediaConcurrencyBuilder
pub fn builder() -> MediaConcurrencyBuilder
Creates a new builder-style object to manufacture MediaConcurrency
.
Trait Implementations§
source§impl Clone for MediaConcurrency
impl Clone for MediaConcurrency
source§fn clone(&self) -> MediaConcurrency
fn clone(&self) -> MediaConcurrency
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MediaConcurrency
impl Debug for MediaConcurrency
source§impl PartialEq for MediaConcurrency
impl PartialEq for MediaConcurrency
source§fn eq(&self, other: &MediaConcurrency) -> bool
fn eq(&self, other: &MediaConcurrency) -> bool
self
and other
values to be equal, and is used
by ==
.