aws iot list-dimensions
The IoT Device Defender detect feature will no longer be available to new customers starting August 31, 2026. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To list the dimensions for your AWS account
The following list-dimensions example lists all AWS IoT Device Defender dimensions that are defined in your AWS account.
aws iot list-dimensionsIdentifyIts output
{
"dimensionNames": [
"TopicFilterForAuthMessages",
"TopicFilterForActivityMessages"
]
}For more information, see Detect Commands in the AWS IoT Developer Guide.
Options
--max-resultsThe maximum number of results to retrieve at one time.--next-tokenThe token for the next set of results.