@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.29 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 ListDistributedGrants}.
7 */
8 export interface ListDistributedGrantsRequest extends licensemanager.ListDistributedGrantsRequest {}
9
10 /**
11 * Runtime binding for `license-manager:ListDistributedGrants` — list the
12 * grants this account has distributed to other accounts.
13 *
14 * Provide the implementation with
15 * `Effect.provide(AWS.LicenseManager.ListDistributedGrantsHttp)`.
16 * ### Managing Grants
17 * **Example:** List Distributed Grants
18 * ```typescript
19 * // init
20 * const listDistributedGrants =
21 * yield* AWS.LicenseManager.ListDistributedGrants();
22 *
23 * // runtime
24 * const { Grants } = yield* listDistributedGrants();
25 * ```
26 *
27 * @binding
28 */
29 export interface ListDistributedGrants extends Binding.Service<
30 ListDistributedGrants,
31 "AWS.LicenseManager.ListDistributedGrants",
32 () => Effect.Effect<
33 (
34 request?: ListDistributedGrantsRequest,
35 ) => Effect.Effect<
36 licensemanager.ListDistributedGrantsResponse,
37 licensemanager.ListDistributedGrantsError
38 >
39 >
40 > {}
41 export const ListDistributedGrants = Binding.Service<ListDistributedGrants>(
42 "AWS.LicenseManager.ListDistributedGrants",
43 );