Amazon Web ServicesAmazon SQS 消息队列 API
获取队列 URL
根据队列名称获取现有 Amazon SQS 队列 URL。 官方英文详细说明: <p>The <code>GetQueueUrl</code> API returns the URL of an existing Amazon SQS queue. This is useful when you know the queue's name but need to retrieve its URL for further operations.</p> <p>To access a queue owned by another Amazon Web Services account, use the <code>QueueOwnerAWSAccountId</code> parameter to specify the account ID of the queue's owner. Note that the queue owner must grant you the necessary permissions to access the queue. For more information about accessing shared queues, see the <code> <a>AddPermission</a> </code> API or <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-writing-an-sqs-policy.html#write-messages-to-shared-queue">Allow developers to write messages to a shared queue</a> in the <i>Amazon SQS Developer Guide</i>. </p>
Amazon Simple Queue Service 的完整 23 个官方 action;保留 AWS JSON 1.0、AWS Query 兼容性、SigV4 与区域 Endpoint 规则。Hub 提供文档和本地 SDK/CLI,不代理队列调用。
请求
- operationId
GetQueueUrl- 服务器
https://sqs.{Region}.{PartitionResult#dnsSuffix}- 认证
- awsSigV4
请求参数
无 URL、查询或 Header 参数。
Body 参数
string必填
响应
200
string
成功响应。
error
string
Declared service error