GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Paws::LexModels::PutBotAlias(3) User Contributed Perl Documentation Paws::LexModels::PutBotAlias(3)

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
      ConversationLogs => {
        IamRoleArn  => 'MyIamRoleArn',     # min: 20, max: 2048
        LogSettings => [
          {
            Destination => 'CLOUDWATCH_LOGS',    # values: CLOUDWATCH_LOGS, S3
            LogType     => 'AUDIO',              # values: AUDIO, TEXT
            ResourceArn => 'MyResourceArn',      # min: 1, max: 2048
            KmsKeyArn   => 'MyKmsKeyArn',        # min: 20, max: 2048; OPTIONAL
          },
          ...
        ],
      },    # OPTIONAL
      Description => 'MyDescription',    # OPTIONAL
      Tags        => [
        {
          Key   => 'MyTagKey',      # min: 1, max: 128
          Value => 'MyTagValue',    # max: 256
        },
        ...
      ],    # OPTIONAL
    );
    # Results:
    my $BotName          = $PutBotAliasResponse->BotName;
    my $BotVersion       = $PutBotAliasResponse->BotVersion;
    my $Checksum         = $PutBotAliasResponse->Checksum;
    my $ConversationLogs = $PutBotAliasResponse->ConversationLogs;
    my $CreatedDate      = $PutBotAliasResponse->CreatedDate;
    my $Description      = $PutBotAliasResponse->Description;
    my $LastUpdatedDate  = $PutBotAliasResponse->LastUpdatedDate;
    my $Name             = $PutBotAliasResponse->Name;
    my $Tags             = $PutBotAliasResponse->Tags;
    # 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>

REQUIRED BotName => Str

The name of the bot.

REQUIRED BotVersion => Str

The version of the bot.

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.

Settings for conversation logs for the alias.

A description of the alias.

REQUIRED Name => Str

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

A list of tags to add to the bot alias. You can only add tags when you create an alias, you can't use the "PutBotAlias" operation to update the tags on a bot alias. To update tags, use the "TagResource" operation.

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>

2022-06-01 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.