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

main
ts 39 lines 1.24 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 * Request for {@link GetDeviceDiscovery}.
7 */
8 export interface GetDeviceDiscoveryRequest extends mi.GetDeviceDiscoveryRequest {}
9
10 /**
11 * Runtime binding for `iotmanagedintegrations:GetDeviceDiscovery`
12 * (account-level).
13 *
14 * Reads the status of a discovery scan started with
15 * {@link StartDeviceDiscovery}. Provide the implementation with
16 * `Effect.provide(AWS.IoTManagedIntegrations.GetDeviceDiscoveryHttp)`.
17 *
18 * ### Discovering Devices
19 * **Example:** Poll a Discovery Scan
20 * ```typescript
21 * const getDiscovery = yield* IoTManagedIntegrations.GetDeviceDiscovery();
22 *
23 * const { Status } = yield* getDiscovery({ Identifier: discoveryId });
24 * ```
25 *
26 * @binding
27 */
28 export interface GetDeviceDiscovery extends Binding.Service<
29 GetDeviceDiscovery,
30 "AWS.IoTManagedIntegrations.GetDeviceDiscovery",
31 () => Effect.Effect<
32 (
33 request: GetDeviceDiscoveryRequest,
34 ) => Effect.Effect<mi.GetDeviceDiscoveryResponse, mi.GetDeviceDiscoveryError>
35 >
36 > {}
37 export const GetDeviceDiscovery = Binding.Service<GetDeviceDiscovery>(
38 "AWS.IoTManagedIntegrations.GetDeviceDiscovery",
39 );