title: Filtering SQS queues based on tags in boto3
body: <p>I have the code to filter the SQS queues based on the queue name prefix. But, now I want to filter the queues based on tags instead of &quot;queue name prefix&quot;. Is there a way to do it in boto3?</p>
  <p>Here is the code to filter the sqs queues based on their name prefix. This code returns all the SQS queues in my account that starts with the name &quot;Queue&quot;</p>
  <pre><code>import boto3
  sqs = boto3.client('sqs')
  
  response = sqs.list_queues(QueueNamePrefix = 'Queue')
  queue_array = response[&quot;QueueUrls&quot;]
  print(queue_array)
  </code></pre>