Delete Bot Alias
lexmodelbuildingservice_delete_bot_alias | R Documentation |
Deletes an alias for the specified bot¶
Description¶
Deletes an alias for the specified bot.
You can't delete an alias that is used in the association between a bot
and a messaging channel. If an alias is used in a channel association,
the delete_bot
operation returns a ResourceInUseException
exception
that includes a reference to the channel association that refers to the
bot. You can remove the reference to the alias by deleting the channel
association. If you get the same exception again, delete the referring
association until the delete_bot_alias
operation is successful.
Usage¶
Arguments¶
name
[required] The name of the alias to delete. The name is case sensitive.
botName
[required] The name of the bot that the alias points to.
Value¶
An empty list.