File Coverage

blib/lib/Paws/Organizations/OrganizationalUnit.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::Organizations::OrganizationalUnit;
2 1     1   577 use Moose;
  1         3  
  1         9  
3             has Arn => (is => 'ro', isa => 'Str');
4             has Id => (is => 'ro', isa => 'Str');
5             has Name => (is => 'ro', isa => 'Str');
6             1;
7              
8             ### main pod documentation begin ###
9              
10             =head1 NAME
11              
12             Paws::Organizations::OrganizationalUnit
13              
14             =head1 USAGE
15              
16             This class represents one of two things:
17              
18             =head3 Arguments in a call to a service
19              
20             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
21             Each attribute should be used as a named argument in the calls that expect this type of object.
22              
23             As an example, if Att1 is expected to be a Paws::Organizations::OrganizationalUnit object:
24              
25             $service_obj->Method(Att1 => { Arn => $value, ..., Name => $value });
26              
27             =head3 Results returned from an API call
28              
29             Use accessors for each attribute. If Att1 is expected to be an Paws::Organizations::OrganizationalUnit object:
30              
31             $result = $service_obj->Method(...);
32             $result->Att1->Arn
33              
34             =head1 DESCRIPTION
35              
36             Contains details about an organizational unit (OU). An OU is a
37             container of AWS accounts within a root of an organization. Policies
38             that are attached to an OU apply to all accounts contained in that OU
39             and in any child OUs.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 Arn => Str
45              
46             The Amazon Resource Name (ARN) of this OU.
47              
48             For more information about ARNs in Organizations, see ARN Formats
49             Supported by Organizations in the I<AWS Organizations User Guide>.
50              
51              
52             =head2 Id => Str
53              
54             The unique identifier (ID) associated with this OU.
55              
56             The regex pattern for an organizational unit ID string requires "ou-"
57             followed by from 4 to 32 lower-case letters or digits (the ID of the
58             root that contains the OU) followed by a second "-" dash and from 8 to
59             32 additional lower-case letters or digits.
60              
61              
62             =head2 Name => Str
63              
64             The friendly name of this OU.
65              
66             The regex pattern that is used to validate this parameter is a string
67             of any of the characters in the ASCII character range.
68              
69              
70              
71             =head1 SEE ALSO
72              
73             This class forms part of L<Paws>, describing an object used in L<Paws::Organizations>
74              
75             =head1 BUGS and CONTRIBUTIONS
76              
77             The source code is located here: https://github.com/pplu/aws-sdk-perl
78              
79             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
80              
81             =cut
82