v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1445247249.8 KB

Retrieves the identifiers of the build batches for a specific project.

post/#X-Amz-Target=CodeBuild_20161006.ListBuildBatchesForProject

Query parameters

maxResultsstring

Pagination limit

nextTokenstring

Pagination token

Headers

X-Amz-Target'CodeBuild_20161006.ListBuildBatchesForProject' required

Request body

projectNamestring

The name of the project.

maxResultsinteger

The maximum number of results to return.

sortOrder'ASCENDING' | 'DESCENDING'
<p>Specifies the sort order of the returned items. Valid values include:</p> <ul> <li> <p> <code>ASCENDING</code>: List the batch build identifiers in ascending order by identifier.</p> </li> <li> <p> <code>DESCENDING</code>: List the batch build identifiers in descending order by identifier.</p> </li> </ul>
nextTokenstring

The <code>nextToken</code> value returned from a previous call to <code>ListBuildBatchesForProject</code>. This specifies the next item to return. To return the beginning of the list, exclude this parameter.

Response

Success

idsNonEmptyString[]

An array of strings that contains the batch build identifiers.

nextTokenstring

If there are more items to return, this contains a token that is passed to a subsequent call to <code>ListBuildBatchesForProject</code> to retrieve the next set of items.