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

main
ts 33 lines 1.2 KB
Raw
1 import type * as greengrassv2 from "@distilled.cloud/aws/greengrassv2";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Runtime binding for `greengrass:ListComponents`.
7 *
8 * Enumerates the account's component definitions (latest version of each),
9 * optionally scoped to `PRIVATE` or `PUBLIC` components — the entry point
10 * for fleet-software inventory tooling. Provide the implementation with
11 * `Effect.provide(AWS.GreengrassV2.ListComponentsHttp)`.
12 * ### Reading Components
13 * **Example:** List Private Components
14 * ```typescript
15 * // init — account-level binding, no resource argument
16 * const listComponents = yield* AWS.GreengrassV2.ListComponents();
17 *
18 * // runtime
19 * const { components } = yield* listComponents({ scope: "PRIVATE" });
20 * ```
21 *
22 * @binding
23 */
24 export interface ListComponents extends Binding.Service<
25 ListComponents,
26 "AWS.GreengrassV2.ListComponents",
27 () => Effect.Effect<
28 (
29 request?: greengrassv2.ListComponentsRequest,
30 ) => Effect.Effect<greengrassv2.ListComponentsResponse, greengrassv2.ListComponentsError>
31 >
32 > {}
33 export const ListComponents = Binding.Service<ListComponents>("AWS.GreengrassV2.ListComponents");