Code Monkey home page Code Monkey logo

node-red-contrib-aws's People

Contributors

daniel-t avatar lbaiao2019 avatar mblackstock avatar moriuchi avatar northernman54 avatar thiagobustamante avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

node-red-contrib-aws's Issues

How do I send msg.payload as the MessageBody to SQS?

I am fairly novice with Node-Red and can't figure out how to send the {msg.payload} object from a previous node as message data to SQS...
I've successfully sent messages to SQS but the message body is {msg.payload}, {{msg.payload}} or similar as that is what I've set for the message body in the node.

The same goes for DynamoDB... I've successfully created Items if I add the JSON in the node but I'd like to push it in on the Input.

Am I missing something or is it only using the text added in the Nodes as "body" to send to AWS?

[Feature Request] EC2 list instances

In the company I'm working, we handle hundreds of EC2 instances, all created usiong the same AWS account but internally charged back thanks to tags.

An interesting node is to list and filter EC2 instances.

Thanks to that, I should be able to monitor the EC2 charged to me and act in consequence

Add DynamoDB Converter Node (was AWS DynamoDB putitem params error)

Hi!
I'm trying to add an item to my DynamoDB table.
While it works if I input the item directly in the node's item field, I can't figure out how to do it dynamically via its msg input. I tried many things but every try so far yeilds this error: failed: InvalidParameterType: Expected params.Item to be a map

Could you put an example flow in the examples as I couldn't make it work with the example provided.
Thanks!

Can't save non-text files in S3

Currently the S3 node stringifies data before it is put into a bucket. This means non-text files such as images cannot be saved.

Docs required on "InstanceIds" field syntax under EC2 start instances

Hi,
Getting "failed: InvalidParameterType: Expected params.InstanceIds to be an Array" error while using StartInstance Operation under AWS EC2. Tried all possible sytaxs, but could not get anything working.
Examples tried: ['i-abcd1234'] ; {"InstanceIds":["i-abcd1234"],"DryRun":false,"Force":true} ; {"InstanceIds":["i-abcd1234"]} ; "InstanceIds":["i-abcd1234"]
Please help with the solution.
Thanks,
Renjith.

How do I configure a Proxy for all Nodes

I'm behind a proxy and I've had to use 'proxy-agent' near the top of S3.js like this to get it to work:

		var proxy = require('proxy-agent');
		AWS.config.update({
			httpOptions: { agent: proxy('http://webproxy:8080') }
		});

This does work, but I don;t want to have to modify every single node that I want to use.

Is there a way to do this once and globally?

name conflict with node-red-node-aws

Some of the nodes - 'aws-config' and 'amazon s3' use the same name as the nodes in the node-red-node-aws nodes so they cannot be installed together.

[Feature request] RDS nodes

Similar to EC2, cousl be great to have RDS nodes to :

  • describes instances
  • create snapshots
  • describe parameters group
  • etc...

AWS Kinesis Get Record Issue

I cant get record using kinesis nodes. I am trying get shard iterator befonre get recoder there is an error. How can i downgrade aws nodes ? Using ibm node red console

support FIFO queues on AWS SQS

It is not possible to send a message to a Fifo queue. Only Standard queues are working. Fifo queues requires a MessageGroupId parameter

package.json has incorrect entry for DynamoDB

Hi,

I was investigating why this node wasn't being listed on flows.nodered.org

The problem is your package.json lists the DynamoDB file as DynamoDB.js but the actual file is Dynamodb.js. That means the flow library believes your node is missing a file so it refuses to list it.

If you want it to get indexed, you'll need to either fix your package.json or rename the file to match what is in package.json.

Nick

AWS credentials are shown in the UI

Currently the aws config UI doesn't use a 'password' field to blank out the AWS API keys, so AWS credentials are shown when you configure the credentials.

Issue with files downloaded or uploaded to S3

If files are downloaded using the GET method of the flow the files are getting corrupted. I tried with the below code also as said in the release. But it is not working. can you help.
msg.payload=Buffer.from(msg.payload.Body).toString("utf-8")

Enable parameters to be specified in lower/camel case

Requested from #30
"I think it would be better to provide both arguments so "Subject" can be all lower case in Node Red for consistency with everything else in Node Red."

Personally I'm not a fan of this, as it deviates from the AWS SDK which has parameters in LeadingUpperCase. Issue created for transparency and so others can '+1' it, if there is a good argument and sufficient demand I'll reconsider.

aws sdk version stuck on 2.4

When I install this package through node-red the installed version of aws-sdk is 2.4.0
The latest version is 2.384!

I need to run at least version 2.7, which supports .fifo sqs queues.

You could change your package.json to be:
"dependencies": { "aws-sdk": "^2" }
or
"dependencies": { "aws-sdk": "2.x.x" }

[Feature request] ElasticSearch nodes

Having AWS ES domains list and domain detail is a feature I'm really interesting in.

This can be don thanks to AWS CLI, having a node would be more than helpful.

failed: TimeoutError: Missing credentials in config

Hey Daniel,

I am excited to get SNS node working in my flow.

My AccessID and Secret Key are for an Administrator-level role, so I should have access to send SNS message.

I am able to send a message manually from the SNS console.

Any ideas as to why I would be getting the "missing credentials" message?

Need some example code.

Thank you for making such great code, I am using AWS services now, I would like to use some of your code to show some of AWS's services, but without the sample code, could you do some simple how to use the code? Or how to modify the payload or functionality that Node-red can use through the AWS API. thank you very much.

Looking for doc to configure S3 node

Hi @Daniel-t

Your node-red contrib seems promissing, but I struggle a bit to use it. Where can I find how to configure the S3 node. I need to upload a base 64 coverted string to buffer in a PNG image to S3, so my question is where do I setup parameters:

  • filename
  • ACL
  • Content type

I do not find these in the node itself... neither I do not know how I pass my buffer file to the node (payload)...

Regards
Thibaut

saml2aws auth option

hi guys great work on this! can we please look at enabling alternative authentication methods to AWS, as most larger networks use saml or saml2aws etc single sign on and the likes, if we could enable this, i think it would open things up to a wider audience who are looking to use node-red.

Collaboration

Hello @Daniel-t,

I'm CEO from Menvia and we are working on some Node Red modules here.
One of them was a Node-RED AWS connection and we thought we can contribute a lot to the project to gain visibility and get other collaborators.

What do you think about joining efforts?

All the best,
Felipe

Great Work! How can I help?

I am successfully using the AWS DynamoDB node to scan a table and it is working great. One question I have is how difficult would it be to add a FilterExpression so that only part of the DynamoDB table is returned?

Chainable

Thanks for this add ons.

But would it not be more convenient to be able to chain the components?

ATM i have to prepend the Kinesis components with a function that stores the result from the last msg payload directly to msg:

getShardIteratorBuilder:
msg.ShardId = msg.payload.ShardId; return msg;
=> getRecords

image

missing icon

I get an arrow icon instead of an expected amazon icon.

Using the dynamodb query node

Screen Shot 2019-03-22 at 8 34 42 PM

Please forgive a newbie if I'm missing something, but how does one actually specify query parameters on the DynamoDB query node? I have an existing database which I've connected to properly (the listtables node lists everything just fine), but the query node doesn't appear to have any attributes other than a table name input.

Thanks for all the work, looks great!

msg.messageStructure appears to be ignored

Hi,

I set the input msg object to have a json payload but I consistently get the error that "failed: InvalidParameterType: Expected params.Message to be a string"

**** The debug dump of the generated MSG object is given below:

msg : Object
object
_msgid: "2bf61ec7.a80782"
topic: ""
payload: object
default: "This is the default Message"
APNS_SANDBOX: "{ "aps" : { "alert" : "You have got email.", "badge" : 9,"sound" :"default"}}"
messageStructure: "json"

*** My function jS code is:

msg.messageStructure="json";
msg.payload={"default":"This is the default Message","APNS_SANDBOX":"{ "aps" : { "alert" : "You have got email.", "badge" : 9,"sound" :"default"}}"};

Does this actually work?

Thanks

Sean

Issue when querying a dynamodb in a split loop sequence of messages

Hi

I have an issue when using the dynamodb node within a split sequence of an array of values.
I use an id part of the msg obtain sequentially after the split, but when I hit the dynamodb node, the output msg is transformed an only keep the values of the last msg of the sequence (last from the array). Is it a normal behaviour?

contribute

Daniel, Can I contribute? I need deleteObject in S3.

connecting to S3

I am trying to connect to AWS S3 using the S3 node. I am giving my accesskey ans secret key as required but after deploying my console is showing error "Flows stopped due to missing node types. Check logs for details." Please help. Console log shoes " Waiting for missing types to be registered:" I tried to uncomment the console.log in Please help.

Acknowledges on DynamoDB

Hi, i have two flows for saving on differents DBs. One flow messages are store on a Couch DB and the other one uses this node to store messages on DynamoDB. The problem is that some messages are not being saved on DynamoDB, so i think the problem is on the node itself. Is there any way to get ACK when a PUT is exectued? Thanks

IotData node: Endpoint field is missing

Using the UpdateThingShadow operation the field to enter Endpoint information is not showing up. I installed node-red-contrib-aws through the palette manager in Node RED 0.18.4 (dockerized).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.