def METHOD_NAME(self, awsclient, region, url_suffix,
                             non_iso_suffixes):
    services = ['codedeploy', 'logs']
    for suffix in non_iso_suffixes:
        for service in services:
            assert awsclient.service_principal('{}{}'.format(service,
                                                             suffix),
                                               region, url_suffix) == \
                   '{}.{}.{}'.format(service, region, url_suffix)