1.3.1 • Published 4 years ago

aws-sdk-light v1.3.1

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

AWS SDK Light

npm npm.io

This package is primarily focused at enabling Apigee users to integrate with AWS services directly from a JavaScript Policy. However it can certainly be used by anyone.

Although there are already many great libraries that allow integration into AWS services (including the actual aws-sdk!) I found that the situation I was in did not allow me to use them :sob: :rage:.

Key things about why I made this:

Installation

Available on npm

npm install aws-sdk-light

Overview

Importing

// import entire SDK
var awsSdkLight = require('aws-sdk-light');

// import single module
var awsSdkLight = require('aws-sdk-light/clients/lambda');

Usage

var awsSdkLight = require('aws-sdk-light');

var options = {
  accessKeyId: '<value>',
  secretAccessKey: '<value>',
  region: '<value>'
};
var lambda = new awsSdkLight.Lambda(options);

var params = {
  FunctionName: 'hello-world',
  Payload: <string>
};
lambda.invoke(params, function(err, data) {
  if (err) {
    console.log(err);
  } else {
    console.log(data)
  }
});

Documentation

1.3.1

4 years ago

1.3.0

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.0

4 years ago

1.2.1

4 years ago

1.1.15

4 years ago

1.1.14

4 years ago

1.1.13

4 years ago

1.1.12

4 years ago

1.1.11

4 years ago

1.1.10

4 years ago

1.1.9

4 years ago

1.1.8

4 years ago

1.1.7

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.2

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago