QBusiness / Client / update_user
update_user#
- QBusiness.Client.update_user(**kwargs)#
Updates a information associated with a user id.
See also: AWS API Documentation
Request Syntax
response = client.update_user( applicationId='string', userAliasesToDelete=[ { 'dataSourceId': 'string', 'indexId': 'string', 'userId': 'string' }, ], userAliasesToUpdate=[ { 'dataSourceId': 'string', 'indexId': 'string', 'userId': 'string' }, ], userId='string' )
- Parameters:
applicationId (string) –
[REQUIRED]
The identifier of the application the user is attached to.
userAliasesToDelete (list) –
The user aliases attached to the user id that are to be deleted.
(dict) –
Aliases attached to a user id within an Amazon Q Business application.
dataSourceId (string) –
The identifier of the data source that the user aliases are associated with.
indexId (string) –
The identifier of the index that the user aliases are associated with.
userId (string) – [REQUIRED]
The identifier of the user id associated with the user aliases.
userAliasesToUpdate (list) –
The user aliases attached to the user id that are to be updated.
(dict) –
Aliases attached to a user id within an Amazon Q Business application.
dataSourceId (string) –
The identifier of the data source that the user aliases are associated with.
indexId (string) –
The identifier of the index that the user aliases are associated with.
userId (string) – [REQUIRED]
The identifier of the user id associated with the user aliases.
userId (string) –
[REQUIRED]
The email id attached to the user.
- Return type:
dict
- Returns:
Response Syntax
{ 'userAliasesAdded': [ { 'dataSourceId': 'string', 'indexId': 'string', 'userId': 'string' }, ], 'userAliasesDeleted': [ { 'dataSourceId': 'string', 'indexId': 'string', 'userId': 'string' }, ], 'userAliasesUpdated': [ { 'dataSourceId': 'string', 'indexId': 'string', 'userId': 'string' }, ] }
Response Structure
(dict) –
userAliasesAdded (list) –
The user aliases that have been to be added to a user id.
(dict) –
Aliases attached to a user id within an Amazon Q Business application.
dataSourceId (string) –
The identifier of the data source that the user aliases are associated with.
indexId (string) –
The identifier of the index that the user aliases are associated with.
userId (string) –
The identifier of the user id associated with the user aliases.
userAliasesDeleted (list) –
The user aliases that have been deleted from a user id.
(dict) –
Aliases attached to a user id within an Amazon Q Business application.
dataSourceId (string) –
The identifier of the data source that the user aliases are associated with.
indexId (string) –
The identifier of the index that the user aliases are associated with.
userId (string) –
The identifier of the user id associated with the user aliases.
userAliasesUpdated (list) –
The user aliases attached to a user id that have been updated.
(dict) –
Aliases attached to a user id within an Amazon Q Business application.
dataSourceId (string) –
The identifier of the data source that the user aliases are associated with.
indexId (string) –
The identifier of the index that the user aliases are associated with.
userId (string) –
The identifier of the user id associated with the user aliases.
Exceptions
QBusiness.Client.exceptions.ResourceNotFoundException
QBusiness.Client.exceptions.InternalServerException
QBusiness.Client.exceptions.ThrottlingException
QBusiness.Client.exceptions.ValidationException
QBusiness.Client.exceptions.AccessDeniedException
QBusiness.Client.exceptions.ServiceQuotaExceededException