2

我正在使用 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',
));
4

0 回答 0