send sql query to kinesis analytics by sdk or restful api? - amazon-web-services

Any API allow to send SQL query from my server to kinesis analytics? I can not find related API in official SDK document.

You specify a SQL statement when you create an application via the API.
See doc: http://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_CreateApplication.html#API_CreateApplication_RequestSyntax
HTH

Related

AWS Glue - Is it possible to create a custom JDBC connector to WRITE into Salesforce DB

I need to do a POC if it is feasible use AWS Glue to READ data from AWS and WRITE it into Salesforce via JDBC custom connector.
Checking the docs like
AWS Custom Glue connectors docs : https://aws.amazon.com/blogs/big-data/developing-testing-and-deploying-custom-connectors-for-your-data-stores-with-aws-glue/
and the available marketplace options like from CData :
CData AWS Glue Salesforce Connector
It seems that it is only possible to READ from Salesforce and WRITE into AWS data stores. My usecase would be the inverse to update Salesforce objects using AWS Glue.
Does anybody have experience with that or knows if that is feasible with custom connectors?
Many thanks in advance.

Embedding Aws redshift database connection within SharePoint Online page or via Spfx

My scenario is there are various tables with Aws redshift database and I need to produce a report out of it based on a SharePoint item id and show it in either in SharePoint Online page or spfx
I am stuck and trying to find various ways to achieve the above, I am completely new to aws. I have tried creating sample aws redshift cluster ,database, tables, lambda function ,http api etc
I tried creating a .net core web api and used connectionstring to connect to aws redshift host but I am using username and password in the connection, I have read about iam role and and also secrets manager but confused as to which is the better way to embed user credentials in web api and if so how to do it..not able to find a article for the same.. ... even though if I create the .net core web api and if I try to create a http api and lambda integration how will the authentication work
since if I call the above private aws http api within spfx but SharePoint will pass Azure AD credentials, how will we authenticate a aws http api. Is there any better ways to call 3rd party aws apis within SharePoint online with authentication other than azure, how can it be achieved?
Or is it that there are some other ways to retrieve aws redshift database tables and show it within SharePoint page or SharePoint spfx...
I did check out the option for Power BI but not sure how helpful will that be if there is huge anount of data in redshift database
Any help is highly appreciated
Thanks

Connect AWS Kinesis Data Stream with Azure Function App

How to connect Kinesis Data Stream with Azure Function App as consumer, without using intermediary services?
You can use the Kinesis Client Library (KCL) and its documentation is here
You can also use Kinesis SDK (Python, Java or Nodejs) and use "Get Records" API to fetch records from the stream.
Get Records documentation is here

WSO2 Siddhi DynamoDB Store Extension

WSO2 siddhi currently doesn't have the extension for Amazon DynamoDB Store. Is there any possibility to connect DynamoDB as a storage backend for siddhi events?
Currently there is no connector for Amazon DynamoDB. Also AFAIK there is no REST API to interact with DynamoDB, only SDKs. If there is a REST API we might me able to use HTTP extension to connect with DynamoDB. However this is currently in roadmap and released in the future. If the requirement is urgent you can write your own DynamoDB store extension using java-SDK. Here is the guide for extension creation. You can refer MongoDB store implementation.

Web API to Google Cloud Pub Sub

I'm new to google cloud technologies.
If I have a streaming web API online where I want to access JSON data from and write it into Cloud Pub/Sub, Do I need to create a python app engine or something that reads that Web API and writes the data into Cloud Pub/Sub or is there an easier way?
Basically just poling a web API and getting JSON data.
There's multiple ways that this could be achieved:
Cloud Function: With the help of triggers, you could have the cloud function grab the data and write it to pub/sub using its API Service. Cloud functions uses a Nodejs runtime so you will need to use javascript to code the function.
Direct Stream: You can altogether skip the extra work and simply adapt your web service to use the Pub/Sub API service and write the data directly to it.
You can look into the Pub/Sub Client API Documentation which offer sample and guidance on how to properly use the API.
Hope this is helpful.