I am trying to get the list of Object under a specific folder in my bucket.
Object
I know that to get a list of all of my objects I do:
$ob
You need to use Prefix to restrict the search to a specific directory (a common prefix).
Prefix
$objects = $client->getIterator('ListObjects', array( "Bucket" => $bucket, "Prefix" => "your-folder/" ));