Basin is a basic form backend that lets you collect data from submissions without writing a single line of code.
The Amazon SNS platform (SNS) is a web service that enables you to send an SMS or a text-enabled mobile push notification to targeted subscribers.Amazon SNS Integrations
It's easy to connect Basin + Amazon SNS without coding knowledge. Start creating your own business flow.
Amazon Simple Notification Service (Amazon SNS. is a service that enables you to easily create and distribute notifications from your application or web service. Using Amazon SNS, you can quickly deliver notifications to mobile devices, individual email addresses, or phone numbers in various formats such as SMS or email. Notifications can be sent from any application written in Java, .Net, PHP, Ruby, or Python. You can also send messages from the AWS Management Console. Notifications are delivered to subscribers by an Amazon SNS topic. A topic is a message queue that can receive messages published by multiple publishers.
The Basics of Amazon Simple Notification ServiceOne of the primary uses of Amazon SNS is to send push notifications from your mobile applications to your users. With Amazon SNS, you can send push notifications to millions of users at once. If you have an application for your website, you can use Amazon SNS to send notifications to users when new content is available. For example, if you have a news application, you can use Amazon SNS to push notifications to users when new news stories are available.
Applications written in Java, .Net, PHP, Ruby or Python can integrate with Amazon SNS by using the AWS SDKs. Once you integrate Amazon SNS into your application, you can send push notifications using the Amazon SNS API or the Amazon SNS console. You can also publish messages from the AWS Management Console. The following topics explain how to integrate Amazon SNS into your application:
Amazon Simple Notification Service Developer Guide
Integrating Amazon Simple Notification Service Into Your Application
In this section we will discuss how integration of Basin & Amazon SNS will benefit both parties. To understand the benefit of integration it is important to understand what is Basin and what is Amazon SNS?
Basin is a mobile app that allows people to contribute real-time updates about traffic congestion, road incidents and construction work happening on the road. The app notifies users about incidents and traffic jams on their route so that they can plan their trip accordingly before hitting the road. They can get live updates on incidents while they are on their way. It works as a two-way communication channel between drivers and the local authorities. It helps tackle traffic issues like congestion and accidents before they happen.
Amazon SNS is a service offered by Amazon Web Services (AWS. It is an internet messaging service designed for distributed applications and services. It enables developers to send messages to registered endpoints or applications using either HTTP/HTTPS or the AWS API Gateway. The messages are delivered using either Push (via HTTP/HTTPS. or Pull (via HTTPS/API Gateway. delivery methods. Amazon SNS also supports Request-response via HTTP/HTTPS or AWS API Gateway. It is useful in scenarios where a central system needs to broadcast information to many consumers across the Internet.
The following figure shows how Basin and Amazon SNS are integrated together:
When a user opens an application containing Basin SDK code then the SDK will start listening for push notification events on an Amazon SNS topic (e.g. basin_notification. When a push notification event occurs the SDK will subscribe to that specific event type on the Amazon SNS topic and process it accordingly. If a driver wants to report an incident then he/she need to first install the Basin app on their phone and create a profile using their details like name, email address etc., which will then be stored in the Basin's database. The user will then choose his/her preferred mode of reporting incidents like via text message, email or through social media like Facebook or Twitter and fill in all other details related to the incident and hit 'Report' button. This data will then be sent over to Basin via an endpoint provided by Basin and stored in its database (i.e. AWS RDS. The report will be marked as pending until it is approved by an admin or moderator who will approve it based on its validity. Once the report is approved it will be marked as 'Approved' in Basin's database and will be sent out via Amazon SNS to all registered subscribers of the 'basin_notification' topic which could be any number of other mobile apps, web services etc., for example:2. Incident Reporting App. This application will be similar to Basin's app but instead of sending out reports about incidents it will just display them on map in case of push notification being received from Basin's app. Its purpose is just for demonstration purposes so that users can see how incidents are being reported using Basin app and what kind of attacks have been reported recently on road network which can help them take necessary steps during their drive like avoiding that part of road. This app can also be used for other purposes like displaying all new reports from other users on a map etc.,3. Social Media App. This application will be used just for demonstration purposes so that users can see how social media apps can access real-time reports from Basin's app and display them on their front-end in real time so that their users can see what incidents have occurred recently around their location without having to install any specific app on their phone for this purpose only,
The process to integrate Basin and Amazon SNS may seem complicated and intimidating. This is why Appy Pie Connect has come up with a simple, affordable, and quick solution to help you automate your workflows. Click on the button below to begin.