Put Bot Alias
| lexmodelbuildingservice_put_bot_alias | R Documentation |
Creates an alias for the specified version of the bot or replaces an alias for the specified bot¶
Description¶
Creates 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.
This operation requires permissions for the lex:PutBotAlias action.
Usage¶
lexmodelbuildingservice_put_bot_alias(name, description, botVersion,
botName, checksum, conversationLogs, tags)
Arguments¶
name[required] The name of the alias. The name is not case sensitive.
descriptionA description of the alias.
botVersion[required] The version of the bot.
botName[required] The name of the bot.
checksumIdentifies 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.conversationLogsSettings for conversation logs for the alias.
tagsA 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.
Value¶
A list with the following syntax:
list(
name = "string",
description = "string",
botVersion = "string",
botName = "string",
lastUpdatedDate = as.POSIXct(
"2015-01-01"
),
createdDate = as.POSIXct(
"2015-01-01"
),
checksum = "string",
conversationLogs = list(
logSettings = list(
list(
logType = "AUDIO"|"TEXT",
destination = "CLOUDWATCH_LOGS"|"S3",
kmsKeyArn = "string",
resourceArn = "string",
resourcePrefix = "string"
)
),
iamRoleArn = "string"
),
tags = list(
list(
key = "string",
value = "string"
)
)
)
Request syntax¶
svc$put_bot_alias(
name = "string",
description = "string",
botVersion = "string",
botName = "string",
checksum = "string",
conversationLogs = list(
logSettings = list(
list(
logType = "AUDIO"|"TEXT",
destination = "CLOUDWATCH_LOGS"|"S3",
kmsKeyArn = "string",
resourceArn = "string"
)
),
iamRoleArn = "string"
),
tags = list(
list(
key = "string",
value = "string"
)
)
)