what function/technique in aws phpsdk which equals with s3cmd ls s3://
i have the files uploaded into s3, which structure:
folder_a/file_a.ext
folder_a/file_aa.ext
folder_b/file_b.ext
folder_b/file_bb.ext
I need to list first the folder without the all file names which can be done in s3cmd, but I want to do it in php