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

aws-sqs-deletemessage

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-sqs-deletemessage

Delete message from AWS SQS

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

aws-sqs-deletemessage Build Status

Delete messages from AWS SQS

Install

$ npm install --save aws-sqs-deletemessage

Usage

const awsSqsDeletemessage = require('aws-sqs-deletemessage');

awsSqsDeletemessage('somequeue', 'SasuWXPJB+CwLj1FjgXUv1uSj1gUPAWV66FU/').then(id => {
	console.log(id);
	//=> 'b5293cb5-d306-4a17-9048-b263635abe4
});

awsSqsDeletemessage('somequeue', 'SasuWXPJB+CwLj1FjgXUv1uSj1gUPAWV66FU/', {awsAccountId: '123456789012'}).then(id => {
	console.log(id);
	//=> 'b5293cb5-d306-4a17-9048-b263635abe4
});

API

awsSqsDeletemessage(queueName, receipt, [options])

Returns a Promise for the request id of the delete action.

queueName

Type: string

Name of the queue where you want to remove a message

receipt

Type: string

Receipt handle of the message that you want to delete from the queue.

options
options.awsAccountId

Type: string
Default: caller id

AWS account ID of the account that created the queue.

License

MIT © Simon Jang

Keywords

FAQs

Package last updated on 02 May 2017

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