update_user
async
¶
update_user(
application_id: ApplicationId,
user_id: String,
*,
config_overrides: Optional[AsyncQBusinessClientConfig] = 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/async_q_business.py
3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 | |