Updated SQS region logic to fail gracefully when the QueueUrl is not valid.