Struct aws_sdk_connect::types::FilterV2
source · #[non_exhaustive]pub struct FilterV2 {
pub filter_key: Option<String>,
pub filter_values: Option<Vec<String>>,
}
Expand description
Contains the filter to apply when retrieving metrics with the GetMetricDataV2 API.
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.filter_key: Option<String>
The key to use for filtering data. For example, QUEUE
, ROUTING_PROFILE, AGENT
, CHANNEL
, AGENT_HIERARCHY_LEVEL_ONE
, AGENT_HIERARCHY_LEVEL_TWO
, AGENT_HIERARCHY_LEVEL_THREE
, AGENT_HIERARCHY_LEVEL_FOUR
, AGENT_HIERARCHY_LEVEL_FIVE
. There must be at least 1 key and a maximum 5 keys.
filter_values: Option<Vec<String>>
The identifiers to use for filtering data. For example, if you have a filter key of QUEUE
, you would add queue IDs or ARNs in FilterValues
.
Implementations§
source§impl FilterV2
impl FilterV2
sourcepub fn filter_key(&self) -> Option<&str>
pub fn filter_key(&self) -> Option<&str>
The key to use for filtering data. For example, QUEUE
, ROUTING_PROFILE, AGENT
, CHANNEL
, AGENT_HIERARCHY_LEVEL_ONE
, AGENT_HIERARCHY_LEVEL_TWO
, AGENT_HIERARCHY_LEVEL_THREE
, AGENT_HIERARCHY_LEVEL_FOUR
, AGENT_HIERARCHY_LEVEL_FIVE
. There must be at least 1 key and a maximum 5 keys.
sourcepub fn filter_values(&self) -> Option<&[String]>
pub fn filter_values(&self) -> Option<&[String]>
The identifiers to use for filtering data. For example, if you have a filter key of QUEUE
, you would add queue IDs or ARNs in FilterValues
.