CmdID / aws / aws codebuild
aws codebuild list-build-batches
Retrieves the identifiers of your build batches in the current region. AWS CLI reference
1 example 4 options Its page in the AWS CLI reference
Examples
To list batch builds in AWS CodeBuild.
The following list-build-batches example lists the CodeBuild batch builds for the current account.
aws codebuild list-build-batchesIdentifyIts output
{
"ids": [
"<project-name>:<batch-ID>",
"<project-name>:<batch-ID>"
]
}For more information, see Run builds in batches in the AWS CodeBuild User Guide.
Options
--filterA BuildBatchFilter object that specifies the filters for the search.--max-resultsThe maximum number of results to return.--next-tokenThe nextToken value returned from a previous call to ListBuildBatches.--sort-orderSpecifies the sort order of the returned items.