![]() |
![]()
| ![]() |
![]()
NAMEPaws::LexModels::CreateBotVersion - Arguments for method CreateBotVersion on Paws::LexModels DESCRIPTIONThis 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. SYNOPSISmy $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 $DetectSentiment = $CreateBotVersionResponse->DetectSentiment; my $EnableModelImprovements = $CreateBotVersionResponse->EnableModelImprovements; 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> ATTRIBUTESChecksum => StrIdentifies 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. REQUIRED Name => StrThe name of the bot that you want to create a new version of. The name is case sensitive. SEE ALSOThis class forms part of Paws, documenting arguments for method CreateBotVersion in Paws::LexModels BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|