什么是thingId?

0

【以下的问题经过翻译处理】 我发现如果我通过Java SDK查询Thing注册表(describeThing()函数),返回值DescribeThingResponse有一个“thingId”属性。但是,当我在AWS控制台查看thing时,我看不到这个值。它的用途是什么?

在我的应用程序中忽略thingId并仅使用thingName作为唯一标识符是否安全?

profile picture
EXPERT
asked 5 months ago15 views
1 Answer
0

【以下的回答经过翻译处理】 是的,thingName 可以作为主键,因为API使用它作为输入来标识 Thing。thingId 仅在响应中返回。如果启用了fleet indexing,则可以使用它来进行搜索

profile picture
EXPERT
answered 5 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions