kendra.Client.
update_thesaurus
(**kwargs)¶Updates a thesaurus for an index.
See also: AWS API Documentation
Request Syntax
response = client.update_thesaurus(
Id='string',
Name='string',
IndexId='string',
Description='string',
RoleArn='string',
SourceS3Path={
'Bucket': 'string',
'Key': 'string'
}
)
[REQUIRED]
The identifier of the thesaurus you want to update.
[REQUIRED]
The identifier of the index for the thesaurus.
SourceS3Path
.Information required to find a specific file in an Amazon S3 bucket.
The name of the S3 bucket that contains the file.
The name of the file.
None
Exceptions
kendra.Client.exceptions.ValidationException
kendra.Client.exceptions.ResourceNotFoundException
kendra.Client.exceptions.ThrottlingException
kendra.Client.exceptions.AccessDeniedException
kendra.Client.exceptions.ConflictException
kendra.Client.exceptions.InternalServerException