CmdID / aws / aws iot-data
aws iot-data get-connection
Retrieves connection information for the specified MQTT client. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--client-idThe unique identifier of the MQTT client to retrieve connection information.--include-socket-informationSpecifies if socket information (sourcePort, targetPort, sourceIp, targetIp) should be included in the GetConnection response.