v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-144090233.6 KB

Returns the URL of an existing Amazon SQS queue.

To access a queue that belongs to another AWS account, use the QueueOwnerAWSAccountId parameter to specify the account ID of the queue's owner. The queue's owner must grant you permission to access the queue. For more information about shared queue access, see AddPermission or see Allow Developers to Write Messages to a Shared Queue in the Amazon SQS Developer Guide.

get/#Action=GetQueueUrl

Query parameters

QueueNamestring required
<p>The name of the queue whose URL must be fetched. Maximum 80 characters. Valid values: alphanumeric characters, hyphens (<code>-</code>), and underscores (<code>_</code>).</p> <p>Queue URLs and names are case-sensitive.</p>
QueueOwnerAWSAccountIdstring

The Amazon Web Services account ID of the account that created the queue.

Action'GetQueueUrl' required
Version'2012-11-05' required

Response

Success