Skip to content

ListDeviceDiscoveries

Source: src/AWS/IoTManagedIntegrations/ListDeviceDiscoveries.ts

Runtime binding for iotmanagedintegrations:ListDeviceDiscoveries (account-level).

Lists the discovery scans in the account, optionally filtered by type or status — useful for finding a running scan before polling it with GetDeviceDiscovery. Provide the implementation with Effect.provide(AWS.IoTManagedIntegrations.ListDeviceDiscoveriesHttp).

const listDiscoveries = yield* IoTManagedIntegrations.ListDeviceDiscoveries();
const { Items } = yield* listDiscoveries({ StatusFilter: "RUNNING" });