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