AWS SDK for Ruby
Developer Guide

Deleting a Queue in Amazon SQS

The following example deletes the Amazon SQS queue with the URL URL in the us-west-2 region.

require 'aws-sdk-sqs' # v2: require 'aws-sdk' sqs = Aws::SQS::Client.new(region: 'us-west-2') sqs.delete_queue(queue_url: URL)