kendra / Client / delete_access_control_configuration

delete_access_control_configuration#

kendra.Client.delete_access_control_configuration(**kwargs)#

Deletes an access control configuration that you created for your documents in 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.delete_access_control_configuration(
    IndexId='string',
    Id='string'
)
Parameters:
  • IndexId (string) –

    [REQUIRED]

    The identifier of the index for an access control configuration.

  • Id (string) –

    [REQUIRED]

    The identifier of the access control configuration you want to delete.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • kendra.Client.exceptions.ValidationException

  • kendra.Client.exceptions.ThrottlingException

  • kendra.Client.exceptions.ConflictException

  • kendra.Client.exceptions.ResourceNotFoundException

  • kendra.Client.exceptions.AccessDeniedException

  • kendra.Client.exceptions.InternalServerException