kendra_create_thesaurus: Creates a thesaurus for an index

View source: R/kendra_operations.R

kendra_create_thesaurusR Documentation

Creates a thesaurus for an index

Description

Creates a thesaurus for an index. The thesaurus contains a list of synonyms in Solr format.

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

Usage

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

Arguments

IndexId

[required] The identifier of the index for the thesaurus.

Name

[required] A name for the thesaurus.

Description

A description for the thesaurus.

RoleArn

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

Tags

A list of key-value pairs that identify or categorize the thesaurus. You can also use tags to help control access to the thesaurus. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.

SourceS3Path

[required] The path to the thesaurus file in S3.

ClientToken

A token that you provide to identify the request to create a thesaurus. Multiple calls to the create_thesaurus API with the same client token will create only one thesaurus.


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