:doc:`kendra <../../kendra>` / Client / delete_query_suggestions_block_list

***********************************
delete_query_suggestions_block_list
***********************************



.. py:method:: 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 <https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DeleteQuerySuggestionsBlockList>`_  


  **Request Syntax**
  ::

    response = client.delete_query_suggestions_block_list(
        IndexId='string',
        Id='string'
    )
    
  :type IndexId: string
  :param IndexId: **[REQUIRED]** 

    The identifier of the index for the block list.

    

  
  :type Id: string
  :param Id: **[REQUIRED]** 

    The identifier of the block list you want to delete.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`kendra.Client.exceptions.ValidationException`

  
  *   :py:class:`kendra.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`kendra.Client.exceptions.ThrottlingException`

  
  *   :py:class:`kendra.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`kendra.Client.exceptions.ConflictException`

  
  *   :py:class:`kendra.Client.exceptions.InternalServerException`

  