Then click IAM
Then click policy. find your policy or create a new policy
set service to IOT
set action to iot:*
set resouce to all resources (I have difficulty to know how to set specific resource. So I just set it all for the experiment)
now i am able to publish to AWS thing shadow/update,
i need help to get shadow from thing, can u help in that ?