CmdID / aws / aws codebuild
aws codebuild batch-delete-builds
Deletes one or more builds. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To delete builds in AWS CodeBuild.
The following batch-delete-builds example deletes builds in CodeBuild with the specified IDs.
aws codebuild batch-delete-builds --ids my-build-project-one:a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 my-build-project-two:a1b2c3d4-5678-90ab-cdef-EXAMPLE22222Identify--idsThe IDs of the builds to delete.Its output
{
"buildsNotDeleted": [
{
"id": "arn:aws:codebuild:us-west-2:123456789012:build/my-build-project-one:a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
"statusCode": "BUILD_IN_PROGRESS"
}
],
"buildsDeleted": [
"arn:aws:codebuild:us-west-2:123456789012:build/my-build-project-two:a1b2c3d4-5678-90ab-cdef-EXAMPLE22222"
]
}For more information, see Delete builds in AWS CodeBuild in the AWS CodeBuild User Guide.
Options
--idsThe IDs of the builds to delete.