

def _construct_result(self, dpl_default_result, dpl_default_policy, dpl_default_res_result, dpl_default_res_policy):
    'Method to create a resultant list of responses for create roles\n        for service and resource role\n        '
    result = []
    self._construct_role_and_role_policy_structure(result, dpl_default_result, dpl_default_policy)
    self._construct_role_and_role_policy_structure(result, dpl_default_res_result, dpl_default_res_policy)
    return result

dataset/ETHPy150Open aws/aws-cli/awscli/customizations/datapipeline/createdefaultroles.py CreateDefaultRoles._construct_result/original