lexmodelbuildingservice_put_bot_alias: Creates an alias for the specified version of the bot or...

View source: R/lexmodelbuildingservice_operations.R

lexmodelbuildingservice_put_bot_aliasR 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.

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 ⁠$LATEST⁠ version.

When you create a new bot alias, leave the checksum field blank. If you specify a checksum you get a BadRequestException exception.

When you want to update a bot alias, set the checksum field to the checksum of the most recent revision of the ⁠$LATEST⁠ version. If you don't specify the checksum field, or if the checksum does not match the ⁠$LATEST⁠ version, you get a PreconditionFailedException exception.

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 put_bot_alias operation to update the tags on a bot alias. To update tags, use the tag_resource operation.


paws.machine.learning documentation built on Sept. 12, 2024, 6:23 a.m.