Disabling SMPP dleivery messages on SNS Original Number for 2 way chat sms - amazon

I had used amazon pinpoint and enable two way sms
I had used amazon lex for chat
I had lambda which trigger with SNS and it will send store message to dynamoDB
When user send response to pinpoint original number at that time user get smpp delivery receipt.
I want to disable that smpp delivery report

Related

Slack Incoming Web Hooks - Send message ONLY once

I push a lot (10Ks) of messages to Slack channel webhooks each month. It's not uncommon for the Slack API to return network errors, like ECONNRESET, meaning I don't know if the message was sent or not.
You can resend (POST) to the Slack chat.postMessage endpoint, but that might deliver the message twice.
Is there a way to idempotently send a Slack message once to a channel using Slack webhooks?
Slack Webhooks provide a very limited set of functionality.
Idempotency is not one of them.
https://api.slack.com/messaging/webhooks

is it possible to send broadcast messages using Twilio whatsapp API

I am trying to integrate Twilio WhatsApp API with my application, is it possible to send broadcast messages using Twilio.
Twilio developer evangelist here.
You can send outbound messages over WhatsApp using Twilio. There are some constraints though.
You need to get your users to explicitly opt in to receive WhatsApp messages
When you send a notification to a user, if it is more than 24 hours since the user sent you a message you can only send approved template messages.
Twilio Notify does not support WhatsApp, so to broadcast messages to a group of users you will need to make one API request per message using the regular Twilio messaging API.
Let me know if that helps at all.

How to use sns message filter to send to particular email?

Is it possible to send different message to different email endpoints having different subscription ARN.If possible suggest some way using message filtering.
All emails subscribed to same Topic .But requirement is to send rewards points balance based on email which is being fetched from a query either rest or dynamodb query.
It is not possible to customize Amazon SNS messages per-user. All recipients will receive the same message.
Yes, you can use Amazon SNS filtering to control which recipients get each message, but that isn't really a good idea for sending single messages.
I would recommend that you investigate Amazon Pinpoint:
Amazon Pinpoint is an AWS service that you can use to engage with your customers across multiple messaging channels. You can use Amazon Pinpoint to send push notifications, emails, SMS text messages, and voice messages.
It might be a better way to engage with your customers.

Slack API client for push notification

I'm building a Slack (instant messaging) chat client, I'm looking for a way to trigger a notification to receipent when a new message is sent to him, push notification of course.
What's the endpoint or stream API to be able to trigger a push notification to devices?
I think it should be some backend microservice listening for incoming messages in a channel with a list for users to notify.
If you want to get instant notifications about new messages posted to a channel you can either use the Real Time Messaging API (RTM API) or the Events API.
The main difference:
RTM API uses Websockets and you will receive a constant stream of events about everything that happens on the connected workspace.
Events API uses standard HTTP requests and Slack will only send events to your endpoint that you subscribed too.
There are many factors to consider when choosing the right API for a project. Please also see the official FAQ from Slack on the topic for more details.

How to extract message attributes from AWS SNS Notification?

I am writing a small node-express app that has a POST endpoint that is set to receive Amazon SNS notifications. I have done everything that is needed to receive SNS Notifications.
After reading Using Amazon SNS Message Attributes it seems that the Message Attributes set when publishing to a topic can be extracted and used. However I cannot see the Message attributes in the notifications I receive. Is it advisable to depend on data set in message attributes?
Or should we never try and extract message attributes because they are used for other purposes such as subscription filter policies perhaps?

Resources