1.0.8 • Published 2 years ago

@novo-x/aws-sqs v1.0.8

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

AWS SQS Service

Available methods

  • push: pushes message to the queue

Usage examples

yarn add @novo-x/aws-sqs

import {SQS} from "@novo-x/aws-sqs"

const MyService = new SQS({
    apiVersion: 'latest',
    region: 'eu-west-3',
    endpoint: 'https://my-queue.com'
});

MyService.updateAwsConfig({
    // ... AWS config
})

const msg = await MyService.push(
    'some data', // body
    {
        "Some Atribute": {
            DataType: "Some Type",
            StringValue: 'someValue'
        }
    }, // message attributes
    'https://my-queue.com' // queueUrl
);

Dependencies

aws-sdk

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago