3
votes

I currently have a sensor sending data to AWS but I'm having issues figuring out the current status. For example, the sensor sends it's most recent status and I would like to view its status via http/s. Im currently trying to via my devices current status via

https://endpoint/things/thingName/shadow

or

https://something.iot.region.amazonaws.com/things/MyDevice/shadow

The only response I get back is the following.

{"message":"Custom Authorizers are not allowed for this
API","traceId":"123432-2343-23423-2343-12132432"}

I know that there's some form of authentication but I cannot seem to find any example on how to call these endpoints.

1

1 Answers

2
votes

Read the Authorization section here.

The Thing Shadows service accepts two forms of authentication: Signature Version 4 with IAM credentials or TLS mutual authentication with a client certificate.

It might be easier for you to use the AWS SDK to retrieve the thing shadow.