Socket
Socket
Sign inDemoInstall

aws-sqs-geturl

Package Overview
Dependencies
2
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    aws-sqs-geturl

Retrieve SQS url


Version published
Weekly downloads
70
decreased by-36.36%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

aws-sqs-geturl Build Status

Retrieve SQS url

Install

$ npm install --save aws-sqs-geturl

Usage

const awsGetSqsUrl = require('aws-sqs-geturl');

awsGetSqsUrl('somequeue').then(url => {
	console.log(url);
	//=> https://sqs.eu-west-1.amazonaws.com/123456789111/somequeue
});

awsGetSqsUrl('anotherqueue', {awsAccountId: '123456789012'}).then(url => {
	console.log(url);
	//=> https://sqs.us-west-1.amazonaws.com/123456789012/anotherqueue
});

API

awsGetSqsUrl(queueName, [options])

Returns a Promise for the queue URL.

queueName

Type: string

Name of queue

options
options.awsAccountId

Type: string
Default: caller account

AWS account ID of the account that created the queue.

License

MIT © Simon Jang

Keywords

FAQs

Last updated on 02 May 2017

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc