« blib/lib/Paws/CodeBuild/ListBuilds.pm
↑ Summary
blib/lib/Paws/CodeBuild/ListBuildsForProjectOutput.pm »
| 1 | |||
| 2 | package Paws::CodeBuild::ListBuildsForProject; | ||
| 3 | use Moose; | ||
| 4 | has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken' ); | ||
| 5 | has ProjectName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'projectName' , required => 1); | ||
| 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 => 'ListBuildsForProject'); | ||
| 11 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CodeBuild::ListBuildsForProjectOutput'); | ||
| 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::ListBuildsForProject - Arguments for method ListBuildsForProject on L<Paws::CodeBuild> | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | This class represents the parameters used for calling the method ListBuildsForProject on the | ||
| 24 | L<AWS CodeBuild|Paws::CodeBuild> service. Use the attributes of this class | ||
| 25 | as arguments to method ListBuildsForProject. | ||
| 26 | |||
| 27 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListBuildsForProject. | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | my $codebuild = Paws->service('CodeBuild'); | ||
| 32 | my $ListBuildsForProjectOutput = $codebuild->ListBuildsForProject( | ||
| 33 | ProjectName => 'MyNonEmptyString', | ||
| 34 | NextToken => 'MyString', # OPTIONAL | ||
| 35 | SortOrder => 'ASCENDING', # OPTIONAL | ||
| 36 | ); | ||
| 37 | |||
| 38 | # Results: | ||
| 39 | my $Ids = $ListBuildsForProjectOutput->Ids; | ||
| 40 | my $NextToken = $ListBuildsForProjectOutput->NextToken; | ||
| 41 | |||
| 42 | # Returns a L<Paws::CodeBuild::ListBuildsForProjectOutput> 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/ListBuildsForProject> | ||
| 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 B<REQUIRED> ProjectName => Str | ||
| 62 | |||
| 63 | The name of the CodeBuild project. | ||
| 64 | |||
| 65 | |||
| 66 | |||
| 67 | =head2 SortOrder => Str | ||
| 68 | |||
| 69 | The order to list results in. The results are sorted by build number, | ||
| 70 | not the build identifier. | ||
| 71 | |||
| 72 | Valid values include: | ||
| 73 | |||
| 74 | =over | ||
| 75 | |||
| 76 | =item * | ||
| 77 | |||
| 78 | C<ASCENDING>: List the build IDs in ascending order by build ID. | ||
| 79 | |||
| 80 | =item * | ||
| 81 | |||
| 82 | C<DESCENDING>: List the build IDs in descending order by build ID. | ||
| 83 | |||
| 84 | =back | ||
| 85 | |||
| 86 | If the project has more than 100 builds, setting the sort order will | ||
| 87 | result in an error. | ||
| 88 | |||
| 89 | Valid values are: C<"ASCENDING">, C<"DESCENDING"> | ||
| 90 | |||
| 91 | |||
| 92 | =head1 SEE ALSO | ||
| 93 | |||
| 94 | This class forms part of L<Paws>, documenting arguments for method ListBuildsForProject in L<Paws::CodeBuild> | ||
| 95 | |||
| 96 | =head1 BUGS and CONTRIBUTIONS | ||
| 97 | |||
| 98 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 99 | |||
| 100 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 101 | |||
| 102 | =cut | ||
| 103 |