File Coverage

blib/lib/Paws/SSM/UpdateMaintenanceWindowTask.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::SSM::UpdateMaintenanceWindowTask;
3 1     1   497 use Moose;
  1         4  
  1         7  
4             has Description => (is => 'ro', isa => 'Str');
5             has LoggingInfo => (is => 'ro', isa => 'Paws::SSM::LoggingInfo');
6             has MaxConcurrency => (is => 'ro', isa => 'Str');
7             has MaxErrors => (is => 'ro', isa => 'Str');
8             has Name => (is => 'ro', isa => 'Str');
9             has Priority => (is => 'ro', isa => 'Int');
10             has Replace => (is => 'ro', isa => 'Bool');
11             has ServiceRoleArn => (is => 'ro', isa => 'Str');
12             has Targets => (is => 'ro', isa => 'ArrayRef[Paws::SSM::Target]');
13             has TaskArn => (is => 'ro', isa => 'Str');
14             has TaskInvocationParameters => (is => 'ro', isa => 'Paws::SSM::MaintenanceWindowTaskInvocationParameters');
15             has TaskParameters => (is => 'ro', isa => 'Paws::SSM::MaintenanceWindowTaskParameters');
16             has WindowId => (is => 'ro', isa => 'Str', required => 1);
17             has WindowTaskId => (is => 'ro', isa => 'Str', required => 1);
18              
19 1     1   7259 use MooseX::ClassAttribute;
  1         5  
  1         14  
20              
21             class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateMaintenanceWindowTask');
22             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SSM::UpdateMaintenanceWindowTaskResult');
23             class_has _result_key => (isa => 'Str', is => 'ro');
24             1;
25              
26             ### main pod documentation begin ###
27              
28             =head1 NAME
29              
30             Paws::SSM::UpdateMaintenanceWindowTask - Arguments for method UpdateMaintenanceWindowTask on Paws::SSM
31              
32             =head1 DESCRIPTION
33              
34             This class represents the parameters used for calling the method UpdateMaintenanceWindowTask on the
35             Amazon Simple Systems Manager (SSM) service. Use the attributes of this class
36             as arguments to method UpdateMaintenanceWindowTask.
37              
38             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateMaintenanceWindowTask.
39              
40             As an example:
41              
42             $service_obj->UpdateMaintenanceWindowTask(Att1 => $value1, Att2 => $value2, ...);
43              
44             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.
45              
46             =head1 ATTRIBUTES
47              
48              
49             =head2 Description => Str
50              
51             The new task description to specify.
52              
53              
54              
55             =head2 LoggingInfo => L<Paws::SSM::LoggingInfo>
56              
57             The new logging location in Amazon S3 to specify.
58              
59              
60              
61             =head2 MaxConcurrency => Str
62              
63             The new C<MaxConcurrency> value you want to specify. C<MaxConcurrency>
64             is the number of targets that are allowed to run this task in parallel.
65              
66              
67              
68             =head2 MaxErrors => Str
69              
70             The new C<MaxErrors> value to specify. C<MaxErrors> is the maximum
71             number of errors that are allowed before the task stops being
72             scheduled.
73              
74              
75              
76             =head2 Name => Str
77              
78             The new task name to specify.
79              
80              
81              
82             =head2 Priority => Int
83              
84             The new task priority to specify. The lower the number, the higher the
85             priority. Tasks that have the same priority are scheduled in parallel.
86              
87              
88              
89             =head2 Replace => Bool
90              
91             If True, then all fields that are required by the
92             RegisterTaskWithMaintenanceWndow action are also required for this API
93             request. Optional fields that are not specified are set to null.
94              
95              
96              
97             =head2 ServiceRoleArn => Str
98              
99             The IAM service role ARN to modify. The system assumes this role during
100             task execution.
101              
102              
103              
104             =head2 Targets => ArrayRef[L<Paws::SSM::Target>]
105              
106             The targets (either instances or tags) to modify. Instances are
107             specified using Key=instanceids,Values=instanceID_1,instanceID_2. Tags
108             are specified using Key=tag_name,Values=tag_value.
109              
110              
111              
112             =head2 TaskArn => Str
113              
114             The task ARN to modify.
115              
116              
117              
118             =head2 TaskInvocationParameters => L<Paws::SSM::MaintenanceWindowTaskInvocationParameters>
119              
120             The parameters that the task should use during execution. Populate only
121             the fields that match the task type. All other fields should be empty.
122              
123              
124              
125             =head2 TaskParameters => L<Paws::SSM::MaintenanceWindowTaskParameters>
126              
127             The parameters to modify. The map has the following format:
128              
129             Key: string, between 1 and 255 characters
130              
131             Value: an array of strings, each string is between 1 and 255 characters
132              
133              
134              
135             =head2 B<REQUIRED> WindowId => Str
136              
137             The Maintenance Window ID that contains the task to modify.
138              
139              
140              
141             =head2 B<REQUIRED> WindowTaskId => Str
142              
143             The task ID to modify.
144              
145              
146              
147              
148             =head1 SEE ALSO
149              
150             This class forms part of L<Paws>, documenting arguments for method UpdateMaintenanceWindowTask in L<Paws::SSM>
151              
152             =head1 BUGS and CONTRIBUTIONS
153              
154             The source code is located here: https://github.com/pplu/aws-sdk-perl
155              
156             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
157              
158             =cut
159