CmdID

CmdID / aws / aws iot-data

aws iot-data send-direct-message

Sends an MQTT message directly to a specific client identified by its client ID. AWS CLI reference

10 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

10 in the AWS CLI reference
--client-idThe unique identifier of the MQTT client to send the message to.
--confirmationA Boolean value that specifies whether to wait for delivery confirmation from the receiving client.
--content-typeThe MQTT5 content type property forwarded to the receiving client (for example, application/json).
--correlation-dataThe base64-encoded binary data used by the sender of the request message to identify which request the response message is for when it's received.
--payload-format-indicatorAn Enum string value that indicates whether the payload is formatted as UTF-8.
--payloadThe message body.
--response-topicA UTF-8 encoded string that's used as the topic name for a response message.
--timeoutAn integer that represents the maximum time, in seconds, to wait for a delivery confirmation (PUBACK) from the receiving client after the message has been delivered.
--topicThe topic of the outbound MQTT Publish message to the receiving client.
--user-propertiesA JSON string that contains an array of JSON objects.