如何使用PHP在AWS SNS上获取交付报告信息?

时间:2013-12-10 17:58:36

标签: php amazon-web-services amazon-sns

我使用AWS php SDK发送SNS消息。我正在使用APNS。我已经按照SDK示例,没有问题。我的大部分消息都被发送,但有些消息似乎失败了。根据SNS文档,如果我收到一个消息ID - 我每次都是这样 - 那么消息已经保存到队列中。如何获取有关这些失败消息的更多详细信息?尝试在AWS和APNS之间发送消息时,消息显然失败。

$result = $client->publish(array(
    'TopicArn' => 'string',
    'TargetArn' => 'string',
    // Message is required
    'Message' => 'string',
    'Subject' => 'string',
    'MessageStructure' => 'string',
));

0 个答案:

没有答案