blib/lib/Paws/CodeBuild/ListReportGroups.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::CodeBuild::ListReportGroups;
3 use Moose;
4 has MaxResults => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'maxResults' );
5 has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken' );
6 has SortBy => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'sortBy' );
7 has SortOrder => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'sortOrder' );
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListReportGroups');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CodeBuild::ListReportGroupsOutput');
13 class_has _result_key => (isa => 'Str', is => 'ro');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::CodeBuild::ListReportGroups - Arguments for method ListReportGroups on L<Paws::CodeBuild>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method ListReportGroups on the
25 L<AWS CodeBuild|Paws::CodeBuild> service. Use the attributes of this class
26 as arguments to method ListReportGroups.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListReportGroups.
29  
30 =head1 SYNOPSIS
31  
32 my $codebuild = Paws->service('CodeBuild');
33 my $ListReportGroupsOutput = $codebuild->ListReportGroups(
34 MaxResults => 1, # OPTIONAL
35 NextToken => 'MyString', # OPTIONAL
36 SortBy => 'NAME', # OPTIONAL
37 SortOrder => 'ASCENDING', # OPTIONAL
38 );
39  
40 # Results:
41 my $NextToken = $ListReportGroupsOutput->NextToken;
42 my $ReportGroups = $ListReportGroupsOutput->ReportGroups;
43  
44 # Returns a L<Paws::CodeBuild::ListReportGroupsOutput> object.
45  
46 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.
47 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/codebuild/ListReportGroups>
48  
49 =head1 ATTRIBUTES
50  
51  
52 =head2 MaxResults => Int
53  
54 The maximum number of paginated report groups returned per response.
55 Use C<nextToken> to iterate pages in the list of returned
56 C<ReportGroup> objects. The default value is 100.
57  
58  
59  
60 =head2 NextToken => Str
61  
62 During a previous call, the maximum number of items that can be
63 returned is the value specified in C<maxResults>. If there more items
64 in the list, then a unique string called a I<nextToken> is returned. To
65 get the next batch of items in the list, call this operation again,
66 adding the next token to the call. To get all of the items in the list,
67 keep calling this operation with each subsequent next token that is
68 returned, until no more next tokens are returned.
69  
70  
71  
72 =head2 SortBy => Str
73  
74 The criterion to be used to list build report groups. Valid values
75 include:
76  
77 =over
78  
79 =item *
80  
81 C<CREATED_TIME>: List based on when each report group was created.
82  
83 =item *
84  
85 C<LAST_MODIFIED_TIME>: List based on when each report group was last
86 changed.
87  
88 =item *
89  
90 C<NAME>: List based on each report group's name.
91  
92 =back
93  
94  
95 Valid values are: C<"NAME">, C<"CREATED_TIME">, C<"LAST_MODIFIED_TIME">
96  
97 =head2 SortOrder => Str
98  
99 Used to specify the order to sort the list of returned report groups.
100 Valid values are C<ASCENDING> and C<DESCENDING>.
101  
102 Valid values are: C<"ASCENDING">, C<"DESCENDING">
103  
104  
105 =head1 SEE ALSO
106  
107 This class forms part of L<Paws>, documenting arguments for method ListReportGroups in L<Paws::CodeBuild>
108  
109 =head1 BUGS and CONTRIBUTIONS
110  
111 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
112  
113 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
114  
115 =cut
116