gpt4 book ai didi

amazon-web-services - AWS SNS 不再发送 SMS

转载 作者:行者123 更新时间:2023-12-04 18:00:52 27 4
gpt4 key购买 nike

我一直在使用 Amazon SNS 发送 SMS 一段时间,但两天前它停止工作。我没有改变任何东西。即使我尝试从控制台发送短信,它仍然无法正常工作。

最近几天我只有 35% 的交货率,但从昨天开始,它根本不起作用。

最佳答案

我也一直在为此苦苦挣扎。我注意到 SNS 服务顶部有一个横幅,上面写着:

Important changes for sending text messages (SMS) to US destinationsEffective June 1, 2021, US telecom providers no longer supportperson-to-person (P2P) long codes for sending SMS messages to USdestinations. To continue to send SMS messages to US destinations,register and use a valid origination ID. Learn more


所以基本上这意味着如果你想向美国电话号码发送短信,你必须使用 Pinpoint 设置一个可以是免费电话号码的“来源 ID”。它们每月花费 2 美元,并且可以立即创建。请注意,您应该在 Cognito 在幕后使用的区域内创建它。例如,我在 US-East-2 区域部署了 Cognito,但 Cognito 实际上将使用来自 US-East-1 的 SNS 服务,因此我在那里创建了原始 ID,一切都重新开始工作。
我希望这对其他人有帮助!

关于amazon-web-services - AWS SNS 不再发送 SMS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54242154/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com