blib/lib/Paws/IAM/ManagedPolicyDetail.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::IAM::ManagedPolicyDetail;
3 use Moose;
4 has Arn => (is => 'ro', isa => 'Str');
5 has AttachmentCount => (is => 'ro', isa => 'Int');
6 has CreateDate => (is => 'ro', isa => 'Str');
7 has DefaultVersionId => (is => 'ro', isa => 'Str');
8 has Description => (is => 'ro', isa => 'Str');
9 has IsAttachable => (is => 'ro', isa => 'Bool');
10 has Path => (is => 'ro', isa => 'Str');
11 has PermissionsBoundaryUsageCount => (is => 'ro', isa => 'Int');
12 has PolicyId => (is => 'ro', isa => 'Str');
13 has PolicyName => (is => 'ro', isa => 'Str');
14 has PolicyVersionList => (is => 'ro', isa => 'ArrayRef[Paws::IAM::PolicyVersion]');
15 has UpdateDate => (is => 'ro', isa => 'Str');
16  
17 1;
18  
19 ### main pod documentation begin ###
20  
21 =head1 NAME
22  
23 Paws::IAM::ManagedPolicyDetail
24  
25 =head1 USAGE
26  
27 This class represents one of two things:
28  
29 =head3 Arguments in a call to a service
30  
31 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
32 Each attribute should be used as a named argument in the calls that expect this type of object.
33  
34 As an example, if Att1 is expected to be a Paws::IAM::ManagedPolicyDetail object:
35  
36 $service_obj->Method(Att1 => { Arn => $value, ..., UpdateDate => $value });
37  
38 =head3 Results returned from an API call
39  
40 Use accessors for each attribute. If Att1 is expected to be an Paws::IAM::ManagedPolicyDetail object:
41  
42 $result = $service_obj->Method(...);
43 $result->Att1->Arn
44  
45 =head1 DESCRIPTION
46  
47 Contains information about a managed policy, including the policy's
48 ARN, versions, and the number of principal entities (users, groups, and
49 roles) that the policy is attached to.
50  
51 This data type is used as a response element in the
52 GetAccountAuthorizationDetails operation.
53  
54 For more information about managed policies, see Managed policies and
55 inline policies
56 (https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html)
57 in the I<IAM User Guide>.
58  
59 =head1 ATTRIBUTES
60  
61  
62 =head2 Arn => Str
63  
64  
65  
66  
67 =head2 AttachmentCount => Int
68  
69 The number of principal entities (users, groups, and roles) that the
70 policy is attached to.
71  
72  
73 =head2 CreateDate => Str
74  
75 The date and time, in ISO 8601 date-time format
76 (http://www.iso.org/iso/iso8601), when the policy was created.
77  
78  
79 =head2 DefaultVersionId => Str
80  
81 The identifier for the version of the policy that is set as the default
82 (operative) version.
83  
84 For more information about policy versions, see Versioning for managed
85 policies
86 (https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html)
87 in the I<IAM User Guide>.
88  
89  
90 =head2 Description => Str
91  
92 A friendly description of the policy.
93  
94  
95 =head2 IsAttachable => Bool
96  
97 Specifies whether the policy can be attached to an IAM user, group, or
98 role.
99  
100  
101 =head2 Path => Str
102  
103 The path to the policy.
104  
105 For more information about paths, see IAM identifiers
106 (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html)
107 in the I<IAM User Guide>.
108  
109  
110 =head2 PermissionsBoundaryUsageCount => Int
111  
112 The number of entities (users and roles) for which the policy is used
113 as the permissions boundary.
114  
115 For more information about permissions boundaries, see Permissions
116 boundaries for IAM identities
117 (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html)
118 in the I<IAM User Guide>.
119  
120  
121 =head2 PolicyId => Str
122  
123 The stable and unique string identifying the policy.
124  
125 For more information about IDs, see IAM identifiers
126 (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html)
127 in the I<IAM User Guide>.
128  
129  
130 =head2 PolicyName => Str
131  
132 The friendly name (not ARN) identifying the policy.
133  
134  
135 =head2 PolicyVersionList => ArrayRef[L<Paws::IAM::PolicyVersion>]
136  
137 A list containing information about the versions of the policy.
138  
139  
140 =head2 UpdateDate => Str
141  
142 The date and time, in ISO 8601 date-time format
143 (http://www.iso.org/iso/iso8601), when the policy was last updated.
144  
145 When a policy has only one version, this field contains the date and
146 time when the policy was created. When a policy has more than one
147 version, this field contains the date and time when the most recent
148 policy version was created.
149  
150  
151  
152 =head1 SEE ALSO
153  
154 This class forms part of L<Paws>, describing an object used in L<Paws::IAM>
155  
156 =head1 BUGS and CONTRIBUTIONS
157  
158 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
159  
160 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
161  
162 =cut
163