File Coverage

blib/lib/Paws/LexModels/GetBotChannelAssociations.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::GetBotChannelAssociations;
3 1     1   548 use Moose;
  1         4  
  1         13  
4             has BotAlias => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'botAlias', required => 1);
5             has BotName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'botName', required => 1);
6             has MaxResults => (is => 'ro', isa => 'Int', traits => ['ParamInQuery'], query_name => 'maxResults');
7             has NameContains => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'nameContains');
8             has NextToken => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'nextToken');
9              
10 1     1   10416 use MooseX::ClassAttribute;
  1         4  
  1         19  
11              
12             class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetBotChannelAssociations');
13             class_has _api_uri => (isa => 'Str', is => 'ro', default => '/bots/{botName}/aliases/{aliasName}/channels/');
14             class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET');
15             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::LexModels::GetBotChannelAssociationsResponse');
16             class_has _result_key => (isa => 'Str', is => 'ro');
17             1;
18              
19             ### main pod documentation begin ###
20              
21             =head1 NAME
22              
23             Paws::LexModels::GetBotChannelAssociations - Arguments for method GetBotChannelAssociations on Paws::LexModels
24              
25             =head1 DESCRIPTION
26              
27             This class represents the parameters used for calling the method GetBotChannelAssociations on the
28             Amazon Lex Model Building Service service. Use the attributes of this class
29             as arguments to method GetBotChannelAssociations.
30              
31             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetBotChannelAssociations.
32              
33             As an example:
34              
35             $service_obj->GetBotChannelAssociations(Att1 => $value1, Att2 => $value2, ...);
36              
37             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.
38              
39             =head1 ATTRIBUTES
40              
41              
42             =head2 B<REQUIRED> BotAlias => Str
43              
44             An alias pointing to the specific version of the Amazon Lex bot to
45             which this association is being made.
46              
47              
48              
49             =head2 B<REQUIRED> BotName => Str
50              
51             The name of the Amazon Lex bot in the association.
52              
53              
54              
55             =head2 MaxResults => Int
56              
57             The maximum number of associations to return in the response. The
58             default is 50.
59              
60              
61              
62             =head2 NameContains => Str
63              
64             Substring to match in channel association names. An association will be
65             returned if any part of its name matches the substring. For example,
66             "xyz" matches both "xyzabc" and "abcxyz." To return all bot channel
67             associations, use a hyphen ("-") as the C<nameContains> parameter.
68              
69              
70              
71             =head2 NextToken => Str
72              
73             A pagination token for fetching the next page of associations. If the
74             response to this call is truncated, Amazon Lex returns a pagination
75             token in the response. To fetch the next page of associations, specify
76             the pagination token in the next request.
77              
78              
79              
80              
81             =head1 SEE ALSO
82              
83             This class forms part of L<Paws>, documenting arguments for method GetBotChannelAssociations in L<Paws::LexModels>
84              
85             =head1 BUGS and CONTRIBUTIONS
86              
87             The source code is located here: https://github.com/pplu/aws-sdk-perl
88              
89             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
90              
91             =cut
92