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

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