NAME
Paws::LexModelsV2::UpdateBotLocale - Arguments for method UpdateBotLocale on Paws::LexModelsV2
DESCRIPTION
This class represents the parameters used for calling the method UpdateBotLocale on the Amazon Lex Model Building V2 service. Use the attributes of this class as arguments to method UpdateBotLocale.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateBotLocale.
SYNOPSIS
my $models-v2-lex = Paws->service('LexModelsV2');
my $UpdateBotLocaleResponse = $models - v2 -lex->UpdateBotLocale(
BotId => 'MyId',
BotVersion => 'MyDraftBotVersion',
LocaleId => 'MyLocaleId',
NluIntentConfidenceThreshold => 1,
Description => 'MyDescription', # OPTIONAL
VoiceSettings => {
VoiceId => 'MyVoiceId',
}, # OPTIONAL
);
# Results:
my $BotId = $UpdateBotLocaleResponse->BotId;
my $BotLocaleStatus = $UpdateBotLocaleResponse->BotLocaleStatus;
my $BotVersion = $UpdateBotLocaleResponse->BotVersion;
my $CreationDateTime = $UpdateBotLocaleResponse->CreationDateTime;
my $Description = $UpdateBotLocaleResponse->Description;
my $FailureReasons = $UpdateBotLocaleResponse->FailureReasons;
my $LastUpdatedDateTime = $UpdateBotLocaleResponse->LastUpdatedDateTime;
my $LocaleId = $UpdateBotLocaleResponse->LocaleId;
my $LocaleName = $UpdateBotLocaleResponse->LocaleName;
my $NluIntentConfidenceThreshold =
$UpdateBotLocaleResponse->NluIntentConfidenceThreshold;
my $VoiceSettings = $UpdateBotLocaleResponse->VoiceSettings;
# Returns a L<Paws::LexModelsV2::UpdateBotLocaleResponse> 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/UpdateBotLocale
ATTRIBUTES
REQUIRED BotId => Str
The unique identifier of the bot that contains the locale.
REQUIRED BotVersion => Str
The version of the bot that contains the locale to be updated. The version can only be the DRAFT
version.
Description => Str
The new description of the locale.
REQUIRED LocaleId => Str
The identifier of the language and locale to update. The string must match one of the supported locales. For more information, see Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
REQUIRED NluIntentConfidenceThreshold => Num
The new confidence threshold where Amazon Lex inserts the AMAZON.FallbackIntent
and AMAZON.KendraSearchIntent
intents in the list of possible intents for an utterance.
VoiceSettings => Paws::LexModelsV2::VoiceSettings
The new Amazon Polly voice Amazon Lex should use for voice interaction with the user.
SEE ALSO
This class forms part of Paws, documenting arguments for method UpdateBotLocale 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