1 Answer
- Newest
- Most votes
- Most comments
4
For those interested I figured this out through trial and error: The correct endpoint is the iot:Jobs endpoint. 'https://' must be prepended to the 'iot:Jobs' endpoint returned by 'describe-endpoint'. The endpoint must be passed into the IoTJobsDataPlaneClient constructor, along with temporary aws credentials.
This is an iam (not iot) method, so the assumed role for 'credentials.iot.amazonaws.com' that is associated with the certificate attached to the thing must have the ''iotjobsdata:GetPendingJobExecutions' permission for the thing resource. I hope this makes sense and helps others.
answered 2 years ago
Relevant content
asked 2 years ago
