Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-lite/sqs

Package Overview
Dependencies
Maintainers
0
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-lite/sqs

Official `aws-lite` plugin for SQS

  • 0.2.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

@aws-lite/sqs

Official aws-lite plugin for SQS

Maintained by: @architect

Install

npm i @aws-lite/sqs

Optionally install types:

npm i -D @aws-lite/sqs-types

Reference

Reference documentation with examples at aws-lite.org

Methods

SendMessage

Canonical AWS API doc

Properties:

  • MessageBody (string) [required]
    • Message to send, from 1b - 256KiB
  • QueueUrl (string) [required]
    • SQS queue URL to send the message to
  • DelaySeconds (number)
    • Seconds, from 0 - 900, to delay a message
  • MessageAttributes (object)
  • MessageDeduplicationId (string)
    • Ensures request is idempotent; may only be used for FIFO queues
  • MessageGroupId (string)
    • Tag specifying a specific message group; may only be used for FIFO queues
  • MessageSystemAttributes (object)

GetQueueAttributes

Canonical AWS API doc

Properties:

  • QueueUrl (string) [required]
    • SQS queue URL to retrieve attribute information from
  • AttributeNames (array)
    • List of attribute names (strings) to retrieve

ReceiveMessage

Canonical AWS API doc

Properties:

  • QueueUrl (string) [required]
    • SQS queue URL from which messages are received
  • AttributeNames (array)
    • List of attribute names (strings) to be returned along with each message
  • MaxNumberOfMessages (number)
    • Maximum number of messages to return
  • MessageAttributeNames (array)
    • The name of the message attribute
  • MessageSystemAttributeNames (array)
    • A list of attributes that need to be returned along with each message
  • ReceiveRequestAttemptId (string)
    • The token used for deduplication of ReceiveMessage calls
  • VisibilityTimeout (number)
    • The duration (in seconds) that the received messages are hidden from subsequent retrieve requests after being retrieved by a ReceiveMessage request
  • WaitTimeSeconds (number)
    • The duration (in seconds) for which the call waits for a message to arrive in the queue before returning

DeleteMessage

Canonical AWS API doc

Properties:

  • QueueUrl (string) [required]
    • SQS queue URL from which messages are deleted
  • ReceiptHandle (string) [required]
    • The receipt handle associated with the message to delete

Methods yet to be implemented

Please help out by opening a PR!

Learn more

FAQs

Package last updated on 01 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc