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


Checksum => Str

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.

REQUIRED Name => Str

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:

Please report bugs to: