blib/lib/Paws/IoT/ListThingGroups.pm untested

filter: Statementstmt 0.0% 0 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 22 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::IoT::ListThingGroups;
3 use Moose;
4 has MaxResults => (is => 'ro', isa => 'Int', traits => ['ParamInQuery'], query_name => 'maxResults');
5 has NamePrefixFilter => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'namePrefixFilter');
6 has NextToken => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'nextToken');
7 has ParentGroup => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'parentGroup');
8 has Recursive => (is => 'ro', isa => 'Bool', traits => ['ParamInQuery'], query_name => 'recursive');
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListThingGroups');
13 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/thing-groups');
14 class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::IoT::ListThingGroupsResponse');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::IoT::ListThingGroups - Arguments for method ListThingGroups on L<Paws::IoT>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method ListThingGroups on the
27 L<AWS IoT|Paws::IoT> service. Use the attributes of this class
28 as arguments to method ListThingGroups.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListThingGroups.
31  
32 =head1 SYNOPSIS
33  
34 my $iot = Paws->service('IoT');
35 my $ListThingGroupsResponse = $iot->ListThingGroups(
36 MaxResults => 1, # OPTIONAL
37 NamePrefixFilter => 'MyThingGroupName', # OPTIONAL
38 NextToken => 'MyNextToken', # OPTIONAL
39 ParentGroup => 'MyThingGroupName', # OPTIONAL
40 Recursive => 1, # OPTIONAL
41 );
42  
43 # Results:
44 my $NextToken = $ListThingGroupsResponse->NextToken;
45 my $ThingGroups = $ListThingGroupsResponse->ThingGroups;
46  
47 # Returns a L<Paws::IoT::ListThingGroupsResponse> object.
48  
49 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.
50 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/iot/ListThingGroups>
51  
52 =head1 ATTRIBUTES
53  
54  
55 =head2 MaxResults => Int
56  
57 The maximum number of results to return at one time.
58  
59  
60  
61 =head2 NamePrefixFilter => Str
62  
63 A filter that limits the results to those with the specified name
64 prefix.
65  
66  
67  
68 =head2 NextToken => Str
69  
70 To retrieve the next set of results, the C<nextToken> value from a
71 previous response; otherwise B<null> to receive the first set of
72 results.
73  
74  
75  
76 =head2 ParentGroup => Str
77  
78 A filter that limits the results to those with the specified parent
79 group.
80  
81  
82  
83 =head2 Recursive => Bool
84  
85 If true, return child groups as well.
86  
87  
88  
89  
90 =head1 SEE ALSO
91  
92 This class forms part of L<Paws>, documenting arguments for method ListThingGroups in L<Paws::IoT>
93  
94 =head1 BUGS and CONTRIBUTIONS
95  
96 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
97  
98 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
99  
100 =cut
101