blib/lib/Paws/Macie2/S3JobDefinition.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::S3JobDefinition;
3 use Moose;
4 has BucketCriteria => (is => 'ro', isa => 'Paws::Macie2::S3BucketCriteriaForJob', request_name => 'bucketCriteria', traits => ['NameInRequest']);
5 has BucketDefinitions => (is => 'ro', isa => 'ArrayRef[Paws::Macie2::S3BucketDefinitionForJob]', request_name => 'bucketDefinitions', traits => ['NameInRequest']);
6 has Scoping => (is => 'ro', isa => 'Paws::Macie2::Scoping', request_name => 'scoping', traits => ['NameInRequest']);
7  
8 1;
9  
10 ### main pod documentation begin ###
11  
12 =head1 NAME
13  
14 Paws::Macie2::S3JobDefinition
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::S3JobDefinition object:
26  
27 $service_obj->Method(Att1 => { BucketCriteria => $value, ..., Scoping => $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::S3JobDefinition object:
32  
33 $result = $service_obj->Method(...);
34 $result->Att1->BucketCriteria
35  
36 =head1 DESCRIPTION
37  
38 Specifies which S3 buckets contain the objects that a classification
39 job analyzes, and the scope of that analysis. The bucket specification
40 can be static (bucketDefinitions) or dynamic (bucketCriteria). If it's
41 static, the job analyzes objects in the same predefined set of buckets
42 each time the job runs. If it's dynamic, the job analyzes objects in
43 any buckets that match the specified criteria each time the job starts
44 to run.
45  
46 =head1 ATTRIBUTES
47  
48  
49 =head2 BucketCriteria => L<Paws::Macie2::S3BucketCriteriaForJob>
50  
51 The property- and tag-based conditions that determine which S3 buckets
52 to include or exclude from the analysis. Each time the job runs, the
53 job uses these criteria to determine which buckets contain objects to
54 analyze. A job's definition can contain a bucketCriteria object or a
55 bucketDefinitions array, not both.
56  
57  
58 =head2 BucketDefinitions => ArrayRef[L<Paws::Macie2::S3BucketDefinitionForJob>]
59  
60 An array of objects, one for each Amazon Web Services account that owns
61 specific S3 buckets to analyze. Each object specifies the account ID
62 for an account and one or more buckets to analyze for that account. A
63 job's definition can contain a bucketDefinitions array or a
64 bucketCriteria object, not both.
65  
66  
67 =head2 Scoping => L<Paws::Macie2::Scoping>
68  
69 The property- and tag-based conditions that determine which S3 objects
70 to include or exclude from the analysis. Each time the job runs, the
71 job uses these criteria to determine which objects to analyze.
72  
73  
74  
75 =head1 SEE ALSO
76  
77 This class forms part of L<Paws>, describing an object used in L<Paws::Macie2>
78  
79 =head1 BUGS and CONTRIBUTIONS
80  
81 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
82  
83 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
84  
85 =cut
86