Skip to content

BatchDisassociateClientDeviceFromCoreDevice

Source: src/AWS/GreengrassV2/BatchDisassociateClientDeviceFromCoreDevice.ts

Runtime binding for greengrass:BatchDisassociateClientDeviceFromCoreDevice.

Removes up to 100 client-device associations from a core device — the cleanup half of client-device fleet management. The caller supplies the core device thing name and the client device entries at runtime. Provide the implementation with Effect.provide(AWS.GreengrassV2.BatchDisassociateClientDeviceFromCoreDeviceHttp).

// init — account-level binding, no resource argument
const disassociateClientDevices =
yield* AWS.GreengrassV2.BatchDisassociateClientDeviceFromCoreDevice();
// runtime
const { errorEntries } = yield* disassociateClientDevices({
coreDeviceThingName: "MyCore",
entries: [{ thingName: "RetiredSensor" }],
});