File Coverage

blib/lib/Paws/SSM/UpdateMaintenanceWindow.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::UpdateMaintenanceWindow;
3 1     1   683 use Moose;
  1         3  
  1         11  
4             has AllowUnassociatedTargets => (is => 'ro', isa => 'Bool');
5             has Cutoff => (is => 'ro', isa => 'Int');
6             has Duration => (is => 'ro', isa => 'Int');
7             has Enabled => (is => 'ro', isa => 'Bool');
8             has Name => (is => 'ro', isa => 'Str');
9             has Schedule => (is => 'ro', isa => 'Str');
10             has WindowId => (is => 'ro', isa => 'Str', required => 1);
11              
12 1     1   7496 use MooseX::ClassAttribute;
  1         3  
  1         11  
13              
14             class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateMaintenanceWindow');
15             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SSM::UpdateMaintenanceWindowResult');
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::UpdateMaintenanceWindow - Arguments for method UpdateMaintenanceWindow on Paws::SSM
24              
25             =head1 DESCRIPTION
26              
27             This class represents the parameters used for calling the method UpdateMaintenanceWindow on the
28             Amazon Simple Systems Manager (SSM) service. Use the attributes of this class
29             as arguments to method UpdateMaintenanceWindow.
30              
31             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateMaintenanceWindow.
32              
33             As an example:
34              
35             $service_obj->UpdateMaintenanceWindow(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 AllowUnassociatedTargets => Bool
43              
44             Whether targets must be registered with the Maintenance Window before
45             tasks can be defined for those targets.
46              
47              
48              
49             =head2 Cutoff => Int
50              
51             The number of hours before the end of the Maintenance Window that
52             Systems Manager stops scheduling new tasks for execution.
53              
54              
55              
56             =head2 Duration => Int
57              
58             The duration of the Maintenance Window in hours.
59              
60              
61              
62             =head2 Enabled => Bool
63              
64             Whether the Maintenance Window is enabled.
65              
66              
67              
68             =head2 Name => Str
69              
70             The name of the Maintenance Window.
71              
72              
73              
74             =head2 Schedule => Str
75              
76             The schedule of the Maintenance Window in the form of a cron or rate
77             expression.
78              
79              
80              
81             =head2 B<REQUIRED> WindowId => Str
82              
83             The ID of the Maintenance Window to update.
84              
85              
86              
87              
88             =head1 SEE ALSO
89              
90             This class forms part of L<Paws>, documenting arguments for method UpdateMaintenanceWindow in L<Paws::SSM>
91              
92             =head1 BUGS and CONTRIBUTIONS
93              
94             The source code is located here: https://github.com/pplu/aws-sdk-perl
95              
96             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
97              
98             =cut
99