kendra_create_query_suggestions_block_list: Creates a block list to exlcude certain queries from...

View source: R/kendra_operations.R

kendra_create_query_suggestions_block_listR Documentation

Creates a block list to exlcude certain queries from suggestions

Description

Creates a block list to exlcude certain queries from suggestions.

See https://www.paws-r-sdk.com/docs/kendra_create_query_suggestions_block_list/ for full documentation.

Usage

kendra_create_query_suggestions_block_list(
  IndexId,
  Name,
  Description = NULL,
  SourceS3Path,
  ClientToken = NULL,
  RoleArn,
  Tags = NULL
)

Arguments

IndexId

[required] The identifier of the index you want to create a query suggestions block list for.

Name

[required] A name for the block list.

For example, the name 'offensive-words', which includes all offensive words that could appear in user queries and need to be blocked from suggestions.

Description

A description for the block list.

For example, the description "List of all offensive words that can appear in user queries and need to be blocked from suggestions."

SourceS3Path

[required] The S3 path to your block list text file in your S3 bucket.

Each block word or phrase should be on a separate line in a text file.

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

ClientToken

A token that you provide to identify the request to create a query suggestions block list.

RoleArn

[required] The Amazon Resource Name (ARN) of an IAM role with permission to access your S3 bucket that contains the block list text file. For more information, see IAM access roles for Amazon Kendra.

Tags

A list of key-value pairs that identify or categorize the block list. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.


paws.analytics documentation built on Sept. 11, 2023, 5:06 p.m.