title: Authorization when sending a text message using AmazonSNSClient
body: <p>The official aws documentation on <a href="http://docs.aws.amazon.com/sns/latest/dg/sms_publish-to-phone.html" rel="noreferrer">how to send a Textmessage</a> with the aws SDK in java is pretty straightforward.</p>
  <p>However, when sending a message like shown in the example at the bottom, I'm getting the error <code>User: arn:aws:iam::xxx:user/sms-testing is not authorized to perform: SNS:Publish on resource: +999999999</code></p>
  <p>Note that <code>+999999999</code> is the phone number passed to the <code>.withPhoneNumber()</code> call, so the aws api complains about my IAM user not having the necessary permission to <code>SNS:Publish</code> a message to the resource with that phone number.</p>
  <p>My question: How do I create an IAM user which is able to send SMS notifications through the java SDK? Currently, it looks like I would have to create a permission for each number I'm sending messages to, which seems weird and hard to maintain.</p>