Skip to content

Delete Bot Version

lexmodelbuildingservice_delete_bot_version R Documentation

Deletes a specific version of a bot

Description

Deletes a specific version of a bot. To delete all versions of a bot, use the delete_bot operation.

This operation requires permissions for the lex:DeleteBotVersion action.

Usage

lexmodelbuildingservice_delete_bot_version(name, version)

Arguments

name

[required] The name of the bot.

version

[required] The version of the bot to delete. You cannot delete the ⁠$LATEST⁠ version of the bot. To delete the ⁠$LATEST⁠ version, use the delete_bot operation.

Value

An empty list.

Request syntax

svc$delete_bot_version(
  name = "string",
  version = "string"
)