Struct aws_sdk_connect::types::RoutingProfile
source · #[non_exhaustive]pub struct RoutingProfile {Show 14 fields
pub instance_id: Option<String>,
pub name: Option<String>,
pub routing_profile_arn: Option<String>,
pub routing_profile_id: Option<String>,
pub description: Option<String>,
pub media_concurrencies: Option<Vec<MediaConcurrency>>,
pub default_outbound_queue_id: Option<String>,
pub tags: Option<HashMap<String, String>>,
pub number_of_associated_queues: Option<i64>,
pub number_of_associated_users: Option<i64>,
pub agent_availability_timer: Option<AgentAvailabilityTimer>,
pub last_modified_time: Option<DateTime>,
pub last_modified_region: Option<String>,
pub is_default: bool,
}
Expand description
Contains information about a routing profile.
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.instance_id: Option<String>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
name: Option<String>
The name of the routing profile.
routing_profile_arn: Option<String>
The Amazon Resource Name (ARN) of the routing profile.
routing_profile_id: Option<String>
The identifier of the routing profile.
description: Option<String>
The description of the routing profile.
media_concurrencies: Option<Vec<MediaConcurrency>>
The channels agents can handle in the Contact Control Panel (CCP) for this routing profile.
default_outbound_queue_id: Option<String>
The identifier of the default outbound queue for this routing profile.
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
number_of_associated_queues: Option<i64>
The number of associated queues in routing profile.
number_of_associated_users: Option<i64>
The number of associated users in routing profile.
agent_availability_timer: Option<AgentAvailabilityTimer>
Whether agents with this routing profile will have their routing order calculated based on time since their last inbound contact or longest idle time.
last_modified_time: Option<DateTime>
The timestamp when this resource was last modified.
last_modified_region: Option<String>
The Amazon Web Services Region where this resource was last modified.
is_default: bool
Whether this a default routing profile.
Implementations§
source§impl RoutingProfile
impl RoutingProfile
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn routing_profile_arn(&self) -> Option<&str>
pub fn routing_profile_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the routing profile.
sourcepub fn routing_profile_id(&self) -> Option<&str>
pub fn routing_profile_id(&self) -> Option<&str>
The identifier of the routing profile.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the routing profile.
sourcepub fn media_concurrencies(&self) -> &[MediaConcurrency]
pub fn media_concurrencies(&self) -> &[MediaConcurrency]
The channels agents can handle in the Contact Control Panel (CCP) for this routing profile.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .media_concurrencies.is_none()
.
sourcepub fn default_outbound_queue_id(&self) -> Option<&str>
pub fn default_outbound_queue_id(&self) -> Option<&str>
The identifier of the default outbound queue for this routing profile.
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
sourcepub fn number_of_associated_queues(&self) -> Option<i64>
pub fn number_of_associated_queues(&self) -> Option<i64>
The number of associated queues in routing profile.
sourcepub fn number_of_associated_users(&self) -> Option<i64>
pub fn number_of_associated_users(&self) -> Option<i64>
The number of associated users in routing profile.
sourcepub fn agent_availability_timer(&self) -> Option<&AgentAvailabilityTimer>
pub fn agent_availability_timer(&self) -> Option<&AgentAvailabilityTimer>
Whether agents with this routing profile will have their routing order calculated based on time since their last inbound contact or longest idle time.
sourcepub fn last_modified_time(&self) -> Option<&DateTime>
pub fn last_modified_time(&self) -> Option<&DateTime>
The timestamp when this resource was last modified.
sourcepub fn last_modified_region(&self) -> Option<&str>
pub fn last_modified_region(&self) -> Option<&str>
The Amazon Web Services Region where this resource was last modified.
sourcepub fn is_default(&self) -> bool
pub fn is_default(&self) -> bool
Whether this a default routing profile.
source§impl RoutingProfile
impl RoutingProfile
sourcepub fn builder() -> RoutingProfileBuilder
pub fn builder() -> RoutingProfileBuilder
Creates a new builder-style object to manufacture RoutingProfile
.
Trait Implementations§
source§impl Clone for RoutingProfile
impl Clone for RoutingProfile
source§fn clone(&self) -> RoutingProfile
fn clone(&self) -> RoutingProfile
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RoutingProfile
impl Debug for RoutingProfile
source§impl PartialEq for RoutingProfile
impl PartialEq for RoutingProfile
source§fn eq(&self, other: &RoutingProfile) -> bool
fn eq(&self, other: &RoutingProfile) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RoutingProfile
Auto Trait Implementations§
impl Freeze for RoutingProfile
impl RefUnwindSafe for RoutingProfile
impl Send for RoutingProfile
impl Sync for RoutingProfile
impl Unpin for RoutingProfile
impl UnwindSafe for RoutingProfile
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more