list_thesauri(**kwargs)¶Lists the thesauri for an index.
See also: AWS API Documentation
Request Syntax
response = client.list_thesauri(
    IndexId='string',
    NextToken='string',
    MaxResults=123
)
[REQUIRED]
The identifier of the index with one or more thesauri.
ThesaurusSummaryItems ).dict
Response Syntax
{
    'NextToken': 'string',
    'ThesaurusSummaryItems': [
        {
            'Id': 'string',
            'Name': 'string',
            'Status': 'CREATING'|'ACTIVE'|'DELETING'|'UPDATING'|'ACTIVE_BUT_UPDATE_FAILED'|'FAILED',
            'CreatedAt': datetime(2015, 1, 1),
            'UpdatedAt': datetime(2015, 1, 1)
        },
    ]
}
Response Structure
(dict) --
NextToken (string) --
If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of thesauri.
ThesaurusSummaryItems (list) --
An array of summary information for a thesaurus or multiple thesauri.
(dict) --
An array of summary information for a thesaurus or multiple thesauri.
Id (string) --
The identifier of the thesaurus.
Name (string) --
The name of the thesaurus.
Status (string) --
The status of the thesaurus.
CreatedAt (datetime) --
The Unix datetime that the thesaurus was created.
UpdatedAt (datetime) --
The Unix datetime that the thesaurus was last updated.
Exceptions
kendra.Client.exceptions.ValidationExceptionkendra.Client.exceptions.ResourceNotFoundExceptionkendra.Client.exceptions.ThrottlingExceptionkendra.Client.exceptions.AccessDeniedExceptionkendra.Client.exceptions.InternalServerException