blib/lib/Paws/AccessAnalyzer/ListFindings.pm untested

filter: Statementstmt 0.0% 0 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 22 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::AccessAnalyzer::ListFindings;
3 use Moose;
4 has AnalyzerArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'analyzerArn', required => 1);
5 has Filter => (is => 'ro', isa => 'Paws::AccessAnalyzer::FilterCriteriaMap', traits => ['NameInRequest'], request_name => 'filter');
6 has MaxResults => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'maxResults');
7 has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken');
8 has Sort => (is => 'ro', isa => 'Paws::AccessAnalyzer::SortCriteria', traits => ['NameInRequest'], request_name => 'sort');
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListFindings');
13 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/finding');
14 class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AccessAnalyzer::ListFindingsResponse');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::AccessAnalyzer::ListFindings - Arguments for method ListFindings on L<Paws::AccessAnalyzer>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method ListFindings on the
27 L<Access Analyzer|Paws::AccessAnalyzer> service. Use the attributes of this class
28 as arguments to method ListFindings.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListFindings.
31  
32 =head1 SYNOPSIS
33  
34 my $access-analyzer = Paws->service('AccessAnalyzer');
35 my $ListFindingsResponse = $access -analyzer->ListFindings(
36 AnalyzerArn => 'MyAnalyzerArn',
37 Filter => {
38 'MyString' => {
39 Contains => [ 'MyString', ... ], # min: 1, max: 20; OPTIONAL
40 Eq => [ 'MyString', ... ], # min: 1, max: 20; OPTIONAL
41 Exists => 1, # OPTIONAL
42 Neq => [ 'MyString', ... ], # min: 1, max: 20; OPTIONAL
43 },
44 }, # OPTIONAL
45 MaxResults => 1, # OPTIONAL
46 NextToken => 'MyToken', # OPTIONAL
47 Sort => {
48 AttributeName => 'MyString',
49 OrderBy => 'ASC', # values: ASC, DESC; OPTIONAL
50 }, # OPTIONAL
51 );
52  
53 # Results:
54 my $Findings = $ListFindingsResponse->Findings;
55 my $NextToken = $ListFindingsResponse->NextToken;
56  
57 # Returns a L<Paws::AccessAnalyzer::ListFindingsResponse> object.
58  
59 Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
60 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/access-analyzer/ListFindings>
61  
62 =head1 ATTRIBUTES
63  
64  
65 =head2 B<REQUIRED> AnalyzerArn => Str
66  
67 The ARN of the analyzer
68 (https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-getting-started.html#permission-resources)
69 to retrieve findings from.
70  
71  
72  
73 =head2 Filter => L<Paws::AccessAnalyzer::FilterCriteriaMap>
74  
75 A filter to match for the findings to return.
76  
77  
78  
79 =head2 MaxResults => Int
80  
81 The maximum number of results to return in the response.
82  
83  
84  
85 =head2 NextToken => Str
86  
87 A token used for pagination of results returned.
88  
89  
90  
91 =head2 Sort => L<Paws::AccessAnalyzer::SortCriteria>
92  
93 The sort order for the findings returned.
94  
95  
96  
97  
98 =head1 SEE ALSO
99  
100 This class forms part of L<Paws>, documenting arguments for method ListFindings in L<Paws::AccessAnalyzer>
101  
102 =head1 BUGS and CONTRIBUTIONS
103  
104 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
105  
106 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
107  
108 =cut
109