list_build_batches_for_project
(**kwargs)¶Retrieves the identifiers of the build batches for a specific project.
See also: AWS API Documentation
Request Syntax
response = client.list_build_batches_for_project(
projectName='string',
filter={
'status': 'SUCCEEDED'|'FAILED'|'FAULT'|'TIMED_OUT'|'IN_PROGRESS'|'STOPPED'
},
maxResults=123,
sortOrder='ASCENDING'|'DESCENDING',
nextToken='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.nextToken
value returned from a previous call to ListBuildBatchesForProject
. This specifies the next item to return. To return the beginning of the list, exclude this parameter.dict
Response Syntax
{
'ids': [
'string',
],
'nextToken': 'string'
}
Response Structure
(dict) --
ids (list) --
An array of strings that contains the batch build identifiers.
nextToken (string) --
If there are more items to return, this contains a token that is passed to a subsequent call to ListBuildBatchesForProject
to retrieve the next set of items.
Exceptions
CodeBuild.Client.exceptions.InvalidInputException
CodeBuild.Client.exceptions.ResourceNotFoundException