Search code examples
amazon-web-servicesaws-sdkamazon-mobile-analytics

How to change the identity pool id of an App in Amazon Mobile Analytics console


I have already set up Amazon's S3 and DynamoDB in an iPhone App so I have Cognito going and an identity pool with the proper roles / policies set up.

I am now trying to also use the Analytics, but cannot work it out.

I have set up an app in Mobile Analytics but According to this PDF from Amazon I can change the pool id / or set up a new app with a choice of an ID. I cannot do that.

How Do I change the pool id for an existing app set up in Mobile Analytics?

To make the question even simpler. How do I get this view in the console?

enter image description here enter image description here


Solution

  • It helps to ask a question, you usually stumble across the answer.

    So my existing Cognito identity pool was an EU pool.

    Mobile Analytics are currently only supported in US East. Or to put a positive spin on that are "Global". :-)

    In any case I am guessing that you don't get the drop down choice at all if you don't have an identity pool for US East. It would be better if there was a hint there instead.

    In Cognito as I have only ever had one identity I did not realise that you only saw the pool identities based on your region choice on the top right. So I worked out that there was a newly created id pool there.

    Once I worked out this I could then add a role to the automatically created identity pool id and then use this ID in my app.