Skip to content

Delete Bot Locale

lexmodelsv2_delete_bot_locale R Documentation

Removes a locale from a bot

Description

Removes a locale from a bot.

When you delete a locale, all intents, slots, and slot types defined for the locale are also deleted.

Usage

lexmodelsv2_delete_bot_locale(botId, botVersion, localeId)

Arguments

botId

[required] The unique identifier of the bot that contains the locale.

botVersion

[required] The version of the bot that contains the locale.

localeId

[required] The identifier of the language and locale that will be deleted. The string must match one of the supported locales. 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"
)

Request syntax

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