How to get AWS IOT client id?

Whenever you define a thing in AWS IoT, a unique identifier will be assigned to your device in your AWS IoT account. By default it is same as the name of thing(defaultClientId) and you can use it for connect to the AWS IoT broker. You can retrieve informaiotn about your thing by using AWS SDKs(or name of your device). For example by using Python SDK:

import boto3
client = boto3.client('iot')
response = client.describe_thing(
    thingName = [Name of your thing in AWS IoT]
)

print(response)