aws_sdk_connect/client/search_user_hierarchy_groups.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`SearchUserHierarchyGroups`](crate::operation::search_user_hierarchy_groups::builders::SearchUserHierarchyGroupsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::search_user_hierarchy_groups::builders::SearchUserHierarchyGroupsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`instance_id(impl Into<String>)`](crate::operation::search_user_hierarchy_groups::builders::SearchUserHierarchyGroupsFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::search_user_hierarchy_groups::builders::SearchUserHierarchyGroupsFluentBuilder::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_user_hierarchy_groups::builders::SearchUserHierarchyGroupsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::search_user_hierarchy_groups::builders::SearchUserHierarchyGroupsFluentBuilder::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_user_hierarchy_groups::builders::SearchUserHierarchyGroupsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::search_user_hierarchy_groups::builders::SearchUserHierarchyGroupsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return per page.</p><br>
/// - [`search_filter(UserHierarchyGroupSearchFilter)`](crate::operation::search_user_hierarchy_groups::builders::SearchUserHierarchyGroupsFluentBuilder::search_filter) / [`set_search_filter(Option<UserHierarchyGroupSearchFilter>)`](crate::operation::search_user_hierarchy_groups::builders::SearchUserHierarchyGroupsFluentBuilder::set_search_filter):<br>required: **false**<br><p>Filters to be applied to search results.</p><br>
/// - [`search_criteria(UserHierarchyGroupSearchCriteria)`](crate::operation::search_user_hierarchy_groups::builders::SearchUserHierarchyGroupsFluentBuilder::search_criteria) / [`set_search_criteria(Option<UserHierarchyGroupSearchCriteria>)`](crate::operation::search_user_hierarchy_groups::builders::SearchUserHierarchyGroupsFluentBuilder::set_search_criteria):<br>required: **false**<br><p>The search criteria to be used to return UserHierarchyGroups.</p><br>
/// - On success, responds with [`SearchUserHierarchyGroupsOutput`](crate::operation::search_user_hierarchy_groups::SearchUserHierarchyGroupsOutput) with field(s):
/// - [`user_hierarchy_groups(Option<Vec::<HierarchyGroup>>)`](crate::operation::search_user_hierarchy_groups::SearchUserHierarchyGroupsOutput::user_hierarchy_groups): <p>Information about the userHierarchyGroups.</p>
/// - [`next_token(Option<String>)`](crate::operation::search_user_hierarchy_groups::SearchUserHierarchyGroupsOutput::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_user_hierarchy_groups::SearchUserHierarchyGroupsOutput::approximate_total_count): <p>The total number of userHierarchyGroups which matched your search query.</p>
/// - On failure, responds with [`SdkError<SearchUserHierarchyGroupsError>`](crate::operation::search_user_hierarchy_groups::SearchUserHierarchyGroupsError)
pub fn search_user_hierarchy_groups(&self) -> crate::operation::search_user_hierarchy_groups::builders::SearchUserHierarchyGroupsFluentBuilder {
crate::operation::search_user_hierarchy_groups::builders::SearchUserHierarchyGroupsFluentBuilder::new(self.handle.clone())
}
}