Skip to content

Get Queue Url

sqs_get_queue_url R Documentation

Returns the URL of an existing Amazon SQS queue

Description

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 add_permission or see Allow Developers to Write Messages to a Shared Queue in the Amazon SQS Developer Guide.

Usage

sqs_get_queue_url(QueueName, QueueOwnerAWSAccountId)

Arguments

QueueName

[required] The name of the queue whose URL must be fetched. Maximum 80 characters. Valid values: alphanumeric characters, hyphens (-), and underscores (⁠_⁠).

Queue URLs and names are case-sensitive.

QueueOwnerAWSAccountId

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

Value

A list with the following syntax:

list(
  QueueUrl = "string"
)

Request syntax

svc$get_queue_url(
  QueueName = "string",
  QueueOwnerAWSAccountId = "string"
)