我一直在寻找有关SMS的AWS SNS服务的信息。
我想在请求AWS帐户从SMS沙箱中移出之前,请确保问题。
我正在尝试在Heroku上运行的产品上使用此服务,这意味着我必须在 us East(N。Virginia)上使用该区域
us-east-1
。但是产品用户主要生活在亚洲。我在沙盒模式下对其进行了测试,并且可以接收消息。
这是一个问题:
如果AWS帐户退出SMS Sandbox并尝试将SMS发送到新电话号码,我是否仍然需要先验证电话号码,然后它可以接收消息?
我阅读了这两个文档,但无法确保服务。非常感谢任何答案,以帮助我弄清楚。
I keep looking for the informaion on AWS SNS services of SMS.
I would like to make sure the question before I request AWS account being moved out of the SMS sandbox.
I am trying to use this services on a product running on Heroku, which means I have to use the region on US East (N. Virginia)
us-east-1
. But the product users mainly live in Asia. I test it in sandbox mode, and it can receive the message.
Here comes the question:
If AWS account exits SMS sandbox and try to send SMS to a new phone number, do I still need to verify the phone number first then it can receive the message?
I read those two document, but cannot ensure the services. Really appreciate any answers to help me figure out.
发布评论
评论(2)
您可以在CLI中对其进行测试,然后在您的应用中
获取app
中的客户端数量
aws sns create-sms-sandbox-phone-number -phone-number
向客户询问代码并将其放入此语法
aws sns verify-sms-sandbox-phone-number -phone-number-one-pass-password
发送
aws sns publish------“你好朋友,你被订阅了!” - 电话数
:
在应用程序中:
You can test it in CLI and then in you app
get the number of your client in app
put the value in this sintaxe:
aws sns create-sms-sandbox-phone-number --phone-number
ask the customer for the code and put it in this syntax
aws sns verify-sms-sandbox-phone-number --phone-number --one-time-password
send it
aws sns publish --message "Hello friend, you are subscribed!" --phone-number
IN CLI:
IN APP:
您无需验证您希望将SMS消息发送到SMS Sandbox后发送短信的电话号码。这严格来说是对SMS沙箱中帐户的要求。
You do not need to verify phone numbers you wish to send SMS messages to once you have exited the SMS sandbox. This is strictly a requirement for accounts in the SMS sandbox.