getRetainedMessage
inline suspend fun IotDataPlaneClient.getRetainedMessage(crossinline block: GetRetainedMessageRequest.Builder.() -> Unit): GetRetainedMessageResponse
Gets the details of a single retained message for the specified topic.
This action returns the message payload of the retained message, which can incur messaging costs. To list only the topic names of the retained messages, call ListRetainedMessages.
Requires permission to access the GetRetainedMessage action.
For more information about messaging costs, see Amazon Web Services IoT Core pricing - Messaging.