DeleteConnection
Source:
src/AWS/IoT/DeleteConnection.ts
Runtime binding for the IoT data-plane DeleteConnection operation (IAM
action iot:DeleteConnection).
Binding to a client id filter grants iot:DeleteConnection on matching
MQTT client ARNs (or all clients when the filter is omitted) and returns
a callable that force-disconnects a connected client, optionally cleaning
its session state. Provide the implementation with
Effect.provide(AWS.IoT.DeleteConnectionHttp).
MQTT Connections
Section titled “MQTT Connections”const deleteConnection = yield* AWS.IoT.DeleteConnection("sensor-*");
yield* deleteConnection({ clientId: "sensor-1", cleanSession: true });