@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 30 lines 1.07 KB
Raw
1 import type * as mi from "@distilled.cloud/aws/iot-managed-integrations";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Runtime binding for `iotmanagedintegrations:GetCustomEndpoint`
7 * (account-level).
8 *
9 * Reads the account's custom MQTT endpoint address — the address devices
10 * connect to for Managed integrations traffic. Provide the implementation
11 * with `Effect.provide(AWS.IoTManagedIntegrations.GetCustomEndpointHttp)`.
12 *
13 * ### Connectivity
14 * **Example:** Resolve the Custom Endpoint
15 * ```typescript
16 * const getCustomEndpoint = yield* IoTManagedIntegrations.GetCustomEndpoint();
17 *
18 * const { EndpointAddress } = yield* getCustomEndpoint();
19 * ```
20 *
21 * @binding
22 */
23 export interface GetCustomEndpoint extends Binding.Service<
24 GetCustomEndpoint,
25 "AWS.IoTManagedIntegrations.GetCustomEndpoint",
26 () => Effect.Effect<() => Effect.Effect<mi.GetCustomEndpointResponse, mi.GetCustomEndpointError>>
27 > {}
28 export const GetCustomEndpoint = Binding.Service<GetCustomEndpoint>(
29 "AWS.IoTManagedIntegrations.GetCustomEndpoint",
30 );