最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

java - AWS SNS Configuration Set - Stack Overflow

programmeradmin1浏览0评论

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?

发布评论

评论列表(0)

  1. 暂无评论