Struct aws_sdk_connect::types::SearchCriteria
source · #[non_exhaustive]pub struct SearchCriteria {
pub agent_ids: Option<Vec<String>>,
pub agent_hierarchy_groups: Option<AgentHierarchyGroups>,
pub channels: Option<Vec<Channel>>,
pub contact_analysis: Option<ContactAnalysis>,
pub initiation_methods: Option<Vec<ContactInitiationMethod>>,
pub queue_ids: Option<Vec<String>>,
pub searchable_contact_attributes: Option<SearchableContactAttributes>,
}
Expand description
A structure of search criteria to be used to return contacts.
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.agent_ids: Option<Vec<String>>
The identifiers of agents who handled the contacts.
agent_hierarchy_groups: Option<AgentHierarchyGroups>
The agent hierarchy groups of the agent at the time of handling the contact.
channels: Option<Vec<Channel>>
The list of channels associated with contacts.
contact_analysis: Option<ContactAnalysis>
Search criteria based on analysis outputs from Amazon Connect Contact Lens.
initiation_methods: Option<Vec<ContactInitiationMethod>>
The list of initiation methods associated with contacts.
queue_ids: Option<Vec<String>>
The list of queue IDs associated with contacts.
searchable_contact_attributes: Option<SearchableContactAttributes>
The search criteria based on user-defined contact attributes that have been configured for contact search. For more information, see Search by customer contact attributes in the Amazon Connect Administrator Guide.
To use SearchableContactAttributes
in a search request, the GetContactAttributes
action is required to perform an API request. For more information, see https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonconnect.html#amazonconnect-actions-as-permissionsActions defined by Amazon Connect.
Implementations§
source§impl SearchCriteria
impl SearchCriteria
sourcepub fn agent_ids(&self) -> &[String]
pub fn agent_ids(&self) -> &[String]
The identifiers of agents who handled the contacts.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .agent_ids.is_none()
.
sourcepub fn agent_hierarchy_groups(&self) -> Option<&AgentHierarchyGroups>
pub fn agent_hierarchy_groups(&self) -> Option<&AgentHierarchyGroups>
The agent hierarchy groups of the agent at the time of handling the contact.
sourcepub fn channels(&self) -> &[Channel]
pub fn channels(&self) -> &[Channel]
The list of channels associated with contacts.
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 contact_analysis(&self) -> Option<&ContactAnalysis>
pub fn contact_analysis(&self) -> Option<&ContactAnalysis>
Search criteria based on analysis outputs from Amazon Connect Contact Lens.
sourcepub fn initiation_methods(&self) -> &[ContactInitiationMethod]
pub fn initiation_methods(&self) -> &[ContactInitiationMethod]
The list of initiation methods associated with contacts.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .initiation_methods.is_none()
.
sourcepub fn queue_ids(&self) -> &[String]
pub fn queue_ids(&self) -> &[String]
The list of queue IDs associated with contacts.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .queue_ids.is_none()
.
sourcepub fn searchable_contact_attributes(
&self
) -> Option<&SearchableContactAttributes>
pub fn searchable_contact_attributes( &self ) -> Option<&SearchableContactAttributes>
The search criteria based on user-defined contact attributes that have been configured for contact search. For more information, see Search by customer contact attributes in the Amazon Connect Administrator Guide.
To use SearchableContactAttributes
in a search request, the GetContactAttributes
action is required to perform an API request. For more information, see https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonconnect.html#amazonconnect-actions-as-permissionsActions defined by Amazon Connect.
source§impl SearchCriteria
impl SearchCriteria
sourcepub fn builder() -> SearchCriteriaBuilder
pub fn builder() -> SearchCriteriaBuilder
Creates a new builder-style object to manufacture SearchCriteria
.
Trait Implementations§
source§impl Clone for SearchCriteria
impl Clone for SearchCriteria
source§fn clone(&self) -> SearchCriteria
fn clone(&self) -> SearchCriteria
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SearchCriteria
impl Debug for SearchCriteria
source§impl PartialEq for SearchCriteria
impl PartialEq for SearchCriteria
source§fn eq(&self, other: &SearchCriteria) -> bool
fn eq(&self, other: &SearchCriteria) -> bool
self
and other
values to be equal, and is used
by ==
.