Socket
Book a DemoInstallSign in
Socket

highland-aws

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

highland-aws

AWS API calls that return highland.js streams, with throttling handling, and pagination

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

aws-collection-stream

Takes care of any paginated or unpaginated AWS SDK call, and return the output as a highland.js stream of objects, handling throttling.

Installation

    npm install highland-aws

callPaginated

    const hAws = require ( 'hAws' );

    return hAws.callPaginated ( {
        serviceName: 'ECS',
        serviceRegion: 'eu-west-1',
        serviceMethod: 'listServices',
        parms: { maxResults: 5 }
    } )
        .errors ( error => console.error ( error ) )
        .each ( console.log );

call

    const hAws = require ( 'hAws' );

    return hAws.call ( {
        serviceName: 'ECS',
        serviceRegion: 'eu-west-1',
        serviceMethod: 'listServices',
        parms: { maxResults: 5 }
    } )
        .errors ( error => console.error ( error ) )
        .each ( console.log );

Keywords

AWS

FAQs

Package last updated on 01 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts