Module Smaws_Client_Kendra.CreateThesaurus

val request : Smaws_Lib.Context.t -> create_thesaurus_request -> (create_thesaurus_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 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.