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