title: How to configure SNS delivery status with the AWS SDK?
body: <p>If you create an SNS Topic and, in the Amazon Console, open the <code>Delivery Status</code> options under <code>Other topic actions</code>, you can see this:</p>
  
  <p><a href="https://i.stack.imgur.com/hse8f.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hse8f.png" alt="SNS Topic Delivery Status"></a></p>
  
  <p>As you can see, it's possible now to get SNS delivery status feedback by configuring success and failure IAM roles. This works fine and I can see all the logs in CloudWatch for all published messages to each subscriber.</p>
  
  <p>What I <strong>can't</strong> do is to set these values with the <code>Java AWS SDK</code>, is there any way of doing this?</p>
  
  <p>I'm using <code>aws-java-sdk:1.10.23</code> (latest as of now)</p>