line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Paws::SSM::MaintenanceWindowTask; |
2
|
1
|
|
|
1
|
|
289
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
7
|
|
3
|
|
|
|
|
|
|
has Description => (is => 'ro', isa => 'Str'); |
4
|
|
|
|
|
|
|
has LoggingInfo => (is => 'ro', isa => 'Paws::SSM::LoggingInfo'); |
5
|
|
|
|
|
|
|
has MaxConcurrency => (is => 'ro', isa => 'Str'); |
6
|
|
|
|
|
|
|
has MaxErrors => (is => 'ro', isa => 'Str'); |
7
|
|
|
|
|
|
|
has Name => (is => 'ro', isa => 'Str'); |
8
|
|
|
|
|
|
|
has Priority => (is => 'ro', isa => 'Int'); |
9
|
|
|
|
|
|
|
has ServiceRoleArn => (is => 'ro', isa => 'Str'); |
10
|
|
|
|
|
|
|
has Targets => (is => 'ro', isa => 'ArrayRef[Paws::SSM::Target]'); |
11
|
|
|
|
|
|
|
has TaskArn => (is => 'ro', isa => 'Str'); |
12
|
|
|
|
|
|
|
has TaskParameters => (is => 'ro', isa => 'Paws::SSM::MaintenanceWindowTaskParameters'); |
13
|
|
|
|
|
|
|
has Type => (is => 'ro', isa => 'Str'); |
14
|
|
|
|
|
|
|
has WindowId => (is => 'ro', isa => 'Str'); |
15
|
|
|
|
|
|
|
has WindowTaskId => (is => 'ro', isa => 'Str'); |
16
|
|
|
|
|
|
|
1; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
### main pod documentation begin ### |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 NAME |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
Paws::SSM::MaintenanceWindowTask |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 USAGE |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
This class represents one of two things: |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head3 Arguments in a call to a service |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. |
31
|
|
|
|
|
|
|
Each attribute should be used as a named argument in the calls that expect this type of object. |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
As an example, if Att1 is expected to be a Paws::SSM::MaintenanceWindowTask object: |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
$service_obj->Method(Att1 => { Description => $value, ..., WindowTaskId => $value }); |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head3 Results returned from an API call |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
Use accessors for each attribute. If Att1 is expected to be an Paws::SSM::MaintenanceWindowTask object: |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
$result = $service_obj->Method(...); |
42
|
|
|
|
|
|
|
$result->Att1->Description |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 DESCRIPTION |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
Information about a task defined for a Maintenance Window. |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head2 Description => Str |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
A description of the task. |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head2 LoggingInfo => L<Paws::SSM::LoggingInfo> |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
Information about an Amazon S3 bucket to write task-level logs to. |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head2 MaxConcurrency => Str |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
The maximum number of targets this task can be run for in parallel. |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=head2 MaxErrors => Str |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
The maximum number of errors allowed before this task stops being |
69
|
|
|
|
|
|
|
scheduled. |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=head2 Name => Str |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
The task name. |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=head2 Priority => Int |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
The priority of the task in the Maintenance Window. The lower the |
80
|
|
|
|
|
|
|
number, the higher the priority. Tasks that have the same priority are |
81
|
|
|
|
|
|
|
scheduled in parallel. |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
=head2 ServiceRoleArn => Str |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
The role that should be assumed when executing the task |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=head2 Targets => ArrayRef[L<Paws::SSM::Target>] |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
The targets (either instances or tags). Instances are specified using |
92
|
|
|
|
|
|
|
Key=instanceids,Values=E<lt>instanceid1E<gt>,E<lt>instanceid2E<gt>. |
93
|
|
|
|
|
|
|
Tags are specified using Key=E<lt>tag nameE<gt>,Values=E<lt>tag |
94
|
|
|
|
|
|
|
valueE<gt>. |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=head2 TaskArn => Str |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
The resource that the task uses during execution. For RUN_COMMAND and |
100
|
|
|
|
|
|
|
AUTOMATION task types, C<TaskArn> is the Systems Manager document name |
101
|
|
|
|
|
|
|
or ARN. For LAMBDA tasks, it's the function name or ARN. For |
102
|
|
|
|
|
|
|
STEP_FUNCTION tasks, it's the state machine ARN. |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
=head2 TaskParameters => L<Paws::SSM::MaintenanceWindowTaskParameters> |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
The parameters that should be passed to the task when it is executed. |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
=head2 Type => Str |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
The type of task. The type can be one of the following: RUN_COMMAND, |
113
|
|
|
|
|
|
|
AUTOMATION, LAMBDA, or STEP_FUNCTION. |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
=head2 WindowId => Str |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
The Maintenance Window ID where the task is registered. |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
=head2 WindowTaskId => Str |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
The task ID. |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
=head1 SEE ALSO |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
This class forms part of L<Paws>, describing an object used in L<Paws::SSM> |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
=cut |
138
|
|
|
|
|
|
|
|