Comments (2)
You'll also need to specify the path of your queue.
The path is made up of your AWS account number and the queue name, so your above example should work if you do something like
function createClient() {
return aws.createSQSClient(config.awskeyid,
config.secretkey,
{secure:false});
}
function sendMessage(queue_path, message, callback) {
var sqs = createClient();
sqs.call("SendMessage", {
path: queue_path,
MessageBody: message
}, callback);
}
"queue_path" should be the path at the end of the URL returned by a call to CreateQueue: http://docs.amazonwebservices.com/AWSSimpleQueueService/2009-02-01/APIReference/index.html?Query_QueryCreateQueue.html
from aws-lib.
Thanks got it.
from aws-lib.
Related Issues (20)
- Authentification failure on region eu-central-1 : Signature v3 / v4 ? HOT 2
- Paging with Product Advertising API? HOT 1
- ItemLookup does not work in the prodAdv.call
- Can't pull customer reviews HOT 1
- Add support for accessing AWS using a federated user
- SignatureDoesNotMatch
- Error in ReceiptHandle when I use DeleteMessage SQS? HOT 2
- SNS example
- How to use Product Advertising API for other countries such as amazon.de?
- RDS client test
- IAM Secret Key HOT 1
- SignatureDoesNotMatch HOT 1
- Instance Metadata code fails due to incorrect variable assignment.
- prod-adv.js HOT 1
- IAM role support is not working HOT 1
- Merge "timeout" pull request
- How does this library differ from the official AWS SDK? HOT 3
- error: connect EHOSTUNREACH
- what is the yourAssociateTag meant to be? HOT 1
- Product Advertising: Setting Region not working? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-lib.