Given that I have something like this:
"s3://folder1/folder2/folder3/folder4/folder4.5/folder4.6/folder5/folder6/folder7/file_name.csv"
How do I parse it out so that I get the Bucket and then the Key as everything minus the last/ with the filename?
I am trying to get the path so that I can list all the files within the path.