I'm using the DynamoDBMapper batchDelete method that returns a list of DynamoDBMapper.FailedBatch. Reading the documentation, the suggestion is to retry to delete the items related to the failed requests.
- How can I convert the FailedBatch to the pojo objects (to be deleted objects) in order to retry with these?
- Is it possible to simulate a failure scenario?