blib/lib/Paws/CodeBuild/ListBuildBatchesForProject.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::ListBuildBatchesForProject;
3 use Moose;
4 has Filter => (is => 'ro', isa => 'Paws::CodeBuild::BuildBatchFilter', 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 ProjectName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'projectName' );
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 => 'ListBuildBatchesForProject');
13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CodeBuild::ListBuildBatchesForProjectOutput');
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::ListBuildBatchesForProject - Arguments for method ListBuildBatchesForProject on L<Paws::CodeBuild>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method ListBuildBatchesForProject on the
26 L<AWS CodeBuild|Paws::CodeBuild> service. Use the attributes of this class
27 as arguments to method ListBuildBatchesForProject.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListBuildBatchesForProject.
30  
31 =head1 SYNOPSIS
32  
33 my $codebuild = Paws->service('CodeBuild');
34 my $ListBuildBatchesForProjectOutput =
35 $codebuild->ListBuildBatchesForProject(
36 Filter => {
37 Status => 'SUCCEEDED'
38 , # values: SUCCEEDED, FAILED, FAULT, TIMED_OUT, IN_PROGRESS, STOPPED; OPTIONAL
39 }, # OPTIONAL
40 MaxResults => 1, # OPTIONAL
41 NextToken => 'MyString', # OPTIONAL
42 ProjectName => 'MyNonEmptyString', # OPTIONAL
43 SortOrder => 'ASCENDING', # OPTIONAL
44 );
45  
46 # Results:
47 my $Ids = $ListBuildBatchesForProjectOutput->Ids;
48 my $NextToken = $ListBuildBatchesForProjectOutput->NextToken;
49  
50 # Returns a L<Paws::CodeBuild::ListBuildBatchesForProjectOutput> object.
51  
52 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.
53 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/codebuild/ListBuildBatchesForProject>
54  
55 =head1 ATTRIBUTES
56  
57  
58 =head2 Filter => L<Paws::CodeBuild::BuildBatchFilter>
59  
60 A C<BuildBatchFilter> object that specifies the filters for the search.
61  
62  
63  
64 =head2 MaxResults => Int
65  
66 The maximum number of results to return.
67  
68  
69  
70 =head2 NextToken => Str
71  
72 The C<nextToken> value returned from a previous call to
73 C<ListBuildBatchesForProject>. This specifies the next item to return.
74 To return the beginning of the list, exclude this parameter.
75  
76  
77  
78 =head2 ProjectName => Str
79  
80 The name of the project.
81  
82  
83  
84 =head2 SortOrder => Str
85  
86 Specifies the sort order of the returned items. Valid values include:
87  
88 =over
89  
90 =item *
91  
92 C<ASCENDING>: List the batch build identifiers in ascending order by
93 identifier.
94  
95 =item *
96  
97 C<DESCENDING>: List the batch build identifiers in descending order by
98 identifier.
99  
100 =back
101  
102  
103 Valid values are: C<"ASCENDING">, C<"DESCENDING">
104  
105  
106 =head1 SEE ALSO
107  
108 This class forms part of L<Paws>, documenting arguments for method ListBuildBatchesForProject in L<Paws::CodeBuild>
109  
110 =head1 BUGS and CONTRIBUTIONS
111  
112 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
113  
114 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
115  
116 =cut
117