The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::LexModelsV2::BuildBotLocale - Arguments for method BuildBotLocale on Paws::LexModelsV2

DESCRIPTION

This class represents the parameters used for calling the method BuildBotLocale on the Amazon Lex Model Building V2 service. Use the attributes of this class as arguments to method BuildBotLocale.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to BuildBotLocale.

SYNOPSIS

my $models-v2-lex = Paws->service('LexModelsV2');
my $BuildBotLocaleResponse = $models - v2 -lex->BuildBotLocale(
  BotId      => 'MyId',
  BotVersion => 'MyDraftBotVersion',
  LocaleId   => 'MyLocaleId',

);

# Results:
my $BotId           = $BuildBotLocaleResponse->BotId;
my $BotLocaleStatus = $BuildBotLocaleResponse->BotLocaleStatus;
my $BotVersion      = $BuildBotLocaleResponse->BotVersion;
my $LastBuildSubmittedDateTime =
  $BuildBotLocaleResponse->LastBuildSubmittedDateTime;
my $LocaleId = $BuildBotLocaleResponse->LocaleId;

# Returns a L<Paws::LexModelsV2::BuildBotLocaleResponse> 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/BuildBotLocale

ATTRIBUTES

REQUIRED BotId => Str

The identifier of the bot to build. The identifier is returned in the response from the operation.

REQUIRED BotVersion => Str

The version of the bot to build. This can only be the draft version of the bot.

REQUIRED LocaleId => Str

The identifier of the language and locale that the bot will be used in. The string must match one of the supported locales. All of the intents, slot types, and slots used in the bot must have the same locale. For more information, see Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).

SEE ALSO

This class forms part of Paws, documenting arguments for method BuildBotLocale 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