'List list open/closed executions.
For a full list of available parameters refer to
:py:func:`boto.swf.layer1.Layer1.list_closed_workflow_executions` and
:py:func:`boto.swf.layer1.Layer1.list_open_workflow_executions`'

def executions(self, closed=False, **kwargs):

    if closed:
        executions = self._swf.list_closed_workflow_executions(self.name, **kwargs)
    else:
        if ('oldest_date' not in kwargs):
            kwargs['oldest_date'] = (time.time() - (3600 * 24))
        executions = self._swf.list_open_workflow_executions(self.name, **kwargs)
    exe_objects = []
    for exe_args in executions['executionInfos']:
        for nested_key in ('execution', 'workflowType'):
            nested_dict = exe_args[nested_key]
            del exe_args[nested_key]
            exe_args.update(nested_dict)
        exe_args.update({'aws_access_key_id': self.aws_access_key_id, 'aws_secret_access_key': self.aws_secret_access_key, 'domain': self.name, 'region': self.region})
        exe_objects.append(WorkflowExecution(**exe_args))
    return exe_objects
