blib/lib/Paws/CodeBuild/ListProjects.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::CodeBuild::ListProjects;
3 use Moose;
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 use MooseX::ClassAttribute;
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 L<Paws::CodeBuild>
20  
21 =head1 DESCRIPTION
22  
23 This class represents the parameters used for calling the method ListProjects on the
24 L<AWS CodeBuild|Paws::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 =head1 SYNOPSIS
30  
31 my $codebuild = Paws->service('CodeBuild');
32 my $ListProjectsOutput = $codebuild->ListProjects(
33 NextToken => 'MyNonEmptyString', # OPTIONAL
34 SortBy => 'NAME', # OPTIONAL
35 SortOrder => 'ASCENDING', # OPTIONAL
36 );
37  
38 # Results:
39 my $NextToken = $ListProjectsOutput->NextToken;
40 my $Projects = $ListProjectsOutput->Projects;
41  
42 # Returns a L<Paws::CodeBuild::ListProjectsOutput> 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/codebuild/ListProjects>
46  
47 =head1 ATTRIBUTES
48  
49  
50 =head2 NextToken => Str
51  
52 During a previous call, if there are more than 100 items in the list,
53 only the first 100 items are returned, along with a unique string
54 called a I<nextToken>. To get the next batch of items in the list, call
55 this operation again, adding the next token to the call. To get all of
56 the items in the list, keep calling this operation with each subsequent
57 next token that is returned, until no more next tokens are returned.
58  
59  
60  
61 =head2 SortBy => Str
62  
63 The criterion to be used to list build project names. Valid values
64 include:
65  
66 =over
67  
68 =item *
69  
70 C<CREATED_TIME>: List based on when each build project was created.
71  
72 =item *
73  
74 C<LAST_MODIFIED_TIME>: List based on when information about each build
75 project was last changed.
76  
77 =item *
78  
79 C<NAME>: List based on each build project's name.
80  
81 =back
82  
83 Use C<sortOrder> to specify in what order to list the build project
84 names based on the preceding criteria.
85  
86 Valid values are: C<"NAME">, C<"CREATED_TIME">, C<"LAST_MODIFIED_TIME">
87  
88 =head2 SortOrder => Str
89  
90 The order in which to list build projects. Valid values include:
91  
92 =over
93  
94 =item *
95  
96 C<ASCENDING>: List in ascending order.
97  
98 =item *
99  
100 C<DESCENDING>: List in descending order.
101  
102 =back
103  
104 Use C<sortBy> to specify the criterion to be used to list build project
105 names.
106  
107 Valid values are: C<"ASCENDING">, C<"DESCENDING">
108  
109  
110 =head1 SEE ALSO
111  
112 This class forms part of L<Paws>, documenting arguments for method ListProjects in L<Paws::CodeBuild>
113  
114 =head1 BUGS and CONTRIBUTIONS
115  
116 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
117  
118 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
119  
120 =cut
121