Java (SDK V2) Code Samples for Amazon Kinesis - AWS Code Sample