line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::IAM::ListPolicies; |
3
|
1
|
|
|
1
|
|
401
|
use Moose; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
6
|
|
4
|
|
|
|
|
|
|
has Marker => (is => 'ro', isa => 'Str'); |
5
|
|
|
|
|
|
|
has MaxItems => (is => 'ro', isa => 'Int'); |
6
|
|
|
|
|
|
|
has OnlyAttached => (is => 'ro', isa => 'Bool'); |
7
|
|
|
|
|
|
|
has PathPrefix => (is => 'ro', isa => 'Str'); |
8
|
|
|
|
|
|
|
has Scope => (is => 'ro', isa => 'Str'); |
9
|
|
|
|
|
|
|
|
10
|
1
|
|
|
1
|
|
5856
|
use MooseX::ClassAttribute; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
8
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListPolicies'); |
13
|
|
|
|
|
|
|
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::IAM::ListPoliciesResponse'); |
14
|
|
|
|
|
|
|
class_has _result_key => (isa => 'Str', is => 'ro', default => 'ListPoliciesResult'); |
15
|
|
|
|
|
|
|
1; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
### main pod documentation begin ### |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 NAME |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
Paws::IAM::ListPolicies - Arguments for method ListPolicies on Paws::IAM |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=head1 DESCRIPTION |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
This class represents the parameters used for calling the method ListPolicies on the |
26
|
|
|
|
|
|
|
AWS Identity and Access Management service. Use the attributes of this class |
27
|
|
|
|
|
|
|
as arguments to method ListPolicies. |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListPolicies. |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
As an example: |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
$service_obj->ListPolicies(Att1 => $value1, Att2 => $value2, ...); |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head2 Marker => Str |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
Use this parameter only when paginating results and only after you |
43
|
|
|
|
|
|
|
receive a response indicating that the results are truncated. Set it to |
44
|
|
|
|
|
|
|
the value of the C<Marker> element in the response that you received to |
45
|
|
|
|
|
|
|
indicate where the next call should start. |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head2 MaxItems => Int |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
(Optional) Use this only when paginating results to indicate the |
52
|
|
|
|
|
|
|
maximum number of items you want in the response. If additional items |
53
|
|
|
|
|
|
|
exist beyond the maximum you specify, the C<IsTruncated> response |
54
|
|
|
|
|
|
|
element is C<true>. |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
If you do not include this parameter, it defaults to 100. Note that IAM |
57
|
|
|
|
|
|
|
might return fewer results, even when there are more results available. |
58
|
|
|
|
|
|
|
In that case, the C<IsTruncated> response element returns C<true> and |
59
|
|
|
|
|
|
|
C<Marker> contains a value to include in the subsequent call that tells |
60
|
|
|
|
|
|
|
the service where to continue from. |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=head2 OnlyAttached => Bool |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
A flag to filter the results to only the attached policies. |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
When C<OnlyAttached> is C<true>, the returned list contains only the |
69
|
|
|
|
|
|
|
policies that are attached to an IAM user, group, or role. When |
70
|
|
|
|
|
|
|
C<OnlyAttached> is C<false>, or when the parameter is not included, all |
71
|
|
|
|
|
|
|
policies are returned. |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=head2 PathPrefix => Str |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
The path prefix for filtering the results. This parameter is optional. |
78
|
|
|
|
|
|
|
If it is not included, it defaults to a slash (/), listing all |
79
|
|
|
|
|
|
|
policies. This paramater allows (per its regex pattern) a string of |
80
|
|
|
|
|
|
|
characters consisting of either a forward slash (/) by itself or a |
81
|
|
|
|
|
|
|
string that must begin and end with forward slashes, containing any |
82
|
|
|
|
|
|
|
ASCII character from the ! (\u0021) thru the DEL character (\u007F), |
83
|
|
|
|
|
|
|
including most punctuation characters, digits, and upper and lowercased |
84
|
|
|
|
|
|
|
letters. |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=head2 Scope => Str |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
The scope to use for filtering the results. |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
To list only AWS managed policies, set C<Scope> to C<AWS>. To list only |
93
|
|
|
|
|
|
|
the customer managed policies in your AWS account, set C<Scope> to |
94
|
|
|
|
|
|
|
C<Local>. |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
This parameter is optional. If it is not included, or if it is set to |
97
|
|
|
|
|
|
|
C<All>, all policies are returned. |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
Valid values are: C<"All">, C<"AWS">, C<"Local"> |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
=head1 SEE ALSO |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
This class forms part of L<Paws>, documenting arguments for method ListPolicies in L<Paws::IAM> |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
=cut |
113
|
|
|
|
|
|
|
|