« blib/lib/Paws/Organizations/OrganizationalUnit.pm
↑ Summary
blib/lib/Paws/Organizations/Policy.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Organizations::Parent; | ||
| 3 | use Moose; | ||
| 4 | has Id => (is => 'ro', isa => 'Str'); | ||
| 5 | has Type => (is => 'ro', isa => 'Str'); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::Organizations::Parent | ||
| 14 | |||
| 15 | =head1 USAGE | ||
| 16 | |||
| 17 | This class represents one of two things: | ||
| 18 | |||
| 19 | =head3 Arguments in a call to a service | ||
| 20 | |||
| 21 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 22 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 23 | |||
| 24 | As an example, if Att1 is expected to be a Paws::Organizations::Parent object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { Id => $value, ..., Type => $value }); | ||
| 27 | |||
| 28 | =head3 Results returned from an API call | ||
| 29 | |||
| 30 | Use accessors for each attribute. If Att1 is expected to be an Paws::Organizations::Parent object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->Id | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | Contains information about either a root or an organizational unit (OU) | ||
| 38 | that can contain OUs or accounts in an organization. | ||
| 39 | |||
| 40 | =head1 ATTRIBUTES | ||
| 41 | |||
| 42 | |||
| 43 | =head2 Id => Str | ||
| 44 | |||
| 45 | The unique identifier (ID) of the parent entity. | ||
| 46 | |||
| 47 | The regex pattern (http://wikipedia.org/wiki/regex) for a parent ID | ||
| 48 | string requires one of the following: | ||
| 49 | |||
| 50 | =over | ||
| 51 | |||
| 52 | =item * | ||
| 53 | |||
| 54 | B<Root> - A string that begins with "r-" followed by from 4 to 32 | ||
| 55 | lowercase letters or digits. | ||
| 56 | |||
| 57 | =item * | ||
| 58 | |||
| 59 | B<Organizational unit (OU)> - A string that begins with "ou-" followed | ||
| 60 | by from 4 to 32 lowercase letters or digits (the ID of the root that | ||
| 61 | the OU is in). This string is followed by a second "-" dash and from 8 | ||
| 62 | to 32 additional lowercase letters or digits. | ||
| 63 | |||
| 64 | =back | ||
| 65 | |||
| 66 | |||
| 67 | |||
| 68 | =head2 Type => Str | ||
| 69 | |||
| 70 | The type of the parent entity. | ||
| 71 | |||
| 72 | |||
| 73 | |||
| 74 | =head1 SEE ALSO | ||
| 75 | |||
| 76 | This class forms part of L<Paws>, describing an object used in L<Paws::Organizations> | ||
| 77 | |||
| 78 | =head1 BUGS and CONTRIBUTIONS | ||
| 79 | |||
| 80 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 81 | |||
| 82 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 83 | |||
| 84 | =cut | ||
| 85 |