CmdID / aws / aws iot-data
aws iot-data list-retained-messages
Lists summary information about the retained messages stored for the account. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--max-resultsThe maximum number of results to return at one time.--next-tokenTo retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.