UserContext
¶
Used by
-
AsynckendraClient Operations -
kendraClient Operations
Source code in docs_src/capo_kendra/types/user_context.py
data_source_groups
instance-attribute
¶
data_source_groups: NotRequired[DataSourceGroups]
The list of data source groups you want to filter search results based on groups' access to documents in that data source.
groups
instance-attribute
¶
groups: NotRequired[Groups]
The list of groups you want to filter search results based on the groups' access to documents.
token
instance-attribute
¶
token: NotRequired[Token]
The user context token for filtering search results for a user. It must be a JWT or a JSON token.
user_id
instance-attribute
¶
user_id: NotRequired[PrincipalName]
The identifier of the user you want to filter search results based on their access to documents.