1.0.9 • Published 5 years ago

aws-sdk-service-wrapper v1.0.9

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

AWS SDK Service Wrapper

Wrapper around aws-sdk services.

Introduction

aws-sdk-service-wrapper is a wrapper around aws service functions. e.g sns service: publish function When aws-sdk is widely used in the project, (especially in serverless lambda), logic needs to be written to call .promise() function for each services you use. And also handling of the aws error gets repetitive. To avoid this, this wrapper can be used.

The wrapper will also have AWS custom service extention feature such as function combining two functions etc. eg emptyFolderKey :- combine S3 listing and deleting

Installation

Using npm

npm install -s aws-sdk-service-wrapper

Using yarn

yarn add aws-sdk-service-wrapper

Usage

const SNS = require('aws-sdk-service-wrapper')();

SNS .publish({ region, topicArn, message }) .then(/ ... /) .catch(/ ... /)

AWS Services

AWS ServiceFunctions
SNSpublish
SQSsendMessage, deleteMessage
S3listObjectsV2, deleteObjects, emptyBucketFolder
1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago