Sample code for 30+ languages & platforms
Python

AWS Translate Examples for Python