blib/lib/Paws/CodeBuild/ListReportsForReportGroup.pm untested

filter: Statementstmt 0.0% 0 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 21 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::CodeBuild::ListReportsForReportGroup;
3 use Moose;
4 has Filter => (is => 'ro', isa => 'Paws::CodeBuild::ReportFilter', 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 has ReportGroupArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'reportGroupArn' , required => 1);
8 has SortOrder => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'sortOrder' );
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListReportsForReportGroup');
13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CodeBuild::ListReportsForReportGroupOutput');
14 class_has _result_key => (isa => 'Str', is => 'ro');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::CodeBuild::ListReportsForReportGroup - Arguments for method ListReportsForReportGroup on L<Paws::CodeBuild>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method ListReportsForReportGroup on the
26 L<AWS CodeBuild|Paws::CodeBuild> service. Use the attributes of this class
27 as arguments to method ListReportsForReportGroup.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListReportsForReportGroup.
30  
31 =head1 SYNOPSIS
32  
33 my $codebuild = Paws->service('CodeBuild');
34 my $ListReportsForReportGroupOutput = $codebuild->ListReportsForReportGroup(
35 ReportGroupArn => 'MyString',
36 Filter => {
37 Status => 'GENERATING'
38 , # values: GENERATING, SUCCEEDED, FAILED, INCOMPLETE, DELETING; OPTIONAL
39 }, # OPTIONAL
40 MaxResults => 1, # OPTIONAL
41 NextToken => 'MyString', # OPTIONAL
42 SortOrder => 'ASCENDING', # OPTIONAL
43 );
44  
45 # Results:
46 my $NextToken = $ListReportsForReportGroupOutput->NextToken;
47 my $Reports = $ListReportsForReportGroupOutput->Reports;
48  
49 # Returns a L<Paws::CodeBuild::ListReportsForReportGroupOutput> object.
50  
51 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.
52 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/codebuild/ListReportsForReportGroup>
53  
54 =head1 ATTRIBUTES
55  
56  
57 =head2 Filter => L<Paws::CodeBuild::ReportFilter>
58  
59 A C<ReportFilter> object used to filter the returned reports.
60  
61  
62  
63 =head2 MaxResults => Int
64  
65 The maximum number of paginated reports in this report group returned
66 per response. Use C<nextToken> to iterate pages in the list of returned
67 C<Report> objects. The default value is 100.
68  
69  
70  
71 =head2 NextToken => Str
72  
73 During a previous call, the maximum number of items that can be
74 returned is the value specified in C<maxResults>. If there more items
75 in the list, then a unique string called a I<nextToken> is returned. To
76 get the next batch of items in the list, call this operation again,
77 adding the next token to the call. To get all of the items in the list,
78 keep calling this operation with each subsequent next token that is
79 returned, until no more next tokens are returned.
80  
81  
82  
83 =head2 B<REQUIRED> ReportGroupArn => Str
84  
85 The ARN of the report group for which you want to return report ARNs.
86  
87  
88  
89 =head2 SortOrder => Str
90  
91 Use to specify whether the results are returned in ascending or
92 descending order.
93  
94 Valid values are: C<"ASCENDING">, C<"DESCENDING">
95  
96  
97 =head1 SEE ALSO
98  
99 This class forms part of L<Paws>, documenting arguments for method ListReportsForReportGroup in L<Paws::CodeBuild>
100  
101 =head1 BUGS and CONTRIBUTIONS
102  
103 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
104  
105 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
106  
107 =cut
108