File Coverage

blib/lib/Paws/Organizations/ListChildren.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::ListChildren;
3 1     1   502 use Moose;
  1         6  
  1         13  
4             has ChildType => (is => 'ro', isa => 'Str', required => 1);
5             has MaxResults => (is => 'ro', isa => 'Int');
6             has NextToken => (is => 'ro', isa => 'Str');
7             has ParentId => (is => 'ro', isa => 'Str', required => 1);
8              
9 1     1   8031 use MooseX::ClassAttribute;
  1         5  
  1         14  
10              
11             class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListChildren');
12             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Organizations::ListChildrenResponse');
13             class_has _result_key => (isa => 'Str', is => 'ro');
14             1;
15              
16             ### main pod documentation begin ###
17              
18             =head1 NAME
19              
20             Paws::Organizations::ListChildren - Arguments for method ListChildren on Paws::Organizations
21              
22             =head1 DESCRIPTION
23              
24             This class represents the parameters used for calling the method ListChildren on the
25             AWS Organizations service. Use the attributes of this class
26             as arguments to method ListChildren.
27              
28             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListChildren.
29              
30             As an example:
31              
32             $service_obj->ListChildren(Att1 => $value1, Att2 => $value2, ...);
33              
34             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.
35              
36             =head1 ATTRIBUTES
37              
38              
39             =head2 B<REQUIRED> ChildType => Str
40              
41             Filters the output to include only the specified child type.
42              
43             Valid values are: C<"ACCOUNT">, C<"ORGANIZATIONAL_UNIT">
44              
45             =head2 MaxResults => Int
46              
47             (Optional) Use this to limit the number of results you want included in
48             the response. If you do not include this parameter, it defaults to a
49             value that is specific to the operation. If additional items exist
50             beyond the maximum you specify, the C<NextToken> response element is
51             present and has a value (is not null). Include that value as the
52             C<NextToken> request parameter in the next call to the operation to get
53             the next part of the results. Note that Organizations might return
54             fewer results than the maximum even when there are more results
55             available. You should check C<NextToken> after every operation to
56             ensure that you receive all of the results.
57              
58              
59              
60             =head2 NextToken => Str
61              
62             Use this parameter if you receive a C<NextToken> response in a previous
63             request that indicates that there is more output available. Set it to
64             the value of the previous call's C<NextToken> response to indicate
65             where the output should continue from.
66              
67              
68              
69             =head2 B<REQUIRED> ParentId => Str
70              
71             The unique identifier (ID) for the parent root or OU whose children you
72             want to list.
73              
74             The regex pattern for a parent ID string requires one of the following:
75              
76             =over
77              
78             =item *
79              
80             Root: a string that begins with "r-" followed by from 4 to 32
81             lower-case letters or digits.
82              
83             =item *
84              
85             Organizational unit (OU): a string that begins with "ou-" followed by
86             from 4 to 32 lower-case letters or digits (the ID of the root that the
87             OU is in) followed by a second "-" dash and from 8 to 32 additional
88             lower-case letters or digits.
89              
90             =back
91              
92              
93              
94              
95              
96             =head1 SEE ALSO
97              
98             This class forms part of L<Paws>, documenting arguments for method ListChildren in L<Paws::Organizations>
99              
100             =head1 BUGS and CONTRIBUTIONS
101              
102             The source code is located here: https://github.com/pplu/aws-sdk-perl
103              
104             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
105              
106             =cut
107