blib/lib/Paws/AccessAnalyzer/ListAccessPreviewFindings.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::ListAccessPreviewFindings;
3 use Moose;
4 has AccessPreviewId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'accessPreviewId', required => 1);
5 has AnalyzerArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'analyzerArn', required => 1);
6 has Filter => (is => 'ro', isa => 'Paws::AccessAnalyzer::FilterCriteriaMap', traits => ['NameInRequest'], request_name => 'filter');
7 has MaxResults => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'maxResults');
8 has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken');
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListAccessPreviewFindings');
13 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/access-preview/{accessPreviewId}');
14 class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AccessAnalyzer::ListAccessPreviewFindingsResponse');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::AccessAnalyzer::ListAccessPreviewFindings - Arguments for method ListAccessPreviewFindings on L<Paws::AccessAnalyzer>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method ListAccessPreviewFindings on the
27 L<Access Analyzer|Paws::AccessAnalyzer> service. Use the attributes of this class
28 as arguments to method ListAccessPreviewFindings.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListAccessPreviewFindings.
31  
32 =head1 SYNOPSIS
33  
34 my $access-analyzer = Paws->service('AccessAnalyzer');
35 my $ListAccessPreviewFindingsResponse =
36 $access -analyzer->ListAccessPreviewFindings(
37 AccessPreviewId => 'MyAccessPreviewId',
38 AnalyzerArn => 'MyAnalyzerArn',
39 Filter => {
40 'MyString' => {
41 Contains => [ 'MyString', ... ], # min: 1, max: 20; OPTIONAL
42 Eq => [ 'MyString', ... ], # min: 1, max: 20; OPTIONAL
43 Exists => 1, # OPTIONAL
44 Neq => [ 'MyString', ... ], # min: 1, max: 20; OPTIONAL
45 },
46 }, # OPTIONAL
47 MaxResults => 1, # OPTIONAL
48 NextToken => 'MyToken', # OPTIONAL
49 );
50  
51 # Results:
52 my $Findings = $ListAccessPreviewFindingsResponse->Findings;
53 my $NextToken = $ListAccessPreviewFindingsResponse->NextToken;
54  
55 # Returns a L<Paws::AccessAnalyzer::ListAccessPreviewFindingsResponse> object.
56  
57 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.
58 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/access-analyzer/ListAccessPreviewFindings>
59  
60 =head1 ATTRIBUTES
61  
62  
63 =head2 B<REQUIRED> AccessPreviewId => Str
64  
65 The unique ID for the access preview.
66  
67  
68  
69 =head2 B<REQUIRED> AnalyzerArn => Str
70  
71 The ARN of the analyzer
72 (https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-getting-started.html#permission-resources)
73 used to generate the access.
74  
75  
76  
77 =head2 Filter => L<Paws::AccessAnalyzer::FilterCriteriaMap>
78  
79 Criteria to filter the returned findings.
80  
81  
82  
83 =head2 MaxResults => Int
84  
85 The maximum number of results to return in the response.
86  
87  
88  
89 =head2 NextToken => Str
90  
91 A token used for pagination of results returned.
92  
93  
94  
95  
96 =head1 SEE ALSO
97  
98 This class forms part of L<Paws>, documenting arguments for method ListAccessPreviewFindings in L<Paws::AccessAnalyzer>
99  
100 =head1 BUGS and CONTRIBUTIONS
101  
102 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
103  
104 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
105  
106 =cut
107