A solution to our problem of interfacing against Amazon SNS