title: How can I know if AWS SNS SMS fails?
body: <p>How can I know if AWS SNS SMS fails? I want to use SNS to send phone verification code and I need to know if sending SMS has failed (so I can send it again maybe through another service).</p>
  
  <p>In nexmo for example there are error codes for all kinds of scenarios <a href="https://docs.nexmo.com/messaging/sms-api/api-reference#status-codes" rel="nofollow noreferrer">https://docs.nexmo.com/messaging/sms-api/api-reference#status-codes</a> . I tried searching AWS docs and forums and have not found any  similar feedbacks that allow error handling. I did find reference to CloudWatch usage but I don’t think it fits my use case (or am i missing something?).</p>
  
  <p>I am using PHP sdk.</p>
  
  <p>Thanks for any help!</p>