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

main
ts 45 lines 1.36 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 GetServiceSettings}.
7 */
8 export interface GetServiceSettingsRequest extends licensemanager.GetServiceSettingsRequest {}
9
10 /**
11 * Runtime binding for `license-manager:GetServiceSettings` — read the
12 * account's License Manager settings (S3 report bucket, SNS alert topic,
13 * organization integration).
14 *
15 * Provide the implementation with
16 * `Effect.provide(AWS.LicenseManager.GetServiceSettingsHttp)`.
17 * ### Resource Inventory and Specifications
18 * **Example:** Read the Account's Service Settings
19 * ```typescript
20 * // init
21 * const getServiceSettings =
22 * yield* AWS.LicenseManager.GetServiceSettings();
23 *
24 * // runtime
25 * const { SnsTopicArn, EnableCrossAccountsDiscovery } =
26 * yield* getServiceSettings();
27 * ```
28 *
29 * @binding
30 */
31 export interface GetServiceSettings extends Binding.Service<
32 GetServiceSettings,
33 "AWS.LicenseManager.GetServiceSettings",
34 () => Effect.Effect<
35 (
36 request?: GetServiceSettingsRequest,
37 ) => Effect.Effect<
38 licensemanager.GetServiceSettingsResponse,
39 licensemanager.GetServiceSettingsError
40 >
41 >
42 > {}
43 export const GetServiceSettings = Binding.Service<GetServiceSettings>(
44 "AWS.LicenseManager.GetServiceSettings",
45 );