The best way to control Claude Code, Codex and more from any computer or phone
| 1 | import type * as microvms from "@distilled.cloud/aws/lambda-microvms"; |
| 2 | import * as Binding from "alchemy/Binding"; |
| 3 | import type * as Effect from "effect/Effect"; |
| 4 | import type { MicrovmImage } from "./MicrovmImage.ts"; |
| 5 | |
| 6 | export interface GetMicrovmImageVersionRequest extends Omit< |
| 7 | microvms.GetMicrovmImageVersionInput, |
| 8 | "imageIdentifier" |
| 9 | > {} |
| 10 | |
| 11 | /** |
| 12 | * Runtime binding for `GetMicrovmImageVersion`. |
| 13 | * |
| 14 | * Bind it to a {@link MicrovmImage} to read the configuration and state of a |
| 15 | * specific image version (the `imageIdentifier` is injected). |
| 16 | * ### Image Reads |
| 17 | * |
| 18 | * @binding |
| 19 | */ |
| 20 | export interface GetMicrovmImageVersion extends Binding.Service< |
| 21 | GetMicrovmImageVersion, |
| 22 | "AWS.Lambda.GetMicrovmImageVersion", |
| 23 | ( |
| 24 | image: MicrovmImage, |
| 25 | ) => Effect.Effect< |
| 26 | ( |
| 27 | request: GetMicrovmImageVersionRequest, |
| 28 | ) => Effect.Effect<microvms.GetMicrovmImageVersionOutput, microvms.GetMicrovmImageVersionError> |
| 29 | > |
| 30 | > {} |
| 31 | export const GetMicrovmImageVersion = Binding.Service<GetMicrovmImageVersion>( |
| 32 | "AWS.Lambda.GetMicrovmImageVersion", |
| 33 | ); |