使用 SDK,我可以创建一个队列并获取队列列表 - 但不知何故,我无法将消息发送到任何队列。使用了以下内容:
$sqs = new AmazonSQS();
$sqs->set_region(AmazonSQS::REGION_SINGAPORE);
$queues = $sqs->get_queue_list();
$response = $sqs->send_message($queues[0], $message);
但是,我收到了错误:
[Type] => Sender
[Code] => AWS.SimpleQueueService.NonExistentQueue
[Message] => The specified queue does not exist for this wsdl version.
$queues 如下:(xxxxx 是一个数字)
Array
(
[0] => https://sqs.ap-southeast-1.amazonaws.com/1001xxxxxxxx/website-email
)
有任何想法吗?