Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS API Gateway Service Proxy to Kinesis Firehose

Can anyone tell me if there is currently an option to bind the Kinesis Firehose delivery stream to an API Gateway Endpoint via Service Proxy. I attempting to do it using the Kinesis service type with the Firehose PutRecord action and the new PutRecordRequest json but the gateway failed specifying errors that it was trying to map the incoming request model to the regular kinesis PutRecordRequest model.

like image 895
Ryan Fisch Avatar asked Oct 16 '15 03:10

Ryan Fisch


2 Answers

If you are calling Kinesis firehose from API Gateway, the service type should be firehose and then you can give the PutRecord command which invokes firehose.

Here are the different kinesis services that are mapped in API.

AWS Service in API Gateway ---> Respective application

Kinesis ---> Kinesis Streams

Firehose ---> Kinesis Firehose

Kinesis Analytics ---> Kinesis Analytics

Thanks & Regards, Srivignesh KN

like image 135
Srivignesh KN Avatar answered Sep 19 '22 00:09

Srivignesh KN


Kinesis Firehose support is available in the AWS API Gateway Console as of yesterday.

like image 40
Bryce Thomas Avatar answered Sep 18 '22 00:09

Bryce Thomas