File Coverage

blib/lib/Paws/Inspector/AssessmentRunFilter.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::Inspector::AssessmentRunFilter;
2 1     1   664 use Moose;
  1         3  
  1         9  
3             has CompletionTimeRange => (is => 'ro', isa => 'Paws::Inspector::TimestampRange', request_name => 'completionTimeRange', traits => ['NameInRequest']);
4             has DurationRange => (is => 'ro', isa => 'Paws::Inspector::DurationRange', request_name => 'durationRange', traits => ['NameInRequest']);
5             has NamePattern => (is => 'ro', isa => 'Str', request_name => 'namePattern', traits => ['NameInRequest']);
6             has RulesPackageArns => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'rulesPackageArns', traits => ['NameInRequest']);
7             has StartTimeRange => (is => 'ro', isa => 'Paws::Inspector::TimestampRange', request_name => 'startTimeRange', traits => ['NameInRequest']);
8             has StateChangeTimeRange => (is => 'ro', isa => 'Paws::Inspector::TimestampRange', request_name => 'stateChangeTimeRange', traits => ['NameInRequest']);
9             has States => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'states', traits => ['NameInRequest']);
10             1;
11              
12             ### main pod documentation begin ###
13              
14             =head1 NAME
15              
16             Paws::Inspector::AssessmentRunFilter
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::Inspector::AssessmentRunFilter object:
28              
29             $service_obj->Method(Att1 => { CompletionTimeRange => $value, ..., States => $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::Inspector::AssessmentRunFilter object:
34              
35             $result = $service_obj->Method(...);
36             $result->Att1->CompletionTimeRange
37              
38             =head1 DESCRIPTION
39              
40             Used as the request parameter in the ListAssessmentRuns action.
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 CompletionTimeRange => L<Paws::Inspector::TimestampRange>
46              
47             For a record to match a filter, the value that is specified for this
48             data type property must inclusively match any value between the
49             specified minimum and maximum values of the B<completedAt> property of
50             the AssessmentRun data type.
51              
52              
53             =head2 DurationRange => L<Paws::Inspector::DurationRange>
54              
55             For a record to match a filter, the value that is specified for this
56             data type property must inclusively match any value between the
57             specified minimum and maximum values of the B<durationInSeconds>
58             property of the AssessmentRun data type.
59              
60              
61             =head2 NamePattern => Str
62              
63             For a record to match a filter, an explicit value or a string
64             containing a wildcard that is specified for this data type property
65             must match the value of the B<assessmentRunName> property of the
66             AssessmentRun data type.
67              
68              
69             =head2 RulesPackageArns => ArrayRef[Str|Undef]
70              
71             For a record to match a filter, the value that is specified for this
72             data type property must be contained in the list of values of the
73             B<rulesPackages> property of the AssessmentRun data type.
74              
75              
76             =head2 StartTimeRange => L<Paws::Inspector::TimestampRange>
77              
78             For a record to match a filter, the value that is specified for this
79             data type property must inclusively match any value between the
80             specified minimum and maximum values of the B<startTime> property of
81             the AssessmentRun data type.
82              
83              
84             =head2 StateChangeTimeRange => L<Paws::Inspector::TimestampRange>
85              
86             For a record to match a filter, the value that is specified for this
87             data type property must match the B<stateChangedAt> property of the
88             AssessmentRun data type.
89              
90              
91             =head2 States => ArrayRef[Str|Undef]
92              
93             For a record to match a filter, one of the values specified for this
94             data type property must be the exact match of the value of the
95             B<assessmentRunState> property of the AssessmentRun data type.
96              
97              
98              
99             =head1 SEE ALSO
100              
101             This class forms part of L<Paws>, describing an object used in L<Paws::Inspector>
102              
103             =head1 BUGS and CONTRIBUTIONS
104              
105             The source code is located here: https://github.com/pplu/aws-sdk-perl
106              
107             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
108              
109             =cut
110