Hotfix for SNS topics not delivering to SMS subscriptions. Result of SNS backend (silently?) failing when hitting SMS length limits from large JSON payloads. The following protocols are supported:
:message_structure allows sending a different message for each protocol. We're only setting a specific message for SMS, then defaulting to the previous payload for the remaining protocols. Would've been nice to use #html for "email", but SNS unfortunately only renders plain/text.
Hotfix for SNS topics not delivering to SMS subscriptions. Result of SNS backend (silently?) failing when hitting SMS length limits from large JSON payloads. The following protocols are supported:
:message_structure
allows sending a different message for each protocol. We're only setting a specific message for SMS, then defaulting to the previous payload for the remaining protocols. Would've been nice to use#html
for"email"
, but SNS unfortunately only rendersplain/text
.@miketang415