title: Read messages from different AWS account using @SqsListener
body: <p>I have an SQS standard queue that is provided by a third party vendor who has given access to our IAM user to read messages from there. So the AWS account ID for the queue is different than the one of my user.</p>
  <p>I'm trying to use spring's <code>@SqsListener</code> annotation to consume these messages but I'm having trouble specifying the accountId that should be consumed from.</p>
  <p>My bean configuration for the client looks like this:</p>
  <pre class="lang-kotlin prettyprint-override"><code>@Bean
  fun amazonSQSAsyncClient(): AmazonSQSAsync = AmazonSQSAsyncClientBuilder.standard()
  .withCredentials(AWSStaticCredentialsProvider(BasicAWSCredentials(awsProperties.accessKey, awsProperties.secretKey)))                
  .withEndpointConfiguration(AwsClientBuilder.EndpointConfiguration(awsProperties.url, awsProperties.region))                
  .build() 
  </code></pre>
  <p>I see no way of specifying the account Id in the credentials, and I also could not find any properties that can be used to define an accountId.</p>
  <p>I tried setting the <code>awsProperties.url</code> shown above to something like <code>https://sqs.us-east-1.amazonaws.com/&lt;accountId&gt;</code> but this does not seem to be working. It is still trying to look for the queue in my own account Id and throwing a queue not found error.</p>
  <p>Any ideas how to fix this and force the Spring AWS bean to consume from a specific AwsAccount?</p>