line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::SSM::CreateMaintenanceWindow; |
3
|
1
|
|
|
1
|
|
291
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
7
|
|
4
|
|
|
|
|
|
|
has AllowUnassociatedTargets => (is => 'ro', isa => 'Bool', required => 1); |
5
|
|
|
|
|
|
|
has ClientToken => (is => 'ro', isa => 'Str'); |
6
|
|
|
|
|
|
|
has Cutoff => (is => 'ro', isa => 'Int', required => 1); |
7
|
|
|
|
|
|
|
has Description => (is => 'ro', isa => 'Str'); |
8
|
|
|
|
|
|
|
has Duration => (is => 'ro', isa => 'Int', required => 1); |
9
|
|
|
|
|
|
|
has Name => (is => 'ro', isa => 'Str', required => 1); |
10
|
|
|
|
|
|
|
has Schedule => (is => 'ro', isa => 'Str', required => 1); |
11
|
|
|
|
|
|
|
|
12
|
1
|
|
|
1
|
|
5501
|
use MooseX::ClassAttribute; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
8
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateMaintenanceWindow'); |
15
|
|
|
|
|
|
|
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SSM::CreateMaintenanceWindowResult'); |
16
|
|
|
|
|
|
|
class_has _result_key => (isa => 'Str', is => 'ro'); |
17
|
|
|
|
|
|
|
1; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
### main pod documentation begin ### |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head1 NAME |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
Paws::SSM::CreateMaintenanceWindow - Arguments for method CreateMaintenanceWindow on Paws::SSM |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 DESCRIPTION |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
This class represents the parameters used for calling the method CreateMaintenanceWindow on the |
28
|
|
|
|
|
|
|
Amazon Simple Systems Manager (SSM) service. Use the attributes of this class |
29
|
|
|
|
|
|
|
as arguments to method CreateMaintenanceWindow. |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateMaintenanceWindow. |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
As an example: |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
$service_obj->CreateMaintenanceWindow(Att1 => $value1, Att2 => $value2, ...); |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
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. |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head2 B<REQUIRED> AllowUnassociatedTargets => Bool |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
Enables a Maintenance Window task to execute on managed instances, even |
45
|
|
|
|
|
|
|
if you have not registered those instances as targets. If enabled, then |
46
|
|
|
|
|
|
|
you must specify the unregistered instances (by instance ID) when you |
47
|
|
|
|
|
|
|
register a task with the Maintenance Window |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
If you don't enable this option, then you must specify |
50
|
|
|
|
|
|
|
previously-registered targets when you register a task with the |
51
|
|
|
|
|
|
|
Maintenance Window. |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head2 ClientToken => Str |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
User-provided idempotency token. |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head2 B<REQUIRED> Cutoff => Int |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
The number of hours before the end of the Maintenance Window that |
64
|
|
|
|
|
|
|
Systems Manager stops scheduling new tasks for execution. |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=head2 Description => Str |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
An optional description for the Maintenance Window. We recommend |
71
|
|
|
|
|
|
|
specifying a description to help you organize your Maintenance Windows. |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=head2 B<REQUIRED> Duration => Int |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
The duration of the Maintenance Window in hours. |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=head2 B<REQUIRED> Name => Str |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
The name of the Maintenance Window. |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=head2 B<REQUIRED> Schedule => Str |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
The schedule of the Maintenance Window in the form of a cron or rate |
90
|
|
|
|
|
|
|
expression. |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=head1 SEE ALSO |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
This class forms part of L<Paws>, documenting arguments for method CreateMaintenanceWindow in L<Paws::SSM> |
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
|
|
|
|
|
|
|
|