blib/lib/Paws/Organizations/PolicyTargetSummary.pm untested

filter: Statementstmt 0.0% 0 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 8 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Organizations::PolicyTargetSummary;
3 use Moose;
4 has Arn => (is => 'ro', isa => 'Str');
5 has Name => (is => 'ro', isa => 'Str');
6 has TargetId => (is => 'ro', isa => 'Str');
7 has Type => (is => 'ro', isa => 'Str');
8  
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::Organizations::PolicyTargetSummary
16  
17 =head1 USAGE
18  
19 This class represents one of two things:
20  
21 =head3 Arguments in a call to a service
22  
23 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24 Each attribute should be used as a named argument in the calls that expect this type of object.
25  
26 As an example, if Att1 is expected to be a Paws::Organizations::PolicyTargetSummary object:
27  
28 $service_obj->Method(Att1 => { Arn => $value, ..., Type => $value });
29  
30 =head3 Results returned from an API call
31  
32 Use accessors for each attribute. If Att1 is expected to be an Paws::Organizations::PolicyTargetSummary object:
33  
34 $result = $service_obj->Method(...);
35 $result->Att1->Arn
36  
37 =head1 DESCRIPTION
38  
39 Contains information about a root, OU, or account that a policy is
40 attached to.
41  
42 =head1 ATTRIBUTES
43  
44  
45 =head2 Arn => Str
46  
47 The Amazon Resource Name (ARN) of the policy target.
48  
49 For more information about ARNs in Organizations, see ARN Formats
50 Supported by Organizations
51 (https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies)
52 in the I<AWS Service Authorization Reference>.
53  
54  
55 =head2 Name => Str
56  
57 The friendly name of the policy target.
58  
59 The regex pattern (http://wikipedia.org/wiki/regex) that is used to
60 validate this parameter is a string of any of the characters in the
61 ASCII character range.
62  
63  
64 =head2 TargetId => Str
65  
66 The unique identifier (ID) of the policy target.
67  
68 The regex pattern (http://wikipedia.org/wiki/regex) for a target ID
69 string requires one of the following:
70  
71 =over
72  
73 =item *
74  
75 B<Root> - A string that begins with "r-" followed by from 4 to 32
76 lowercase letters or digits.
77  
78 =item *
79  
80 B<Account> - A string that consists of exactly 12 digits.
81  
82 =item *
83  
84 B<Organizational unit (OU)> - A string that begins with "ou-" followed
85 by from 4 to 32 lowercase letters or digits (the ID of the root that
86 the OU is in). This string is followed by a second "-" dash and from 8
87 to 32 additional lowercase letters or digits.
88  
89 =back
90  
91  
92  
93 =head2 Type => Str
94  
95 The type of the policy target.
96  
97  
98  
99 =head1 SEE ALSO
100  
101 This class forms part of L<Paws>, describing an object used in L<Paws::Organizations>
102  
103 =head1 BUGS and CONTRIBUTIONS
104  
105 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
106  
107 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
108  
109 =cut
110