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   335 use Moose;
  1         5  
  1         9  
4             has AllowUnassociatedTargets => (is => 'ro', isa => 'Bool');
5             has Cutoff => (is => 'ro', isa => 'Int');
6             has Description => (is => 'ro', isa => 'Str');
7             has Duration => (is => 'ro', isa => 'Int');
8             has Enabled => (is => 'ro', isa => 'Bool');
9             has Name => (is => 'ro', isa => 'Str');
10             has Replace => (is => 'ro', isa => 'Bool');
11             has Schedule => (is => 'ro', isa => 'Str');
12             has WindowId => (is => 'ro', isa => 'Str', required => 1);
13              
14 1     1   5536 use MooseX::ClassAttribute;
  1         3  
  1         9  
15              
16             class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateMaintenanceWindow');
17             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SSM::UpdateMaintenanceWindowResult');
18             class_has _result_key => (isa => 'Str', is => 'ro');
19             1;
20              
21             ### main pod documentation begin ###
22              
23             =head1 NAME
24              
25             Paws::SSM::UpdateMaintenanceWindow - Arguments for method UpdateMaintenanceWindow on Paws::SSM
26              
27             =head1 DESCRIPTION
28              
29             This class represents the parameters used for calling the method UpdateMaintenanceWindow on the
30             Amazon Simple Systems Manager (SSM) service. Use the attributes of this class
31             as arguments to method UpdateMaintenanceWindow.
32              
33             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateMaintenanceWindow.
34              
35             As an example:
36              
37             $service_obj->UpdateMaintenanceWindow(Att1 => $value1, Att2 => $value2, ...);
38              
39             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.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 AllowUnassociatedTargets => Bool
45              
46             Whether targets must be registered with the Maintenance Window before
47             tasks can be defined for those targets.
48              
49              
50              
51             =head2 Cutoff => Int
52              
53             The number of hours before the end of the Maintenance Window that
54             Systems Manager stops scheduling new tasks for execution.
55              
56              
57              
58             =head2 Description => Str
59              
60             An optional description for the update request.
61              
62              
63              
64             =head2 Duration => Int
65              
66             The duration of the Maintenance Window in hours.
67              
68              
69              
70             =head2 Enabled => Bool
71              
72             Whether the Maintenance Window is enabled.
73              
74              
75              
76             =head2 Name => Str
77              
78             The name of the Maintenance Window.
79              
80              
81              
82             =head2 Replace => Bool
83              
84             If True, then all fields that are required by the
85             CreateMaintenanceWindow action are also required for this API request.
86             Optional fields that are not specified are set to null.
87              
88              
89              
90             =head2 Schedule => Str
91              
92             The schedule of the Maintenance Window in the form of a cron or rate
93             expression.
94              
95              
96              
97             =head2 B<REQUIRED> WindowId => Str
98              
99             The ID of the Maintenance Window to update.
100              
101              
102              
103              
104             =head1 SEE ALSO
105              
106             This class forms part of L<Paws>, documenting arguments for method UpdateMaintenanceWindow in L<Paws::SSM>
107              
108             =head1 BUGS and CONTRIBUTIONS
109              
110             The source code is located here: https://github.com/pplu/aws-sdk-perl
111              
112             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
113              
114             =cut
115