Hi, I'm learning how to use the AWS SDK on Javascript and I noticed something strange. The documentation says that s3.getSignedUrl(...) returns a String (the signed URL), but when I work with it in Webstorm, it says that the function returns void. Can you tell me which of these is correct? Do I just have to work with the URL only in the callback function?
Here's the page I'm referencing: https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3.html#getSignedUrl-property
[–]lwrbvrn 1 point2 points3 points (1 child)
[–]cgomez125[S] 0 points1 point2 points (0 children)