@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 30 lines 987 Bytes
Raw
1 import type * as SVC from "@distilled.cloud/aws/codebuild";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4 import type { Project } from "./Project.ts";
5
6 /**
7 * Runtime binding for `codebuild:InvalidateProjectCache` — resets the
8 * bound project's build cache so the next build starts cold.
9 * ### Project Cache
10 * **Example:** Invalidate the Build Cache
11 * ```typescript
12 * const invalidateProjectCache = yield* AWS.CodeBuild.InvalidateProjectCache(project);
13 *
14 * yield* invalidateProjectCache();
15 * ```
16 *
17 * @binding
18 */
19 export interface InvalidateProjectCache extends Binding.Service<
20 InvalidateProjectCache,
21 "AWS.CodeBuild.InvalidateProjectCache",
22 <P extends Project>(
23 project: P,
24 ) => Effect.Effect<
25 () => Effect.Effect<SVC.InvalidateProjectCacheOutput, SVC.InvalidateProjectCacheError>
26 >
27 > {}
28 export const InvalidateProjectCache = Binding.Service<InvalidateProjectCache>(
29 "AWS.CodeBuild.InvalidateProjectCache",
30 );