File Coverage

blib/lib/Paws/SSM/MaintenanceWindowTask.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


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