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
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
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.
ConversationLogs => Paws::LexModels::ConversationLogsRequest
Settings for conversation logs for the alias.
Description => Str
A description of the alias.
REQUIRED Name => Str
The name of the alias. The name is not case sensitive.
Tags => ArrayRef[Paws::LexModels::Tag]
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.
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