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 ListDeviceDiscoveries}. |
| 7 | */ |
| 8 | export interface ListDeviceDiscoveriesRequest extends mi.ListDeviceDiscoveriesRequest {} |
| 9 | |
| 10 | /** |
| 11 | * Runtime binding for `iotmanagedintegrations:ListDeviceDiscoveries` |
| 12 | * (account-level). |
| 13 | * |
| 14 | * Lists the discovery scans in the account, optionally filtered by type or |
| 15 | * status — useful for finding a running scan before polling it with |
| 16 | * {@link GetDeviceDiscovery}. Provide the implementation with |
| 17 | * `Effect.provide(AWS.IoTManagedIntegrations.ListDeviceDiscoveriesHttp)`. |
| 18 | * |
| 19 | * ### Discovering Devices |
| 20 | * **Example:** List Running Discovery Scans |
| 21 | * ```typescript |
| 22 | * const listDiscoveries = yield* IoTManagedIntegrations.ListDeviceDiscoveries(); |
| 23 | * |
| 24 | * const { Items } = yield* listDiscoveries({ StatusFilter: "RUNNING" }); |
| 25 | * ``` |
| 26 | * |
| 27 | * @binding |
| 28 | */ |
| 29 | export interface ListDeviceDiscoveries extends Binding.Service< |
| 30 | ListDeviceDiscoveries, |
| 31 | "AWS.IoTManagedIntegrations.ListDeviceDiscoveries", |
| 32 | () => Effect.Effect< |
| 33 | ( |
| 34 | request?: ListDeviceDiscoveriesRequest, |
| 35 | ) => Effect.Effect<mi.ListDeviceDiscoveriesResponse, mi.ListDeviceDiscoveriesError> |
| 36 | > |
| 37 | > {} |
| 38 | export const ListDeviceDiscoveries = Binding.Service<ListDeviceDiscoveries>( |
| 39 | "AWS.IoTManagedIntegrations.ListDeviceDiscoveries", |
| 40 | ); |