Ruby on rails AWS SNS OTP短信未收到

Ruby on rails AWS SNS OTP短信未收到,ruby-on-rails,amazon-web-services,amazon-sns,Ruby On Rails,Amazon Web Services,Amazon Sns,我正在使用rails api使用AWS SNS服务发送OTP 使用gem-aws-sdk-sns 以下是我用来发送短信的型号中的代码 require 'aws-sdk-sns' @sns_client = Aws::SNS::Client.new(region: "ap-southeast-1", access_key_id: "ABCDEF", secret_access_key: "0cdxGJ0mdsdfsdfsfsdfsfd

我正在使用rails api使用AWS SNS服务发送OTP

使用gem-aws-sdk-sns

以下是我用来发送短信的型号中的代码

 require 'aws-sdk-sns'
 @sns_client = Aws::SNS::Client.new(region: "ap-southeast-1", access_key_id: "ABCDEF", 
    secret_access_key: "0cdxGJ0mdsdfsdfsfsdfsfdsdfsdf" )
 @sns_client.publish({
                      phone_number: 9898989898,
                      message: "#{message}"
                    })
我得到了成功的回复,但没有在手机上收到信息

以下是我从AWS发布方法得到的响应

 #<struct Aws::SNS::Types::PublishResponse message_id="00479629-bb20-5da2-96dd-cf2ae244142f", sequence_number=nil>
#