title: How to retrieve ARN through AWS SDK for Go
body: <p>Is there a way to retrieve ARN of a resource through AWS SDK for Go? I created a couple of tables in DynamoDB and I want to retrieve the ARNs.</p>
  <p>The ARN format:
  <code>arn:aws:service:region:account-id:resource-type:resource-id</code></p>
  <p>How to retrieve the <code>account-id</code> and <code>region</code> via SDK for Go?</p>