update_user
¶
update_user(
application_id: ApplicationId,
user_id: String,
*,
config_overrides: Optional[QBusinessClientConfig] = None,
user_aliases_to_update: Optional[UserAliases] = None,
user_aliases_to_delete: Optional[UserAliases] = None,
) -> UpdateUserResponse
Updates a information associated with a user id.
Parameters:
-
application_id(ApplicationId) –The identifier of the application the user is attached to.
-
user_id(String) –The email id attached to the user.
-
user_aliases_to_update(Optional[UserAliases], default:None) –The user aliases attached to the user id that are to be updated.
-
user_aliases_to_delete(Optional[UserAliases], default:None) –The user aliases attached to the user id that are to be deleted.
Raises:
-
AccessDeniedException–You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
-
ConflictException–You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies with your resources and try again.
-
InternalServerException–An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
-
ResourceNotFoundException–The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
-
ServiceQuotaExceededException–You have exceeded the set limits for your Amazon Q Business service.
-
ThrottlingException–The request was denied due to throttling. Reduce the number of requests and try again.
-
ValidationException–The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_qbusiness/_services/q_business.py
3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 | |