update_user_hierarchy
async
¶
update_user_hierarchy(
user_id: UserId,
instance_id: InstanceId,
*,
config_overrides: Optional[AsyncConnectClientConfig] = None,
hierarchy_group_id: Optional[HierarchyGroupId] = None,
) -> None
Assigns the specified hierarchy group to the specified user.
Parameters:
-
hierarchy_group_id(Optional[HierarchyGroupId], default:None) –The identifier of the hierarchy group.
-
user_id(UserId) –The identifier of the user account.
-
instance_id(InstanceId) –The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
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/async_connect.py
29144 29145 29146 29147 29148 29149 29150 29151 29152 29153 29154 29155 29156 29157 29158 29159 29160 29161 29162 29163 29164 29165 29166 29167 29168 29169 29170 29171 29172 29173 29174 29175 29176 29177 29178 29179 29180 29181 29182 29183 29184 29185 29186 29187 29188 29189 29190 29191 29192 29193 29194 29195 29196 29197 29198 29199 | |