search_user_hierarchy_groups
¶
search_user_hierarchy_groups(
instance_id: InstanceId,
*,
config_overrides: Optional[ConnectClientConfig] = None,
next_token: Optional[NextToken2500] = None,
max_results: Optional[MaxResult100] = None,
search_filter: Optional[UserHierarchyGroupSearchFilter] = None,
search_criteria: Optional[UserHierarchyGroupSearchCriteria] = None,
) -> SearchUserHierarchyGroupsResponse
Searches UserHierarchyGroups in an Connect Customer instance, with optional filtering.
The UserHierarchyGroup with "LevelId": "0" is the foundation for building levels on top of an instance. It is not user-definable, nor is it visible in the UI.
Parameters:
-
instance_id(InstanceId) –The identifier of the Connect Customer instance. You can find the instanceId in the ARN of the instance.
-
next_token(Optional[NextToken2500], default:None) –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.
-
max_results(Optional[MaxResult100], default:None) –The maximum number of results to return per page.
-
search_filter(Optional[UserHierarchyGroupSearchFilter], default:None) –Filters to be applied to search results.
-
search_criteria(Optional[UserHierarchyGroupSearchCriteria], default:None) –The search criteria to be used to return UserHierarchyGroups.
Raises:
-
InternalServiceException–Request processing failed because of an error or failure with the service.
-
InvalidParameterException–One or more of the specified parameters are not valid.
-
InvalidRequestException–The request is not valid.
-
ResourceNotFoundException–The specified resource was not found.
-
ThrottlingException–The throttling limit has been exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_connect/_services/connect.py
22177 22178 22179 22180 22181 22182 22183 22184 22185 22186 22187 22188 22189 22190 22191 22192 22193 22194 22195 22196 22197 22198 22199 22200 22201 22202 22203 22204 22205 22206 22207 22208 22209 22210 22211 22212 22213 22214 22215 22216 22217 22218 22219 22220 22221 22222 22223 22224 22225 22226 22227 22228 22229 22230 22231 22232 22233 22234 22235 22236 22237 22238 22239 22240 22241 22242 22243 22244 | |