blib/lib/Paws/Macie2/Finding.pm untested

filter: Statementstmt 0.0% 0 / 39 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 40 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Macie2::Finding;
3 use Moose;
4 has AccountId => (is => 'ro', isa => 'Str', request_name => 'accountId', traits => ['NameInRequest']);
5 has Archived => (is => 'ro', isa => 'Bool', request_name => 'archived', traits => ['NameInRequest']);
6 has Category => (is => 'ro', isa => 'Str', request_name => 'category', traits => ['NameInRequest']);
7 has ClassificationDetails => (is => 'ro', isa => 'Paws::Macie2::ClassificationDetails', request_name => 'classificationDetails', traits => ['NameInRequest']);
8 has Count => (is => 'ro', isa => 'Int', request_name => 'count', traits => ['NameInRequest']);
9 has CreatedAt => (is => 'ro', isa => 'Str', request_name => 'createdAt', traits => ['NameInRequest']);
10 has Description => (is => 'ro', isa => 'Str', request_name => 'description', traits => ['NameInRequest']);
11 has Id => (is => 'ro', isa => 'Str', request_name => 'id', traits => ['NameInRequest']);
12 has Partition => (is => 'ro', isa => 'Str', request_name => 'partition', traits => ['NameInRequest']);
13 has PolicyDetails => (is => 'ro', isa => 'Paws::Macie2::PolicyDetails', request_name => 'policyDetails', traits => ['NameInRequest']);
14 has Region => (is => 'ro', isa => 'Str', request_name => 'region', traits => ['NameInRequest']);
15 has ResourcesAffected => (is => 'ro', isa => 'Paws::Macie2::ResourcesAffected', request_name => 'resourcesAffected', traits => ['NameInRequest']);
16 has Sample => (is => 'ro', isa => 'Bool', request_name => 'sample', traits => ['NameInRequest']);
17 has SchemaVersion => (is => 'ro', isa => 'Str', request_name => 'schemaVersion', traits => ['NameInRequest']);
18 has Severity => (is => 'ro', isa => 'Paws::Macie2::Severity', request_name => 'severity', traits => ['NameInRequest']);
19 has Title => (is => 'ro', isa => 'Str', request_name => 'title', traits => ['NameInRequest']);
20 has Type => (is => 'ro', isa => 'Str', request_name => 'type', traits => ['NameInRequest']);
21 has UpdatedAt => (is => 'ro', isa => 'Str', request_name => 'updatedAt', traits => ['NameInRequest']);
22  
23 1;
24  
25 ### main pod documentation begin ###
26  
27 =head1 NAME
28  
29 Paws::Macie2::Finding
30  
31 =head1 USAGE
32  
33 This class represents one of two things:
34  
35 =head3 Arguments in a call to a service
36  
37 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
38 Each attribute should be used as a named argument in the calls that expect this type of object.
39  
40 As an example, if Att1 is expected to be a Paws::Macie2::Finding object:
41  
42 $service_obj->Method(Att1 => { AccountId => $value, ..., UpdatedAt => $value });
43  
44 =head3 Results returned from an API call
45  
46 Use accessors for each attribute. If Att1 is expected to be an Paws::Macie2::Finding object:
47  
48 $result = $service_obj->Method(...);
49 $result->Att1->AccountId
50  
51 =head1 DESCRIPTION
52  
53 Provides the details of a finding.
54  
55 =head1 ATTRIBUTES
56  
57  
58 =head2 AccountId => Str
59  
60 The unique identifier for the Amazon Web Services account that the
61 finding applies to. This is typically the account that owns the
62 affected resource.
63  
64  
65 =head2 Archived => Bool
66  
67 Specifies whether the finding is archived (suppressed).
68  
69  
70 =head2 Category => Str
71  
72 The category of the finding. Possible values are: CLASSIFICATION, for a
73 sensitive data finding; and, POLICY, for a policy finding.
74  
75  
76 =head2 ClassificationDetails => L<Paws::Macie2::ClassificationDetails>
77  
78 The details of a sensitive data finding. This value is null for a
79 policy finding.
80  
81  
82 =head2 Count => Int
83  
84 The total number of occurrences of the finding. For sensitive data
85 findings, this value is always 1. All sensitive data findings are
86 considered new (unique) because they derive from individual
87 classification jobs.
88  
89  
90 =head2 CreatedAt => Str
91  
92 The date and time, in UTC and extended ISO 8601 format, when the
93 finding was created.
94  
95  
96 =head2 Description => Str
97  
98 The description of the finding.
99  
100  
101 =head2 Id => Str
102  
103 The unique identifier for the finding. This is a random string that
104 Amazon Macie generates and assigns to a finding when it creates the
105 finding.
106  
107  
108 =head2 Partition => Str
109  
110 The Amazon Web Services partition that Amazon Macie created the finding
111 in.
112  
113  
114 =head2 PolicyDetails => L<Paws::Macie2::PolicyDetails>
115  
116 The details of a policy finding. This value is null for a sensitive
117 data finding.
118  
119  
120 =head2 Region => Str
121  
122 The Amazon Web Services Region that Amazon Macie created the finding
123 in.
124  
125  
126 =head2 ResourcesAffected => L<Paws::Macie2::ResourcesAffected>
127  
128 The resources that the finding applies to.
129  
130  
131 =head2 Sample => Bool
132  
133 Specifies whether the finding is a sample finding. A I<sample finding>
134 is a finding that uses example data to demonstrate what a finding might
135 contain.
136  
137  
138 =head2 SchemaVersion => Str
139  
140 The version of the schema that was used to define the data structures
141 in the finding.
142  
143  
144 =head2 Severity => L<Paws::Macie2::Severity>
145  
146 The severity level and score for the finding.
147  
148  
149 =head2 Title => Str
150  
151 The brief description of the finding.
152  
153  
154 =head2 Type => Str
155  
156 The type of the finding.
157  
158  
159 =head2 UpdatedAt => Str
160  
161 The date and time, in UTC and extended ISO 8601 format, when the
162 finding was last updated. For sensitive data findings, this value is
163 the same as the value for the createdAt property. All sensitive data
164 findings are considered new (unique) because they derive from
165 individual classification jobs.
166  
167  
168  
169 =head1 SEE ALSO
170  
171 This class forms part of L<Paws>, describing an object used in L<Paws::Macie2>
172  
173 =head1 BUGS and CONTRIBUTIONS
174  
175 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
176  
177 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
178  
179 =cut
180