Skip to content

List Thesauri

kendra_list_thesauri R Documentation

Lists the thesauri for an index

Description

Lists the thesauri for an index.

Usage

kendra_list_thesauri(IndexId, NextToken, MaxResults)

Arguments

IndexId

[required] The identifier of the index with one or more thesauri.

NextToken

If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of thesauri (ThesaurusSummaryItems).

MaxResults

The maximum number of thesauri to return.

Value

A list with the following syntax:

list(
  NextToken = "string",
  ThesaurusSummaryItems = list(
    list(
      Id = "string",
      Name = "string",
      Status = "CREATING"|"ACTIVE"|"DELETING"|"UPDATING"|"ACTIVE_BUT_UPDATE_FAILED"|"FAILED",
      CreatedAt = as.POSIXct(
        "2015-01-01"
      ),
      UpdatedAt = as.POSIXct(
        "2015-01-01"
      )
    )
  )
)

Request syntax

svc$list_thesauri(
  IndexId = "string",
  NextToken = "string",
  MaxResults = 123
)