Hi Rob,
I would use the AWS CLI to list, output to a text file and use that as an input text file source. Something like:
aws s3 ls s3://{bucket-name}/{path} >result.txt
of if you wanted to get the entire contents:
aws s3 ls s3://{bucket-name} --recursive >result.txt
And then you could use the regular expression /(.*)\/ to parse the path.
HTH,
Steven