AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

PutBotAliasInput

import "github.com/aws/aws-sdk-go/service/lexmodelbuildingservice"

type PutBotAliasInput struct { BotName *string `location:"uri" locationName:"botName" min:"2" type:"string" required:"true"` BotVersion *string `locationName:"botVersion" min:"1" type:"string" required:"true"` Checksum *string `locationName:"checksum" type:"string"` Description *string `locationName:"description" type:"string"` Name *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` }

BotName

Type: *string

The name of the bot.

BotName is a required field

BotVersion

Type: *string

The version of the bot.

BotVersion is a required field

Checksum

Type: *string

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.

Description

Type: *string

A description of the alias.

Name

Type: *string

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

Name is a required field

Method

GoString

func (s PutBotAliasInput) GoString() string

GoString returns the string representation

SetBotName

func (s *PutBotAliasInput) SetBotName(v string) *PutBotAliasInput

SetBotName sets the BotName field's value.

SetBotVersion

func (s *PutBotAliasInput) SetBotVersion(v string) *PutBotAliasInput

SetBotVersion sets the BotVersion field's value.

SetChecksum

func (s *PutBotAliasInput) SetChecksum(v string) *PutBotAliasInput

SetChecksum sets the Checksum field's value.

SetDescription

func (s *PutBotAliasInput) SetDescription(v string) *PutBotAliasInput

SetDescription sets the Description field's value.

SetName

func (s *PutBotAliasInput) SetName(v string) *PutBotAliasInput

SetName sets the Name field's value.

String

func (s PutBotAliasInput) String() string

String returns the string representation

Validate

func (s *PutBotAliasInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: