aws/aws-sdk-ruby — pull request #338 by jjmason (2013-08-23 01:12:32+00:00)
Title: Include information in SQS BatchSendError to facilitate retries

The `BatchSendError` raised by `Queue#batch_send` does not include useful information to identify which messages failed.

This pull request adds the message body of the failed message, and its index in the array of messages passed to `batch_send` to each item the errors `failures` list.