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

main
ts 37 lines 1.11 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 ListLicenses}.
7 */
8 export interface ListLicensesRequest extends licensemanager.ListLicensesRequest {}
9
10 /**
11 * Runtime binding for `license-manager:ListLicenses` — list the
12 * seller-issued licenses owned by the account.
13 *
14 * Provide the implementation with
15 * `Effect.provide(AWS.LicenseManager.ListLicensesHttp)`.
16 * ### Reading Licenses and Grants
17 * **Example:** List Owned Licenses
18 * ```typescript
19 * // init
20 * const listLicenses = yield* AWS.LicenseManager.ListLicenses();
21 *
22 * // runtime
23 * const { Licenses } = yield* listLicenses();
24 * ```
25 *
26 * @binding
27 */
28 export interface ListLicenses extends Binding.Service<
29 ListLicenses,
30 "AWS.LicenseManager.ListLicenses",
31 () => Effect.Effect<
32 (
33 request?: ListLicensesRequest,
34 ) => Effect.Effect<licensemanager.ListLicensesResponse, licensemanager.ListLicensesError>
35 >
36 > {}
37 export const ListLicenses = Binding.Service<ListLicenses>("AWS.LicenseManager.ListLicenses");