What IS the principal? The cert? And Arn? this should be more descriptive and there should be an example.
Describe the issue
principal | Required | String | undefined | The principal.
Links
https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot/command/ListPrincipalThingsCommand/
Hi @jknotamzn - thanks for checking in.
Principal is mentioned in the docs description, second sentence. Does that help?
A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.
So is it an Arn then?
"The principal." should be "The principal's ARN" "The Things." should be "An array of thing names" or "An array of thing ARNs"
Just seems that the documentation for much of the IoT stuff is lacking in this way, its very vague.
Thanks for your feedback, I'll pass it along to the docs team. Here's service docs that explains three types of identity principals that client IoT support for your reference: https://docs.aws.amazon.com/iot/latest/developerguide/client-authentication.html
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.