« blib/lib/Paws/Organizations/CancelHandshakeResponse.pm
↑ Summary
blib/lib/Paws/Organizations/CreateAccount.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Organizations::Child; | ||
| 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::Child | ||
| 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::Child 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::Child object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->Id | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | Contains a list of child entities, either OUs or accounts. | ||
| 38 | |||
| 39 | =head1 ATTRIBUTES | ||
| 40 | |||
| 41 | |||
| 42 | =head2 Id => Str | ||
| 43 | |||
| 44 | The unique identifier (ID) of this child entity. | ||
| 45 | |||
| 46 | The regex pattern (http://wikipedia.org/wiki/regex) for a child ID | ||
| 47 | string requires one of the following: | ||
| 48 | |||
| 49 | =over | ||
| 50 | |||
| 51 | =item * | ||
| 52 | |||
| 53 | B<Account> - A string that consists of exactly 12 digits. | ||
| 54 | |||
| 55 | =item * | ||
| 56 | |||
| 57 | B<Organizational unit (OU)> - A string that begins with "ou-" followed | ||
| 58 | by from 4 to 32 lowercase letters or digits (the ID of the root that | ||
| 59 | contains the OU). This string is followed by a second "-" dash and from | ||
| 60 | 8 to 32 additional lowercase letters or digits. | ||
| 61 | |||
| 62 | =back | ||
| 63 | |||
| 64 | |||
| 65 | |||
| 66 | =head2 Type => Str | ||
| 67 | |||
| 68 | The type of this child entity. | ||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | =head1 SEE ALSO | ||
| 73 | |||
| 74 | This class forms part of L<Paws>, describing an object used in L<Paws::Organizations> | ||
| 75 | |||
| 76 | =head1 BUGS and CONTRIBUTIONS | ||
| 77 | |||
| 78 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 79 | |||
| 80 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 81 | |||
| 82 | =cut | ||
| 83 |