Neurotic Programmer Masquerade
Miss any of our Open RFC calls?Watch the recordings here! »

typescript-aws-sqs-helper

1.0.131 • Public • Published

typescript-aws-sqs-helper

Typescript helper functions for AWS SQS service

Build Status Tests Code Coverage

NPM Version Downloads

Install

npm install typescript-aws-sqs-helper@latest

Usage

Default - running in Lambda in your own account

const logger = new Logger(LogLevel.Trace);
 
const helper = new SQSHelper(logger);
 
const response = await helper.DeleteMessageAsync('queueUrl',
    'receiptHandle');

Running in separate account or not in Lambda

const logger = new Logger(LogLevel.Trace);
 
const options: AWS.SQS.ClientConfiguration = {
    accessKeyId: '{access_key}',
    secretAccessKey: '{secret_key}',
    region: 'us-east-1',
};
 
const repository = new AWS.SQS(options);
 
const helper = new SQSHelper(logger,
    repository);
 
const response = await helper.DeleteMessageAsync('queueUrl',
    'receiptHandle');

Install

npm i typescript-aws-sqs-helper

DownloadsWeekly Downloads

112

Version

1.0.131

License

MIT

Unpacked Size

70.1 kB

Total Files

21

Last publish

Collaborators

  • avatar