Skip to content

Delete Bot Alias

lexmodelsv2_delete_bot_alias R Documentation

Deletes the specified bot alias

Description

Deletes the specified bot alias.

Usage

lexmodelsv2_delete_bot_alias(botAliasId, botId, skipResourceInUseCheck)

Arguments

botAliasId

[required] The unique identifier of the bot alias to delete.

botId

[required] The unique identifier of the bot associated with the alias to delete.

skipResourceInUseCheck

By default, Amazon Lex checks if any other resource, such as a bot network, is using the bot alias before it is deleted and throws a ResourceInUseException exception if the alias is being used by another resource. Set this parameter to true to skip this check and remove the alias even if it is being used by another resource.

Value

A list with the following syntax:

list(
  botAliasId = "string",
  botId = "string",
  botAliasStatus = "Creating"|"Available"|"Deleting"|"Failed"
)

Request syntax

svc$delete_bot_alias(
  botAliasId = "string",
  botId = "string",
  skipResourceInUseCheck = TRUE|FALSE
)