File Coverage

blib/lib/Paws/LexModels/GetBotAliases.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::LexModels::GetBotAliases;
3 1     1   461 use Moose;
  1         2  
  1         8  
4             has BotName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'botName' , required => 1);
5             has MaxResults => (is => 'ro', isa => 'Int', traits => ['ParamInQuery'], query_name => 'maxResults' );
6             has NameContains => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'nameContains' );
7             has NextToken => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'nextToken' );
8              
9 1     1   6047 use MooseX::ClassAttribute;
  1         3  
  1         11  
10              
11             class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetBotAliases');
12             class_has _api_uri => (isa => 'Str', is => 'ro', default => '/bots/{botName}/aliases/');
13             class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET');
14             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::LexModels::GetBotAliasesResponse');
15             class_has _result_key => (isa => 'Str', is => 'ro');
16             1;
17              
18             ### main pod documentation begin ###
19              
20             =head1 NAME
21              
22             Paws::LexModels::GetBotAliases - Arguments for method GetBotAliases on Paws::LexModels
23              
24             =head1 DESCRIPTION
25              
26             This class represents the parameters used for calling the method GetBotAliases on the
27             Amazon Lex Model Building Service service. Use the attributes of this class
28             as arguments to method GetBotAliases.
29              
30             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetBotAliases.
31              
32             As an example:
33              
34             $service_obj->GetBotAliases(Att1 => $value1, Att2 => $value2, ...);
35              
36             Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
37              
38             =head1 ATTRIBUTES
39              
40              
41             =head2 B<REQUIRED> BotName => Str
42              
43             The name of the bot.
44              
45              
46              
47             =head2 MaxResults => Int
48              
49             The maximum number of aliases to return in the response. The default is
50             50. .
51              
52              
53              
54             =head2 NameContains => Str
55              
56             Substring to match in bot alias names. An alias will be returned if any
57             part of its name matches the substring. For example, "xyz" matches both
58             "xyzabc" and "abcxyz."
59              
60              
61              
62             =head2 NextToken => Str
63              
64             A pagination token for fetching the next page of aliases. If the
65             response to this call is truncated, Amazon Lex returns a pagination
66             token in the response. To fetch the next page of aliases, specify the
67             pagination token in the next request.
68              
69              
70              
71              
72             =head1 SEE ALSO
73              
74             This class forms part of L<Paws>, documenting arguments for method GetBotAliases in L<Paws::LexModels>
75              
76             =head1 BUGS and CONTRIBUTIONS
77              
78             The source code is located here: https://github.com/pplu/aws-sdk-perl
79              
80             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
81              
82             =cut
83