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

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 13 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::ComplianceItem;
3 use Moose;
4 has ComplianceType => (is => 'ro', isa => 'Str');
5 has Details => (is => 'ro', isa => 'Paws::SSM::ComplianceItemDetails');
6 has ExecutionSummary => (is => 'ro', isa => 'Paws::SSM::ComplianceExecutionSummary');
7 has Id => (is => 'ro', isa => 'Str');
8 has ResourceId => (is => 'ro', isa => 'Str');
9 has ResourceType => (is => 'ro', isa => 'Str');
10 has Severity => (is => 'ro', isa => 'Str');
11 has Status => (is => 'ro', isa => 'Str');
12 has Title => (is => 'ro', isa => 'Str');
13  
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::SSM::ComplianceItem
21  
22 =head1 USAGE
23  
24 This class represents one of two things:
25  
26 =head3 Arguments in a call to a service
27  
28 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
29 Each attribute should be used as a named argument in the calls that expect this type of object.
30  
31 As an example, if Att1 is expected to be a Paws::SSM::ComplianceItem object:
32  
33 $service_obj->Method(Att1 => { ComplianceType => $value, ..., Title => $value });
34  
35 =head3 Results returned from an API call
36  
37 Use accessors for each attribute. If Att1 is expected to be an Paws::SSM::ComplianceItem object:
38  
39 $result = $service_obj->Method(...);
40 $result->Att1->ComplianceType
41  
42 =head1 DESCRIPTION
43  
44 Information about the compliance as defined by the resource type. For
45 example, for a patch resource type, C<Items> includes information about
46 the PatchSeverity, Classification, and so on.
47  
48 =head1 ATTRIBUTES
49  
50  
51 =head2 ComplianceType => Str
52  
53 The compliance type. For example, Association (for a State Manager
54 association), Patch, or Custom:C<string> are all valid compliance
55 types.
56  
57  
58 =head2 Details => L<Paws::SSM::ComplianceItemDetails>
59  
60 A "Key": "Value" tag combination for the compliance item.
61  
62  
63 =head2 ExecutionSummary => L<Paws::SSM::ComplianceExecutionSummary>
64  
65 A summary for the compliance item. The summary includes an execution
66 ID, the execution type (for example, command), and the execution time.
67  
68  
69 =head2 Id => Str
70  
71 An ID for the compliance item. For example, if the compliance item is a
72 Windows patch, the ID could be the number of the KB article; for
73 example: KB4010320.
74  
75  
76 =head2 ResourceId => Str
77  
78 An ID for the resource. For a managed instance, this is the instance
79 ID.
80  
81  
82 =head2 ResourceType => Str
83  
84 The type of resource. C<ManagedInstance> is currently the only
85 supported resource type.
86  
87  
88 =head2 Severity => Str
89  
90 The severity of the compliance status. Severity can be one of the
91 following: Critical, High, Medium, Low, Informational, Unspecified.
92  
93  
94 =head2 Status => Str
95  
96 The status of the compliance item. An item is either COMPLIANT,
97 NON_COMPLIANT, or an empty string (for Windows patches that aren't
98 applicable).
99  
100  
101 =head2 Title => Str
102  
103 A title for the compliance item. For example, if the compliance item is
104 a Windows patch, the title could be the title of the KB article for the
105 patch; for example: Security Update for Active Directory Federation
106 Services.
107  
108  
109  
110 =head1 SEE ALSO
111  
112 This class forms part of L<Paws>, describing an object used in L<Paws::SSM>
113  
114 =head1 BUGS and CONTRIBUTIONS
115  
116 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
117  
118 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
119  
120 =cut
121