Creates an alias for the specified version of the bot or replaces an alias for the specified bot
Source:R/lexmodelbuildingservice_operations.R
lexmodelbuildingservice_put_bot_alias.RdCreates an alias for the specified version of the bot or replaces an alias for the specified bot. To change the version of the bot that the alias points to, replace the alias. For more information about aliases, see versioning-aliases.
See https://www.paws-r-sdk.com/docs/lexmodelbuildingservice_put_bot_alias/ for full documentation.
Usage
lexmodelbuildingservice_put_bot_alias(
name,
description = NULL,
botVersion,
botName,
checksum = NULL,
conversationLogs = NULL,
tags = NULL
)Arguments
- name
[required] The name of the alias. The name is not case sensitive.
- description
A description of the alias.
- botVersion
[required] The version of the bot.
- botName
[required] The name of the bot.
- checksum
Identifies a specific revision of the
$LATESTversion.When you create a new bot alias, leave the
checksumfield blank. If you specify a checksum you get aBadRequestExceptionexception.When you want to update a bot alias, set the
checksumfield to the checksum of the most recent revision of the$LATESTversion. If you don't specify thechecksumfield, or if the checksum does not match the$LATESTversion, you get aPreconditionFailedExceptionexception.- conversationLogs
Settings for conversation logs for the alias.
A list of tags to add to the bot alias. You can only add tags when you create an alias, you can't use the
put_bot_aliasoperation to update the tags on a bot alias. To update tags, use thetag_resourceoperation.