@novo-x/aws-sqs
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @novo-x/aws-sqs

Weekly Downloads

0

Version

1.0.8

License

ISC

Unpacked Size

74.9 kB

Total Files

6

Last publish

Collaborators

  • lautarobruno
  • agustin-novolabs
  • novo-tincho
  • nicolas.novolabs
  • mati-novolabs
  • alejitowow
  • nahuelprieto