aws_sdk_connect/client/search_agent_statuses.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`SearchAgentStatuses`](crate::operation::search_agent_statuses::builders::SearchAgentStatusesFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::search_agent_statuses::builders::SearchAgentStatusesFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`instance_id(impl Into<String>)`](crate::operation::search_agent_statuses::builders::SearchAgentStatusesFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::search_agent_statuses::builders::SearchAgentStatusesFluentBuilder::set_instance_id):<br>required: **true**<br><p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::search_agent_statuses::builders::SearchAgentStatusesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::search_agent_statuses::builders::SearchAgentStatusesFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.</p><br>
/// - [`max_results(i32)`](crate::operation::search_agent_statuses::builders::SearchAgentStatusesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::search_agent_statuses::builders::SearchAgentStatusesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return per page.</p><br>
/// - [`search_filter(AgentStatusSearchFilter)`](crate::operation::search_agent_statuses::builders::SearchAgentStatusesFluentBuilder::search_filter) / [`set_search_filter(Option<AgentStatusSearchFilter>)`](crate::operation::search_agent_statuses::builders::SearchAgentStatusesFluentBuilder::set_search_filter):<br>required: **false**<br><p>Filters to be applied to search results.</p><br>
/// - [`search_criteria(AgentStatusSearchCriteria)`](crate::operation::search_agent_statuses::builders::SearchAgentStatusesFluentBuilder::search_criteria) / [`set_search_criteria(Option<AgentStatusSearchCriteria>)`](crate::operation::search_agent_statuses::builders::SearchAgentStatusesFluentBuilder::set_search_criteria):<br>required: **false**<br><p>The search criteria to be used to return agent statuses.</p><br>
/// - On success, responds with [`SearchAgentStatusesOutput`](crate::operation::search_agent_statuses::SearchAgentStatusesOutput) with field(s):
/// - [`agent_statuses(Option<Vec::<AgentStatus>>)`](crate::operation::search_agent_statuses::SearchAgentStatusesOutput::agent_statuses): <p>The search criteria to be used to return agent statuses.</p>
/// - [`next_token(Option<String>)`](crate::operation::search_agent_statuses::SearchAgentStatusesOutput::next_token): <p>If there are additional results, this is the token for the next set of results.</p>
/// - [`approximate_total_count(Option<i64>)`](crate::operation::search_agent_statuses::SearchAgentStatusesOutput::approximate_total_count): <p>The total number of agent statuses which matched your search query.</p>
/// - On failure, responds with [`SdkError<SearchAgentStatusesError>`](crate::operation::search_agent_statuses::SearchAgentStatusesError)
pub fn search_agent_statuses(&self) -> crate::operation::search_agent_statuses::builders::SearchAgentStatusesFluentBuilder {
crate::operation::search_agent_statuses::builders::SearchAgentStatusesFluentBuilder::new(self.handle.clone())
}
}