Skip to content

DeleteCoreDevice

Source: src/AWS/GreengrassV2/DeleteCoreDevice.ts

Runtime binding for greengrass:DeleteCoreDevice.

Deregisters a core device from IoT Greengrass (the backing IoT thing is untouched) — the fleet-decommissioning primitive for automation that retires devices. The caller supplies the core device thing name at runtime. Provide the implementation with Effect.provide(AWS.GreengrassV2.DeleteCoreDeviceHttp).

// init — account-level binding, no resource argument
const deleteCoreDevice = yield* AWS.GreengrassV2.DeleteCoreDevice();
// runtime
yield* deleteCoreDevice({ coreDeviceThingName: "RetiredCore" });