« blib/lib/Paws/LexModelsV2/BotLocaleHistoryEvent.pm
↑ Summary
blib/lib/Paws/LexModelsV2/BotLocaleSortBy.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::LexModelsV2::BotLocaleImportSpecification; | ||
| 3 | use Moose; | ||
| 4 | has BotId => (is => 'ro', isa => 'Str', request_name => 'botId', traits => ['NameInRequest'], required => 1); | ||
| 5 | has BotVersion => (is => 'ro', isa => 'Str', request_name => 'botVersion', traits => ['NameInRequest'], required => 1); | ||
| 6 | has LocaleId => (is => 'ro', isa => 'Str', request_name => 'localeId', traits => ['NameInRequest'], required => 1); | ||
| 7 | has NluIntentConfidenceThreshold => (is => 'ro', isa => 'Num', request_name => 'nluIntentConfidenceThreshold', traits => ['NameInRequest']); | ||
| 8 | has VoiceSettings => (is => 'ro', isa => 'Paws::LexModelsV2::VoiceSettings', request_name => 'voiceSettings', traits => ['NameInRequest']); | ||
| 9 | |||
| 10 | 1; | ||
| 11 | |||
| 12 | ### main pod documentation begin ### | ||
| 13 | |||
| 14 | =head1 NAME | ||
| 15 | |||
| 16 | Paws::LexModelsV2::BotLocaleImportSpecification | ||
| 17 | |||
| 18 | =head1 USAGE | ||
| 19 | |||
| 20 | This class represents one of two things: | ||
| 21 | |||
| 22 | =head3 Arguments in a call to a service | ||
| 23 | |||
| 24 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 25 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 26 | |||
| 27 | As an example, if Att1 is expected to be a Paws::LexModelsV2::BotLocaleImportSpecification object: | ||
| 28 | |||
| 29 | $service_obj->Method(Att1 => { BotId => $value, ..., VoiceSettings => $value }); | ||
| 30 | |||
| 31 | =head3 Results returned from an API call | ||
| 32 | |||
| 33 | Use accessors for each attribute. If Att1 is expected to be an Paws::LexModelsV2::BotLocaleImportSpecification object: | ||
| 34 | |||
| 35 | $result = $service_obj->Method(...); | ||
| 36 | $result->Att1->BotId | ||
| 37 | |||
| 38 | =head1 DESCRIPTION | ||
| 39 | |||
| 40 | Provides the bot locale parameters required for importing a bot locale. | ||
| 41 | |||
| 42 | =head1 ATTRIBUTES | ||
| 43 | |||
| 44 | |||
| 45 | =head2 B<REQUIRED> BotId => Str | ||
| 46 | |||
| 47 | The identifier of the bot to import the locale to. | ||
| 48 | |||
| 49 | |||
| 50 | =head2 B<REQUIRED> BotVersion => Str | ||
| 51 | |||
| 52 | The version of the bot to import the locale to. This can only be the | ||
| 53 | C<DRAFT> version of the bot. | ||
| 54 | |||
| 55 | |||
| 56 | =head2 B<REQUIRED> LocaleId => Str | ||
| 57 | |||
| 58 | The identifier of the language and locale that the bot will be used in. | ||
| 59 | The string must match one of the supported locales. All of the intents, | ||
| 60 | slot types, and slots used in the bot must have the same locale. For | ||
| 61 | more information, see Supported languages | ||
| 62 | (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html). | ||
| 63 | |||
| 64 | |||
| 65 | =head2 NluIntentConfidenceThreshold => Num | ||
| 66 | |||
| 67 | Determines the threshold where Amazon Lex will insert the | ||
| 68 | C<AMAZON.FallbackIntent>, C<AMAZON.KendraSearchIntent>, or both when | ||
| 69 | returning alternative intents. C<AMAZON.FallbackIntent> and | ||
| 70 | C<AMAZON.KendraSearchIntent> are only inserted if they are configured | ||
| 71 | for the bot. | ||
| 72 | |||
| 73 | For example, suppose a bot is configured with the confidence threshold | ||
| 74 | of 0.80 and the C<AMAZON.FallbackIntent>. Amazon Lex returns three | ||
| 75 | alternative intents with the following confidence scores: IntentA | ||
| 76 | (0.70), IntentB (0.60), IntentC (0.50). The response from the | ||
| 77 | C<PostText> operation would be: | ||
| 78 | |||
| 79 | =over | ||
| 80 | |||
| 81 | =item * | ||
| 82 | |||
| 83 | C<AMAZON.FallbackIntent> | ||
| 84 | |||
| 85 | =item * | ||
| 86 | |||
| 87 | C<IntentA> | ||
| 88 | |||
| 89 | =item * | ||
| 90 | |||
| 91 | C<IntentB> | ||
| 92 | |||
| 93 | =item * | ||
| 94 | |||
| 95 | C<IntentC> | ||
| 96 | |||
| 97 | =back | ||
| 98 | |||
| 99 | |||
| 100 | |||
| 101 | =head2 VoiceSettings => L<Paws::LexModelsV2::VoiceSettings> | ||
| 102 | |||
| 103 | |||
| 104 | |||
| 105 | |||
| 106 | |||
| 107 | =head1 SEE ALSO | ||
| 108 | |||
| 109 | This class forms part of L<Paws>, describing an object used in L<Paws::LexModelsV2> | ||
| 110 | |||
| 111 | =head1 BUGS and CONTRIBUTIONS | ||
| 112 | |||
| 113 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 114 | |||
| 115 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 116 | |||
| 117 | =cut | ||
| 118 |