aws_sdk_connect/client/search_routing_profiles.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`SearchRoutingProfiles`](crate::operation::search_routing_profiles::builders::SearchRoutingProfilesFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::search_routing_profiles::builders::SearchRoutingProfilesFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`instance_id(impl Into<String>)`](crate::operation::search_routing_profiles::builders::SearchRoutingProfilesFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::search_routing_profiles::builders::SearchRoutingProfilesFluentBuilder::set_instance_id):<br>required: **true**<br><p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::search_routing_profiles::builders::SearchRoutingProfilesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::search_routing_profiles::builders::SearchRoutingProfilesFluentBuilder::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_routing_profiles::builders::SearchRoutingProfilesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::search_routing_profiles::builders::SearchRoutingProfilesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return per page.</p><br>
/// - [`search_filter(RoutingProfileSearchFilter)`](crate::operation::search_routing_profiles::builders::SearchRoutingProfilesFluentBuilder::search_filter) / [`set_search_filter(Option<RoutingProfileSearchFilter>)`](crate::operation::search_routing_profiles::builders::SearchRoutingProfilesFluentBuilder::set_search_filter):<br>required: **false**<br><p>Filters to be applied to search results.</p><br>
/// - [`search_criteria(RoutingProfileSearchCriteria)`](crate::operation::search_routing_profiles::builders::SearchRoutingProfilesFluentBuilder::search_criteria) / [`set_search_criteria(Option<RoutingProfileSearchCriteria>)`](crate::operation::search_routing_profiles::builders::SearchRoutingProfilesFluentBuilder::set_search_criteria):<br>required: **false**<br><p>The search criteria to be used to return routing profiles.</p><note> <p>The <code>name</code> and <code>description</code> fields support "contains" queries with a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths outside of this range will throw invalid results.</p> </note><br>
/// - On success, responds with [`SearchRoutingProfilesOutput`](crate::operation::search_routing_profiles::SearchRoutingProfilesOutput) with field(s):
/// - [`routing_profiles(Option<Vec::<RoutingProfile>>)`](crate::operation::search_routing_profiles::SearchRoutingProfilesOutput::routing_profiles): <p>Information about the routing profiles.</p>
/// - [`next_token(Option<String>)`](crate::operation::search_routing_profiles::SearchRoutingProfilesOutput::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_routing_profiles::SearchRoutingProfilesOutput::approximate_total_count): <p>The total number of routing profiles which matched your search query.</p>
/// - On failure, responds with [`SdkError<SearchRoutingProfilesError>`](crate::operation::search_routing_profiles::SearchRoutingProfilesError)
pub fn search_routing_profiles(&self) -> crate::operation::search_routing_profiles::builders::SearchRoutingProfilesFluentBuilder {
crate::operation::search_routing_profiles::builders::SearchRoutingProfilesFluentBuilder::new(self.handle.clone())
}
}