File Coverage

blib/lib/Paws/Organizations/ListAccounts.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::Organizations::ListAccounts;
3 1     1   312 use Moose;
  1         4  
  1         7  
4             has MaxResults => (is => 'ro', isa => 'Int');
5             has NextToken => (is => 'ro', isa => 'Str');
6              
7 1     1   5442 use MooseX::ClassAttribute;
  1         4  
  1         9  
8              
9             class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListAccounts');
10             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Organizations::ListAccountsResponse');
11             class_has _result_key => (isa => 'Str', is => 'ro');
12             1;
13              
14             ### main pod documentation begin ###
15              
16             =head1 NAME
17              
18             Paws::Organizations::ListAccounts - Arguments for method ListAccounts on Paws::Organizations
19              
20             =head1 DESCRIPTION
21              
22             This class represents the parameters used for calling the method ListAccounts on the
23             AWS Organizations service. Use the attributes of this class
24             as arguments to method ListAccounts.
25              
26             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListAccounts.
27              
28             As an example:
29              
30             $service_obj->ListAccounts(Att1 => $value1, Att2 => $value2, ...);
31              
32             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.
33              
34             =head1 ATTRIBUTES
35              
36              
37             =head2 MaxResults => Int
38              
39             (Optional) Use this to limit the number of results you want included in
40             the response. If you do not include this parameter, it defaults to a
41             value that is specific to the operation. If additional items exist
42             beyond the maximum you specify, the C<NextToken> response element is
43             present and has a value (is not null). Include that value as the
44             C<NextToken> request parameter in the next call to the operation to get
45             the next part of the results. Note that Organizations might return
46             fewer results than the maximum even when there are more results
47             available. You should check C<NextToken> after every operation to
48             ensure that you receive all of the results.
49              
50              
51              
52             =head2 NextToken => Str
53              
54             Use this parameter if you receive a C<NextToken> response in a previous
55             request that indicates that there is more output available. Set it to
56             the value of the previous call's C<NextToken> response to indicate
57             where the output should continue from.
58              
59              
60              
61              
62             =head1 SEE ALSO
63              
64             This class forms part of L<Paws>, documenting arguments for method ListAccounts in L<Paws::Organizations>
65              
66             =head1 BUGS and CONTRIBUTIONS
67              
68             The source code is located here: https://github.com/pplu/aws-sdk-perl
69              
70             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
71              
72             =cut
73