Values.CreateThesaurusRequestSourceCreates a thesaurus for an index. The thesaurus contains a list of synonyms in Solr format. For an example of adding a thesaurus file to an index, see Adding custom synonyms to an index.
type nonrec t = {indexId : IndexId.t;The identifier of the index for the thesaurus.
*)name : ThesaurusName.t;A name for the thesaurus.
*)description : Description.t option;A description for the thesaurus.
*)roleArn : RoleArn.t;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.
*)sourceS3Path : S3Path.t;The path to the thesaurus file in S3.
*)clientToken : ClientTokenName.t option;A token that you provide to identify the request to create a thesaurus. Multiple calls to the CreateThesaurus API with the same client token will create only one thesaurus.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of (string * [> `String of TagKey.t ]) list ] list
| `String of IndexId.t
| `Structure of (string * [> `String of S3BucketName.t ]) list ])
list ]