Can Amazon Pinpoint Monetization events be created via the REST API? - aws-pinpoint

I'm investigating Amazon Pinpoint as an SMS campaign engine which we would integrate via the REST APIs.
Having reviewed the documentation about Monetization events, they are only discussed in the context of iOS/Android SDKs or the JavaScript SDK.
https://docs.aws.amazon.com/mobileanalytics/latest/ug/defining-a-monetization-event-sdk.html
The REST API documentation does not specifically mention Monetization events.
https://docs.aws.amazon.com/pinpoint/latest/apireference/rest-api-events.html#rest-api-events-attributes-eventsrequest-table
Is it possible to use the REST API to create a monetization event? If possible, I'm assuming it is a particular value of EventType which I need to use for a monetisation event but this is not documented anywhere.
Thanks!
Michael

Related

Are there Webhooks for Google My Business (GMB)?

Does Google offer webhooks for Google My Business (GMB)?
I don't see any mention in the official docs: https://developers.google.com/my-business/reference/rest
I have already "googled" this question.
Google My Business does not support webhooks. Instead, you can set up real-time notifications using GCP Pub/Sub.
https://developers.google.com/my-business/content/notification-setup

How to make 3rd party api call in dialogflow's inline editor

How to make 3rd party api call in dialogflow using inline editor please share if you have some code regarding this.
Thank you
You cannot make external network requests (for example an API call) from the inline editor. You need to deploy your code elsewhere. The easiest way to do this is by deploying to a paid Firebase plan. From Google:
Network calls originating from your Cloud Function for Firebase to destinations outside Google's network require billing to be enabled for the underlying Google Cloud or Firebase project.
You can create an API with the technology that you want, as long as the response from the API can be understand by Dialogflow.
You need to configure it by going to Fulfillment, and point it to your API.
The API needs to respond with this structure: Dialogflow.
And If you plan to integrate with Actions on Google, you have this repository which includes some examples of responses.
And here you have some libraries to interact with Dialogflow with different languages.

ChatBot QnaMaker(Microsoft Azure) vs Lex (Amazon AWS)

Looking to make a chatbot on either Microsoft QnaMaker or Lex.
I would like to be able to make API calls to request answer to the question (node.js), train the bot using the API.
Currently I am using QnaMaker but unfortunately it doesn't seem to have response cards where user can click on it.
I know that Amaazon Lex allows this but do they allow training of bot through API?
Yes, you can make intents, put utterances and slots using the API's.
Lex support two types of API's - Model Building API and Runtime API. What you need is Model Building API.
As you are working with node.js, you should be referring this page and read more and more about putIntent() method.
Hope it helps.

Where is Microsoft.ServiceBus.Notifications.NotificationHubClient?

I have started learning about notification hubs and have gone through some tutorials.
Now I need to send messages from my ASP.NET WebAPI 2 backend to the notification hub. So I decided to learn about the Notification Hubs Rest API.
On this link It is written that Microsoft already provides a .NET wrapper around the REST API in the Microsoft.ServiceBus.Notifications.NotificationHubClient on this page.
But on clicking the link it says topic is no longer available.
Now I need to learn about how to send push notifications from my asp.net web api backend and azure website seems to have only one tutorial which is this
So can someone please point out where is Microsoft.ServiceBus.Notifications.NotificationHubClient or some tutorials or other library if this one is outdated
is there a specific reason you want to implement the solution using REST API directly? I would not recommend that unless you have the reason. There is a Microsoft.Azure.NotificationHubs library that you can use for your Web API solution, and the tutorial you mentioned is the right one (you can install it using NuGet). For more fast proof of concept implementation, you can skip the authentication part here, however it is good one to know.

how to create slack incoming webhook using the api

Is there a way to create the webhooks using an api. I want to automate a group creation and would help having a webhook creation api. But i cant find any doc on how to do this.
Thanks
Suppandi
Slack does not currently have an API to programmatically create webhooks, thought it is something we're planning on doing in the future. Until then, manually creating them is the recommended approach: https://my.slack.com/services/new
Stumbled on this while searching myself and now slack has api for generating incoming webhooks programmatically

Resources