<div dir="ltr"><div><br><span><span>Question: How can I generate an S3://absolute/url from an Object
(<a href="https://hackage.haskell.org/package/amazonka-s3-1.4.5/docs/Network-AWS-S3-Types.html#t:Object">https://hackage.haskell.org/package/amazonka-s3-1.4.5/docs/Network-AWS-S3-Types.html#t:Object</a>)?</span></span></div><div><span><br></span></div><div><span>Context: I've been using turtle to call "aws s3 ls" and I'm trying to
figure out how to replace that with amazonka. Absolute s3 urls were
central to how my program worked. I KNow how to get objects now and
filter them, but I don't know how to convert an object to an S3 url to
integrate with my existing program.</span></div><div><span><br></span></div><div><span>I came across the getFile function (<a href="https://github.com/brendanhay/amazonka/blob/4fdd746346323aac7de6e82752b16609ef0bf212/examples/src/Example/S3.hs#L65">https://github.com/brendanhay/amazonka/blob/4fdd746346323aac7de6e82752b16609ef0bf212/examples/src/Example/S3.hs#L65</a>) and tried downloading a file from s3.</span></div><div><span><br></span></div><div><span>Perhaps I had something wrong, but it didn't seem like just the S3 Bucket and S3 Object key were enough to download a given file. If I'm wrong about that I need to double check my configuration.</span></div><div><span><br></span></div><div><span>Thanks,</span></div><div><span><br></span></div><div><span>Cody Goodman<br></span></div><span><br></span></div>