By using AWS re:Post, you agree to the Terms of Use
/What is a thingId?/

What is a thingId?

0

Hi,

I noticed that if I query the Thing registry through the Java SDK (describeThing() function), the return value, DescribeThingResponse, has a "thingId" property. I don't see this value when I examine the thing in the AWS console. What is its purpose?

Is it safe to ignore the thingId in my application and just use the thingName as the unique identifier?

Thanks, Frank

  • just out of interest, what does the thingId look like ? Is it a guid ?

  • Yes it's a UUID.

asked 4 months ago7 views
1 Answers
1
Accepted Answer

Is it safe to ignore the thingId in my application and just use the thingName as the unique identifier?

Yes. The thingName is effectively the primary key in that the APIs use that as the input to identify the Thing. The thingId is only returned in the response. Although you can use it for searching if you have fleet indexing enabled.

answered 4 months ago
  • Great, thanks again for your help.

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