File Coverage

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