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

filter: Statementstmt 0.0% 0 / 26 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 27 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::Patch;
3 use Moose;
4 has AdvisoryIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
5 has Arch => (is => 'ro', isa => 'Str');
6 has BugzillaIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
7 has Classification => (is => 'ro', isa => 'Str');
8 has ContentUrl => (is => 'ro', isa => 'Str');
9 has CVEIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
10 has Description => (is => 'ro', isa => 'Str');
11 has Epoch => (is => 'ro', isa => 'Int');
12 has Id => (is => 'ro', isa => 'Str');
13 has KbNumber => (is => 'ro', isa => 'Str');
14 has Language => (is => 'ro', isa => 'Str');
15 has MsrcNumber => (is => 'ro', isa => 'Str');
16 has MsrcSeverity => (is => 'ro', isa => 'Str');
17 has Name => (is => 'ro', isa => 'Str');
18 has Product => (is => 'ro', isa => 'Str');
19 has ProductFamily => (is => 'ro', isa => 'Str');
20 has Release => (is => 'ro', isa => 'Str');
21 has ReleaseDate => (is => 'ro', isa => 'Str');
22 has Repository => (is => 'ro', isa => 'Str');
23 has Severity => (is => 'ro', isa => 'Str');
24 has Title => (is => 'ro', isa => 'Str');
25 has Vendor => (is => 'ro', isa => 'Str');
26 has Version => (is => 'ro', isa => 'Str');
27  
28 1;
29  
30 ### main pod documentation begin ###
31  
32 =head1 NAME
33  
34 Paws::SSM::Patch
35  
36 =head1 USAGE
37  
38 This class represents one of two things:
39  
40 =head3 Arguments in a call to a service
41  
42 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
43 Each attribute should be used as a named argument in the calls that expect this type of object.
44  
45 As an example, if Att1 is expected to be a Paws::SSM::Patch object:
46  
47 $service_obj->Method(Att1 => { AdvisoryIds => $value, ..., Version => $value });
48  
49 =head3 Results returned from an API call
50  
51 Use accessors for each attribute. If Att1 is expected to be an Paws::SSM::Patch object:
52  
53 $result = $service_obj->Method(...);
54 $result->Att1->AdvisoryIds
55  
56 =head1 DESCRIPTION
57  
58 Represents metadata about a patch.
59  
60 =head1 ATTRIBUTES
61  
62  
63 =head2 AdvisoryIds => ArrayRef[Str|Undef]
64  
65 The Advisory ID of the patch. For example, C<RHSA-2020:3779>. Applies
66 to Linux-based instances only.
67  
68  
69 =head2 Arch => Str
70  
71 The architecture of the patch. For example, in
72 C<example-pkg-0.710.10-2.7.abcd.x86_64>, the architecture is indicated
73 by C<x86_64>. Applies to Linux-based instances only.
74  
75  
76 =head2 BugzillaIds => ArrayRef[Str|Undef]
77  
78 The Bugzilla ID of the patch. For example, C<1600646>. Applies to
79 Linux-based instances only.
80  
81  
82 =head2 Classification => Str
83  
84 The classification of the patch. For example, C<SecurityUpdates>,
85 C<Updates>, or C<CriticalUpdates>.
86  
87  
88 =head2 ContentUrl => Str
89  
90 The URL where more information can be obtained about the patch.
91  
92  
93 =head2 CVEIds => ArrayRef[Str|Undef]
94  
95 The Common Vulnerabilities and Exposures (CVE) ID of the patch. For
96 example, C<CVE-2011-3192>. Applies to Linux-based instances only.
97  
98  
99 =head2 Description => Str
100  
101 The description of the patch.
102  
103  
104 =head2 Epoch => Int
105  
106 The epoch of the patch. For example in
107 C<pkg-example-EE-20180914-2.2.amzn1.noarch>, the epoch value is
108 C<20180914-2>. Applies to Linux-based instances only.
109  
110  
111 =head2 Id => Str
112  
113 The ID of the patch. Applies to Windows patches only.
114  
115 This ID is not the same as the Microsoft Knowledge Base ID.
116  
117  
118 =head2 KbNumber => Str
119  
120 The Microsoft Knowledge Base ID of the patch. Applies to Windows
121 patches only.
122  
123  
124 =head2 Language => Str
125  
126 The language of the patch if it's language-specific.
127  
128  
129 =head2 MsrcNumber => Str
130  
131 The ID of the Microsoft Security Response Center (MSRC) bulletin the
132 patch is related to. For example, C<MS14-045>. Applies to Windows
133 patches only.
134  
135  
136 =head2 MsrcSeverity => Str
137  
138 The severity of the patch, such as C<Critical>, C<Important>, or
139 C<Moderate>. Applies to Windows patches only.
140  
141  
142 =head2 Name => Str
143  
144 The name of the patch. Applies to Linux-based instances only.
145  
146  
147 =head2 Product => Str
148  
149 The specific product the patch is applicable for. For example,
150 C<WindowsServer2016> or C<AmazonLinux2018.03>.
151  
152  
153 =head2 ProductFamily => Str
154  
155 The product family the patch is applicable for. For example, C<Windows>
156 or C<Amazon Linux 2>.
157  
158  
159 =head2 Release => Str
160  
161 The particular release of a patch. For example, in
162 C<pkg-example-EE-20180914-2.2.amzn1.noarch>, the release is C<2.amaz1>.
163 Applies to Linux-based instances only.
164  
165  
166 =head2 ReleaseDate => Str
167  
168 The date the patch was released.
169  
170  
171 =head2 Repository => Str
172  
173 The source patch repository for the operating system and version, such
174 as C<trusty-security> for Ubuntu Server 14.04 LTE and C<focal-security>
175 for Ubuntu Server 20.04 LTE. Applies to Linux-based instances only.
176  
177  
178 =head2 Severity => Str
179  
180 The severity level of the patch. For example, C<CRITICAL> or
181 C<MODERATE>.
182  
183  
184 =head2 Title => Str
185  
186 The title of the patch.
187  
188  
189 =head2 Vendor => Str
190  
191 The name of the vendor providing the patch.
192  
193  
194 =head2 Version => Str
195  
196 The version number of the patch. For example, in
197 C<example-pkg-1.710.10-2.7.abcd.x86_64>, the version number is
198 indicated by C<-1>. Applies to Linux-based instances only.
199  
200  
201  
202 =head1 SEE ALSO
203  
204 This class forms part of L<Paws>, describing an object used in L<Paws::SSM>
205  
206 =head1 BUGS and CONTRIBUTIONS
207  
208 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
209  
210 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
211  
212 =cut
213