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

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 14 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::Occurrences;
3 use Moose;
4 has Cells => (is => 'ro', isa => 'ArrayRef[Paws::Macie2::Cell]', request_name => 'cells', traits => ['NameInRequest']);
5 has LineRanges => (is => 'ro', isa => 'ArrayRef[Paws::Macie2::Range]', request_name => 'lineRanges', traits => ['NameInRequest']);
6 has OffsetRanges => (is => 'ro', isa => 'ArrayRef[Paws::Macie2::Range]', request_name => 'offsetRanges', traits => ['NameInRequest']);
7 has Pages => (is => 'ro', isa => 'ArrayRef[Paws::Macie2::Page]', request_name => 'pages', traits => ['NameInRequest']);
8 has Records => (is => 'ro', isa => 'ArrayRef[Paws::Macie2::Record]', request_name => 'records', traits => ['NameInRequest']);
9  
10 1;
11  
12 ### main pod documentation begin ###
13  
14 =head1 NAME
15  
16 Paws::Macie2::Occurrences
17  
18 =head1 USAGE
19  
20 This class represents one of two things:
21  
22 =head3 Arguments in a call to a service
23  
24 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25 Each attribute should be used as a named argument in the calls that expect this type of object.
26  
27 As an example, if Att1 is expected to be a Paws::Macie2::Occurrences object:
28  
29 $service_obj->Method(Att1 => { Cells => $value, ..., Records => $value });
30  
31 =head3 Results returned from an API call
32  
33 Use accessors for each attribute. If Att1 is expected to be an Paws::Macie2::Occurrences object:
34  
35 $result = $service_obj->Method(...);
36 $result->Att1->Cells
37  
38 =head1 DESCRIPTION
39  
40 Specifies the location of 1-15 occurrences of sensitive data that was
41 detected by managed data identifiers or a custom data identifier and
42 produced a sensitive data finding.
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 Cells => ArrayRef[L<Paws::Macie2::Cell>]
48  
49 An array of objects, one for each occurrence of sensitive data in a
50 Microsoft Excel workbook, CSV file, or TSV file. This value is null for
51 all other types of files.
52  
53 Each Cell object specifies a cell or field that contains the sensitive
54 data.
55  
56  
57 =head2 LineRanges => ArrayRef[L<Paws::Macie2::Range>]
58  
59 An array of objects, one for each occurrence of sensitive data in a
60 non-binary text file, such as an HTML, TXT, or XML file. Each Range
61 object specifies a line or inclusive range of lines that contains the
62 sensitive data, and the position of the data on the specified line or
63 lines.
64  
65 This value is often null for file types that are supported by Cell,
66 Page, or Record objects. Exceptions are the location of sensitive data
67 in: unstructured sections of an otherwise structured file, such as a
68 comment in a file; a malformed file that Amazon Macie analyzes as plain
69 text; and, a CSV or TSV file that has any column names that contain
70 sensitive data.
71  
72  
73 =head2 OffsetRanges => ArrayRef[L<Paws::Macie2::Range>]
74  
75 Reserved for future use.
76  
77  
78 =head2 Pages => ArrayRef[L<Paws::Macie2::Page>]
79  
80 An array of objects, one for each occurrence of sensitive data in an
81 Adobe Portable Document Format file. This value is null for all other
82 types of files.
83  
84 Each Page object specifies a page that contains the sensitive data.
85  
86  
87 =head2 Records => ArrayRef[L<Paws::Macie2::Record>]
88  
89 An array of objects, one for each occurrence of sensitive data in an
90 Apache Avro object container, Apache Parquet file, JSON file, or JSON
91 Lines file. This value is null for all other types of files.
92  
93 For an Avro object container or Parquet file, each Record object
94 specifies a record index and the path to a field in a record that
95 contains the sensitive data. For a JSON or JSON Lines file, each Record
96 object specifies the path to a field or array that contains the
97 sensitive data. For a JSON Lines file, it also specifies the index of
98 the line that contains the data.
99  
100  
101  
102 =head1 SEE ALSO
103  
104 This class forms part of L<Paws>, describing an object used in L<Paws::Macie2>
105  
106 =head1 BUGS and CONTRIBUTIONS
107  
108 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
109  
110 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
111  
112 =cut
113