blib/lib/Paws/SSM/InstancePatchState.pm untested

filter: Statementstmt 0.0% 0 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 26 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::SSM::InstancePatchState;
3 use Moose;
4 has BaselineId => (is => 'ro', isa => 'Str', required => 1);
5 has CriticalNonCompliantCount => (is => 'ro', isa => 'Int');
6 has FailedCount => (is => 'ro', isa => 'Int');
7 has InstalledCount => (is => 'ro', isa => 'Int');
8 has InstalledOtherCount => (is => 'ro', isa => 'Int');
9 has InstalledPendingRebootCount => (is => 'ro', isa => 'Int');
10 has InstalledRejectedCount => (is => 'ro', isa => 'Int');
11 has InstallOverrideList => (is => 'ro', isa => 'Str');
12 has InstanceId => (is => 'ro', isa => 'Str', required => 1);
13 has LastNoRebootInstallOperationTime => (is => 'ro', isa => 'Str');
14 has MissingCount => (is => 'ro', isa => 'Int');
15 has NotApplicableCount => (is => 'ro', isa => 'Int');
16 has Operation => (is => 'ro', isa => 'Str', required => 1);
17 has OperationEndTime => (is => 'ro', isa => 'Str', required => 1);
18 has OperationStartTime => (is => 'ro', isa => 'Str', required => 1);
19 has OtherNonCompliantCount => (is => 'ro', isa => 'Int');
20 has OwnerInformation => (is => 'ro', isa => 'Str');
21 has PatchGroup => (is => 'ro', isa => 'Str', required => 1);
22 has RebootOption => (is => 'ro', isa => 'Str');
23 has SecurityNonCompliantCount => (is => 'ro', isa => 'Int');
24 has SnapshotId => (is => 'ro', isa => 'Str');
25 has UnreportedNotApplicableCount => (is => 'ro', isa => 'Int');
26  
27 1;
28  
29 ### main pod documentation begin ###
30  
31 =head1 NAME
32  
33 Paws::SSM::InstancePatchState
34  
35 =head1 USAGE
36  
37 This class represents one of two things:
38  
39 =head3 Arguments in a call to a service
40  
41 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
42 Each attribute should be used as a named argument in the calls that expect this type of object.
43  
44 As an example, if Att1 is expected to be a Paws::SSM::InstancePatchState object:
45  
46 $service_obj->Method(Att1 => { BaselineId => $value, ..., UnreportedNotApplicableCount => $value });
47  
48 =head3 Results returned from an API call
49  
50 Use accessors for each attribute. If Att1 is expected to be an Paws::SSM::InstancePatchState object:
51  
52 $result = $service_obj->Method(...);
53 $result->Att1->BaselineId
54  
55 =head1 DESCRIPTION
56  
57 Defines the high-level patch compliance state for a managed instance,
58 providing information about the number of installed, missing, not
59 applicable, and failed patches along with metadata about the operation
60 when this information was gathered for the instance.
61  
62 =head1 ATTRIBUTES
63  
64  
65 =head2 B<REQUIRED> BaselineId => Str
66  
67 The ID of the patch baseline used to patch the instance.
68  
69  
70 =head2 CriticalNonCompliantCount => Int
71  
72 The number of instances where patches that are specified as "Critical"
73 for compliance reporting in the patch baseline are not installed. These
74 patches might be missing, have failed installation, were rejected, or
75 were installed but awaiting a required instance reboot. The status of
76 these instances is C<NON_COMPLIANT>.
77  
78  
79 =head2 FailedCount => Int
80  
81 The number of patches from the patch baseline that were attempted to be
82 installed during the last patching operation, but failed to install.
83  
84  
85 =head2 InstalledCount => Int
86  
87 The number of patches from the patch baseline that are installed on the
88 instance.
89  
90  
91 =head2 InstalledOtherCount => Int
92  
93 The number of patches not specified in the patch baseline that are
94 installed on the instance.
95  
96  
97 =head2 InstalledPendingRebootCount => Int
98  
99 The number of patches installed by Patch Manager since the last time
100 the instance was rebooted.
101  
102  
103 =head2 InstalledRejectedCount => Int
104  
105 The number of patches installed on an instance that are specified in a
106 C<RejectedPatches> list. Patches with a status of I<InstalledRejected>
107 were typically installed before they were added to a C<RejectedPatches>
108 list.
109  
110 If C<ALLOW_AS_DEPENDENCY> is the specified option for
111 C<RejectedPatchesAction>, the value of C<InstalledRejectedCount> will
112 always be C<0> (zero).
113  
114  
115 =head2 InstallOverrideList => Str
116  
117 An https URL or an Amazon S3 path-style URL to a list of patches to be
118 installed. This patch installation list, which you maintain in an S3
119 bucket in YAML format and specify in the SSM document
120 C<AWS-RunPatchBaseline>, overrides the patches specified by the default
121 patch baseline.
122  
123 For more information about the C<InstallOverrideList> parameter, see
124 About the SSM document AWS-RunPatchBaseline
125 (https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-about-aws-runpatchbaseline.html)
126 in the I<AWS Systems Manager User Guide>.
127  
128  
129 =head2 B<REQUIRED> InstanceId => Str
130  
131 The ID of the managed instance the high-level patch compliance
132 information was collected for.
133  
134  
135 =head2 LastNoRebootInstallOperationTime => Str
136  
137 The time of the last attempt to patch the instance with C<NoReboot>
138 specified as the reboot option.
139  
140  
141 =head2 MissingCount => Int
142  
143 The number of patches from the patch baseline that are applicable for
144 the instance but aren't currently installed.
145  
146  
147 =head2 NotApplicableCount => Int
148  
149 The number of patches from the patch baseline that aren't applicable
150 for the instance and therefore aren't installed on the instance. This
151 number may be truncated if the list of patch names is very large. The
152 number of patches beyond this limit are reported in
153 C<UnreportedNotApplicableCount>.
154  
155  
156 =head2 B<REQUIRED> Operation => Str
157  
158 The type of patching operation that was performed: C<SCAN> (assess
159 patch compliance state) or C<INSTALL> (install missing patches).
160  
161  
162 =head2 B<REQUIRED> OperationEndTime => Str
163  
164 The time the most recent patching operation completed on the instance.
165  
166  
167 =head2 B<REQUIRED> OperationStartTime => Str
168  
169 The time the most recent patching operation was started on the
170 instance.
171  
172  
173 =head2 OtherNonCompliantCount => Int
174  
175 The number of instances with patches installed that are specified as
176 other than "Critical" or "Security" but are not compliant with the
177 patch baseline. The status of these instances is NON_COMPLIANT.
178  
179  
180 =head2 OwnerInformation => Str
181  
182 Placeholder information. This field will always be empty in the current
183 release of the service.
184  
185  
186 =head2 B<REQUIRED> PatchGroup => Str
187  
188 The name of the patch group the managed instance belongs to.
189  
190  
191 =head2 RebootOption => Str
192  
193 Indicates the reboot option specified in the patch baseline.
194  
195 Reboot options apply to C<Install> operations only. Reboots are not
196 attempted for Patch Manager C<Scan> operations.
197  
198 =over
199  
200 =item *
201  
202 B<RebootIfNeeded>: Patch Manager tries to reboot the instance if it
203 installed any patches, or if any patches are detected with a status of
204 C<InstalledPendingReboot>.
205  
206 =item *
207  
208 B<NoReboot>: Patch Manager attempts to install missing packages without
209 trying to reboot the system. Patches installed with this option are
210 assigned a status of C<InstalledPendingReboot>. These patches might not
211 be in effect until a reboot is performed.
212  
213 =back
214  
215  
216  
217 =head2 SecurityNonCompliantCount => Int
218  
219 The number of instances where patches that are specified as "Security"
220 in a patch advisory are not installed. These patches might be missing,
221 have failed installation, were rejected, or were installed but awaiting
222 a required instance reboot. The status of these instances is
223 C<NON_COMPLIANT>.
224  
225  
226 =head2 SnapshotId => Str
227  
228 The ID of the patch baseline snapshot used during the patching
229 operation when this compliance data was collected.
230  
231  
232 =head2 UnreportedNotApplicableCount => Int
233  
234 The number of patches beyond the supported limit of
235 C<NotApplicableCount> that are not reported by name to Systems Manager
236 Inventory.
237  
238  
239  
240 =head1 SEE ALSO
241  
242 This class forms part of L<Paws>, describing an object used in L<Paws::SSM>
243  
244 =head1 BUGS and CONTRIBUTIONS
245  
246 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
247  
248 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
249  
250 =cut
251