@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, 06:00 UTC

main
ts 38 lines 1.32 KB
Raw
1 import type * as imagebuilder from "@distilled.cloud/aws/imagebuilder";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Runtime binding for `imagebuilder:ListImagePackages`.
7 *
8 * Lists the OS packages that Systems Manager Inventory recorded inside an
9 * image at build time (only available once the build is `AVAILABLE`). Build
10 * versions are created dynamically by pipeline runs, so this is an
11 * account-level binding. Provide the implementation with
12 * `Effect.provide(AWS.ImageBuilder.ListImagePackagesHttp)`.
13 * ### Observing Builds
14 * **Example:** List the Packages Inside a Built Image
15 * ```typescript
16 * // init — account-level binding, no resource argument
17 * const listImagePackages = yield* AWS.ImageBuilder.ListImagePackages();
18 *
19 * // runtime
20 * const { imagePackageList } = yield* listImagePackages({
21 * imageBuildVersionArn,
22 * });
23 * ```
24 *
25 * @binding
26 */
27 export interface ListImagePackages extends Binding.Service<
28 ListImagePackages,
29 "AWS.ImageBuilder.ListImagePackages",
30 () => Effect.Effect<
31 (
32 request: imagebuilder.ListImagePackagesRequest,
33 ) => Effect.Effect<imagebuilder.ListImagePackagesResponse, imagebuilder.ListImagePackagesError>
34 >
35 > {}
36 export const ListImagePackages = Binding.Service<ListImagePackages>(
37 "AWS.ImageBuilder.ListImagePackages",
38 );