list_access_control_configurations
(**kwargs)¶Lists one or more access control configurations for an index. This includes user and group access information for your documents. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.
See also: AWS API Documentation
Request Syntax
response = client.list_access_control_configurations(
IndexId='string',
NextToken='string',
MaxResults=123
)
[REQUIRED]
The identifier of the index for the access control configuration.
dict
Response Syntax
{
'NextToken': 'string',
'AccessControlConfigurations': [
{
'Id': 'string'
},
]
}
Response Structure
(dict) --
NextToken (string) --
If the response is truncated, Amazon Kendra returns this token, which you can use in the subsequent request to retrieve the next set of access control configurations.
AccessControlConfigurations (list) --
The details of your access control configurations.
(dict) --
Summary information on an access control configuration that you created for your documents in an index.
Id (string) --
The identifier of the access control configuration.
Exceptions
kendra.Client.exceptions.ValidationException
kendra.Client.exceptions.ThrottlingException
kendra.Client.exceptions.ResourceNotFoundException
kendra.Client.exceptions.AccessDeniedException
kendra.Client.exceptions.InternalServerException