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

filter: Statementstmt 0.0% 0 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 10 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::SimpleScopeTerm;
3 use Moose;
4 has Comparator => (is => 'ro', isa => 'Str', request_name => 'comparator', traits => ['NameInRequest']);
5 has Key => (is => 'ro', isa => 'Str', request_name => 'key', traits => ['NameInRequest']);
6 has Values => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'values', traits => ['NameInRequest']);
7  
8 1;
9  
10 ### main pod documentation begin ###
11  
12 =head1 NAME
13  
14 Paws::Macie2::SimpleScopeTerm
15  
16 =head1 USAGE
17  
18 This class represents one of two things:
19  
20 =head3 Arguments in a call to a service
21  
22 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23 Each attribute should be used as a named argument in the calls that expect this type of object.
24  
25 As an example, if Att1 is expected to be a Paws::Macie2::SimpleScopeTerm object:
26  
27 $service_obj->Method(Att1 => { Comparator => $value, ..., Values => $value });
28  
29 =head3 Results returned from an API call
30  
31 Use accessors for each attribute. If Att1 is expected to be an Paws::Macie2::SimpleScopeTerm object:
32  
33 $result = $service_obj->Method(...);
34 $result->Att1->Comparator
35  
36 =head1 DESCRIPTION
37  
38 Specifies a property-based condition that determines whether an S3
39 object is included or excluded from a classification job.
40  
41 =head1 ATTRIBUTES
42  
43  
44 =head2 Comparator => Str
45  
46 The operator to use in the condition. Valid values for each supported
47 property (key) are:
48  
49 =over
50  
51 =item *
52  
53 OBJECT_EXTENSION - EQ (equals) or NE (not equals)
54  
55 =item *
56  
57 OBJECT_KEY - STARTS_WITH
58  
59 =item *
60  
61 OBJECT_LAST_MODIFIED_DATE - Any operator except CONTAINS
62  
63 =item *
64  
65 OBJECT_SIZE - Any operator except CONTAINS
66  
67 =back
68  
69  
70  
71 =head2 Key => Str
72  
73 The object property to use in the condition.
74  
75  
76 =head2 Values => ArrayRef[Str|Undef]
77  
78 An array that lists the values to use in the condition. If the value
79 for the key property is OBJECT_EXTENSION or OBJECT_KEY, this array can
80 specify multiple values and Amazon Macie uses OR logic to join the
81 values. Otherwise, this array can specify only one value.
82  
83 Valid values for each supported property (key) are:
84  
85 =over
86  
87 =item *
88  
89 OBJECT_EXTENSION - A string that represents the file name extension of
90 an object. For example: docx or pdf
91  
92 =item *
93  
94 OBJECT_KEY - A string that represents the key prefix (folder name or
95 path) of an object. For example: logs or awslogs/eventlogs. This value
96 applies a condition to objects whose keys (names) begin with the
97 specified value.
98  
99 =item *
100  
101 OBJECT_LAST_MODIFIED_DATE - The date and time (in UTC and extended ISO
102 8601 format) when an object was created or last changed, whichever is
103 latest. For example: 2020-09-28T14:31:13Z
104  
105 =item *
106  
107 OBJECT_SIZE - An integer that represents the storage size (in bytes) of
108 an object.
109  
110 =back
111  
112 Macie doesn't support use of wildcard characters in these values. Also,
113 string values are case sensitive.
114  
115  
116  
117 =head1 SEE ALSO
118  
119 This class forms part of L<Paws>, describing an object used in L<Paws::Macie2>
120  
121 =head1 BUGS and CONTRIBUTIONS
122  
123 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
124  
125 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
126  
127 =cut
128