訂閱清單(aws sns list-subscriptions-by-topic
以及 UI)顯示可能已取消訂閱的訂閱「已刪除」。
{
"Subscriptions": [
{
"SubscriptionArn": "Deleted",
"Owner": "326764833890",
"Protocol": "email",
"Endpoint": "[email protected]",
"TopicArn": "arn:aws:sns:us-east-1:326764833890:my-sns"
},
{
"SubscriptionArn": "arn:aws:sns:us-east-1:326764833890:my-sns:65d23ee0-57e1-4ba5-86e7-2913bef8c9bf",
"Owner": "326764833890",
"Protocol": "email",
"Endpoint": "[email protected]",
"TopicArn": "arn:aws:sns:us-east-1:326764833890:my-sns"
}
]
}
所以,沒有什麼可以用來刪除的。透過 UI 刪除時,會顯示錯誤,抱怨 ARN 只有一部分而不是六個部分。
答案1
看起來沒有辦法刪除它們,但是,為同一端點建立新訂閱將簡單地替換它(一旦確認)。