sendDirectMessage
inline suspend fun IotDataPlaneClient.sendDirectMessage(crossinline block: SendDirectMessageRequest.Builder.() -> Unit): SendDirectMessageResponse
Sends an MQTT message directly to a specific client identified by its client ID.
SendDirectMessage targets a single client ID. The receiving client does not need to subscribe to the topic, but the receiver's policy must allow iot:Receive on the specified topic.
Requires permission to access the SendDirectMessage action.
For more information about messaging costs, see Amazon Web Services IoT Core pricing.