I am trying to invoke kinesis through my lambda function . Here is my code

```
const AWS = require( 'aws-sdk' );
AWS.config.update({ region: 'us-east-1' });
var firehose = new AWS.Firehose();
exports.handler = async (event,context,callback) => {
    // TODO implement
    const response = {
        statusCode:200,
        Name:event.Name,
        Value:event.Value
    };
const params = {
  DeliveryStreamName: 'kinesis-fh-pika', 
  Record: { Data: new Buffer(JSON.stringify(response)) }
};

firehose.putRecord(params, (err, data) => {
if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);
});
};

```

Here is my Events

```
{
  "Name": "sara",
  "Value": 10
}

```

I am not getting any error in the lambda. It is always showing the reponse as `null`. I even tried enabling logs but didnt find any weird behaviour .

Am i missing anything ?

Thanks