2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
you can configure the SDk like
// Load the SDK for JavaScript
var AWS = require('aws-sdk');
// Set the region
AWS.config.update({region: 'us-west-2'});
List your Queue like
// Load the AWS SDK for Node.js
var AWS = require('aws-sdk');
// Set the region
AWS.config.update({region: 'REGION'});
// Create an SQS service object
var sqs = new AWS.SQS({apiVersion: '2012-11-05'});
var params = {};
sqs.listQueues(params, function(err, data) {
if (err) {
console.log("Error", err);
} else {
console.log("Success", data.QueueUrls);
}
});
For more details please follow this guide from AWS : https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/sqs-examples-using-queues.html
répondu il y a 5 ans
0
This is what i was looking for thanks you so much for sharing actually i am leaning node and aws both same and newbie so thanks a lot.
répondu il y a 5 ans
Contenus pertinents
- demandé il y a 6 mois
- Réponse acceptéedemandé il y a un an
- demandé il y a un an
- demandé il y a un mois
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 3 mois