blib/lib/Paws/CodeBuild/ListSharedProjects.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::ListSharedProjects;
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 => 'ListSharedProjects');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CodeBuild::ListSharedProjectsOutput');
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::ListSharedProjects - Arguments for method ListSharedProjects on L<Paws::CodeBuild>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method ListSharedProjects on the
25 L<AWS CodeBuild|Paws::CodeBuild> service. Use the attributes of this class
26 as arguments to method ListSharedProjects.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListSharedProjects.
29  
30 =head1 SYNOPSIS
31  
32 my $codebuild = Paws->service('CodeBuild');
33 my $ListSharedProjectsOutput = $codebuild->ListSharedProjects(
34 MaxResults => 1, # OPTIONAL
35 NextToken => 'MyNonEmptyString', # OPTIONAL
36 SortBy => 'ARN', # OPTIONAL
37 SortOrder => 'ASCENDING', # OPTIONAL
38 );
39  
40 # Results:
41 my $NextToken = $ListSharedProjectsOutput->NextToken;
42 my $Projects = $ListSharedProjectsOutput->Projects;
43  
44 # Returns a L<Paws::CodeBuild::ListSharedProjectsOutput> 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/ListSharedProjects>
48  
49 =head1 ATTRIBUTES
50  
51  
52 =head2 MaxResults => Int
53  
54 The maximum number of paginated shared build projects returned per
55 response. Use C<nextToken> to iterate pages in the list of returned
56 C<Project> 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 projects shared with the current
75 Amazon Web Services account or user. Valid values include:
76  
77 =over
78  
79 =item *
80  
81 C<ARN>: List based on the ARN.
82  
83 =item *
84  
85 C<MODIFIED_TIME>: List based on when information about the shared
86 project was last changed.
87  
88 =back
89  
90  
91 Valid values are: C<"ARN">, C<"MODIFIED_TIME">
92  
93 =head2 SortOrder => Str
94  
95 The order in which to list shared build projects. Valid values include:
96  
97 =over
98  
99 =item *
100  
101 C<ASCENDING>: List in ascending order.
102  
103 =item *
104  
105 C<DESCENDING>: List in descending order.
106  
107 =back
108  
109  
110 Valid values are: C<"ASCENDING">, C<"DESCENDING">
111  
112  
113 =head1 SEE ALSO
114  
115 This class forms part of L<Paws>, documenting arguments for method ListSharedProjects in L<Paws::CodeBuild>
116  
117 =head1 BUGS and CONTRIBUTIONS
118  
119 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
120  
121 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
122  
123 =cut
124