Paws::LexModels::CreateBotVersion - Arguments for method CreateBotVersion on Paws::LexModels
This class represents the parameters used for calling the method CreateBotVersion on the Amazon Lex Model Building Service service. Use the attributes of this class as arguments to method CreateBotVersion.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateBotVersion.
my $models.lex = Paws->service('LexModels'); my $CreateBotVersionResponse = $models . lex->CreateBotVersion( Name => 'MyBotName', Checksum => 'MyString', # OPTIONAL ); # Results: my $AbortStatement = $CreateBotVersionResponse->AbortStatement; my $Checksum = $CreateBotVersionResponse->Checksum; my $ChildDirected = $CreateBotVersionResponse->ChildDirected; my $ClarificationPrompt = $CreateBotVersionResponse->ClarificationPrompt; my $CreatedDate = $CreateBotVersionResponse->CreatedDate; my $Description = $CreateBotVersionResponse->Description; my $FailureReason = $CreateBotVersionResponse->FailureReason; my $IdleSessionTTLInSeconds = $CreateBotVersionResponse->IdleSessionTTLInSeconds; my $Intents = $CreateBotVersionResponse->Intents; my $LastUpdatedDate = $CreateBotVersionResponse->LastUpdatedDate; my $Locale = $CreateBotVersionResponse->Locale; my $Name = $CreateBotVersionResponse->Name; my $Status = $CreateBotVersionResponse->Status; my $Version = $CreateBotVersionResponse->Version; my $VoiceId = $CreateBotVersionResponse->VoiceId; # Returns a L<Paws::LexModels::CreateBotVersionResponse> 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/CreateBotVersion
Identifies a specific revision of the $LATEST version of the bot. If you specify a checksum and the $LATEST version of the bot has a different checksum, a PreconditionFailedException exception is returned and Amazon Lex doesn't publish a new version. If you don't specify a checksum, Amazon Lex publishes the $LATEST version.
$LATEST
PreconditionFailedException
The name of the bot that you want to create a new version of. The name is case sensitive.
This class forms part of Paws, documenting arguments for method CreateBotVersion 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.