line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::IAM::CreatePolicy; |
3
|
1
|
|
|
1
|
|
340
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
6
|
|
4
|
|
|
|
|
|
|
has Description => (is => 'ro', isa => 'Str'); |
5
|
|
|
|
|
|
|
has Path => (is => 'ro', isa => 'Str'); |
6
|
|
|
|
|
|
|
has PolicyDocument => (is => 'ro', isa => 'Str', required => 1); |
7
|
|
|
|
|
|
|
has PolicyName => (is => 'ro', isa => 'Str', required => 1); |
8
|
|
|
|
|
|
|
|
9
|
1
|
|
|
1
|
|
5511
|
use MooseX::ClassAttribute; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
6
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreatePolicy'); |
12
|
|
|
|
|
|
|
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::IAM::CreatePolicyResponse'); |
13
|
|
|
|
|
|
|
class_has _result_key => (isa => 'Str', is => 'ro', default => 'CreatePolicyResult'); |
14
|
|
|
|
|
|
|
1; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
### main pod documentation begin ### |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head1 NAME |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
Paws::IAM::CreatePolicy - Arguments for method CreatePolicy on Paws::IAM |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
This class represents the parameters used for calling the method CreatePolicy on the |
25
|
|
|
|
|
|
|
AWS Identity and Access Management service. Use the attributes of this class |
26
|
|
|
|
|
|
|
as arguments to method CreatePolicy. |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreatePolicy. |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
As an example: |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
$service_obj->CreatePolicy(Att1 => $value1, Att2 => $value2, ...); |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
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. |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head2 Description => Str |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
A friendly description of the policy. |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
Typically used to store information about the permissions defined in |
44
|
|
|
|
|
|
|
the policy. For example, "Grants access to production DynamoDB tables." |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
The policy description is immutable. After a value is assigned, it |
47
|
|
|
|
|
|
|
cannot be changed. |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head2 Path => Str |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
The path for the policy. |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
For more information about paths, see IAM Identifiers in the I<IAM User |
56
|
|
|
|
|
|
|
Guide>. |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
This parameter is optional. If it is not included, it defaults to a |
59
|
|
|
|
|
|
|
slash (/). |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
This paramater allows (per its regex pattern) a string of characters |
62
|
|
|
|
|
|
|
consisting of either a forward slash (/) by itself or a string that |
63
|
|
|
|
|
|
|
must begin and end with forward slashes, containing any ASCII character |
64
|
|
|
|
|
|
|
from the ! (\u0021) thru the DEL character (\u007F), including most |
65
|
|
|
|
|
|
|
punctuation characters, digits, and upper and lowercased letters. |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=head2 B<REQUIRED> PolicyDocument => Str |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
The JSON policy document that you want to use as the content for the |
72
|
|
|
|
|
|
|
new policy. |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
The regex pattern used to validate this parameter is a string of |
75
|
|
|
|
|
|
|
characters consisting of any printable ASCII character ranging from the |
76
|
|
|
|
|
|
|
space character (\u0020) through end of the ASCII character range as |
77
|
|
|
|
|
|
|
well as the printable characters in the Basic Latin and Latin-1 |
78
|
|
|
|
|
|
|
Supplement character set (through \u00FF). It also includes the special |
79
|
|
|
|
|
|
|
characters tab (\u0009), line feed (\u000A), and carriage return |
80
|
|
|
|
|
|
|
(\u000D). |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
=head2 B<REQUIRED> PolicyName => Str |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
The friendly name of the policy. |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
This parameter allows (per its regex pattern) a string of characters |
89
|
|
|
|
|
|
|
consisting of upper and lowercase alphanumeric characters with no |
90
|
|
|
|
|
|
|
spaces. You can also include any of the following characters: =,.@-+ |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=head1 SEE ALSO |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
This class forms part of L<Paws>, documenting arguments for method CreatePolicy in L<Paws::IAM> |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
=cut |
106
|
|
|
|
|
|
|
|