Amazon SNS订阅正在等待移动终端的确认

时间:2019-02-22 09:36:08

标签: amazon-sns subscription

我创建了2个主题,然后订阅了Android设备的主题,所有主题均成功返回。

然后几天后,我打电话给GetSubscriptionAttributes。我发现订阅的PendingConfirmation之一为true(无法删除),而另一个为false。其他主题也发生了同样的情况。我不知道为什么订阅待定。我能做什么?

以下是错误的订阅属性:

{
    "Attributes" : {
        "RawMessageDelivery" : "false",
        "Endpoint" : "arn:aws:sns:us-west-2:owner:endpoint\/GCM\/12031_gcm_phone\/fack",
        "Owner" : "owner",
        "PendingConfirmation" : "true",
        "Protocol" : "application",
        "TopicArn" : "arn:aws:sns:us-west-2:owner:12031_off-3-zh-CN",
        "ConfirmationWasAuthenticated" : "true",
        "SubscriptionArn" : "arn:aws:sns:us-west-2:owner:12031_off-3-zh-CN:fack"
    },
   "ResponseMetadata" : {
        "HTTPStatusCode" : 200,
        "HTTPHeaders" : {
            "x-amzn-requestid" : "5d4831a7-ebb7-5c93-9140-654e7fdd2b47",
            "content-length" : "1307",
            "content-type" : "text\/xml",
            "date" : "Fri, 22 Feb 2019 06:09:46 GMT"
        },
        "RetryAttempts" : 0,
        "RequestId" : "5d4831a7-ebb7-5c93-9140-654e7fdd2b47"
    }
}

0 个答案:

没有答案