21 questions
I would like to create a linebot with aws-lambda.When I wrote this code to connect to the database created by aws-rds via PyMySQL, I got an error.def pickupDatabase(): rds_host=rds endpoints name = rd...
Regarding the reference error below, I think there is something missing, but I can't find out what is missing.Thank you for your cooperation.Error Contents errorType: ReferenceError,errorMessage: requ...
If you type a command that leaves authentication information, such as the mysql command, in the shell in the lambda code, the authentication information will remain in the log.What should I do to avoi...
If you type a command that leaves authentication information, such as the mysql command, in the shell in the lambda code, the authentication information will remain in the log.What should I do to avoi...
With s3 attached to lambda, set s3 prefix to test/{dynamic-id}/photo-id/ from the configuration trigger and I uploaded the file with the test/1/photo-id of the s3 bucket, but the lambda function is no...
I am a beginner at lambda and python.Executed the following code:import boto3import jsonfrom collections import OrderedDictdef handler(event, context): # Define required constants BUCKET_NAME=event ['...
I'd like to use Lambda (Python) to copy the file to FSx for Windows as a trigger that was saved in S3.However, the search engine cannot find the search results.Not in official documentation:https://do...
We authenticate with an id token on AWS cognito.If the token expires, we are planning to reissue the id token using the refresh token to continue the http request.When trying to achieve the above, is ...
exports.handler=function(event, context){ var exec = require('child_process').exec; exec('./youtube-dl --version', function(error, stdout, stderr){ if(stdout){ console.log('stdout:'+stdout); } if(stde...
I would like to start the EC2 instance of Ubuntu that is stopped, run the script, email the results, and then stop again.I wrote and ran Lambda functions like this:import boto3instanceId='i-xxxxxxxx'i...
- 1 - | » |
© 2024 OneMinuteCode. All rights reserved.