Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

DeleteBuildBatch.ts

30 lines974 Bytes

1import type * as SVC from "@distilled.cloud/aws/codebuild";
2import * as Binding from "alchemy/Binding";
3import type * as Effect from "effect/Effect";
4import type { Project } from "./Project.ts";
5​
6/**
7 * Runtime binding for `codebuild:DeleteBuildBatch` — deletes a batch build
8 * of the bound project (and its child builds) by batch id.
9 * ### Batch Builds
10 * **Example:** Delete a Batch Build
11 * ```typescript
12 * const deleteBuildBatch = yield* AWS.CodeBuild.DeleteBuildBatch(project);
13 *
14 * yield* deleteBuildBatch({ id: batchId });
15 * ```
16 *
17 * @binding
18 */
19export interface DeleteBuildBatch extends Binding.Service<
20 DeleteBuildBatch,
21 "AWS.CodeBuild.DeleteBuildBatch",
22 <P extends Project>(
23 project: P,
24 ) => Effect.Effect<
25 (
26 request: SVC.DeleteBuildBatchInput,
27 ) => Effect.Effect<SVC.DeleteBuildBatchOutput, SVC.DeleteBuildBatchError>
28 >
29> {}
30export const DeleteBuildBatch = Binding.Service<DeleteBuildBatch>("AWS.CodeBuild.DeleteBuildBatch");