#!/usr/bin/python3 import boto3 client = boto3.client(\'iam\') iam = boto3.resource(\'iam\') roles = client.list_roles() for r in roles[\'Roles\']: roles = iam.R