File Coverage

blib/lib/Paws/LexModels.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::LexModels;
2 1     1   3501 use Moose;
  1         3  
  1         8  
3             sub service { 'models.lex' }
4             sub version { '2017-04-19' }
5             sub flattened_arrays { 0 }
6             has max_attempts => (is => 'ro', isa => 'Int', default => 5);
7             has retry => (is => 'ro', isa => 'HashRef', default => sub {
8             { base => 'rand', type => 'exponential', growth_factor => 2 }
9             });
10             has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [
11             ] });
12              
13             with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::RestJsonCaller', 'Paws::Net::RestJsonResponse';
14              
15            
16             sub CreateBotVersion {
17             my $self = shift;
18             my $call_object = $self->new_with_coercions('Paws::LexModels::CreateBotVersion', @_);
19             return $self->caller->do_call($self, $call_object);
20             }
21             sub CreateIntentVersion {
22             my $self = shift;
23             my $call_object = $self->new_with_coercions('Paws::LexModels::CreateIntentVersion', @_);
24             return $self->caller->do_call($self, $call_object);
25             }
26             sub CreateSlotTypeVersion {
27             my $self = shift;
28             my $call_object = $self->new_with_coercions('Paws::LexModels::CreateSlotTypeVersion', @_);
29             return $self->caller->do_call($self, $call_object);
30             }
31             sub DeleteBot {
32             my $self = shift;
33             my $call_object = $self->new_with_coercions('Paws::LexModels::DeleteBot', @_);
34             return $self->caller->do_call($self, $call_object);
35             }
36             sub DeleteBotAlias {
37             my $self = shift;
38             my $call_object = $self->new_with_coercions('Paws::LexModels::DeleteBotAlias', @_);
39             return $self->caller->do_call($self, $call_object);
40             }
41             sub DeleteBotChannelAssociation {
42             my $self = shift;
43             my $call_object = $self->new_with_coercions('Paws::LexModels::DeleteBotChannelAssociation', @_);
44             return $self->caller->do_call($self, $call_object);
45             }
46             sub DeleteBotVersion {
47             my $self = shift;
48             my $call_object = $self->new_with_coercions('Paws::LexModels::DeleteBotVersion', @_);
49             return $self->caller->do_call($self, $call_object);
50             }
51             sub DeleteIntent {
52             my $self = shift;
53             my $call_object = $self->new_with_coercions('Paws::LexModels::DeleteIntent', @_);
54             return $self->caller->do_call($self, $call_object);
55             }
56             sub DeleteIntentVersion {
57             my $self = shift;
58             my $call_object = $self->new_with_coercions('Paws::LexModels::DeleteIntentVersion', @_);
59             return $self->caller->do_call($self, $call_object);
60             }
61             sub DeleteSlotType {
62             my $self = shift;
63             my $call_object = $self->new_with_coercions('Paws::LexModels::DeleteSlotType', @_);
64             return $self->caller->do_call($self, $call_object);
65             }
66             sub DeleteSlotTypeVersion {
67             my $self = shift;
68             my $call_object = $self->new_with_coercions('Paws::LexModels::DeleteSlotTypeVersion', @_);
69             return $self->caller->do_call($self, $call_object);
70             }
71             sub DeleteUtterances {
72             my $self = shift;
73             my $call_object = $self->new_with_coercions('Paws::LexModels::DeleteUtterances', @_);
74             return $self->caller->do_call($self, $call_object);
75             }
76             sub GetBot {
77             my $self = shift;
78             my $call_object = $self->new_with_coercions('Paws::LexModels::GetBot', @_);
79             return $self->caller->do_call($self, $call_object);
80             }
81             sub GetBotAlias {
82             my $self = shift;
83             my $call_object = $self->new_with_coercions('Paws::LexModels::GetBotAlias', @_);
84             return $self->caller->do_call($self, $call_object);
85             }
86             sub GetBotAliases {
87             my $self = shift;
88             my $call_object = $self->new_with_coercions('Paws::LexModels::GetBotAliases', @_);
89             return $self->caller->do_call($self, $call_object);
90             }
91             sub GetBotChannelAssociation {
92             my $self = shift;
93             my $call_object = $self->new_with_coercions('Paws::LexModels::GetBotChannelAssociation', @_);
94             return $self->caller->do_call($self, $call_object);
95             }
96             sub GetBotChannelAssociations {
97             my $self = shift;
98             my $call_object = $self->new_with_coercions('Paws::LexModels::GetBotChannelAssociations', @_);
99             return $self->caller->do_call($self, $call_object);
100             }
101             sub GetBots {
102             my $self = shift;
103             my $call_object = $self->new_with_coercions('Paws::LexModels::GetBots', @_);
104             return $self->caller->do_call($self, $call_object);
105             }
106             sub GetBotVersions {
107             my $self = shift;
108             my $call_object = $self->new_with_coercions('Paws::LexModels::GetBotVersions', @_);
109             return $self->caller->do_call($self, $call_object);
110             }
111             sub GetBuiltinIntent {
112             my $self = shift;
113             my $call_object = $self->new_with_coercions('Paws::LexModels::GetBuiltinIntent', @_);
114             return $self->caller->do_call($self, $call_object);
115             }
116             sub GetBuiltinIntents {
117             my $self = shift;
118             my $call_object = $self->new_with_coercions('Paws::LexModels::GetBuiltinIntents', @_);
119             return $self->caller->do_call($self, $call_object);
120             }
121             sub GetBuiltinSlotTypes {
122             my $self = shift;
123             my $call_object = $self->new_with_coercions('Paws::LexModels::GetBuiltinSlotTypes', @_);
124             return $self->caller->do_call($self, $call_object);
125             }
126             sub GetIntent {
127             my $self = shift;
128             my $call_object = $self->new_with_coercions('Paws::LexModels::GetIntent', @_);
129             return $self->caller->do_call($self, $call_object);
130             }
131             sub GetIntents {
132             my $self = shift;
133             my $call_object = $self->new_with_coercions('Paws::LexModels::GetIntents', @_);
134             return $self->caller->do_call($self, $call_object);
135             }
136             sub GetIntentVersions {
137             my $self = shift;
138             my $call_object = $self->new_with_coercions('Paws::LexModels::GetIntentVersions', @_);
139             return $self->caller->do_call($self, $call_object);
140             }
141             sub GetSlotType {
142             my $self = shift;
143             my $call_object = $self->new_with_coercions('Paws::LexModels::GetSlotType', @_);
144             return $self->caller->do_call($self, $call_object);
145             }
146             sub GetSlotTypes {
147             my $self = shift;
148             my $call_object = $self->new_with_coercions('Paws::LexModels::GetSlotTypes', @_);
149             return $self->caller->do_call($self, $call_object);
150             }
151             sub GetSlotTypeVersions {
152             my $self = shift;
153             my $call_object = $self->new_with_coercions('Paws::LexModels::GetSlotTypeVersions', @_);
154             return $self->caller->do_call($self, $call_object);
155             }
156             sub GetUtterancesView {
157             my $self = shift;
158             my $call_object = $self->new_with_coercions('Paws::LexModels::GetUtterancesView', @_);
159             return $self->caller->do_call($self, $call_object);
160             }
161             sub PutBot {
162             my $self = shift;
163             my $call_object = $self->new_with_coercions('Paws::LexModels::PutBot', @_);
164             return $self->caller->do_call($self, $call_object);
165             }
166             sub PutBotAlias {
167             my $self = shift;
168             my $call_object = $self->new_with_coercions('Paws::LexModels::PutBotAlias', @_);
169             return $self->caller->do_call($self, $call_object);
170             }
171             sub PutIntent {
172             my $self = shift;
173             my $call_object = $self->new_with_coercions('Paws::LexModels::PutIntent', @_);
174             return $self->caller->do_call($self, $call_object);
175             }
176             sub PutSlotType {
177             my $self = shift;
178             my $call_object = $self->new_with_coercions('Paws::LexModels::PutSlotType', @_);
179             return $self->caller->do_call($self, $call_object);
180             }
181            
182              
183              
184             sub operations { qw/CreateBotVersion CreateIntentVersion CreateSlotTypeVersion DeleteBot DeleteBotAlias DeleteBotChannelAssociation DeleteBotVersion DeleteIntent DeleteIntentVersion DeleteSlotType DeleteSlotTypeVersion DeleteUtterances GetBot GetBotAlias GetBotAliases GetBotChannelAssociation GetBotChannelAssociations GetBots GetBotVersions GetBuiltinIntent GetBuiltinIntents GetBuiltinSlotTypes GetIntent GetIntents GetIntentVersions GetSlotType GetSlotTypes GetSlotTypeVersions GetUtterancesView PutBot PutBotAlias PutIntent PutSlotType / }
185              
186             1;
187              
188             ### main pod documentation begin ###
189              
190             =head1 NAME
191              
192             Paws::LexModels - Perl Interface to AWS Amazon Lex Model Building Service
193              
194             =head1 SYNOPSIS
195              
196             use Paws;
197              
198             my $obj = Paws->service('LexModels');
199             my $res = $obj->Method(
200             Arg1 => $val1,
201             Arg2 => [ 'V1', 'V2' ],
202             # if Arg3 is an object, the HashRef will be used as arguments to the constructor
203             # of the arguments type
204             Arg3 => { Att1 => 'Val1' },
205             # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
206             # the constructor of the arguments type
207             Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
208             );
209              
210             =head1 DESCRIPTION
211              
212             Amazon Lex Build-Time Actions
213              
214             Amazon Lex is an AWS service for building conversational voice and text
215             interfaces. Use these actions to create, update, and delete
216             conversational bots for new and existing client applications.
217              
218             =head1 METHODS
219              
220             =head2 CreateBotVersion(Name => Str, [Checksum => Str])
221              
222             Each argument is described in detail in: L<Paws::LexModels::CreateBotVersion>
223              
224             Returns: a L<Paws::LexModels::CreateBotVersionResponse> instance
225              
226             Creates a new version of the bot based on the C<$LATEST> version. If
227             the C<$LATEST> version of this resource hasn't changed since you
228             created the last version, Amazon Lex doesn't create a new version. It
229             returns the last created version.
230              
231             You can update only the C<$LATEST> version of the bot. You can't update
232             the numbered versions that you create with the C<CreateBotVersion>
233             operation.
234              
235             When you create the first version of a bot, Amazon Lex sets the version
236             to 1. Subsequent versions increment by 1. For more information, see
237             versioning-intro.
238              
239             This operation requires permission for the C<lex:CreateBotVersion>
240             action.
241              
242              
243             =head2 CreateIntentVersion(Name => Str, [Checksum => Str])
244              
245             Each argument is described in detail in: L<Paws::LexModels::CreateIntentVersion>
246              
247             Returns: a L<Paws::LexModels::CreateIntentVersionResponse> instance
248              
249             Creates a new version of an intent based on the C<$LATEST> version of
250             the intent. If the C<$LATEST> version of this intent hasn't changed
251             since you last updated it, Amazon Lex doesn't create a new version. It
252             returns the last version you created.
253              
254             You can update only the C<$LATEST> version of the intent. You can't
255             update the numbered versions that you create with the
256             C<CreateIntentVersion> operation.
257              
258             When you create a version of an intent, Amazon Lex sets the version to
259             1. Subsequent versions increment by 1. For more information, see
260             versioning-intro.
261              
262             This operation requires permissions to perform the
263             C<lex:CreateIntentVersion> action.
264              
265              
266             =head2 CreateSlotTypeVersion(Name => Str, [Checksum => Str])
267              
268             Each argument is described in detail in: L<Paws::LexModels::CreateSlotTypeVersion>
269              
270             Returns: a L<Paws::LexModels::CreateSlotTypeVersionResponse> instance
271              
272             Creates a new version of a slot type based on the C<$LATEST> version of
273             the specified slot type. If the C<$LATEST> version of this resource has
274             not changed since the last version that you created, Amazon Lex doesn't
275             create a new version. It returns the last version that you created.
276              
277             You can update only the C<$LATEST> version of a slot type. You can't
278             update the numbered versions that you create with the
279             C<CreateSlotTypeVersion> operation.
280              
281             When you create a version of a slot type, Amazon Lex sets the version
282             to 1. Subsequent versions increment by 1. For more information, see
283             versioning-intro.
284              
285             This operation requires permissions for the
286             C<lex:CreateSlotTypeVersion> action.
287              
288              
289             =head2 DeleteBot(Name => Str)
290              
291             Each argument is described in detail in: L<Paws::LexModels::DeleteBot>
292              
293             Returns: nothing
294              
295             Deletes all versions of the bot, including the C<$LATEST> version. To
296             delete a specific version of the bot, use the operation.
297              
298             If a bot has an alias, you can't delete it. Instead, the C<DeleteBot>
299             operation returns a C<ResourceInUseException> exception that includes a
300             reference to the alias that refers to the bot. To remove the reference
301             to the bot, delete the alias. If you get the same exception again,
302             delete the referring alias until the C<DeleteBot> operation is
303             successful.
304              
305             This operation requires permissions for the C<lex:DeleteBot> action.
306              
307              
308             =head2 DeleteBotAlias(BotName => Str, Name => Str)
309              
310             Each argument is described in detail in: L<Paws::LexModels::DeleteBotAlias>
311              
312             Returns: nothing
313              
314             Deletes an alias for the specified bot.
315              
316             You can't delete an alias that is used in the association between a bot
317             and a messaging channel. If an alias is used in a channel association,
318             the C<DeleteBot> operation returns a C<ResourceInUseException>
319             exception that includes a reference to the channel association that
320             refers to the bot. You can remove the reference to the alias by
321             deleting the channel association. If you get the same exception again,
322             delete the referring association until the C<DeleteBotAlias> operation
323             is successful.
324              
325              
326             =head2 DeleteBotChannelAssociation(BotAlias => Str, BotName => Str, Name => Str)
327              
328             Each argument is described in detail in: L<Paws::LexModels::DeleteBotChannelAssociation>
329              
330             Returns: nothing
331              
332             Deletes the association between an Amazon Lex bot and a messaging
333             platform.
334              
335             This operation requires permission for the
336             C<lex:DeleteBotChannelAssociation> action.
337              
338              
339             =head2 DeleteBotVersion(Name => Str, Version => Str)
340              
341             Each argument is described in detail in: L<Paws::LexModels::DeleteBotVersion>
342              
343             Returns: nothing
344              
345             Deletes a specific version of a bot. To delete all versions of a bot,
346             use the operation.
347              
348             This operation requires permissions for the C<lex:DeleteBotVersion>
349             action.
350              
351              
352             =head2 DeleteIntent(Name => Str)
353              
354             Each argument is described in detail in: L<Paws::LexModels::DeleteIntent>
355              
356             Returns: nothing
357              
358             Deletes all versions of the intent, including the C<$LATEST> version.
359             To delete a specific version of the intent, use the operation.
360              
361             You can delete a version of an intent only if it is not referenced. To
362             delete an intent that is referred to in one or more bots (see
363             how-it-works), you must remove those references first.
364              
365             If you get the C<ResourceInUseException> exception, it provides an
366             example reference that shows where the intent is referenced. To remove
367             the reference to the intent, either update the bot or delete it. If you
368             get the same exception when you attempt to delete the intent again,
369             repeat until the intent has no references and the call to
370             C<DeleteIntent> is successful.
371              
372             This operation requires permission for the C<lex:DeleteIntent> action.
373              
374              
375             =head2 DeleteIntentVersion(Name => Str, Version => Str)
376              
377             Each argument is described in detail in: L<Paws::LexModels::DeleteIntentVersion>
378              
379             Returns: nothing
380              
381             Deletes a specific version of an intent. To delete all versions of a
382             intent, use the operation.
383              
384             This operation requires permissions for the C<lex:DeleteIntentVersion>
385             action.
386              
387              
388             =head2 DeleteSlotType(Name => Str)
389              
390             Each argument is described in detail in: L<Paws::LexModels::DeleteSlotType>
391              
392             Returns: nothing
393              
394             Deletes all versions of the slot type, including the C<$LATEST>
395             version. To delete a specific version of the slot type, use the
396             operation.
397              
398             You can delete a version of a slot type only if it is not referenced.
399             To delete a slot type that is referred to in one or more intents, you
400             must remove those references first.
401              
402             If you get the C<ResourceInUseException> exception, the exception
403             provides an example reference that shows the intent where the slot type
404             is referenced. To remove the reference to the slot type, either update
405             the intent or delete it. If you get the same exception when you attempt
406             to delete the slot type again, repeat until the slot type has no
407             references and the C<DeleteSlotType> call is successful.
408              
409             This operation requires permission for the C<lex:DeleteSlotType>
410             action.
411              
412              
413             =head2 DeleteSlotTypeVersion(Name => Str, Version => Str)
414              
415             Each argument is described in detail in: L<Paws::LexModels::DeleteSlotTypeVersion>
416              
417             Returns: nothing
418              
419             Deletes a specific version of a slot type. To delete all versions of a
420             slot type, use the operation.
421              
422             This operation requires permissions for the
423             C<lex:DeleteSlotTypeVersion> action.
424              
425              
426             =head2 DeleteUtterances(BotName => Str, UserId => Str)
427              
428             Each argument is described in detail in: L<Paws::LexModels::DeleteUtterances>
429              
430             Returns: nothing
431              
432             Deletes stored utterances.
433              
434             Amazon Lex stores the utterances that users send to your bot unless the
435             C<childDirected> field in the bot is set to C<true>. Utterances are
436             stored for 15 days for use with the operation, and then stored
437             indefinately for use in improving the ability of your bot to respond to
438             user input.
439              
440             Use the C<DeleteStoredUtterances> operation to manually delete stored
441             utterances for a specific user.
442              
443             This operation requires permissions for the C<lex:DeleteUtterances>
444             action.
445              
446              
447             =head2 GetBot(Name => Str, VersionOrAlias => Str)
448              
449             Each argument is described in detail in: L<Paws::LexModels::GetBot>
450              
451             Returns: a L<Paws::LexModels::GetBotResponse> instance
452              
453             Returns metadata information for a specific bot. You must provide the
454             bot name and the bot version or alias.
455              
456             The GetBot operation requires permissions for the C<lex:GetBot> action.
457              
458              
459             =head2 GetBotAlias(BotName => Str, Name => Str)
460              
461             Each argument is described in detail in: L<Paws::LexModels::GetBotAlias>
462              
463             Returns: a L<Paws::LexModels::GetBotAliasResponse> instance
464              
465             Returns information about an Amazon Lex bot alias. For more information
466             about aliases, see versioning-aliases.
467              
468             This operation requires permissions for the C<lex:GetBotAlias> action.
469              
470              
471             =head2 GetBotAliases(BotName => Str, [MaxResults => Int, NameContains => Str, NextToken => Str])
472              
473             Each argument is described in detail in: L<Paws::LexModels::GetBotAliases>
474              
475             Returns: a L<Paws::LexModels::GetBotAliasesResponse> instance
476              
477             Returns a list of aliases for a specified Amazon Lex bot.
478              
479             This operation requires permissions for the C<lex:GetBotAliases>
480             action.
481              
482              
483             =head2 GetBotChannelAssociation(BotAlias => Str, BotName => Str, Name => Str)
484              
485             Each argument is described in detail in: L<Paws::LexModels::GetBotChannelAssociation>
486              
487             Returns: a L<Paws::LexModels::GetBotChannelAssociationResponse> instance
488              
489             Returns information about the association between an Amazon Lex bot and
490             a messaging platform.
491              
492             This operation requires permissions for the
493             C<lex:GetBotChannelAssociation> action.
494              
495              
496             =head2 GetBotChannelAssociations(BotAlias => Str, BotName => Str, [MaxResults => Int, NameContains => Str, NextToken => Str])
497              
498             Each argument is described in detail in: L<Paws::LexModels::GetBotChannelAssociations>
499              
500             Returns: a L<Paws::LexModels::GetBotChannelAssociationsResponse> instance
501              
502             Returns a list of all of the channels associated with the specified
503             bot.
504              
505             The C<GetBotChannelAssociations> operation requires permissions for the
506             C<lex:GetBotChannelAssociations> action.
507              
508              
509             =head2 GetBots([MaxResults => Int, NameContains => Str, NextToken => Str])
510              
511             Each argument is described in detail in: L<Paws::LexModels::GetBots>
512              
513             Returns: a L<Paws::LexModels::GetBotsResponse> instance
514              
515             Returns bot information as follows:
516              
517             =over
518              
519             =item *
520              
521             If you provide the C<nameContains> field, the response includes
522             information for the C<$LATEST> version of all bots whose name contains
523             the specified string.
524              
525             =item *
526              
527             If you don't specify the C<nameContains> field, the operation returns
528             information about the C<$LATEST> version of all of your bots.
529              
530             =back
531              
532             This operation requires permission for the C<lex:GetBots> action.
533              
534              
535             =head2 GetBotVersions(Name => Str, [MaxResults => Int, NextToken => Str])
536              
537             Each argument is described in detail in: L<Paws::LexModels::GetBotVersions>
538              
539             Returns: a L<Paws::LexModels::GetBotVersionsResponse> instance
540              
541             Gets information about all of the versions of a bot.
542              
543             The C<GetBotVersions> operation returns a C<BotMetadata> object for
544             each version of a bot. For example, if a bot has three numbered
545             versions, the C<GetBotVersions> operation returns four C<BotMetadata>
546             objects in the response, one for each numbered version and one for the
547             C<$LATEST> version.
548              
549             The C<GetBotVersions> operation always returns at least one version,
550             the C<$LATEST> version.
551              
552             This operation requires permissions for the C<lex:GetBotVersions>
553             action.
554              
555              
556             =head2 GetBuiltinIntent(Signature => Str)
557              
558             Each argument is described in detail in: L<Paws::LexModels::GetBuiltinIntent>
559              
560             Returns: a L<Paws::LexModels::GetBuiltinIntentResponse> instance
561              
562             Returns information about a built-in intent.
563              
564             This operation requires permission for the C<lex:GetBuiltinIntent>
565             action.
566              
567              
568             =head2 GetBuiltinIntents([Locale => Str, MaxResults => Int, NextToken => Str, SignatureContains => Str])
569              
570             Each argument is described in detail in: L<Paws::LexModels::GetBuiltinIntents>
571              
572             Returns: a L<Paws::LexModels::GetBuiltinIntentsResponse> instance
573              
574             Gets a list of built-in intents that meet the specified criteria.
575              
576             This operation requires permission for the C<lex:GetBuiltinIntents>
577             action.
578              
579              
580             =head2 GetBuiltinSlotTypes([Locale => Str, MaxResults => Int, NextToken => Str, SignatureContains => Str])
581              
582             Each argument is described in detail in: L<Paws::LexModels::GetBuiltinSlotTypes>
583              
584             Returns: a L<Paws::LexModels::GetBuiltinSlotTypesResponse> instance
585              
586             Gets a list of built-in slot types that meet the specified criteria.
587              
588             For a list of built-in slot types, see Slot Type Reference in the
589             I<Alexa Skills Kit>.
590              
591             This operation requires permission for the C<lex:GetBuiltInSlotTypes>
592             action.
593              
594              
595             =head2 GetIntent(Name => Str, Version => Str)
596              
597             Each argument is described in detail in: L<Paws::LexModels::GetIntent>
598              
599             Returns: a L<Paws::LexModels::GetIntentResponse> instance
600              
601             Returns information about an intent. In addition to the intent name,
602             you must specify the intent version.
603              
604             This operation requires permissions to perform the C<lex:GetIntent>
605             action.
606              
607              
608             =head2 GetIntents([MaxResults => Int, NameContains => Str, NextToken => Str])
609              
610             Each argument is described in detail in: L<Paws::LexModels::GetIntents>
611              
612             Returns: a L<Paws::LexModels::GetIntentsResponse> instance
613              
614             Returns intent information as follows:
615              
616             =over
617              
618             =item *
619              
620             If you specify the C<nameContains> field, returns the C<$LATEST>
621             version of all intents that contain the specified string.
622              
623             =item *
624              
625             If you don't specify the C<nameContains> field, returns information
626             about the C<$LATEST> version of all intents.
627              
628             =back
629              
630             The operation requires permission for the C<lex:GetIntents> action.
631              
632              
633             =head2 GetIntentVersions(Name => Str, [MaxResults => Int, NextToken => Str])
634              
635             Each argument is described in detail in: L<Paws::LexModels::GetIntentVersions>
636              
637             Returns: a L<Paws::LexModels::GetIntentVersionsResponse> instance
638              
639             Gets information about all of the versions of an intent.
640              
641             The C<GetIntentVersions> operation returns an C<IntentMetadata> object
642             for each version of an intent. For example, if an intent has three
643             numbered versions, the C<GetIntentVersions> operation returns four
644             C<IntentMetadata> objects in the response, one for each numbered
645             version and one for the C<$LATEST> version.
646              
647             The C<GetIntentVersions> operation always returns at least one version,
648             the C<$LATEST> version.
649              
650             This operation requires permissions for the C<lex:GetIntentVersions>
651             action.
652              
653              
654             =head2 GetSlotType(Name => Str, Version => Str)
655              
656             Each argument is described in detail in: L<Paws::LexModels::GetSlotType>
657              
658             Returns: a L<Paws::LexModels::GetSlotTypeResponse> instance
659              
660             Returns information about a specific version of a slot type. In
661             addition to specifying the slot type name, you must specify the slot
662             type version.
663              
664             This operation requires permissions for the C<lex:GetSlotType> action.
665              
666              
667             =head2 GetSlotTypes([MaxResults => Int, NameContains => Str, NextToken => Str])
668              
669             Each argument is described in detail in: L<Paws::LexModels::GetSlotTypes>
670              
671             Returns: a L<Paws::LexModels::GetSlotTypesResponse> instance
672              
673             Returns slot type information as follows:
674              
675             =over
676              
677             =item *
678              
679             If you specify the C<nameContains> field, returns the C<$LATEST>
680             version of all slot types that contain the specified string.
681              
682             =item *
683              
684             If you don't specify the C<nameContains> field, returns information
685             about the C<$LATEST> version of all slot types.
686              
687             =back
688              
689             The operation requires permission for the C<lex:GetSlotTypes> action.
690              
691              
692             =head2 GetSlotTypeVersions(Name => Str, [MaxResults => Int, NextToken => Str])
693              
694             Each argument is described in detail in: L<Paws::LexModels::GetSlotTypeVersions>
695              
696             Returns: a L<Paws::LexModels::GetSlotTypeVersionsResponse> instance
697              
698             Gets information about all versions of a slot type.
699              
700             The C<GetSlotTypeVersions> operation returns a C<SlotTypeMetadata>
701             object for each version of a slot type. For example, if a slot type has
702             three numbered versions, the C<GetSlotTypeVersions> operation returns
703             four C<SlotTypeMetadata> objects in the response, one for each numbered
704             version and one for the C<$LATEST> version.
705              
706             The C<GetSlotTypeVersions> operation always returns at least one
707             version, the C<$LATEST> version.
708              
709             This operation requires permissions for the C<lex:GetSlotTypeVersions>
710             action.
711              
712              
713             =head2 GetUtterancesView(BotName => Str, BotVersions => ArrayRef[Str|Undef], StatusType => Str)
714              
715             Each argument is described in detail in: L<Paws::LexModels::GetUtterancesView>
716              
717             Returns: a L<Paws::LexModels::GetUtterancesViewResponse> instance
718              
719             Use the C<GetUtterancesView> operation to get information about the
720             utterances that your users have made to your bot. You can use this list
721             to tune the utterances that your bot responds to.
722              
723             For example, say that you have created a bot to order flowers. After
724             your users have used your bot for a while, use the C<GetUtterancesView>
725             operation to see the requests that they have made and whether they have
726             been successful. You might find that the utterance "I want flowers" is
727             not being recognized. You could add this utterance to the
728             C<OrderFlowers> intent so that your bot recognizes that utterance.
729              
730             After you publish a new version of a bot, you can get information about
731             the old version and the new so that you can compare the performance
732             across the two versions.
733              
734             Data is available for the last 15 days. You can request information for
735             up to 5 versions in each request. The response contains information
736             about a maximum of 100 utterances for each version.
737              
738             If the bot's C<childDirected> field is set to C<true>, utterances for
739             the bot are not stored and cannot be retrieved with the
740             C<GetUtterancesView> operation. For more information, see .
741              
742             This operation requires permissions for the C<lex:GetUtterancesView>
743             action.
744              
745              
746             =head2 PutBot(ChildDirected => Bool, Locale => Str, Name => Str, [AbortStatement => L<Paws::LexModels::Statement>, Checksum => Str, ClarificationPrompt => L<Paws::LexModels::Prompt>, Description => Str, IdleSessionTTLInSeconds => Int, Intents => ArrayRef[L<Paws::LexModels::Intent>], ProcessBehavior => Str, VoiceId => Str])
747              
748             Each argument is described in detail in: L<Paws::LexModels::PutBot>
749              
750             Returns: a L<Paws::LexModels::PutBotResponse> instance
751              
752             Creates an Amazon Lex conversational bot or replaces an existing bot.
753             When you create or update a bot you only required to specify a name.
754             You can use this to add intents later, or to remove intents from an
755             existing bot. When you create a bot with a name only, the bot is
756             created or updated but Amazon Lex returns the C< response C<FAILED>.
757             You can build the bot after you add one or more intents. For more
758             information about Amazon Lex bots, see how-it-works.>
759              
760             If you specify the name of an existing bot, the fields in the request
761             replace the existing values in the C<$LATEST> version of the bot.
762             Amazon Lex removes any fields that you don't provide values for in the
763             request, except for the C<idleTTLInSeconds> and C<privacySettings>
764             fields, which are set to their default values. If you don't specify
765             values for required fields, Amazon Lex throws an exception.
766              
767             This operation requires permissions for the C<lex:PutBot> action. For
768             more information, see auth-and-access-control.
769              
770              
771             =head2 PutBotAlias(BotName => Str, BotVersion => Str, Name => Str, [Checksum => Str, Description => Str])
772              
773             Each argument is described in detail in: L<Paws::LexModels::PutBotAlias>
774              
775             Returns: a L<Paws::LexModels::PutBotAliasResponse> instance
776              
777             Creates an alias for the specified version of the bot or replaces an
778             alias for the specified bot. To change the version of the bot that the
779             alias points to, replace the alias. For more information about aliases,
780             see versioning-aliases.
781              
782             This operation requires permissions for the C<lex:PutBotAlias> action.
783              
784              
785             =head2 PutIntent(Name => Str, [Checksum => Str, ConclusionStatement => L<Paws::LexModels::Statement>, ConfirmationPrompt => L<Paws::LexModels::Prompt>, Description => Str, DialogCodeHook => L<Paws::LexModels::CodeHook>, FollowUpPrompt => L<Paws::LexModels::FollowUpPrompt>, FulfillmentActivity => L<Paws::LexModels::FulfillmentActivity>, ParentIntentSignature => Str, RejectionStatement => L<Paws::LexModels::Statement>, SampleUtterances => ArrayRef[Str|Undef], Slots => ArrayRef[L<Paws::LexModels::Slot>]])
786              
787             Each argument is described in detail in: L<Paws::LexModels::PutIntent>
788              
789             Returns: a L<Paws::LexModels::PutIntentResponse> instance
790              
791             Creates an intent or replaces an existing intent.
792              
793             To define the interaction between the user and your bot, you use one or
794             more intents. For a pizza ordering bot, for example, you would create
795             an C<OrderPizza> intent.
796              
797             To create an intent or replace an existing intent, you must provide the
798             following:
799              
800             =over
801              
802             =item *
803              
804             Intent name. For example, C<OrderPizza>.
805              
806             =item *
807              
808             Sample utterances. For example, "Can I order a pizza, please." and "I
809             want to order a pizza."
810              
811             =item *
812              
813             Information to be gathered. You specify slot types for the information
814             that your bot will request from the user. You can specify standard slot
815             types, such as a date or a time, or custom slot types such as the size
816             and crust of a pizza.
817              
818             =item *
819              
820             How the intent will be fulfilled. You can provide a Lambda function or
821             configure the intent to return the intent information to the client
822             application. If you use a Lambda function, when all of the intent
823             information is available, Amazon Lex invokes your Lambda function. If
824             you configure your intent to return the intent information to the
825             client application.
826              
827             =back
828              
829             You can specify other optional information in the request, such as:
830              
831             =over
832              
833             =item *
834              
835             A confirmation prompt to ask the user to confirm an intent. For
836             example, "Shall I order your pizza?"
837              
838             =item *
839              
840             A conclusion statement to send to the user after the intent has been
841             fulfilled. For example, "I placed your pizza order."
842              
843             =item *
844              
845             A follow-up prompt that asks the user for additional activity. For
846             example, asking "Do you want to order a drink with your pizza?"
847              
848             =back
849              
850             If you specify an existing intent name to update the intent, Amazon Lex
851             replaces the values in the C<$LATEST> version of the slot type with the
852             values in the request. Amazon Lex removes fields that you don't provide
853             in the request. If you don't specify the required fields, Amazon Lex
854             throws an exception.
855              
856             For more information, see how-it-works.
857              
858             This operation requires permissions for the C<lex:PutIntent> action.
859              
860              
861             =head2 PutSlotType(Name => Str, [Checksum => Str, Description => Str, EnumerationValues => ArrayRef[L<Paws::LexModels::EnumerationValue>]])
862              
863             Each argument is described in detail in: L<Paws::LexModels::PutSlotType>
864              
865             Returns: a L<Paws::LexModels::PutSlotTypeResponse> instance
866              
867             Creates a custom slot type or replaces an existing custom slot type.
868              
869             To create a custom slot type, specify a name for the slot type and a
870             set of enumeration values, which are the values that a slot of this
871             type can assume. For more information, see how-it-works.
872              
873             If you specify the name of an existing slot type, the fields in the
874             request replace the existing values in the C<$LATEST> version of the
875             slot type. Amazon Lex removes the fields that you don't provide in the
876             request. If you don't specify required fields, Amazon Lex throws an
877             exception.
878              
879             This operation requires permissions for the C<lex:PutSlotType> action.
880              
881              
882              
883              
884             =head1 PAGINATORS
885              
886             Paginator methods are helpers that repetively call methods that return partial results
887              
888              
889              
890              
891             =head1 SEE ALSO
892              
893             This service class forms part of L<Paws>
894              
895             =head1 BUGS and CONTRIBUTIONS
896              
897             The source code is located here: https://github.com/pplu/aws-sdk-perl
898              
899             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
900              
901             =cut
902