Skip to content

BatchDeleteBuilds

Source: src/AWS/CodeBuild/BatchDeleteBuilds.ts

Runtime binding for codebuild:BatchDeleteBuilds — deletes builds of the bound project by id. Builds that cannot be deleted are returned in buildsNotDeleted with a reason rather than failing the call.

const batchDeleteBuilds = yield* AWS.CodeBuild.BatchDeleteBuilds(project);
const { buildsDeleted, buildsNotDeleted } = yield* batchDeleteBuilds({
ids: oldBuildIds,
});