

def _create_default_roles(self, parsed_args, parsed_globals):
    (datapipline_default_result, datapipline_default_policy) = self._create_role(DATAPIPELINE_DEFAULT_SERVICE_ROLE_NAME, DATAPIPELINE_DEFAULT_SERVICE_ROLE_ARN, DATAPIPELINE_DEFAULT_SERVICE_ROLE_ASSUME_POLICY)
    (datapipline_default_resource_result, datapipline_default_resource_policy) = self._create_role(DATAPIPELINE_DEFAULT_RESOURCE_ROLE_NAME, DATAPIPELINE_DEFAULT_RESOURCE_ROLE_ARN, DATAPIPELINE_DEFAULT_RESOURCE_ROLE_ASSUME_POLICY)
    instance_profile_name = DATAPIPELINE_DEFAULT_RESOURCE_ROLE_NAME
    if self._check_if_instance_profile_exists(datapipline_default_result):
        LOG.debug((('Instance Profile ' + instance_profile_name) + ' exists.'))
    else:
        LOG.debug(((('Instance Profile ' + instance_profile_name) + 'does not exist. Creating default Instance Profile ') + instance_profile_name))
        self._create_instance_profile_with_role(instance_profile_name, instance_profile_name)
    result = self._construct_result(datapipline_default_result, datapipline_default_policy, datapipline_default_resource_result, datapipline_default_resource_policy)
    display_response(self._session, 'create_role', result, parsed_globals)
    return 0

dataset/ETHPy150Open aws/aws-cli/awscli/customizations/datapipeline/createdefaultroles.py CreateDefaultRoles._create_default_roles/VarMisuse@57/160 `instance_profile_name`->`datapipline_default_result`