Skip to content

DeleteThingShadow

Source: src/AWS/IoT/DeleteThingShadow.ts

Runtime binding for the IoT data-plane DeleteThingShadow operation (IAM action iot:DeleteThingShadow).

Bind it to a Thing to delete the thing’s device shadow — the thing name is injected automatically. Provide the implementation with Effect.provide(AWS.IoT.DeleteThingShadowHttp).

const deleteShadow = yield* AWS.IoT.DeleteThingShadow(thing);
yield* deleteShadow({ shadowName: "telemetry" });