File Coverage

blib/lib/Paws/SSM/UpdatePatchBaseline.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::UpdatePatchBaseline;
3 1     1   340 use Moose;
  1         2  
  1         7  
4             has ApprovalRules => (is => 'ro', isa => 'Paws::SSM::PatchRuleGroup');
5             has ApprovedPatches => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
6             has ApprovedPatchesComplianceLevel => (is => 'ro', isa => 'Str');
7             has BaselineId => (is => 'ro', isa => 'Str', required => 1);
8             has Description => (is => 'ro', isa => 'Str');
9             has GlobalFilters => (is => 'ro', isa => 'Paws::SSM::PatchFilterGroup');
10             has Name => (is => 'ro', isa => 'Str');
11             has RejectedPatches => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
12              
13 1     1   5585 use MooseX::ClassAttribute;
  1         3  
  1         9  
14              
15             class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdatePatchBaseline');
16             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SSM::UpdatePatchBaselineResult');
17             class_has _result_key => (isa => 'Str', is => 'ro');
18             1;
19              
20             ### main pod documentation begin ###
21              
22             =head1 NAME
23              
24             Paws::SSM::UpdatePatchBaseline - Arguments for method UpdatePatchBaseline on Paws::SSM
25              
26             =head1 DESCRIPTION
27              
28             This class represents the parameters used for calling the method UpdatePatchBaseline on the
29             Amazon Simple Systems Manager (SSM) service. Use the attributes of this class
30             as arguments to method UpdatePatchBaseline.
31              
32             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdatePatchBaseline.
33              
34             As an example:
35              
36             $service_obj->UpdatePatchBaseline(Att1 => $value1, Att2 => $value2, ...);
37              
38             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.
39              
40             =head1 ATTRIBUTES
41              
42              
43             =head2 ApprovalRules => L<Paws::SSM::PatchRuleGroup>
44              
45             A set of rules used to include patches in the baseline.
46              
47              
48              
49             =head2 ApprovedPatches => ArrayRef[Str|Undef]
50              
51             A list of explicitly approved patches for the baseline.
52              
53              
54              
55             =head2 ApprovedPatchesComplianceLevel => Str
56              
57             Assigns a new compliance severity level to an existing patch baseline.
58              
59             Valid values are: C<"CRITICAL">, C<"HIGH">, C<"MEDIUM">, C<"LOW">, C<"INFORMATIONAL">, C<"UNSPECIFIED">
60              
61             =head2 B<REQUIRED> BaselineId => Str
62              
63             The ID of the patch baseline to update.
64              
65              
66              
67             =head2 Description => Str
68              
69             A description of the patch baseline.
70              
71              
72              
73             =head2 GlobalFilters => L<Paws::SSM::PatchFilterGroup>
74              
75             A set of global filters used to exclude patches from the baseline.
76              
77              
78              
79             =head2 Name => Str
80              
81             The name of the patch baseline.
82              
83              
84              
85             =head2 RejectedPatches => ArrayRef[Str|Undef]
86              
87             A list of explicitly rejected patches for the baseline.
88              
89              
90              
91              
92             =head1 SEE ALSO
93              
94             This class forms part of L<Paws>, documenting arguments for method UpdatePatchBaseline in L<Paws::SSM>
95              
96             =head1 BUGS and CONTRIBUTIONS
97              
98             The source code is located here: https://github.com/pplu/aws-sdk-perl
99              
100             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
101              
102             =cut
103