Skip to content

StartDeviceDiscovery

Source: src/AWS/IoTManagedIntegrations/StartDeviceDiscovery.ts

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

Starts a discovery scan for devices reachable through a controller (ZWAVE/ZIGBEE), a cloud-to-cloud connector (CLOUD), or a custom protocol. Provide the implementation with Effect.provide(AWS.IoTManagedIntegrations.StartDeviceDiscoveryHttp).

// init — account-level binding takes no resource
const startDiscovery = yield* IoTManagedIntegrations.StartDeviceDiscovery();
// runtime
const { Id } = yield* startDiscovery({
DiscoveryType: "ZIGBEE",
ControllerIdentifier: controllerManagedThingId,
});