blib/lib/Paws/Inspector/ListAssessmentRunAgents.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 19 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Inspector::ListAssessmentRunAgents;
3 use Moose;
4 has AssessmentRunArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'assessmentRunArn' , required => 1);
5 has Filter => (is => 'ro', isa => 'Paws::Inspector::AgentFilter', 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  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListAssessmentRunAgents');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Inspector::ListAssessmentRunAgentsResponse');
13 class_has _result_key => (isa => 'Str', is => 'ro');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::Inspector::ListAssessmentRunAgents - Arguments for method ListAssessmentRunAgents on L<Paws::Inspector>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method ListAssessmentRunAgents on the
25 L<Amazon Inspector|Paws::Inspector> service. Use the attributes of this class
26 as arguments to method ListAssessmentRunAgents.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListAssessmentRunAgents.
29  
30 =head1 SYNOPSIS
31  
32 my $inspector = Paws->service('Inspector');
33 # List assessment run agents
34 # Lists the agents of the assessment runs that are specified by the ARNs of the
35 # assessment runs.
36 my $ListAssessmentRunAgentsResponse = $inspector->ListAssessmentRunAgents(
37 'AssessmentRunArn' =>
38 'arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-4r1V2mAw/run/0-MKkpXXPE',
39 'MaxResults' => 123
40 );
41  
42 # Results:
43 my $assessmentRunAgents =
44 $ListAssessmentRunAgentsResponse->assessmentRunAgents;
45 my $nextToken = $ListAssessmentRunAgentsResponse->nextToken;
46  
47 # Returns a L<Paws::Inspector::ListAssessmentRunAgentsResponse> object.
48  
49 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.
50 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/inspector/ListAssessmentRunAgents>
51  
52 =head1 ATTRIBUTES
53  
54  
55 =head2 B<REQUIRED> AssessmentRunArn => Str
56  
57 The ARN that specifies the assessment run whose agents you want to
58 list.
59  
60  
61  
62 =head2 Filter => L<Paws::Inspector::AgentFilter>
63  
64 You can use this parameter to specify a subset of data to be included
65 in the action's response.
66  
67 For a record to match a filter, all specified filter attributes must
68 match. When multiple values are specified for a filter attribute, any
69 of the values can match.
70  
71  
72  
73 =head2 MaxResults => Int
74  
75 You can use this parameter to indicate the maximum number of items that
76 you want in the response. The default value is 10. The maximum value is
77 500.
78  
79  
80  
81 =head2 NextToken => Str
82  
83 You can use this parameter when paginating results. Set the value of
84 this parameter to null on your first call to the
85 B<ListAssessmentRunAgents> action. Subsequent calls to the action fill
86 B<nextToken> in the request with the value of B<NextToken> from the
87 previous response to continue listing data.
88  
89  
90  
91  
92 =head1 SEE ALSO
93  
94 This class forms part of L<Paws>, documenting arguments for method ListAssessmentRunAgents in L<Paws::Inspector>
95  
96 =head1 BUGS and CONTRIBUTIONS
97  
98 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
99  
100 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
101  
102 =cut
103