File Coverage

blib/lib/Paws/Organizations/PolicyTargetSummary.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::PolicyTargetSummary;
2 1     1   486 use Moose;
  1         6  
  1         12  
3             has Arn => (is => 'ro', isa => 'Str');
4             has Name => (is => 'ro', isa => 'Str');
5             has TargetId => (is => 'ro', isa => 'Str');
6             has Type => (is => 'ro', isa => 'Str');
7             1;
8              
9             ### main pod documentation begin ###
10              
11             =head1 NAME
12              
13             Paws::Organizations::PolicyTargetSummary
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::PolicyTargetSummary object:
25              
26             $service_obj->Method(Att1 => { Arn => $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::PolicyTargetSummary object:
31              
32             $result = $service_obj->Method(...);
33             $result->Att1->Arn
34              
35             =head1 DESCRIPTION
36              
37             Contains information about a root, OU, or account that a policy is
38             attached to.
39              
40             =head1 ATTRIBUTES
41              
42              
43             =head2 Arn => Str
44              
45             The Amazon Resource Name (ARN) of the policy target.
46              
47             For more information about ARNs in Organizations, see ARN Formats
48             Supported by Organizations in the I<AWS Organizations User Guide>.
49              
50              
51             =head2 Name => Str
52              
53             The friendly name of the policy target.
54              
55             The regex pattern that is used to validate this parameter is a string
56             of any of the characters in the ASCII character range.
57              
58              
59             =head2 TargetId => Str
60              
61             The unique identifier (ID) of the policy target.
62              
63             The regex pattern for a target ID string requires one of the following:
64              
65             =over
66              
67             =item *
68              
69             Root: a string that begins with "r-" followed by from 4 to 32
70             lower-case letters or digits.
71              
72             =item *
73              
74             Account: a string that consists of exactly 12 digits.
75              
76             =item *
77              
78             Organizational unit (OU): a string that begins with "ou-" followed by
79             from 4 to 32 lower-case letters or digits (the ID of the root that the
80             OU is in) followed by a second "-" dash and from 8 to 32 additional
81             lower-case letters or digits.
82              
83             =back
84              
85              
86              
87             =head2 Type => Str
88              
89             The type of the policy target.
90              
91              
92              
93             =head1 SEE ALSO
94              
95             This class forms part of L<Paws>, describing an object used in L<Paws::Organizations>
96              
97             =head1 BUGS and CONTRIBUTIONS
98              
99             The source code is located here: https://github.com/pplu/aws-sdk-perl
100              
101             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
102              
103             =cut
104