Get full path to files in S3 using Boto3 nested keys

Viewed 11994

My bucket structure is as follows:

bucket
    production
        dt=2017-01-01
            file1.json
        ...
        dt=2017-05-01
            file2.json

What I'm looking to do is get the full path to file1.json, file2.json, so I can download them.

I'm struggling to do this is python. Any help is appreciated. TIA.

2 Answers
Related