Struct aws_sdk_connect::types::Filters
source · #[non_exhaustive]pub struct Filters {
pub queues: Option<Vec<String>>,
pub channels: Option<Vec<Channel>>,
pub routing_profiles: Option<Vec<String>>,
}
Expand description
Contains the filter to apply when retrieving metrics.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.queues: Option<Vec<String>>
The queues to use to filter the metrics. You should specify at least one queue, and can specify up to 100 queues per request. The GetCurrentMetricsData
API in particular requires a queue when you include a Filter
in your request.
channels: Option<Vec<Channel>>
The channel to use to filter the metrics.
routing_profiles: Option<Vec<String>>
A list of up to 100 routing profile IDs or ARNs.
Implementations§
source§impl Filters
impl Filters
sourcepub fn queues(&self) -> Option<&[String]>
pub fn queues(&self) -> Option<&[String]>
The queues to use to filter the metrics. You should specify at least one queue, and can specify up to 100 queues per request. The GetCurrentMetricsData
API in particular requires a queue when you include a Filter
in your request.
sourcepub fn routing_profiles(&self) -> Option<&[String]>
pub fn routing_profiles(&self) -> Option<&[String]>
A list of up to 100 routing profile IDs or ARNs.
Trait Implementations§
source§impl PartialEq<Filters> for Filters
impl PartialEq<Filters> for Filters
impl StructuralPartialEq for Filters
Auto Trait Implementations§
impl RefUnwindSafe for Filters
impl Send for Filters
impl Sync for Filters
impl Unpin for Filters
impl UnwindSafe for Filters
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
Mutably borrows from an owned value. Read more