DescribeDimension - AWS IoT
AWS 文档中描述的 AWS 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅中国的 AWS 服务入门

DescribeDimension

获取有关可用于 AWS IoT Device Defender 安全配置文件的行为中的维度的信息。

有关更多信息,请参阅 API 参考中的 DescribeDimension

摘要:

aws iot describe-dimension \ --name <value> \ [--cli-input-json <value>] \ [--generate-cli-skeleton]

此示例获取名为 TopicFilterForAuthMessages 的维度的定义。

aws iot describe-dimension --name TopicFilterForAuthMessages

响应类似于以下内容。

{ "name": "TopicFilterForAuthMessages", "arn": "arn:aws:iot:eu-west-2:1123456789012:dimension/TopicFilterForAuthMessages", "type": "TOPIC_FILTER", "stringValues": [ "device/+/auth" ], "creationDate": 1578620223.255, "lastModifiedDate": 1578620223.255 }

cli-input-json 格式:

{ "name": "string" }

输出:

{ "arn": "string", "creationDate": number, "lastModifiedDate": number, "name": "string", "type": "string", "string-values": "string", "additional-metrics-to-retain-v2": [ "string" ] }
aws iot describe-dimension --name myAdminTopicDimension

响应看起来与以下内容类似。

{ "name": "TopicFilterForAuthMessages", "arn": "arn:aws:iot:eu-west-2:123456789012:dimension/TopicFilterForAuthMessages", "type": "TOPIC_FILTER", "string-values": "device/+/auth", "creationDate": 1578620223.255, "lastModifiedDate": 1578620223.255 }