title: AWS Boto3 SQS endpoint URL issue
body: <p>We have a Lambda function that sends messages to SQS queue.
  We are using boto3.</p>
  <p>We have built a new environment and Lambda is running in a VPC on a private subnet.
  The VPC end point is com.amazonaws.eu-west-2.sqs</p>
  <p>Lambda code</p>
  <pre><code>sqs = boto3.resource('sqs')
  # Get the queue
  
  queue = sqs.get_queue_by_name(QueueName=QueueID)
  </code></pre>
  <p>This gives us the following error
  EndpointConnectionError: Could not connect to the endpoint URL: &quot;https://eu-west-2.queue.amazonaws.com/&quot;</p>
  <p>We have tried the following change</p>
  <pre><code>sqs = boto3.client('sqs')
  # Get the queue
  queue = sqs.get_queue_url(QueueName=QueueID, QueueOwnerAWSAccountId='xxxxxxxxxxxx')
  </code></pre>
  <p>We get the same error</p>
  <p>It is a legacy endpoint issue but we do not know how to use the new endpoints in the Lambda function.</p>