aws sqs get-queue-url
The GetQueueUrl API returns the URL of an existing Amazon SQS queue. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--queue-name(Required) The name of the queue for which you want to fetch the URL.--queue-owner-aws-account-id(Optional) The Amazon Web Services account ID of the account that created the queue.