File Coverage

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