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

filter: Statementstmt 0.0% 0 / 5 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 6 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::PatchFilter;
3 use Moose;
4 has Key => (is => 'ro', isa => 'Str', required => 1);
5 has Values => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1);
6  
7 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::SSM::PatchFilter
14  
15 =head1 USAGE
16  
17 This class represents one of two things:
18  
19 =head3 Arguments in a call to a service
20  
21 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
22 Each attribute should be used as a named argument in the calls that expect this type of object.
23  
24 As an example, if Att1 is expected to be a Paws::SSM::PatchFilter object:
25  
26 $service_obj->Method(Att1 => { Key => $value, ..., Values => $value });
27  
28 =head3 Results returned from an API call
29  
30 Use accessors for each attribute. If Att1 is expected to be an Paws::SSM::PatchFilter object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->Key
34  
35 =head1 DESCRIPTION
36  
37 Defines which patches should be included in a patch baseline.
38  
39 A patch filter consists of a key and a set of values. The filter key is
40 a patch property. For example, the available filter keys for WINDOWS
41 are PATCH_SET, PRODUCT, PRODUCT_FAMILY, CLASSIFICATION, and
42 MSRC_SEVERITY. The filter values define a matching criterion for the
43 patch property indicated by the key. For example, if the filter key is
44 PRODUCT and the filter values are ["Office 2013", "Office 2016"], then
45 the filter accepts all patches where product name is either "Office
46 2013" or "Office 2016". The filter values can be exact values for the
47 patch property given as a key, or a wildcard (*), which matches all
48 values.
49  
50 You can view lists of valid values for the patch properties by running
51 the C<DescribePatchProperties> command. For information about which
52 patch properties can be used with each major operating system, see
53 DescribePatchProperties.
54  
55 =head1 ATTRIBUTES
56  
57  
58 =head2 B<REQUIRED> Key => Str
59  
60 The key for the filter.
61  
62 Run the DescribePatchProperties command to view lists of valid keys for
63 each operating system type.
64  
65  
66 =head2 B<REQUIRED> Values => ArrayRef[Str|Undef]
67  
68 The value for the filter key.
69  
70 Run the DescribePatchProperties command to view lists of valid values
71 for each key based on operating system type.
72  
73  
74  
75 =head1 SEE ALSO
76  
77 This class forms part of L<Paws>, describing an object used in L<Paws::SSM>
78  
79 =head1 BUGS and CONTRIBUTIONS
80  
81 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
82  
83 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
84  
85 =cut
86