I am now using version 2626.5.2 with the latest fixes.
Trying to list the contents of an S3 bucket.
After looking at the example in the README and looking at the code in s3_20060301.nim, this was my best attempt:
import atoz/s3_20060301
when isMainModule:
let rs = listObjectsV2.call(Bucket = "...actual-bucket-name...");
echo rs.body
Output:
This probably is user error. I don't know enough Nim yet to be able to debug further. e.g. echo rs.headers doesn't compile.
Any tips on where to look next, would be appreciated!
I am now using version 2626.5.2 with the latest fixes.
Trying to list the contents of an S3 bucket.
After looking at the example in the
READMEand looking at the code ins3_20060301.nim, this was my best attempt:Output:
This probably is user error. I don't know enough Nim yet to be able to debug further. e.g.
echo rs.headersdoesn't compile.Any tips on where to look next, would be appreciated!