Skip to content

Paginated list of custom vocabulary items for a given bot locale's custom vocabulary

Description

Paginated list of custom vocabulary items for a given bot locale's custom vocabulary.

Usage

lexmodelsv2_list_custom_vocabulary_items(botId, botVersion, localeId,
  maxResults, nextToken)

Arguments

  • botId

    [required] The identifier of the version of the bot associated with this custom vocabulary.

  • botVersion

    [required] The bot version of the bot to the list custom vocabulary request.

  • localeId

    [required] The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).

  • maxResults

    The maximum number of items returned by the list operation.

  • nextToken

    The nextToken identifier to the list custom vocabulary request.

Value

A list with the following syntax:

list(
  botId = "string",
  botVersion = "string",
  localeId = "string",
  customVocabularyItems = list(
    list(
      itemId = "string",
      phrase = "string",
      weight = 123,
      displayAs = "string"
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_custom_vocabulary_items(
  botId = "string",
  botVersion = "string",
  localeId = "string",
  maxResults = 123,
  nextToken = "string"
)