CodeBuild.Paginator.
ListBuildBatches
¶paginator = client.get_paginator('list_build_batches')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from CodeBuild.Client.list_build_batches()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
filter={
'status': 'SUCCEEDED'|'FAILED'|'FAULT'|'TIMED_OUT'|'IN_PROGRESS'|'STOPPED'
},
sortOrder='ASCENDING'|'DESCENDING',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A BuildBatchFilter
object that specifies the filters for the search.
The status of the batch builds to retrieve. Only batch builds that have this status will be retrieved.
Specifies the sort order of the returned items. Valid values include:
ASCENDING
: List the batch build identifiers in ascending order by identifier.DESCENDING
: List the batch build identifiers in descending order by identifier.A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken
will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken
from a previous response.
dict
Response Syntax
{
'ids': [
'string',
],
'NextToken': 'string'
}
Response Structure
(dict) --
ids (list) --
An array of strings that contains the batch build identifiers.
NextToken (string) --
A token to resume pagination.