-
Notifications
You must be signed in to change notification settings - Fork 549
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttachPolicyRequest using programmatically not working in android #1812
Comments
Please check this code #600 (comment)
|
@kirantpatil I tried its not working |
Please try this #1552 (comment) |
@kirantpatil There is no attachpolicyrequest. |
@rjuliano, Any updates on this issue ? Why no one is answering to this question, we even went and purchased aws developer subscription to my surprise they are again asking us to go back to github. What should we do, since we are struck here ? Thank you. |
Dear @anuragdce, Did you face this issue ? Thanks. |
I think you need to add below code. Found at https://stackoverflow.com/questions/44244375/aws-iot-android-application-over-mqtt-throws-mqttexception-0-java-io-ioexcep
|
Hi all,
|
I have been trying to fix my issue for days. You are awesome. Thank you! |
Hi All,
I am trying to do attaching policy request for cognito identity user using programmatically instead using aws cli. Through aws cli attaching successfully and also working fine. But programmatically not working. It gives exception like Cognito Identity not configured .
This is my sample code
I am getting below exception
Exception : com.amazonaws.AmazonClientException: Cognito Identity not configured
By using below command is working fine.
aws iot attach-principal-policy --policy-name <iot-policy-name> --principal <cognito-identity-id>
Please guide me how to attach policy request through programmatically.
Thanks in Advance.
The text was updated successfully, but these errors were encountered: