Paws::LexModels::PutBotAlias - Arguments for method PutBotAlias on Paws::LexModels
This class represents the parameters used for calling the method PutBotAlias on the Amazon Lex Model Building Service service. Use the attributes of this class as arguments to method PutBotAlias.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutBotAlias.
my $models.lex = Paws->service('LexModels'); my $PutBotAliasResponse = $models . lex->PutBotAlias( BotName => 'MyBotName', BotVersion => 'MyVersion', Name => 'MyAliasName', Checksum => 'MyString', # OPTIONAL Description => 'MyDescription', # OPTIONAL ); # Results: my $BotName = $PutBotAliasResponse->BotName; my $BotVersion = $PutBotAliasResponse->BotVersion; my $Checksum = $PutBotAliasResponse->Checksum; my $CreatedDate = $PutBotAliasResponse->CreatedDate; my $Description = $PutBotAliasResponse->Description; my $LastUpdatedDate = $PutBotAliasResponse->LastUpdatedDate; my $Name = $PutBotAliasResponse->Name; # Returns a L<Paws::LexModels::PutBotAliasResponse> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/models.lex/PutBotAlias
The name of the bot.
The version of the bot.
Identifies a specific revision of the $LATEST version.
$LATEST
When you create a new bot alias, leave the checksum field blank. If you specify a checksum you get a BadRequestException exception.
checksum
BadRequestException
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.
PreconditionFailedException
A description of the alias.
The name of the alias. The name is not case sensitive.
This class forms part of Paws, documenting arguments for method PutBotAlias in Paws::LexModels
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.