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>>,
pub routing_step_expressions: Option<Vec<String>>,
}
Expand description
Contains the filter to apply when retrieving metrics.
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.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.
routing_step_expressions: Option<Vec<String>>
A list of expressions as a filter, in which an expression is an object of a step in a routing criteria.
Implementations§
source§impl Filters
impl Filters
sourcepub fn queues(&self) -> &[String]
pub fn queues(&self) -> &[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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .queues.is_none()
.
sourcepub fn channels(&self) -> &[Channel]
pub fn channels(&self) -> &[Channel]
The channel to use to filter the metrics.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .channels.is_none()
.
sourcepub fn routing_profiles(&self) -> &[String]
pub fn routing_profiles(&self) -> &[String]
A list of up to 100 routing profile IDs or ARNs.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .routing_profiles.is_none()
.
sourcepub fn routing_step_expressions(&self) -> &[String]
pub fn routing_step_expressions(&self) -> &[String]
A list of expressions as a filter, in which an expression is an object of a step in a routing criteria.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .routing_step_expressions.is_none()
.