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

Version Information

.NET Standard:
Supported in: 1.3

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms