本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
列出与委托人相关的内容 V2
要列出与指定证书相关的内容以及附件类型,请运行该list-principal-things-v2
$ aws iot list-principal-things-v2 \ --principal "arn:aws:iot:
us-east-1:123456789012
:cert/2e1eb273792174ec2b9bf4e9b37e6c6c692345499506002a35159767055278e8
"
输出可能如下所示。
{ "PrincipalThingObjects": [ { "thingPrincipalType": "NON_EXCLUSIVE_THING", "thing": "arn:aws:iot:
us-east-1
:123456789012
:thing/thing_1
" }, { "thingPrincipalType": "NON_EXCLUSIVE_THING", "thing": "arn:aws:iot:us-east-1
:123456789012
:thing/thing_2
" } ] }
有关更多信息,请参阅 AWS IoT Core API 参考中的 ListPrincipalThingsV2。