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, 06:00 UTC
| 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 ListDiscoveredDevices}. |
| 7 | */ |
| 8 | export interface ListDiscoveredDevicesRequest extends mi.ListDiscoveredDevicesRequest {} |
| 9 | |
| 10 | /** |
| 11 | * Runtime binding for `iotmanagedintegrations:ListDiscoveredDevices` |
| 12 | * (account-level). |
| 13 | * |
| 14 | * Lists the devices found by a discovery scan, including the managed thing |
| 15 | * id assigned to each already-onboarded device. Provide the implementation |
| 16 | * with `Effect.provide(AWS.IoTManagedIntegrations.ListDiscoveredDevicesHttp)`. |
| 17 | * |
| 18 | * ### Discovering Devices |
| 19 | * **Example:** List Devices Found by a Scan |
| 20 | * ```typescript |
| 21 | * const listDiscovered = yield* IoTManagedIntegrations.ListDiscoveredDevices(); |
| 22 | * |
| 23 | * const { Items } = yield* listDiscovered({ Identifier: discoveryId }); |
| 24 | * ``` |
| 25 | * |
| 26 | * @binding |
| 27 | */ |
| 28 | export interface ListDiscoveredDevices extends Binding.Service< |
| 29 | ListDiscoveredDevices, |
| 30 | "AWS.IoTManagedIntegrations.ListDiscoveredDevices", |
| 31 | () => Effect.Effect< |
| 32 | ( |
| 33 | request: ListDiscoveredDevicesRequest, |
| 34 | ) => Effect.Effect<mi.ListDiscoveredDevicesResponse, mi.ListDiscoveredDevicesError> |
| 35 | > |
| 36 | > {} |
| 37 | export const ListDiscoveredDevices = Binding.Service<ListDiscoveredDevices>( |
| 38 | "AWS.IoTManagedIntegrations.ListDiscoveredDevices", |
| 39 | ); |