def _run_main(self, parsed_args, parsed_globals, **kwargs):
        self._region = get_region(self._session, parsed_globals)
        self._endpoint_url = parsed_globals.endpoint_url
        self._iam_client = self._session.create_client(
            'iam', 
            region_name=self._region, 
            endpoint_url=self._endpoint_url,
            verify=parsed_globals.verify_ssl
        )
        remove_cli_error_event(self._iam_client)
        return self._create_default_roles(parsed_args, parsed_globals)
Call to run the commands
dataset/ETHPy150Open aws/aws-cli/awscli/customizations/datapipeline/createdefaultroles.py/CreateDefaultRoles._run_main