PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` package Paws::LexModels; use Moose; sub service { 'models.lex' } sub signing_name { 'lex' } sub version { '2017-04-19' } sub flattened_arrays { 0 } has max_attempts => (is => 'ro', isa => 'Int', default => 5); has retry => (is => 'ro', isa => 'HashRef', default => sub { { base => 'rand', type => 'exponential', growth_factor => 2 } }); has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [ ] }); with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::RestJsonCaller'; sub CreateBotVersion { my $self = shift; my $call_object = $self->new_with_coercions('Paws::LexModels::CreateBotVersion', @_); return $self->caller->do_call($self, $call_object); } sub CreateIntentVersion { my $self = shift; my $call_object = $self->new_with_coercions('Paws::LexModels::CreateIntentVersion', @_); return $self->caller->do_call($self, $call_object); } sub CreateSlotTypeVersion { my $self = shift; my $call_object = $self->new_with_coercions('Paws::LexModels::CreateSlotTypeVersion', @_); return $self->caller->do_call($self, $call_object); } sub DeleteBot { my $self = shift; my $call_object = $self->new_with_coercions('Paws::LexModels::DeleteBot', @_); return $self->caller->do_call($self, $call_object); } sub DeleteBotAlias { my $self = shift; my $call_object = $self->new_with_coercions('Paws::LexModels::DeleteBotAlias', @_); return $self->caller->do_call($self, $call_object); } sub DeleteBotChannelAssociation { my $self = shift; my $call_object = $self->new_with_coercions('Paws::LexModels::DeleteBotChannelAssociation', @_); return $self->caller->do_call($self, $call_object); } sub DeleteBotVersion { my $self = shift; my $call_object = $self->new_with_coercions('Paws::LexModels::DeleteBotVersion', @_); return $self->caller->do_call($self, $call_object); } sub DeleteIntent { my $self = shift; my $call_object = $self->new_with_coercions('Paws::LexModels::DeleteIntent', @_); return $self->caller->do_call($self, $call_object); } sub DeleteIntentVersion { my $self = shift; my $call_object = $self->new_with_coercions('Paws::LexModels::DeleteIntentVersion', @_); return $self->caller->do_call($self, $call_object); } sub DeleteSlotType { my $self = shift; my $call_object = $self->new_with_coercions('Paws::LexModels::DeleteSlotType', @_); return $self->caller->do_call($self, $call_object); } sub DeleteSlotTypeVersion { my $self = shift; my $call_object = $self->new_with_coercions('Paws::LexModels::DeleteSlotTypeVersion', @_); return $self->caller->do_call($self, $call_object); } sub DeleteUtterances { my $self = shift; my $call_object = $self->new_with_coercions('Paws::LexModels::DeleteUtterances', @_); return $self->caller->do_call($self, $call_object); } sub GetBot { my $self = shift; my $call_object = $self->new_with_coercions('Paws::LexModels::GetBot', @_); return $self->caller->do_call($self, $call_object); } sub GetBotAlias { my $self = shift; my $call_object = $self->new_with_coercions('Paws::LexModels::GetBotAlias', @_); return $self->caller->do_call($self, $call_object); } sub GetBotAliases { my $self = shift; my $call_object = $self->new_with_coercions('Paws::LexModels::GetBotAliases', @_); return $self->caller->do_call($self, $call_object); } sub GetBotChannelAssociation { my $self = shift; my $call_object = $self->new_with_coercions('Paws::LexModels::GetBotChannelAssociation', @_); return $self->caller->do_call($self, $call_object); } sub GetBotChannelAssociations { my $self = shift; my $call_object = $self->new_with_coercions('Paws::LexModels::GetBotChannelAssociations', @_); return $self->caller->do_call($self, $call_object); } sub GetBots { my $self = shift; my $call_object = $self->new_with_coercions('Paws::LexModels::GetBots', @_); return $self->caller->do_call($self, $call_object); } sub GetBotVersions { my $self = shift; my $call_object = $self->new_with_coercions('Paws::LexModels::GetBotVersions', @_); return $self->caller->do_call($self, $call_object); } sub GetBuiltinIntent { my $self = shift; my $call_object = $self->new_with_coercions('Paws::LexModels::GetBuiltinIntent', @_); return $self->caller->do_call($self, $call_object); } sub GetBuiltinIntents { my $self = shift; my $call_object = $self->new_with_coercions('Paws::LexModels::GetBuiltinIntents', @_); return $self->caller->do_call($self, $call_object); } sub GetBuiltinSlotTypes { my $self = shift; my $call_object = $self->new_with_coercions('Paws::LexModels::GetBuiltinSlotTypes', @_); return $self->caller->do_call($self, $call_object); } sub GetExport { my $self = shift; my $call_object = $self->new_with_coercions('Paws::LexModels::GetExport', @_); return $self->caller->do_call($self, $call_object); } sub GetImport { my $self = shift; my $call_object = $self->new_with_coercions('Paws::LexModels::GetImport', @_); return $self->caller->do_call($self, $call_object); } sub GetIntent { my $self = shift; my $call_object = $self->new_with_coercions('Paws::LexModels::GetIntent', @_); return $self->caller->do_call($self, $call_object); } sub GetIntents { my $self = shift; my $call_object = $self->new_with_coercions('Paws::LexModels::GetIntents', @_); return $self->caller->do_call($self, $call_object); } sub GetIntentVersions { my $self = shift; my $call_object = $self->new_with_coercions('Paws::LexModels::GetIntentVersions', @_); return $self->caller->do_call($self, $call_object); } sub GetSlotType { my $self = shift; my $call_object = $self->new_with_coercions('Paws::LexModels::GetSlotType', @_); return $self->caller->do_call($self, $call_object); } sub GetSlotTypes { my $self = shift; my $call_object = $self->new_with_coercions('Paws::LexModels::GetSlotTypes', @_); return $self->caller->do_call($self, $call_object); } sub GetSlotTypeVersions { my $self = shift; my $call_object = $self->new_with_coercions('Paws::LexModels::GetSlotTypeVersions', @_); return $self->caller->do_call($self, $call_object); } sub GetUtterancesView { my $self = shift; my $call_object = $self->new_with_coercions('Paws::LexModels::GetUtterancesView', @_); return $self->caller->do_call($self, $call_object); } sub ListTagsForResource { my $self = shift; my $call_object = $self->new_with_coercions('Paws::LexModels::ListTagsForResource', @_); return $self->caller->do_call($self, $call_object); } sub PutBot { my $self = shift; my $call_object = $self->new_with_coercions('Paws::LexModels::PutBot', @_); return $self->caller->do_call($self, $call_object); } sub PutBotAlias { my $self = shift; my $call_object = $self->new_with_coercions('Paws::LexModels::PutBotAlias', @_); return $self->caller->do_call($self, $call_object); } sub PutIntent { my $self = shift; my $call_object = $self->new_with_coercions('Paws::LexModels::PutIntent', @_); return $self->caller->do_call($self, $call_object); } sub PutSlotType { my $self = shift; my $call_object = $self->new_with_coercions('Paws::LexModels::PutSlotType', @_); return $self->caller->do_call($self, $call_object); } sub StartImport { my $self = shift; my $call_object = $self->new_with_coercions('Paws::LexModels::StartImport', @_); return $self->caller->do_call($self, $call_object); } sub TagResource { my $self = shift; my $call_object = $self->new_with_coercions('Paws::LexModels::TagResource', @_); return $self->caller->do_call($self, $call_object); } sub UntagResource { my $self = shift; my $call_object = $self->new_with_coercions('Paws::LexModels::UntagResource', @_); return $self->caller->do_call($self, $call_object); } sub GetAllBotAliases { my $self = shift; my $callback = shift @_ if (ref($_[0]) eq 'CODE'); my $result = $self->GetBotAliases(@_); my $next_result = $result; if (not defined $callback) { while ($next_result->nextToken) { $next_result = $self->GetBotAliases(@_, nextToken => $next_result->nextToken); push @{ $result->BotAliases }, @{ $next_result->BotAliases }; } return $result; } else { while ($result->nextToken) { $callback->($_ => 'BotAliases') foreach (@{ $result->BotAliases }); $result = $self->GetBotAliases(@_, nextToken => $result->nextToken); } $callback->($_ => 'BotAliases') foreach (@{ $result->BotAliases }); } return undef } sub GetAllBotChannelAssociations { my $self = shift; my $callback = shift @_ if (ref($_[0]) eq 'CODE'); my $result = $self->GetBotChannelAssociations(@_); my $next_result = $result; if (not defined $callback) { while ($next_result->nextToken) { $next_result = $self->GetBotChannelAssociations(@_, nextToken => $next_result->nextToken); push @{ $result->botChannelAssociations }, @{ $next_result->botChannelAssociations }; } return $result; } else { while ($result->nextToken) { $callback->($_ => 'botChannelAssociations') foreach (@{ $result->botChannelAssociations }); $result = $self->GetBotChannelAssociations(@_, nextToken => $result->nextToken); } $callback->($_ => 'botChannelAssociations') foreach (@{ $result->botChannelAssociations }); } return undef } sub GetAllBots { my $self = shift; my $callback = shift @_ if (ref($_[0]) eq 'CODE'); my $result = $self->GetBots(@_); my $next_result = $result; if (not defined $callback) { while ($next_result->nextToken) { $next_result = $self->GetBots(@_, nextToken => $next_result->nextToken); push @{ $result->bots }, @{ $next_result->bots }; } return $result; } else { while ($result->nextToken) { $callback->($_ => 'bots') foreach (@{ $result->bots }); $result = $self->GetBots(@_, nextToken => $result->nextToken); } $callback->($_ => 'bots') foreach (@{ $result->bots }); } return undef } sub GetAllBotVersions { my $self = shift; my $callback = shift @_ if (ref($_[0]) eq 'CODE'); my $result = $self->GetBotVersions(@_); my $next_result = $result; if (not defined $callback) { while ($next_result->nextToken) { $next_result = $self->GetBotVersions(@_, nextToken => $next_result->nextToken); push @{ $result->bots }, @{ $next_result->bots }; } return $result; } else { while ($result->nextToken) { $callback->($_ => 'bots') foreach (@{ $result->bots }); $result = $self->GetBotVersions(@_, nextToken => $result->nextToken); } $callback->($_ => 'bots') foreach (@{ $result->bots }); } return undef } sub GetAllBuiltinIntents { my $self = shift; my $callback = shift @_ if (ref($_[0]) eq 'CODE'); my $result = $self->GetBuiltinIntents(@_); my $next_result = $result; if (not defined $callback) { while ($next_result->nextToken) { $next_result = $self->GetBuiltinIntents(@_, nextToken => $next_result->nextToken); push @{ $result->intents }, @{ $next_result->intents }; } return $result; } else { while ($result->nextToken) { $callback->($_ => 'intents') foreach (@{ $result->intents }); $result = $self->GetBuiltinIntents(@_, nextToken => $result->nextToken); } $callback->($_ => 'intents') foreach (@{ $result->intents }); } return undef } sub GetAllBuiltinSlotTypes { my $self = shift; my $callback = shift @_ if (ref($_[0]) eq 'CODE'); my $result = $self->GetBuiltinSlotTypes(@_); my $next_result = $result; if (not defined $callback) { while ($next_result->nextToken) { $next_result = $self->GetBuiltinSlotTypes(@_, nextToken => $next_result->nextToken); push @{ $result->slotTypes }, @{ $next_result->slotTypes }; } return $result; } else { while ($result->nextToken) { $callback->($_ => 'slotTypes') foreach (@{ $result->slotTypes }); $result = $self->GetBuiltinSlotTypes(@_, nextToken => $result->nextToken); } $callback->($_ => 'slotTypes') foreach (@{ $result->slotTypes }); } return undef } sub GetAllIntents { my $self = shift; my $callback = shift @_ if (ref($_[0]) eq 'CODE'); my $result = $self->GetIntents(@_); my $next_result = $result; if (not defined $callback) { while ($next_result->nextToken) { $next_result = $self->GetIntents(@_, nextToken => $next_result->nextToken); push @{ $result->intents }, @{ $next_result->intents }; } return $result; } else { while ($result->nextToken) { $callback->($_ => 'intents') foreach (@{ $result->intents }); $result = $self->GetIntents(@_, nextToken => $result->nextToken); } $callback->($_ => 'intents') foreach (@{ $result->intents }); } return undef } sub GetAllIntentVersions { my $self = shift; my $callback = shift @_ if (ref($_[0]) eq 'CODE'); my $result = $self->GetIntentVersions(@_); my $next_result = $result; if (not defined $callback) { while ($next_result->nextToken) { $next_result = $self->GetIntentVersions(@_, nextToken => $next_result->nextToken); push @{ $result->intents }, @{ $next_result->intents }; } return $result; } else { while ($result->nextToken) { $callback->($_ => 'intents') foreach (@{ $result->intents }); $result = $self->GetIntentVersions(@_, nextToken => $result->nextToken); } $callback->($_ => 'intents') foreach (@{ $result->intents }); } return undef } sub GetAllSlotTypes { my $self = shift; my $callback = shift @_ if (ref($_[0]) eq 'CODE'); my $result = $self->GetSlotTypes(@_); my $next_result = $result; if (not defined $callback) { while ($next_result->nextToken) { $next_result = $self->GetSlotTypes(@_, nextToken => $next_result->nextToken); push @{ $result->slotTypes }, @{ $next_result->slotTypes }; } return $result; } else { while ($result->nextToken) { $callback->($_ => 'slotTypes') foreach (@{ $result->slotTypes }); $result = $self->GetSlotTypes(@_, nextToken => $result->nextToken); } $callback->($_ => 'slotTypes') foreach (@{ $result->slotTypes }); } return undef } sub GetAllSlotTypeVersions { my $self = shift; my $callback = shift @_ if (ref($_[0]) eq 'CODE'); my $result = $self->GetSlotTypeVersions(@_); my $next_result = $result; if (not defined $callback) { while ($next_result->nextToken) { $next_result = $self->GetSlotTypeVersions(@_, nextToken => $next_result->nextToken); push @{ $result->slotTypes }, @{ $next_result->slotTypes }; } return $result; } else { while ($result->nextToken) { $callback->($_ => 'slotTypes') foreach (@{ $result->slotTypes }); $result = $self->GetSlotTypeVersions(@_, nextToken => $result->nextToken); } $callback->($_ => 'slotTypes') foreach (@{ $result->slotTypes }); } return undef } 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 GetExport GetImport GetIntent GetIntents GetIntentVersions GetSlotType GetSlotTypes GetSlotTypeVersions GetUtterancesView ListTagsForResource PutBot PutBotAlias PutIntent PutSlotType StartImport TagResource UntagResource / } 1; ### main pod documentation begin ### =head1 NAME Paws::LexModels - Perl Interface to AWS Amazon Lex Model Building Service =head1 SYNOPSIS use Paws; my $obj = Paws->service('LexModels'); my $res = $obj->Method( Arg1 => $val1, Arg2 => [ 'V1', 'V2' ], # if Arg3 is an object, the HashRef will be used as arguments to the constructor # of the arguments type Arg3 => { Att1 => 'Val1' }, # if Arg4 is an array of objects, the HashRefs will be passed as arguments to # the constructor of the arguments type Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ], ); =head1 DESCRIPTION Amazon Lex Build-Time Actions Amazon Lex is an AWS service for building conversational voice and text interfaces. Use these actions to create, update, and delete conversational bots for new and existing client applications. For the AWS API documentation, see L =head1 METHODS =head2 CreateBotVersion =over =item Name => Str =item [Checksum => Str] =back Each argument is described in detail in: L Returns: a L instance Creates a new version of the bot based on the C<$LATEST> version. If the C<$LATEST> version of this resource hasn't changed since you created the last version, Amazon Lex doesn't create a new version. It returns the last created version. You can update only the C<$LATEST> version of the bot. You can't update the numbered versions that you create with the C operation. When you create the first version of a bot, Amazon Lex sets the version to 1. Subsequent versions increment by 1. For more information, see versioning-intro. This operation requires permission for the C action. =head2 CreateIntentVersion =over =item Name => Str =item [Checksum => Str] =back Each argument is described in detail in: L Returns: a L instance Creates a new version of an intent based on the C<$LATEST> version of the intent. If the C<$LATEST> version of this intent hasn't changed since you last updated it, Amazon Lex doesn't create a new version. It returns the last version you created. You can update only the C<$LATEST> version of the intent. You can't update the numbered versions that you create with the C operation. When you create a version of an intent, Amazon Lex sets the version to 1. Subsequent versions increment by 1. For more information, see versioning-intro. This operation requires permissions to perform the C action. =head2 CreateSlotTypeVersion =over =item Name => Str =item [Checksum => Str] =back Each argument is described in detail in: L Returns: a L instance Creates a new version of a slot type based on the C<$LATEST> version of the specified slot type. If the C<$LATEST> version of this resource has not changed since the last version that you created, Amazon Lex doesn't create a new version. It returns the last version that you created. You can update only the C<$LATEST> version of a slot type. You can't update the numbered versions that you create with the C operation. When you create a version of a slot type, Amazon Lex sets the version to 1. Subsequent versions increment by 1. For more information, see versioning-intro. This operation requires permissions for the C action. =head2 DeleteBot =over =item Name => Str =back Each argument is described in detail in: L Returns: nothing Deletes all versions of the bot, including the C<$LATEST> version. To delete a specific version of the bot, use the DeleteBotVersion operation. The C operation doesn't immediately remove the bot schema. Instead, it is marked for deletion and removed later. Amazon Lex stores utterances indefinitely for improving the ability of your bot to respond to user inputs. These utterances are not removed when the bot is deleted. To remove the utterances, use the DeleteUtterances operation. If a bot has an alias, you can't delete it. Instead, the C operation returns a C exception that includes a reference to the alias that refers to the bot. To remove the reference to the bot, delete the alias. If you get the same exception again, delete the referring alias until the C operation is successful. This operation requires permissions for the C action. =head2 DeleteBotAlias =over =item BotName => Str =item Name => Str =back Each argument is described in detail in: L Returns: nothing Deletes an alias for the specified bot. You can't delete an alias that is used in the association between a bot and a messaging channel. If an alias is used in a channel association, the C operation returns a C exception that includes a reference to the channel association that refers to the bot. You can remove the reference to the alias by deleting the channel association. If you get the same exception again, delete the referring association until the C operation is successful. =head2 DeleteBotChannelAssociation =over =item BotAlias => Str =item BotName => Str =item Name => Str =back Each argument is described in detail in: L Returns: nothing Deletes the association between an Amazon Lex bot and a messaging platform. This operation requires permission for the C action. =head2 DeleteBotVersion =over =item Name => Str =item Version => Str =back Each argument is described in detail in: L Returns: nothing Deletes a specific version of a bot. To delete all versions of a bot, use the DeleteBot operation. This operation requires permissions for the C action. =head2 DeleteIntent =over =item Name => Str =back Each argument is described in detail in: L Returns: nothing Deletes all versions of the intent, including the C<$LATEST> version. To delete a specific version of the intent, use the DeleteIntentVersion operation. You can delete a version of an intent only if it is not referenced. To delete an intent that is referred to in one or more bots (see how-it-works), you must remove those references first. If you get the C exception, it provides an example reference that shows where the intent is referenced. To remove the reference to the intent, either update the bot or delete it. If you get the same exception when you attempt to delete the intent again, repeat until the intent has no references and the call to C is successful. This operation requires permission for the C action. =head2 DeleteIntentVersion =over =item Name => Str =item Version => Str =back Each argument is described in detail in: L Returns: nothing Deletes a specific version of an intent. To delete all versions of a intent, use the DeleteIntent operation. This operation requires permissions for the C action. =head2 DeleteSlotType =over =item Name => Str =back Each argument is described in detail in: L Returns: nothing Deletes all versions of the slot type, including the C<$LATEST> version. To delete a specific version of the slot type, use the DeleteSlotTypeVersion operation. You can delete a version of a slot type only if it is not referenced. To delete a slot type that is referred to in one or more intents, you must remove those references first. If you get the C exception, the exception provides an example reference that shows the intent where the slot type is referenced. To remove the reference to the slot type, either update the intent or delete it. If you get the same exception when you attempt to delete the slot type again, repeat until the slot type has no references and the C call is successful. This operation requires permission for the C action. =head2 DeleteSlotTypeVersion =over =item Name => Str =item Version => Str =back Each argument is described in detail in: L Returns: nothing Deletes a specific version of a slot type. To delete all versions of a slot type, use the DeleteSlotType operation. This operation requires permissions for the C action. =head2 DeleteUtterances =over =item BotName => Str =item UserId => Str =back Each argument is described in detail in: L Returns: nothing Deletes stored utterances. Amazon Lex stores the utterances that users send to your bot. Utterances are stored for 15 days for use with the GetUtterancesView operation, and then stored indefinitely for use in improving the ability of your bot to respond to user input. Use the C operation to manually delete stored utterances for a specific user. When you use the C operation, utterances stored for improving your bot's ability to respond to user input are deleted immediately. Utterances stored for use with the C operation are deleted after 15 days. This operation requires permissions for the C action. =head2 GetBot =over =item Name => Str =item VersionOrAlias => Str =back Each argument is described in detail in: L Returns: a L instance Returns metadata information for a specific bot. You must provide the bot name and the bot version or alias. This operation requires permissions for the C action. =head2 GetBotAlias =over =item BotName => Str =item Name => Str =back Each argument is described in detail in: L Returns: a L instance Returns information about an Amazon Lex bot alias. For more information about aliases, see versioning-aliases. This operation requires permissions for the C action. =head2 GetBotAliases =over =item BotName => Str =item [MaxResults => Int] =item [NameContains => Str] =item [NextToken => Str] =back Each argument is described in detail in: L Returns: a L instance Returns a list of aliases for a specified Amazon Lex bot. This operation requires permissions for the C action. =head2 GetBotChannelAssociation =over =item BotAlias => Str =item BotName => Str =item Name => Str =back Each argument is described in detail in: L Returns: a L instance Returns information about the association between an Amazon Lex bot and a messaging platform. This operation requires permissions for the C action. =head2 GetBotChannelAssociations =over =item BotAlias => Str =item BotName => Str =item [MaxResults => Int] =item [NameContains => Str] =item [NextToken => Str] =back Each argument is described in detail in: L Returns: a L instance Returns a list of all of the channels associated with the specified bot. The C operation requires permissions for the C action. =head2 GetBots =over =item [MaxResults => Int] =item [NameContains => Str] =item [NextToken => Str] =back Each argument is described in detail in: L Returns: a L instance Returns bot information as follows: =over =item * If you provide the C field, the response includes information for the C<$LATEST> version of all bots whose name contains the specified string. =item * If you don't specify the C field, the operation returns information about the C<$LATEST> version of all of your bots. =back This operation requires permission for the C action. =head2 GetBotVersions =over =item Name => Str =item [MaxResults => Int] =item [NextToken => Str] =back Each argument is described in detail in: L Returns: a L instance Gets information about all of the versions of a bot. The C operation returns a C object for each version of a bot. For example, if a bot has three numbered versions, the C operation returns four C objects in the response, one for each numbered version and one for the C<$LATEST> version. The C operation always returns at least one version, the C<$LATEST> version. This operation requires permissions for the C action. =head2 GetBuiltinIntent =over =item Signature => Str =back Each argument is described in detail in: L Returns: a L instance Returns information about a built-in intent. This operation requires permission for the C action. =head2 GetBuiltinIntents =over =item [Locale => Str] =item [MaxResults => Int] =item [NextToken => Str] =item [SignatureContains => Str] =back Each argument is described in detail in: L Returns: a L instance Gets a list of built-in intents that meet the specified criteria. This operation requires permission for the C action. =head2 GetBuiltinSlotTypes =over =item [Locale => Str] =item [MaxResults => Int] =item [NextToken => Str] =item [SignatureContains => Str] =back Each argument is described in detail in: L Returns: a L instance Gets a list of built-in slot types that meet the specified criteria. For a list of built-in slot types, see Slot Type Reference (https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/built-in-intent-ref/slot-type-reference) in the I. This operation requires permission for the C action. =head2 GetExport =over =item ExportType => Str =item Name => Str =item ResourceType => Str =item Version => Str =back Each argument is described in detail in: L Returns: a L instance Exports the contents of a Amazon Lex resource in a specified format. =head2 GetImport =over =item ImportId => Str =back Each argument is described in detail in: L Returns: a L instance Gets information about an import job started with the C operation. =head2 GetIntent =over =item Name => Str =item Version => Str =back Each argument is described in detail in: L Returns: a L instance Returns information about an intent. In addition to the intent name, you must specify the intent version. This operation requires permissions to perform the C action. =head2 GetIntents =over =item [MaxResults => Int] =item [NameContains => Str] =item [NextToken => Str] =back Each argument is described in detail in: L Returns: a L instance Returns intent information as follows: =over =item * If you specify the C field, returns the C<$LATEST> version of all intents that contain the specified string. =item * If you don't specify the C field, returns information about the C<$LATEST> version of all intents. =back The operation requires permission for the C action. =head2 GetIntentVersions =over =item Name => Str =item [MaxResults => Int] =item [NextToken => Str] =back Each argument is described in detail in: L Returns: a L instance Gets information about all of the versions of an intent. The C operation returns an C object for each version of an intent. For example, if an intent has three numbered versions, the C operation returns four C objects in the response, one for each numbered version and one for the C<$LATEST> version. The C operation always returns at least one version, the C<$LATEST> version. This operation requires permissions for the C action. =head2 GetSlotType =over =item Name => Str =item Version => Str =back Each argument is described in detail in: L Returns: a L instance Returns information about a specific version of a slot type. In addition to specifying the slot type name, you must specify the slot type version. This operation requires permissions for the C action. =head2 GetSlotTypes =over =item [MaxResults => Int] =item [NameContains => Str] =item [NextToken => Str] =back Each argument is described in detail in: L Returns: a L instance Returns slot type information as follows: =over =item * If you specify the C field, returns the C<$LATEST> version of all slot types that contain the specified string. =item * If you don't specify the C field, returns information about the C<$LATEST> version of all slot types. =back The operation requires permission for the C action. =head2 GetSlotTypeVersions =over =item Name => Str =item [MaxResults => Int] =item [NextToken => Str] =back Each argument is described in detail in: L Returns: a L instance Gets information about all versions of a slot type. The C operation returns a C object for each version of a slot type. For example, if a slot type has three numbered versions, the C operation returns four C objects in the response, one for each numbered version and one for the C<$LATEST> version. The C operation always returns at least one version, the C<$LATEST> version. This operation requires permissions for the C action. =head2 GetUtterancesView =over =item BotName => Str =item BotVersions => ArrayRef[Str|Undef] =item StatusType => Str =back Each argument is described in detail in: L Returns: a L instance Use the C operation to get information about the utterances that your users have made to your bot. You can use this list to tune the utterances that your bot responds to. For example, say that you have created a bot to order flowers. After your users have used your bot for a while, use the C operation to see the requests that they have made and whether they have been successful. You might find that the utterance "I want flowers" is not being recognized. You could add this utterance to the C intent so that your bot recognizes that utterance. After you publish a new version of a bot, you can get information about the old version and the new so that you can compare the performance across the two versions. Utterance statistics are generated once a day. Data is available for the last 15 days. You can request information for up to 5 versions of your bot in each request. Amazon Lex returns the most frequent utterances received by the bot in the last 15 days. The response contains information about a maximum of 100 utterances for each version. If you set C field to true when you created your bot, or if you opted out of participating in improving Amazon Lex, utterances are not available. This operation requires permissions for the C action. =head2 ListTagsForResource =over =item ResourceArn => Str =back Each argument is described in detail in: L Returns: a L instance Gets a list of tags associated with the specified resource. Only bots, bot aliases, and bot channels can have tags associated with them. =head2 PutBot =over =item ChildDirected => Bool =item Locale => Str =item Name => Str =item [AbortStatement => L] =item [Checksum => Str] =item [ClarificationPrompt => L] =item [CreateVersion => Bool] =item [Description => Str] =item [DetectSentiment => Bool] =item [EnableModelImprovements => Bool] =item [IdleSessionTTLInSeconds => Int] =item [Intents => ArrayRef[L]] =item [NluIntentConfidenceThreshold => Num] =item [ProcessBehavior => Str] =item [Tags => ArrayRef[L]] =item [VoiceId => Str] =back Each argument is described in detail in: L Returns: a L instance Creates an Amazon Lex conversational bot or replaces an existing bot. When you create or update a bot you are only required to specify a name, a locale, and whether the bot is directed toward children under age 13. You can use this to add intents later, or to remove intents from an existing bot. When you create a bot with the minimum information, the bot is created or updated but Amazon Lex returns the C< response C. You can build the bot after you add one or more intents. For more information about Amazon Lex bots, see how-it-works.> If you specify the name of an existing bot, the fields in the request replace the existing values in the C<$LATEST> version of the bot. Amazon Lex removes any fields that you don't provide values for in the request, except for the C and C fields, which are set to their default values. If you don't specify values for required fields, Amazon Lex throws an exception. This operation requires permissions for the C action. For more information, see security-iam. =head2 PutBotAlias =over =item BotName => Str =item BotVersion => Str =item Name => Str =item [Checksum => Str] =item [ConversationLogs => L] =item [Description => Str] =item [Tags => ArrayRef[L]] =back Each argument is described in detail in: L Returns: a L instance Creates an alias for the specified version of the bot or replaces an alias for the specified bot. To change the version of the bot that the alias points to, replace the alias. For more information about aliases, see versioning-aliases. This operation requires permissions for the C action. =head2 PutIntent =over =item Name => Str =item [Checksum => Str] =item [ConclusionStatement => L] =item [ConfirmationPrompt => L] =item [CreateVersion => Bool] =item [Description => Str] =item [DialogCodeHook => L] =item [FollowUpPrompt => L] =item [FulfillmentActivity => L] =item [InputContexts => ArrayRef[L]] =item [KendraConfiguration => L] =item [OutputContexts => ArrayRef[L]] =item [ParentIntentSignature => Str] =item [RejectionStatement => L] =item [SampleUtterances => ArrayRef[Str|Undef]] =item [Slots => ArrayRef[L]] =back Each argument is described in detail in: L Returns: a L instance Creates an intent or replaces an existing intent. To define the interaction between the user and your bot, you use one or more intents. For a pizza ordering bot, for example, you would create an C intent. To create an intent or replace an existing intent, you must provide the following: =over =item * Intent name. For example, C. =item * Sample utterances. For example, "Can I order a pizza, please." and "I want to order a pizza." =item * Information to be gathered. You specify slot types for the information that your bot will request from the user. You can specify standard slot types, such as a date or a time, or custom slot types such as the size and crust of a pizza. =item * How the intent will be fulfilled. You can provide a Lambda function or configure the intent to return the intent information to the client application. If you use a Lambda function, when all of the intent information is available, Amazon Lex invokes your Lambda function. If you configure your intent to return the intent information to the client application. =back You can specify other optional information in the request, such as: =over =item * A confirmation prompt to ask the user to confirm an intent. For example, "Shall I order your pizza?" =item * A conclusion statement to send to the user after the intent has been fulfilled. For example, "I placed your pizza order." =item * A follow-up prompt that asks the user for additional activity. For example, asking "Do you want to order a drink with your pizza?" =back If you specify an existing intent name to update the intent, Amazon Lex replaces the values in the C<$LATEST> version of the intent with the values in the request. Amazon Lex removes fields that you don't provide in the request. If you don't specify the required fields, Amazon Lex throws an exception. When you update the C<$LATEST> version of an intent, the C field of any bot that uses the C<$LATEST> version of the intent is set to C. For more information, see how-it-works. This operation requires permissions for the C action. =head2 PutSlotType =over =item Name => Str =item [Checksum => Str] =item [CreateVersion => Bool] =item [Description => Str] =item [EnumerationValues => ArrayRef[L]] =item [ParentSlotTypeSignature => Str] =item [SlotTypeConfigurations => ArrayRef[L]] =item [ValueSelectionStrategy => Str] =back Each argument is described in detail in: L Returns: a L instance Creates a custom slot type or replaces an existing custom slot type. To create a custom slot type, specify a name for the slot type and a set of enumeration values, which are the values that a slot of this type can assume. For more information, see how-it-works. If you specify the name of an existing slot type, the fields in the request replace the existing values in the C<$LATEST> version of the slot type. Amazon Lex removes the fields that you don't provide in the request. If you don't specify required fields, Amazon Lex throws an exception. When you update the C<$LATEST> version of a slot type, if a bot uses the C<$LATEST> version of an intent that contains the slot type, the bot's C field is set to C. This operation requires permissions for the C action. =head2 StartImport =over =item MergeStrategy => Str =item Payload => Str =item ResourceType => Str =item [Tags => ArrayRef[L]] =back Each argument is described in detail in: L Returns: a L instance Starts a job to import a resource to Amazon Lex. =head2 TagResource =over =item ResourceArn => Str =item Tags => ArrayRef[L] =back Each argument is described in detail in: L Returns: a L instance Adds the specified tags to the specified resource. If a tag key already exists, the existing value is replaced with the new value. =head2 UntagResource =over =item ResourceArn => Str =item TagKeys => ArrayRef[Str|Undef] =back Each argument is described in detail in: L Returns: a L instance Removes tags from a bot, bot alias or bot channel. =head1 PAGINATORS Paginator methods are helpers that repetively call methods that return partial results =head2 GetAllBotAliases(sub { },BotName => Str, [MaxResults => Int, NameContains => Str, NextToken => Str]) =head2 GetAllBotAliases(BotName => Str, [MaxResults => Int, NameContains => Str, NextToken => Str]) If passed a sub as first parameter, it will call the sub for each element found in : - BotAliases, passing the object as the first parameter, and the string 'BotAliases' as the second parameter If not, it will return a a L instance with all the Cs; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. =head2 GetAllBotChannelAssociations(sub { },BotAlias => Str, BotName => Str, [MaxResults => Int, NameContains => Str, NextToken => Str]) =head2 GetAllBotChannelAssociations(BotAlias => Str, BotName => Str, [MaxResults => Int, NameContains => Str, NextToken => Str]) If passed a sub as first parameter, it will call the sub for each element found in : - botChannelAssociations, passing the object as the first parameter, and the string 'botChannelAssociations' as the second parameter If not, it will return a a L instance with all the Cs; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. =head2 GetAllBots(sub { },[MaxResults => Int, NameContains => Str, NextToken => Str]) =head2 GetAllBots([MaxResults => Int, NameContains => Str, NextToken => Str]) If passed a sub as first parameter, it will call the sub for each element found in : - bots, passing the object as the first parameter, and the string 'bots' as the second parameter If not, it will return a a L instance with all the Cs; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. =head2 GetAllBotVersions(sub { },Name => Str, [MaxResults => Int, NextToken => Str]) =head2 GetAllBotVersions(Name => Str, [MaxResults => Int, NextToken => Str]) If passed a sub as first parameter, it will call the sub for each element found in : - bots, passing the object as the first parameter, and the string 'bots' as the second parameter If not, it will return a a L instance with all the Cs; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. =head2 GetAllBuiltinIntents(sub { },[Locale => Str, MaxResults => Int, NextToken => Str, SignatureContains => Str]) =head2 GetAllBuiltinIntents([Locale => Str, MaxResults => Int, NextToken => Str, SignatureContains => Str]) If passed a sub as first parameter, it will call the sub for each element found in : - intents, passing the object as the first parameter, and the string 'intents' as the second parameter If not, it will return a a L instance with all the Cs; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. =head2 GetAllBuiltinSlotTypes(sub { },[Locale => Str, MaxResults => Int, NextToken => Str, SignatureContains => Str]) =head2 GetAllBuiltinSlotTypes([Locale => Str, MaxResults => Int, NextToken => Str, SignatureContains => Str]) If passed a sub as first parameter, it will call the sub for each element found in : - slotTypes, passing the object as the first parameter, and the string 'slotTypes' as the second parameter If not, it will return a a L instance with all the Cs; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. =head2 GetAllIntents(sub { },[MaxResults => Int, NameContains => Str, NextToken => Str]) =head2 GetAllIntents([MaxResults => Int, NameContains => Str, NextToken => Str]) If passed a sub as first parameter, it will call the sub for each element found in : - intents, passing the object as the first parameter, and the string 'intents' as the second parameter If not, it will return a a L instance with all the Cs; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. =head2 GetAllIntentVersions(sub { },Name => Str, [MaxResults => Int, NextToken => Str]) =head2 GetAllIntentVersions(Name => Str, [MaxResults => Int, NextToken => Str]) If passed a sub as first parameter, it will call the sub for each element found in : - intents, passing the object as the first parameter, and the string 'intents' as the second parameter If not, it will return a a L instance with all the Cs; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. =head2 GetAllSlotTypes(sub { },[MaxResults => Int, NameContains => Str, NextToken => Str]) =head2 GetAllSlotTypes([MaxResults => Int, NameContains => Str, NextToken => Str]) If passed a sub as first parameter, it will call the sub for each element found in : - slotTypes, passing the object as the first parameter, and the string 'slotTypes' as the second parameter If not, it will return a a L instance with all the Cs; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. =head2 GetAllSlotTypeVersions(sub { },Name => Str, [MaxResults => Int, NextToken => Str]) =head2 GetAllSlotTypeVersions(Name => Str, [MaxResults => Int, NextToken => Str]) If passed a sub as first parameter, it will call the sub for each element found in : - slotTypes, passing the object as the first parameter, and the string 'slotTypes' as the second parameter If not, it will return a a L instance with all the Cs; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. =head1 SEE ALSO This service class forms part of L =head1 BUGS and CONTRIBUTIONS The source code is located here: L Please report bugs to: L =cut