« blib/lib/Paws/LexModelsV2/BotVersionSummary.pm
↑ Summary
blib/lib/Paws/LexModelsV2/BuildBotLocaleResponse.pm »
| 1 | |||
| 2 | package Paws::LexModelsV2::BuildBotLocale; | ||
| 3 | use Moose; | ||
| 4 | has BotId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'botId', required => 1); | ||
| 5 | has BotVersion => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'botVersion', required => 1); | ||
| 6 | has LocaleId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'localeId', required => 1); | ||
| 7 | |||
| 8 | use MooseX::ClassAttribute; | ||
| 9 | |||
| 10 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'BuildBotLocale'); | ||
| 11 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/'); | ||
| 12 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 13 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::LexModelsV2::BuildBotLocaleResponse'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::LexModelsV2::BuildBotLocale - Arguments for method BuildBotLocale on L<Paws::LexModelsV2> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method BuildBotLocale on the | ||
| 25 | L<Amazon Lex Model Building V2|Paws::LexModelsV2> service. Use the attributes of this class | ||
| 26 | as arguments to method BuildBotLocale. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to BuildBotLocale. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $models-v2-lex = Paws->service('LexModelsV2'); | ||
| 33 | my $BuildBotLocaleResponse = $models - v2 -lex->BuildBotLocale( | ||
| 34 | BotId => 'MyId', | ||
| 35 | BotVersion => 'MyDraftBotVersion', | ||
| 36 | LocaleId => 'MyLocaleId', | ||
| 37 | |||
| 38 | ); | ||
| 39 | |||
| 40 | # Results: | ||
| 41 | my $BotId = $BuildBotLocaleResponse->BotId; | ||
| 42 | my $BotLocaleStatus = $BuildBotLocaleResponse->BotLocaleStatus; | ||
| 43 | my $BotVersion = $BuildBotLocaleResponse->BotVersion; | ||
| 44 | my $LastBuildSubmittedDateTime = | ||
| 45 | $BuildBotLocaleResponse->LastBuildSubmittedDateTime; | ||
| 46 | my $LocaleId = $BuildBotLocaleResponse->LocaleId; | ||
| 47 | |||
| 48 | # Returns a L<Paws::LexModelsV2::BuildBotLocaleResponse> object. | ||
| 49 | |||
| 50 | 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. | ||
| 51 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/models-v2-lex/BuildBotLocale> | ||
| 52 | |||
| 53 | =head1 ATTRIBUTES | ||
| 54 | |||
| 55 | |||
| 56 | =head2 B<REQUIRED> BotId => Str | ||
| 57 | |||
| 58 | The identifier of the bot to build. The identifier is returned in the | ||
| 59 | response from the operation. | ||
| 60 | |||
| 61 | |||
| 62 | |||
| 63 | =head2 B<REQUIRED> BotVersion => Str | ||
| 64 | |||
| 65 | The version of the bot to build. This can only be the draft version of | ||
| 66 | the bot. | ||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | =head2 B<REQUIRED> LocaleId => Str | ||
| 71 | |||
| 72 | The identifier of the language and locale that the bot will be used in. | ||
| 73 | The string must match one of the supported locales. All of the intents, | ||
| 74 | slot types, and slots used in the bot must have the same locale. For | ||
| 75 | more information, see Supported languages | ||
| 76 | (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html). | ||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | |||
| 81 | =head1 SEE ALSO | ||
| 82 | |||
| 83 | This class forms part of L<Paws>, documenting arguments for method BuildBotLocale in L<Paws::LexModelsV2> | ||
| 84 | |||
| 85 | =head1 BUGS and CONTRIBUTIONS | ||
| 86 | |||
| 87 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 88 | |||
| 89 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 90 | |||
| 91 | =cut | ||
| 92 |