How to avoid nested loops in python parsing aws

join shbcf.ru