There are more AWS SDK examples available in the AWS Doc SDK Examples
Build an Amazon Transcribe streaming app
The following code example shows how to build an app that records, transcribes, and translates live audio in real-time, and emails the results.