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. |
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 When you create a new bot alias, leave the When you want to update a bot alias, set the |
conversationLogs |
Settings for conversation logs for the alias. |
tags |
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 |
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"
)
)
)