update_user_hierarchy
¶
update_user_hierarchy(
user_id: UserId,
instance_id: InstanceId,
*,
config_overrides: Optional[ConnectClientConfig] = 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/connect.py
28753 28754 28755 28756 28757 28758 28759 28760 28761 28762 28763 28764 28765 28766 28767 28768 28769 28770 28771 28772 28773 28774 28775 28776 28777 28778 28779 28780 28781 28782 28783 28784 28785 28786 28787 28788 28789 28790 28791 28792 28793 28794 28795 28796 28797 28798 28799 28800 28801 28802 28803 28804 28805 28806 28807 | |