admin管理员组文章数量:1356905
Trying to use the SNS Java API for text messaging.
PublishRequest publishRequest = PublishRequest.builder()
.message(message)
.phoneNumber(phoneNumber)
.messageAttributes(Map.of(
"AWS.SNS.SMS.SMSType", MessageAttributeValue.builder()
.stringValue("Transactional") // Can be "Promotional" or "Transactional"
.dataType("String")
.build()
))
.build();
I am unable to pass the configuration set to track the SMS delivery. I can configure it in End User Messaging service however unable to set it against each delivery. Any thoughts?
本文标签: javaAWS SNS Configuration SetStack Overflow
版权声明:本文标题:java - AWS SNS Configuration Set - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744007908a2575028.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论