File Coverage

blib/lib/Paws/SSM/InstancePatchState.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::SSM::InstancePatchState;
2 1     1   483 use Moose;
  1         3  
  1         9  
3             has BaselineId => (is => 'ro', isa => 'Str', required => 1);
4             has FailedCount => (is => 'ro', isa => 'Int');
5             has InstalledCount => (is => 'ro', isa => 'Int');
6             has InstalledOtherCount => (is => 'ro', isa => 'Int');
7             has InstanceId => (is => 'ro', isa => 'Str', required => 1);
8             has MissingCount => (is => 'ro', isa => 'Int');
9             has NotApplicableCount => (is => 'ro', isa => 'Int');
10             has Operation => (is => 'ro', isa => 'Str', required => 1);
11             has OperationEndTime => (is => 'ro', isa => 'Str', required => 1);
12             has OperationStartTime => (is => 'ro', isa => 'Str', required => 1);
13             has OwnerInformation => (is => 'ro', isa => 'Str');
14             has PatchGroup => (is => 'ro', isa => 'Str', required => 1);
15             has SnapshotId => (is => 'ro', isa => 'Str');
16             1;
17              
18             ### main pod documentation begin ###
19              
20             =head1 NAME
21              
22             Paws::SSM::InstancePatchState
23              
24             =head1 USAGE
25              
26             This class represents one of two things:
27              
28             =head3 Arguments in a call to a service
29              
30             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
31             Each attribute should be used as a named argument in the calls that expect this type of object.
32              
33             As an example, if Att1 is expected to be a Paws::SSM::InstancePatchState object:
34              
35             $service_obj->Method(Att1 => { BaselineId => $value, ..., SnapshotId => $value });
36              
37             =head3 Results returned from an API call
38              
39             Use accessors for each attribute. If Att1 is expected to be an Paws::SSM::InstancePatchState object:
40              
41             $result = $service_obj->Method(...);
42             $result->Att1->BaselineId
43              
44             =head1 DESCRIPTION
45              
46             Defines the high-level patch compliance state for a managed instance,
47             providing information about the number of installed, missing, not
48             applicable, and failed patches along with metadata about the operation
49             when this information was gathered for the instance.
50              
51             =head1 ATTRIBUTES
52              
53              
54             =head2 B<REQUIRED> BaselineId => Str
55              
56             The ID of the patch baseline used to patch the instance.
57              
58              
59             =head2 FailedCount => Int
60              
61             The number of patches from the patch baseline that were attempted to be
62             installed during the last patching operation, but failed to install.
63              
64              
65             =head2 InstalledCount => Int
66              
67             The number of patches from the patch baseline that are installed on the
68             instance.
69              
70              
71             =head2 InstalledOtherCount => Int
72              
73             The number of patches not specified in the patch baseline that are
74             installed on the instance.
75              
76              
77             =head2 B<REQUIRED> InstanceId => Str
78              
79             The ID of the managed instance the high-level patch compliance
80             information was collected for.
81              
82              
83             =head2 MissingCount => Int
84              
85             The number of patches from the patch baseline that are applicable for
86             the instance but aren't currently installed.
87              
88              
89             =head2 NotApplicableCount => Int
90              
91             The number of patches from the patch baseline that aren't applicable
92             for the instance and hence aren't installed on the instance.
93              
94              
95             =head2 B<REQUIRED> Operation => Str
96              
97             The type of patching operation that was performed: SCAN (assess patch
98             compliance state) or INSTALL (install missing patches).
99              
100              
101             =head2 B<REQUIRED> OperationEndTime => Str
102              
103             The time the most recent patching operation completed on the instance.
104              
105              
106             =head2 B<REQUIRED> OperationStartTime => Str
107              
108             The time the most recent patching operation was started on the
109             instance.
110              
111              
112             =head2 OwnerInformation => Str
113              
114             Placeholder information, this field will always be empty in the current
115             release of the service.
116              
117              
118             =head2 B<REQUIRED> PatchGroup => Str
119              
120             The name of the patch group the managed instance belongs to.
121              
122              
123             =head2 SnapshotId => Str
124              
125             The ID of the patch baseline snapshot used during the patching
126             operation when this compliance data was collected.
127              
128              
129              
130             =head1 SEE ALSO
131              
132             This class forms part of L<Paws>, describing an object used in L<Paws::SSM>
133              
134             =head1 BUGS and CONTRIBUTIONS
135              
136             The source code is located here: https://github.com/pplu/aws-sdk-perl
137              
138             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
139              
140             =cut
141