Pinpoint - AWS Code Sample