Skip to content

Build Bot Locale

lexmodelsv2_build_bot_locale R Documentation

Builds a bot, its intents, and its slot types into a specific locale

Description

Builds a bot, its intents, and its slot types into a specific locale. A bot can be built into multiple locales. At runtime the locale is used to choose a specific build of the bot.

Usage

lexmodelsv2_build_bot_locale(botId, botVersion, localeId)

Arguments

botId

[required] The identifier of the bot to build. The identifier is returned in the response from the create_bot operation.

botVersion

[required] The version of the bot to build. This can only be the draft version of the bot.

localeId

[required] The identifier of the language and locale that the bot will be used in. The string must match one of the supported locales. All of the intents, slot types, and slots used in the bot must have the same locale. For more information, see Supported languages.

Value

A list with the following syntax:

list(
  botId = "string",
  botVersion = "string",
  localeId = "string",
  botLocaleStatus = "Creating"|"Building"|"Built"|"ReadyExpressTesting"|"Failed"|"Deleting"|"NotBuilt"|"Importing"|"Processing",
  lastBuildSubmittedDateTime = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$build_bot_locale(
  botId = "string",
  botVersion = "string",
  localeId = "string"
)