kendra / Client / delete_query_suggestions_block_list

delete_query_suggestions_block_list#

kendra.Client.delete_query_suggestions_block_list(**kwargs)#

Deletes a block list used for query suggestions for an index.

A deleted block list might not take effect right away. Amazon Kendra needs to refresh the entire suggestions list to add back the queries that were previously blocked.

DeleteQuerySuggestionsBlockList is currently not supported in the Amazon Web Services GovCloud (US-West) region.

See also: AWS API Documentation

Request Syntax

response = client.delete_query_suggestions_block_list(
    IndexId='string',
    Id='string'
)
Parameters:
  • IndexId (string) –

    [REQUIRED]

    The identifier of the index for the block list.

  • Id (string) –

    [REQUIRED]

    The identifier of the block list you want to delete.

Returns:

None

Exceptions