NAME
Paws::LexModelsV2::UpdateBot - Arguments for method UpdateBot on Paws::LexModelsV2
DESCRIPTION
This class represents the parameters used for calling the method UpdateBot on the Amazon Lex Model Building V2 service. Use the attributes of this class as arguments to method UpdateBot.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateBot.
SYNOPSIS
my $models-v2-lex = Paws->service('LexModelsV2');
my $UpdateBotResponse = $models - v2 -lex->UpdateBot(
BotId => 'MyId',
BotName => 'MyName',
DataPrivacy => {
ChildDirected => 1,
},
IdleSessionTTLInSeconds => 1,
RoleArn => 'MyRoleArn',
Description => 'MyDescription', # OPTIONAL
);
# Results:
my $BotId = $UpdateBotResponse->BotId;
my $BotName = $UpdateBotResponse->BotName;
my $BotStatus = $UpdateBotResponse->BotStatus;
my $CreationDateTime = $UpdateBotResponse->CreationDateTime;
my $DataPrivacy = $UpdateBotResponse->DataPrivacy;
my $Description = $UpdateBotResponse->Description;
my $IdleSessionTTLInSeconds = $UpdateBotResponse->IdleSessionTTLInSeconds;
my $LastUpdatedDateTime = $UpdateBotResponse->LastUpdatedDateTime;
my $RoleArn = $UpdateBotResponse->RoleArn;
# Returns a L<Paws::LexModelsV2::UpdateBotResponse> 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-v2-lex/UpdateBot
ATTRIBUTES
REQUIRED BotId => Str
The unique identifier of the bot to update. This identifier is returned by the CreateBot operation.
REQUIRED BotName => Str
The new name of the bot. The name must be unique in the account that creates the bot.
REQUIRED DataPrivacy => Paws::LexModelsV2::DataPrivacy
Provides information on additional privacy protections Amazon Lex should use with the bot's data.
Description => Str
A description of the bot.
REQUIRED IdleSessionTTLInSeconds => Int
The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot.
A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout.
You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.
REQUIRED RoleArn => Str
The Amazon Resource Name (ARN) of an IAM role that has permissions to access the bot.
SEE ALSO
This class forms part of Paws, documenting arguments for method UpdateBot in Paws::LexModelsV2
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