2.0.45 • Published 4 years ago

typescript-aws-sqs-helper v2.0.45

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

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

import * as SQS from '@aws-sdk/client-sqs';

const logger = new Logger(LogLevel.Trace);

const options: SQS.SQSClientConfig = {
  accessKeyId: '{access_key}',
  secretAccessKey: '{secret_key}',
  region: 'us-east-1',
};

const repository = new SQS.SQS(options);

const helper = new SQSHelper(logger, repository);

const response = await helper.DeleteMessageAsync('queueUrl', 'receiptHandle');

Notes

If no options are supplied, will default to us-east-1 as the region

Development

Clone the latest and run

npm run prep

to install packages and prep the git hooks

2.0.45

4 years ago

2.0.44

4 years ago

2.0.43

4 years ago

2.0.42

4 years ago

2.0.41

5 years ago

2.0.40

5 years ago

2.0.39

5 years ago

2.0.38

5 years ago

2.0.30

5 years ago

2.0.15

5 years ago

1.0.193

5 years ago

2.0.14

5 years ago

2.0.2

5 years ago

1.0.171

5 years ago

1.0.158

5 years ago

1.0.131

5 years ago

1.0.110

5 years ago

1.0.97

5 years ago

1.0.82

6 years ago

1.0.66

6 years ago

1.0.65

6 years ago

1.0.43

6 years ago

1.0.41

6 years ago

1.0.36

6 years ago

1.0.29

6 years ago

1.0.28

6 years ago

1.0.20

6 years ago

1.0.18

6 years ago

1.0.16

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.15

6 years ago

1.0.14

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago