The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::LexModels::PutBotAlias - Arguments for method PutBotAlias on Paws::LexModels

DESCRIPTION

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.

SYNOPSIS

    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

ATTRIBUTES

REQUIRED BotName => Str

The name of the bot.

REQUIRED BotVersion => Str

The version of the bot.

Checksum => Str

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

A description of the alias.

REQUIRED Name => Str

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

SEE ALSO

This class forms part of Paws, documenting arguments for method PutBotAlias in Paws::LexModels

BUGS and CONTRIBUTIONS

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