File Coverage

blib/lib/Paws/CodeBuild/ListProjects.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::CodeBuild::ListProjects;
3 1     1   421 use Moose;
  1         3  
  1         7  
4             has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken' );
5             has SortBy => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'sortBy' );
6             has SortOrder => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'sortOrder' );
7              
8 1     1   6189 use MooseX::ClassAttribute;
  1         4  
  1         8  
9              
10             class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListProjects');
11             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CodeBuild::ListProjectsOutput');
12             class_has _result_key => (isa => 'Str', is => 'ro');
13             1;
14              
15             ### main pod documentation begin ###
16              
17             =head1 NAME
18              
19             Paws::CodeBuild::ListProjects - Arguments for method ListProjects on Paws::CodeBuild
20              
21             =head1 DESCRIPTION
22              
23             This class represents the parameters used for calling the method ListProjects on the
24             AWS CodeBuild service. Use the attributes of this class
25             as arguments to method ListProjects.
26              
27             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListProjects.
28              
29             As an example:
30              
31             $service_obj->ListProjects(Att1 => $value1, Att2 => $value2, ...);
32              
33             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.
34              
35             =head1 ATTRIBUTES
36              
37              
38             =head2 NextToken => Str
39              
40             During a previous call, if there are more than 100 items in the list,
41             only the first 100 items are returned, along with a unique string
42             called a I<next token>. To get the next batch of items in the list,
43             call this operation again, adding the next token to the call. To get
44             all of the items in the list, keep calling this operation with each
45             subsequent next token that is returned, until no more next tokens are
46             returned.
47              
48              
49              
50             =head2 SortBy => Str
51              
52             The criterion to be used to list build project names. Valid values
53             include:
54              
55             =over
56              
57             =item *
58              
59             C<CREATED_TIME>: List the build project names based on when each build
60             project was created.
61              
62             =item *
63              
64             C<LAST_MODIFIED_TIME>: List the build project names based on when
65             information about each build project was last changed.
66              
67             =item *
68              
69             C<NAME>: List the build project names based on each build project's
70             name.
71              
72             =back
73              
74             Use C<sortOrder> to specify in what order to list the build project
75             names based on the preceding criteria.
76              
77             Valid values are: C<"NAME">, C<"CREATED_TIME">, C<"LAST_MODIFIED_TIME">
78              
79             =head2 SortOrder => Str
80              
81             The order in which to list build projects. Valid values include:
82              
83             =over
84              
85             =item *
86              
87             C<ASCENDING>: List the build project names in ascending order.
88              
89             =item *
90              
91             C<DESCENDING>: List the build project names in descending order.
92              
93             =back
94              
95             Use C<sortBy> to specify the criterion to be used to list build project
96             names.
97              
98             Valid values are: C<"ASCENDING">, C<"DESCENDING">
99              
100              
101             =head1 SEE ALSO
102              
103             This class forms part of L<Paws>, documenting arguments for method ListProjects in L<Paws::CodeBuild>
104              
105             =head1 BUGS and CONTRIBUTIONS
106              
107             The source code is located here: https://github.com/pplu/aws-sdk-perl
108              
109             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
110              
111             =cut
112