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