blib/lib/Paws/Macie2/SimpleCriterionForJob.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::SimpleCriterionForJob;
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::SimpleCriterionForJob
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::SimpleCriterionForJob 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::SimpleCriterionForJob 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 bucket 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 are EQ (equals) and
47 NE (not equals).
48  
49  
50 =head2 Key => Str
51  
52 The property to use in the condition.
53  
54  
55 =head2 Values => ArrayRef[Str|Undef]
56  
57 An array that lists one or more values to use in the condition. If you
58 specify multiple values, Amazon Macie uses OR logic to join the values.
59 Valid values for each supported property (key) are:
60  
61 =over
62  
63 =item *
64  
65 ACCOUNT_ID - A string that represents the unique identifier for the
66 Amazon Web Services account that owns the bucket.
67  
68 =item *
69  
70 S3_BUCKET_EFFECTIVE_PERMISSION - A string that represents an enumerated
71 value that Macie defines for the BucketPublicAccess.effectivePermission
72 (https://docs.aws.amazon.com/macie/latest/APIReference/datasources-s3.html#datasources-s3-prop-bucketpublicaccess-effectivepermission)
73 property of a bucket.
74  
75 =item *
76  
77 S3_BUCKET_NAME - A string that represents the name of a bucket.
78  
79 =item *
80  
81 S3_BUCKET_SHARED_ACCESS - A string that represents an enumerated value
82 that Macie defines for the BucketMetadata.sharedAccess
83 (https://docs.aws.amazon.com/macie/latest/APIReference/datasources-s3.html#datasources-s3-prop-bucketmetadata-sharedaccess)
84 property of a bucket.
85  
86 =back
87  
88 Values are case sensitive. Also, Macie doesn't support use of partial
89 values or wildcard characters in these values.
90  
91  
92  
93 =head1 SEE ALSO
94  
95 This class forms part of L<Paws>, describing an object used in L<Paws::Macie2>
96  
97 =head1 BUGS and CONTRIBUTIONS
98  
99 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
100  
101 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
102  
103 =cut
104