@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 43 lines 1.37 KB
Raw
1 import type * as licensemanager from "@distilled.cloud/aws/license-manager";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Request for {@link ListResourceInventory}.
7 */
8 export interface ListResourceInventoryRequest extends licensemanager.ListResourceInventoryRequest {}
9
10 /**
11 * Runtime binding for `license-manager:ListResourceInventory` — list the
12 * resource inventory (instances and their platform details) discovered by
13 * License Manager via Systems Manager inventory.
14 *
15 * Provide the implementation with
16 * `Effect.provide(AWS.LicenseManager.ListResourceInventoryHttp)`.
17 * ### Resource Inventory and Specifications
18 * **Example:** List Discovered Resources
19 * ```typescript
20 * // init
21 * const listInventory = yield* AWS.LicenseManager.ListResourceInventory();
22 *
23 * // runtime
24 * const { ResourceInventoryList } = yield* listInventory();
25 * ```
26 *
27 * @binding
28 */
29 export interface ListResourceInventory extends Binding.Service<
30 ListResourceInventory,
31 "AWS.LicenseManager.ListResourceInventory",
32 () => Effect.Effect<
33 (
34 request?: ListResourceInventoryRequest,
35 ) => Effect.Effect<
36 licensemanager.ListResourceInventoryResponse,
37 licensemanager.ListResourceInventoryError
38 >
39 >
40 > {}
41 export const ListResourceInventory = Binding.Service<ListResourceInventory>(
42 "AWS.LicenseManager.ListResourceInventory",
43 );