How to make chat api for android and iphone using AWS?

How to make chat api for android and iphone using AWS ? Please suggest your view that could help for my development process