@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 38 lines 1.18 KB
Raw
1 import type * as fms from "@distilled.cloud/aws/fms";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Request for {@link ListResourceSets}.
7 */
8 export interface ListResourceSetsRequest extends fms.ListResourceSetsRequest {}
9
10 /**
11 * Runtime binding for `fms:ListResourceSets`.
12 *
13 * Returns an array of `ResourceSetSummary` objects for the resource sets in the administrator's account. Provide the
14 * implementation with `Effect.provide(AWS.FMS.ListResourceSetsHttp)`.
15 * ### Resource Sets
16 * **Example:** List Resource Sets
17 * ```typescript
18 * // init — account-level binding takes no resource
19 * const listResourceSets = yield* AWS.FMS.ListResourceSets();
20 *
21 * // runtime
22 * const result = yield* listResourceSets();
23 * console.log(result.ResourceSets?.length);
24 * ```
25 *
26 * @binding
27 */
28 export interface ListResourceSets extends Binding.Service<
29 ListResourceSets,
30 "AWS.FMS.ListResourceSets",
31 () => Effect.Effect<
32 (
33 request?: ListResourceSetsRequest,
34 ) => Effect.Effect<fms.ListResourceSetsResponse, fms.ListResourceSetsError>
35 >
36 > {}
37
38 export const ListResourceSets = Binding.Service<ListResourceSets>("AWS.FMS.ListResourceSets");