blib/lib/Paws/LexModels/PutBotResponse.pm untested

filter: Statementstmt 0.0% 0 / 44 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 45 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::LexModels::PutBotResponse;
3 use Moose;
4 has AbortStatement => (is => 'ro', isa => 'Paws::LexModels::Statement', traits => ['NameInRequest'], request_name => 'abortStatement');
5 has Checksum => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'checksum');
6 has ChildDirected => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'childDirected');
7 has ClarificationPrompt => (is => 'ro', isa => 'Paws::LexModels::Prompt', traits => ['NameInRequest'], request_name => 'clarificationPrompt');
8 has CreatedDate => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'createdDate');
9 has CreateVersion => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'createVersion');
10 has Description => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'description');
11 has DetectSentiment => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'detectSentiment');
12 has EnableModelImprovements => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'enableModelImprovements');
13 has FailureReason => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'failureReason');
14 has IdleSessionTTLInSeconds => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'idleSessionTTLInSeconds');
15 has Intents => (is => 'ro', isa => 'ArrayRef[Paws::LexModels::Intent]', traits => ['NameInRequest'], request_name => 'intents');
16 has LastUpdatedDate => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'lastUpdatedDate');
17 has Locale => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'locale');
18 has Name => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'name');
19 has NluIntentConfidenceThreshold => (is => 'ro', isa => 'Num', traits => ['NameInRequest'], request_name => 'nluIntentConfidenceThreshold');
20 has Status => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'status');
21 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::LexModels::Tag]', traits => ['NameInRequest'], request_name => 'tags');
22 has Version => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'version');
23 has VoiceId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'voiceId');
24  
25 has _request_id => (is => 'ro', isa => 'Str');
26 1;
27  
28 ### main pod documentation begin ###
29  
30 =head1 NAME
31  
32 Paws::LexModels::PutBotResponse
33  
34 =head1 ATTRIBUTES
35  
36  
37 =head2 AbortStatement => L<Paws::LexModels::Statement>
38  
39 The message that Amazon Lex uses to cancel a conversation. For more
40 information, see PutBot.
41  
42  
43 =head2 Checksum => Str
44  
45 Checksum of the bot that you created.
46  
47  
48 =head2 ChildDirected => Bool
49  
50 For each Amazon Lex bot created with the Amazon Lex Model Building
51 Service, you must specify whether your use of Amazon Lex is related to
52 a website, program, or other application that is directed or targeted,
53 in whole or in part, to children under age 13 and subject to the
54 Children's Online Privacy Protection Act (COPPA) by specifying C<true>
55 or C<false> in the C<childDirected> field. By specifying C<true> in the
56 C<childDirected> field, you confirm that your use of Amazon Lex B<is>
57 related to a website, program, or other application that is directed or
58 targeted, in whole or in part, to children under age 13 and subject to
59 COPPA. By specifying C<false> in the C<childDirected> field, you
60 confirm that your use of Amazon Lex B<is not> related to a website,
61 program, or other application that is directed or targeted, in whole or
62 in part, to children under age 13 and subject to COPPA. You may not
63 specify a default value for the C<childDirected> field that does not
64 accurately reflect whether your use of Amazon Lex is related to a
65 website, program, or other application that is directed or targeted, in
66 whole or in part, to children under age 13 and subject to COPPA.
67  
68 If your use of Amazon Lex relates to a website, program, or other
69 application that is directed in whole or in part, to children under age
70 13, you must obtain any required verifiable parental consent under
71 COPPA. For information regarding the use of Amazon Lex in connection
72 with websites, programs, or other applications that are directed or
73 targeted, in whole or in part, to children under age 13, see the Amazon
74 Lex FAQ. (https://aws.amazon.com/lex/faqs#data-security)
75  
76  
77 =head2 ClarificationPrompt => L<Paws::LexModels::Prompt>
78  
79 The prompts that Amazon Lex uses when it doesn't understand the user's
80 intent. For more information, see PutBot.
81  
82  
83 =head2 CreatedDate => Str
84  
85 The date that the bot was created.
86  
87  
88 =head2 CreateVersion => Bool
89  
90 C<True> if a new version of the bot was created. If the
91 C<createVersion> field was not specified in the request, the
92 C<createVersion> field is set to false in the response.
93  
94  
95 =head2 Description => Str
96  
97 A description of the bot.
98  
99  
100 =head2 DetectSentiment => Bool
101  
102 C<true> if the bot is configured to send user utterances to Amazon
103 Comprehend for sentiment analysis. If the C<detectSentiment> field was
104 not specified in the request, the C<detectSentiment> field is C<false>
105 in the response.
106  
107  
108 =head2 EnableModelImprovements => Bool
109  
110 Indicates whether the bot uses accuracy improvements. C<true> indicates
111 that the bot is using the improvements, otherwise, C<false>.
112  
113  
114 =head2 FailureReason => Str
115  
116 If C<status> is C<FAILED>, Amazon Lex provides the reason that it
117 failed to build the bot.
118  
119  
120 =head2 IdleSessionTTLInSeconds => Int
121  
122 The maximum length of time that Amazon Lex retains the data gathered in
123 a conversation. For more information, see PutBot.
124  
125  
126 =head2 Intents => ArrayRef[L<Paws::LexModels::Intent>]
127  
128 An array of C<Intent> objects. For more information, see PutBot.
129  
130  
131 =head2 LastUpdatedDate => Str
132  
133 The date that the bot was updated. When you create a resource, the
134 creation date and last updated date are the same.
135  
136  
137 =head2 Locale => Str
138  
139 The target locale for the bot.
140  
141 Valid values are: C<"de-DE">, C<"en-AU">, C<"en-GB">, C<"en-US">, C<"es-419">, C<"es-ES">, C<"es-US">, C<"fr-FR">, C<"fr-CA">, C<"it-IT">, C<"ja-JP">
142 =head2 Name => Str
143  
144 The name of the bot.
145  
146  
147 =head2 NluIntentConfidenceThreshold => Num
148  
149 The score that determines where Amazon Lex inserts the
150 C<AMAZON.FallbackIntent>, C<AMAZON.KendraSearchIntent>, or both when
151 returning alternative intents in a PostContent
152 (https://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostContent.html)
153 or PostText
154 (https://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostText.html)
155 response. C<AMAZON.FallbackIntent> is inserted if the confidence score
156 for all intents is below this value. C<AMAZON.KendraSearchIntent> is
157 only inserted if it is configured for the bot.
158  
159  
160 =head2 Status => Str
161  
162 When you send a request to create a bot with C<processBehavior> set to
163 C<BUILD>, Amazon Lex sets the C<status> response element to
164 C<BUILDING>.
165  
166 In the C<READY_BASIC_TESTING> state you can test the bot with user
167 inputs that exactly match the utterances configured for the bot's
168 intents and values in the slot types.
169  
170 If Amazon Lex can't build the bot, Amazon Lex sets C<status> to
171 C<FAILED>. Amazon Lex returns the reason for the failure in the
172 C<failureReason> response element.
173  
174 When you set C<processBehavior> to C<SAVE>, Amazon Lex sets the status
175 code to C<NOT BUILT>.
176  
177 When the bot is in the C<READY> state you can test and publish the bot.
178  
179 Valid values are: C<"BUILDING">, C<"READY">, C<"READY_BASIC_TESTING">, C<"FAILED">, C<"NOT_BUILT">
180 =head2 Tags => ArrayRef[L<Paws::LexModels::Tag>]
181  
182 A list of tags associated with the bot.
183  
184  
185 =head2 Version => Str
186  
187 The version of the bot. For a new bot, the version is always
188 C<$LATEST>.
189  
190  
191 =head2 VoiceId => Str
192  
193 The Amazon Polly voice ID that Amazon Lex uses for voice interaction
194 with the user. For more information, see PutBot.
195  
196  
197 =head2 _request_id => Str
198  
199  
200 =cut
201