Update Bot Alias
| lexmodelsv2_update_bot_alias | R Documentation |
Updates the configuration of an existing bot alias¶
Description¶
Updates the configuration of an existing bot alias.
Usage¶
lexmodelsv2_update_bot_alias(botAliasId, botAliasName, description,
botVersion, botAliasLocaleSettings, conversationLogSettings,
sentimentAnalysisSettings, botId)
Arguments¶
botAliasId[required] The unique identifier of the bot alias.
botAliasName[required] The new name to assign to the bot alias.
descriptionThe new description to assign to the bot alias.
botVersionThe new bot version to assign to the bot alias.
botAliasLocaleSettingsThe new Lambda functions to use in each locale for the bot alias.
conversationLogSettingsThe new settings for storing conversation logs in Amazon CloudWatch Logs and Amazon S3 buckets.
sentimentAnalysisSettingsbotId[required] The identifier of the bot with the updated alias.
Value¶
A list with the following syntax:
list(
botAliasId = "string",
botAliasName = "string",
description = "string",
botVersion = "string",
botAliasLocaleSettings = list(
list(
enabled = TRUE|FALSE,
codeHookSpecification = list(
lambdaCodeHook = list(
lambdaARN = "string",
codeHookInterfaceVersion = "string"
)
)
)
),
conversationLogSettings = list(
textLogSettings = list(
list(
enabled = TRUE|FALSE,
destination = list(
cloudWatch = list(
cloudWatchLogGroupArn = "string",
logPrefix = "string"
)
),
selectiveLoggingEnabled = TRUE|FALSE
)
),
audioLogSettings = list(
list(
enabled = TRUE|FALSE,
destination = list(
s3Bucket = list(
kmsKeyArn = "string",
s3BucketArn = "string",
logPrefix = "string"
)
),
selectiveLoggingEnabled = TRUE|FALSE
)
)
),
sentimentAnalysisSettings = list(
detectSentiment = TRUE|FALSE
),
botAliasStatus = "Creating"|"Available"|"Deleting"|"Failed",
botId = "string",
creationDateTime = as.POSIXct(
"2015-01-01"
),
lastUpdatedDateTime = as.POSIXct(
"2015-01-01"
)
)
Request syntax¶
svc$update_bot_alias(
botAliasId = "string",
botAliasName = "string",
description = "string",
botVersion = "string",
botAliasLocaleSettings = list(
list(
enabled = TRUE|FALSE,
codeHookSpecification = list(
lambdaCodeHook = list(
lambdaARN = "string",
codeHookInterfaceVersion = "string"
)
)
)
),
conversationLogSettings = list(
textLogSettings = list(
list(
enabled = TRUE|FALSE,
destination = list(
cloudWatch = list(
cloudWatchLogGroupArn = "string",
logPrefix = "string"
)
),
selectiveLoggingEnabled = TRUE|FALSE
)
),
audioLogSettings = list(
list(
enabled = TRUE|FALSE,
destination = list(
s3Bucket = list(
kmsKeyArn = "string",
s3BucketArn = "string",
logPrefix = "string"
)
),
selectiveLoggingEnabled = TRUE|FALSE
)
)
),
sentimentAnalysisSettings = list(
detectSentiment = TRUE|FALSE
),
botId = "string"
)