Node.js

Initialize

Install Berlioz SDK:

$ npm install --save berlioz-gcp

Include Berlioz SDK:

const berlioz = require('berlioz-sdk');

Accessing Kinesis Stream

const AWS = require('aws-sdk');
berlioz.queue('<queue-name>').client(AWS)

Wraps AWS SDK and return instance of Kinesis. All operations return Promise.