QBusiness / Client / create_user
create_user#
- QBusiness.Client.create_user(**kwargs)#
Creates a universally unique identifier (UUID) mapped to a list of local user ids within an application.
See also: AWS API Documentation
Request Syntax
response = client.create_user( applicationId='string', userId='string', userAliases=[ { 'indexId': 'string', 'dataSourceId': 'string', 'userId': 'string' }, ], clientToken='string' )
- Parameters:
applicationId (string) –
[REQUIRED]
The identifier of the application for which the user mapping will be created.
userId (string) –
[REQUIRED]
The user emails attached to a user mapping.
userAliases (list) –
The list of user aliases in the mapping.
(dict) –
Aliases attached to a user id within an Amazon Q Business application.
indexId (string) –
The identifier of the index that the user aliases are associated with.
dataSourceId (string) –
The identifier of the data source that the user aliases are associated with.
userId (string) – [REQUIRED]
The identifier of the user id associated with the user aliases.
clientToken (string) –
A token that you provide to identify the request to create your Amazon Q Business user mapping.
This field is autopopulated if not provided.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions