@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 32 lines 1.17 KB
Raw
1 import type * as amp from "@distilled.cloud/aws/amp";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Runtime binding for `aps:GetDefaultScraperConfiguration`.
7 *
8 * An account-level binding — call it with no arguments to get a callable
9 * that returns the AWS-managed default scraper configuration as Prometheus
10 * scrape-configuration YAML text (decoded from the wire blob). Provide the
11 * `GetDefaultScraperConfigurationHttp` layer on the Function to satisfy the
12 * binding.
13 *
14 * ### Scraper Configuration
15 * **Example:** Read the Default Scraper Configuration
16 * ```typescript
17 * const getDefaultScraperConfiguration =
18 * yield* AMP.GetDefaultScraperConfiguration();
19 *
20 * const yaml = yield* getDefaultScraperConfiguration();
21 * ```
22 *
23 * @binding
24 */
25 export interface GetDefaultScraperConfiguration extends Binding.Service<
26 GetDefaultScraperConfiguration,
27 "AWS.AMP.GetDefaultScraperConfiguration",
28 () => Effect.Effect<() => Effect.Effect<string, amp.GetDefaultScraperConfigurationError>>
29 > {}
30 export const GetDefaultScraperConfiguration = Binding.Service<GetDefaultScraperConfiguration>(
31 "AWS.AMP.GetDefaultScraperConfiguration",
32 );