line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::Organizations::UpdatePolicy; |
3
|
1
|
|
|
1
|
|
302
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
6
|
|
4
|
|
|
|
|
|
|
has Content => (is => 'ro', isa => 'Str'); |
5
|
|
|
|
|
|
|
has Description => (is => 'ro', isa => 'Str'); |
6
|
|
|
|
|
|
|
has Name => (is => 'ro', isa => 'Str'); |
7
|
|
|
|
|
|
|
has PolicyId => (is => 'ro', isa => 'Str', required => 1); |
8
|
|
|
|
|
|
|
|
9
|
1
|
|
|
1
|
|
5811
|
use MooseX::ClassAttribute; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
10
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdatePolicy'); |
12
|
|
|
|
|
|
|
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Organizations::UpdatePolicyResponse'); |
13
|
|
|
|
|
|
|
class_has _result_key => (isa => 'Str', is => 'ro'); |
14
|
|
|
|
|
|
|
1; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
### main pod documentation begin ### |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head1 NAME |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
Paws::Organizations::UpdatePolicy - Arguments for method UpdatePolicy on Paws::Organizations |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
This class represents the parameters used for calling the method UpdatePolicy on the |
25
|
|
|
|
|
|
|
AWS Organizations service. Use the attributes of this class |
26
|
|
|
|
|
|
|
as arguments to method UpdatePolicy. |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdatePolicy. |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
As an example: |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
$service_obj->UpdatePolicy(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 Content => Str |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
If provided, the new content for the policy. The text must be correctly |
42
|
|
|
|
|
|
|
formatted JSON that complies with the syntax for the policy's type. For |
43
|
|
|
|
|
|
|
more information, see Service Control Policy Syntax in the I<AWS |
44
|
|
|
|
|
|
|
Organizations User Guide>. |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head2 Description => Str |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
If provided, the new description for the policy. |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head2 Name => Str |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
If provided, the new name for the policy. |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
The regex pattern that is used to validate this parameter is a string |
59
|
|
|
|
|
|
|
of any of the characters in the ASCII character range. |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=head2 B<REQUIRED> PolicyId => Str |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
The unique identifier (ID) of the policy that you want to update. |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
The regex pattern for a policy ID string requires "p-" followed by from |
68
|
|
|
|
|
|
|
8 to 128 lower-case letters or digits. |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=head1 SEE ALSO |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
This class forms part of L<Paws>, documenting arguments for method UpdatePolicy in L<Paws::Organizations> |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=cut |
84
|
|
|
|
|
|
|
|