AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the PutBotAlias operation. 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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.LexModelBuildingService.AmazonLexModelBuildingServiceRequest
      Amazon.LexModelBuildingService.Model.PutBotAliasRequest

Namespace: Amazon.LexModelBuildingService.Model
Assembly: AWSSDK.LexModelBuildingService.dll
Version: 3.x.y.z

Syntax

C#
public class PutBotAliasRequest : AmazonLexModelBuildingServiceRequest
         IAmazonWebServiceRequest

The PutBotAliasRequest type exposes the following members

Constructors

NameDescription
Public Method PutBotAliasRequest()

Properties

NameTypeDescription
Public Property BotName System.String

Gets and sets the property BotName.

The name of the bot.

Public Property BotVersion System.String

Gets and sets the property BotVersion.

The version of the bot.

Public Property Checksum System.String

Gets and sets the property 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.

Public Property ConversationLogs Amazon.LexModelBuildingService.Model.ConversationLogsRequest

Gets and sets the property ConversationLogs.

Settings for conversation logs for the alias.

Public Property Description System.String

Gets and sets the property Description.

A description of the alias.

Public Property Name System.String

Gets and sets the property Name.

The name of the alias. The name is not case sensitive.

Public Property Tags System.Collections.Generic.List<Amazon.LexModelBuildingService.Model.Tag>

Gets and sets the property 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 PutBotAlias operation to update the tags on a bot alias. To update tags, use the TagResource operation.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5