CmdID / aws / aws iot-data
aws iot-data delete-connection
Disconnects a connected MQTT client from Amazon Web Services IoT Core. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--clean-sessionSpecifies whether to remove the client's persistent session state when disconnecting.--client-idThe unique identifier of the MQTT client to disconnect.--prevent-will-messageControls if Amazon Web Services IoT Core publishes the client's Last Will and Testament (LWT) message upon disconnection.