RDSDataService is not working
See original GitHub issueRDSDataService is not working, is not doing nothing no errors, no logs.
Running aws lambda node js:
var rdsDataService = new AWS.RDSDataService({apiVersion: '2018-08-01'});
var params = {
awsSecretStoreArn: 'arn:xxxxx', /* required */
dbClusterOrInstanceArn: 'arn:xxxxxxx', /* required */
sqlStatements: 'select * from Member' /* required */
};
rdsDataService.executeSql(params, function(err, data) {
console.log("log1");
if (err) { console.log("log2"); console.log(err, err.stack); }// an error occurred
else { console.log("log3");console.log(data); } // successful response
});
console.log('End executeSql');
More info: https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/RDSDataService.html#executeSql-property
Issue Analytics
- State:
- Created 5 years ago
- Comments:20 (9 by maintainers)
Top Results From Across the Web
AWS RDSDataService query not running - Stack Overflow
I have 1 record in my database and when I try to query it, I get no results, and neither the error or...
Read more >Class: AWS.RDSDataService — AWS SDK for JavaScript
Amazon RDS provides an HTTP endpoint to run SQL statements on an Amazon Aurora Serverless v1 DB cluster. To run these statements, you...
Read more >RDSDataService — Boto3 Docs 1.18.52 documentation - AWS
Amazon RDS provides an HTTP endpoint to run SQL statements on an Amazon Aurora Serverless DB cluster. To run these statements, you work...
Read more >AWSSDK.RDSDataService 3.7.100.44 - NuGet
Version Downloads Last updated
3.7.100.44 61 3 days ago
3.7.100.43 138 4 days ago
3.7.100.42 62 5 days ago
Read more >data-api-client-workers - npm
There are no other projects in the npm registry using ... RDSDataService client to make working with async/await or Promise chains easier ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@svenmilewski
Refer to Lambda Execution Environment and Available Libraries.
Lambda currently bundles 2.290.0, which does not have the RDSDataService included.
NPM has the latest version of the SDK.
You could manually bundle a current version of the SDK into your Lambda deployment package.
@asyba
The Service Team has indicated that only Aurora Clusters and Serverless Aurora are supported at this time.