createThesaurus
inline suspend fun KendraClient.createThesaurus(crossinline block: CreateThesaurusRequest.Builder.() -> Unit): CreateThesaurusResponse
Creates 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.