Module Smaws_Client_Kendra.CreateQuerySuggestionsBlockList

val request : Smaws_Lib.Context.t -> create_query_suggestions_block_list_request -> (create_query_suggestions_block_list_response, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of access_denied_exception | `ConflictException of conflict_exception | `InternalServerException of internal_server_exception | `ResourceNotFoundException of resource_not_found_exception | `ServiceQuotaExceededException of service_quota_exceeded_exception | `ThrottlingException of throttling_exception | `ValidationException of validation_exception ]) Stdlib.result

Creates a block list to exlcude certain queries from suggestions.

Any query that contains words or phrases specified in the block list is blocked or filtered out from being shown as a suggestion.

You need to provide the file location of your block list text file in your S3 bucket. In your text file, enter each block word or phrase on a separate line.

For information on the current quota limits for block lists, see Quotas for Amazon Kendra.

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

For an example of creating a block list for query suggestions using the Python SDK, see Query suggestions block list.